Commit Graph

237 Commits

Author SHA1 Message Date
Matt Bullock
029b2a9751
chore: refine python-jose dependency (#3049) 2020-06-04 14:04:53 +01:00
Michael Penkov
179f5170d4 more pins for Py2 2020-04-29 13:02:53 +09:00
Michael Penkov
4a7b5adbae relax version pins in setup.py for non-Py2 users 2020-04-29 12:38:33 +09:00
pvbouwel
0bd586eb67 Place reserved_keywords.txt not in root.
Do not use data_files in setup.py but MANIFEST.in
Otherwise some enviroments throw errors when trying
to create the data file.

This was raised in: https://github.com/spulec/moto/pull/2885#discussion_r415150276
2020-04-26 18:17:56 +01:00
Bert Blommers
6de239d6e4
Merge pull request #2885 from pvbouwel/ddb_full_parsing
DDB structured parsing
2020-04-21 07:41:20 +01:00
Michael Käufl
ad0805de0e
Add Python 3.8 to trove classifiers 2020-04-20 09:19:24 +02:00
pvbouwel
3a774ed0e0 Make sure reserved_keywords.txt is packaged with the library. 2020-04-19 17:55:00 +01:00
Laurence de Bruxelles
649b497f71 Loosen idna requirement
requests 2.23.0 allows idna<3 [1]

[1] psf/requests@c46f55b
2020-03-12 09:38:02 +00:00
Asher Foa
2e0bc1aff3 Loosen jinja2 requirement.
This allows repos consuming moto to use the latest jinaj2 2.11.x patched version (currently 2.11.1) w/o breaking moto's python 2 support.
See https://github.com/spulec/moto/pull/2776
2020-03-11 12:45:13 -07:00
Steven Davidovitz
0e489a8a28 support mock versions < 3.0.5 2020-03-10 01:11:00 -07:00
Bert Blommers
00134d2df3 Fix dependencies to versions that support Python 2 2020-02-29 09:41:06 +00:00
Asher Foa
27ce0b7ab1 Botocore no longer needs an older version of python-dateutil.
https://github.com/boto/botocore/pull/1910
https://github.com/boto/botocore/issues/1872
https://github.com/spulec/moto/pull/2570
2020-01-31 12:49:12 -08:00
Sebastian P
6dac06ed7c setup.py: Unlock use with jsondiff >1.1.2 2020-01-10 16:08:34 +01:00
gruebel
3a2abe3e95 Cap python-dateutil to 2.8.0 2019-11-16 15:04:48 +01:00
George Hickman
9e4860ccd8 Add Documentation URL (#2499)
This adds a [Documentation URL](https://packaging.python.org/guides/distributing-packages-using-setuptools/#project-urls), which will display in the left-hand nav of the projects PyPI page, allowing users arriving there to get to the documentation slightly faster.
2019-10-22 12:31:48 -07:00
Mike Grima
188969a048 AWS Config Aggregator support
- Added support for the following APIs:
	- put_configuration_aggregator
	- describe_configuration_aggregators
	- delete_configuration_aggregator
	- put_aggregation_authorization
	- describe_aggregation_authorizations
	- delete_aggregation_authorization
2019-08-19 15:50:19 -07:00
Steve Pulec
9346a999d8 Force minimum version of cfn-lint. Closes #2336. 2019-07-25 21:29:56 -05:00
Steve Pulec
e4ed14b131
Merge pull request #2297 from yan12125/patch-2
setup.py: remove unnecessary 'datetime' entry
2019-07-15 20:49:23 -05:00
Asher Foa
4a87bdf1f3 Update supported python versions, add badages. 2019-07-13 13:16:12 -07:00
Chih-Hsuan Yen
92bf8eff12
setup.py: remove unnecessary 'datetime' entry
This entry is added in [1]. New statements in [1] use the built-in datetime module, which is available since Python 2.3 [2]. On the other hand, when running `pip install moto`, pip installs Zope Datetime module [3], which is unnecessary.

[1] ed93821621
[2] https://docs.python.org/2.7/library/datetime.html
[3] https://pypi.org/project/DateTime/
2019-07-12 11:48:07 +08:00
Steve Pulec
1cbfa4a4ae
Merge pull request #1886 from jonafato/python-versions
Add Python 3.7 support, remove Python 3.3 support
2019-07-07 22:49:36 -05:00
mattsb42-aws
d3495e408e bump PyYAML minimum version to address https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-18342 2019-07-03 14:48:07 -07:00
Steve Pulec
35e7f1b4e9 Remove pyyaml pin. CC #2271. 2019-07-01 20:47:02 -05:00
Steve Pulec
6fa51ac3b4 Setup pypi automatic publishing. 2019-06-30 22:31:21 -05:00
Juan Martinez
ed93821621 Set ECR imagePushedAt to current date and time (#2229) 2019-06-06 13:34:10 +01:00
Daniel Miranda
fb2a76fd66 ec2: add support for creation and importing of real SSH keys (#2108)
* ec2: add support for creation and importing of real SSH keys

* setup: lock PyYAML version to avoid incompatibilities
2019-05-25 11:17:52 +01:00
Steve Pulec
036d6a8698 1.3.8 2019-04-22 19:23:45 -05:00
Dan Palmer
e28bcf20ea
Bump Jinja2 to >=2.10.1, addresses CVE-2019-10906
Given how moto is intended to be used, and how it uses Jinja2, [CVE-2019-10906](https://nvd.nist.gov/vuln/detail/CVE-2019-10906) is unlikely to affect many users, but we should use a secure version anyway just in case moto is being used in unforeseen ways.
2019-04-15 10:48:55 +01:00
Chih-Hsuan Yen
7b7cf5bd11
Bump idna to 2.8
requests 2.21.0 allows idna 2.8 [1]

[1] 8761e9736f
2019-03-01 17:14:18 +08:00
Mike Grima
1a36c0c377 IAM Role Tagging support 2019-01-31 17:37:26 -08:00
Jon Banafato
4c605ba403 Add Python 3.7 support, remove Python 3.3 support
As of #1733, Python 3.7 is supported, so reflect that in the Trove
classifiers.

As of 2017-09-29, Python 3.3 is end-of-life and no longer receives
updates of any kind (including security fixes), so remove it from the
list of supported versions.
2018-12-29 13:38:04 -05:00
Steve Pulec
775b4bbc04
Merge branch 'master' into idna 2018-12-28 21:23:38 -05:00
Steve Pulec
8969941fbb
Merge pull request #1992 from TrevorEdwards/rmpyaml
Replace pyaml with PyYAML dependency
2018-12-28 21:20:13 -05:00
Steve Pulec
8ba1a09c0d
Merge pull request #1921 from adamdavis40208/cloudformation-validate-spike
Adding cloudformation-validate. Cfn-lint does the heavy lifting.
2018-12-28 20:39:00 -05:00
Steve Pulec
4dd4a5d451
Merge pull request #1927 from justin8/master
Update to jose 3.x
2018-12-28 20:17:01 -05:00
Steve Pulec
0c5010989a
Merge branch 'master' into jsondiff-1.1.2 2018-12-28 19:50:34 -05:00
Steve Pulec
3564321ae2
Merge pull request #1885 from jonafato/pypi-long-description
Add a long description to setup
2018-12-28 19:27:48 -05:00
sbkg0002
1ca8014697
Add idna version depencies. 2018-12-08 21:04:08 +01:00
Trevor Edwards
99afb38524 Replace pyaml with PyYAML dependency 2018-12-07 14:48:29 -08:00
Niko Eckerskorn
ed861ecae1 Loosen aws-xray-sdk requirements (#1948) 2018-11-15 07:29:05 +00:00
Justin Dray
4af9407ef4
Update to jose 3.x 2018-11-06 00:15:34 +00:00
adam davis
b66965e6e8 Adding cloudformation-validate. Cfn-lint does the heavy lifting. 2018-11-05 15:16:32 -08:00
Steve Pulec
90a62b5640 1.3.7 2018-11-04 17:30:44 -05:00
Jordan Guymon
8e909f580a MockAWS implementation using botocore event hooks 2018-10-29 09:12:22 +01:00
Illia Volochii
5ca68fbf06
Update jsondiff to 1.1.2 2018-10-26 22:12:26 +03:00
Jon Banafato
b4c44a820f Add a long description to setup
Include the readme as the `long_description` argument to `setup` and set
its content type appropriately. This allows PyPI to render the content
correctly.
2018-10-19 17:09:19 -04:00
Justin Eyster
8bdcc6244d Addresses security vulnerability in cryptography<2.3
Discovered using pipenv's security check feature that there's a vulnerability in the cryptography package versions<2.3.

> Checking installed package safety...
36351: cryptography >=1.9.0,<2.3 resolved (2.2.2 installed)!
python-cryptography versions >=1.9.0 and <2.3 did not enforce a minimum tag length for finalize_with_tag API. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.

More details here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10903
2018-09-24 16:09:12 -04:00
Steve Pulec
57f9691a52 Version 1.3.6 2018-09-22 17:28:49 -04:00
Steve Pulec
626113351d
Merge pull request #1835 from dhuang/remove-cookies-dep
Remove unused cookies dependency
2018-09-22 15:42:51 -04:00
Daniel Huang
4ffff9161e Remove unused cookies dependency 2018-09-20 11:23:20 -07:00