Commit Graph

272 Commits

Author SHA1 Message Date
kbalk
e1298e334b
Feature DirectoryService support (#4483) 2021-10-30 10:09:44 +00:00
Bert Blommers
789d878421
Dependencies - Update max IDNA version (#4440) 2021-10-19 16:47:49 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
18e4595b51
Add dataclasses dependency Py3.6 (#4306) 2021-09-19 22:04:38 +00:00
Bert Blommers
31e10e96d7
Remove Docker-dependency from SQS (#3738) 2021-08-28 10:03:17 +01:00
Anders Kaseorg
bce65b7a50
Only use backported importlib_metadata on Python < 3.8 (#4214)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-08-24 16:50:39 +01:00
Bert Blommers
5c24071f43
Support Python 3.9 (#3848) 2021-08-22 11:33:16 +01:00
Bert Blommers
76094f012b
Remove pkg_resources module (#4142) 2021-08-05 17:59:25 +01:00
Bert Blommers
5aacd698b8
Prep release 2.2.1 (#4124) 2021-08-03 07:24:34 +01:00
Bert Blommers
11883a1fda
Remove unnecessary dependencies EC2/SQS (#4094)
* Add missing dependencies for EFS
2021-07-29 06:38:16 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Michael Manganiello
54b98d4749
Remove cfn-lint as a dependency for ssm extra (#4072)
Since commit 3b9635b3c7,
the SSM module doesn't directly depend on the `cloudformation` module
anymore. The `cfn-lint` extra dependency shouldn't be required anymore
for clients that install the `ssm` extra but don't need the
`cloudformation` one.
2021-07-15 07:56:14 +01:00
Bert Blommers
25bf10bf8e
Pin Jose-dependency for Py2 (#3989) 2021-06-05 15:04:50 +01:00
Ben Beasley
79792db4c0
Drop dependency on zipp (#3940)
A search of the repository shows zipp is not imported anywhere.
2021-05-19 19:39:04 +01:00
Bert Blommers
9e3faf7784
Make Moto (tests) compatible with flask/werkzeug 2.x (#3923)
* Dont fail if CodeCov fails - for now

* CI - Force cache rebuild

* Bump werkzeug to latest version

* CI - Enforce cache flush

* ManagedBlockchain - fix error format

* ManagedBlockchain - Fix tests to use pytest.raises paradigm

* Revert "Lock Flask (#3925)"

This reverts commit 8bb0feb956.

* CI - Enforce cache rebuild
2021-05-13 10:36:56 +01:00
Guilherme Scaranse
8bb0feb956
Lock Flask (#3925)
* Update setup.py

* Update setup.py
2021-05-12 18:41:57 +01:00
Bert Blommers
1fc09b5863
Prep release 2.0.7 (#3920)
* Temporarily downgrade werkzeug until we fix the tests

* ChangeLog for release 2.0.7
2021-05-12 08:55:50 +01:00
Matthew Davis
f5e3cd891f
fix MarkupSafe and Jinja2 dependency (#3876) 2021-04-24 13:24:32 +01:00
David Baumgold
3af87963d1
Py3: use unittest.mock instead of mock (#3481)
* Py3: use unittest.mock instead of mock

* noqa

* oops

* just pull in patch()

* ignore RuntimeError when stopping patch

* ignore RuntimeError from default_session_mock.stop()
2021-04-06 10:22:42 +01:00
Bert Blommers
b01c58785b
#3833 - Set upper bound for dependency decorator (Py2) (#3834) 2021-04-02 14:17:22 +01:00
Bert Blommers
d075219637
Pin RSA dependency for Py2 (#3697) 2021-02-16 09:50:06 +00:00
Bert Blommers
d7b8419791
Fix Mock 4.0.3 compatibility - Unpatch only once during teardown (#3541)
* #3535 - Unpatch only once during teardown

* EnvVar patching - Fix Python2 bug

* Allow latest version of mock-library
2021-02-15 08:42:16 +00:00
Anders Kaseorg
6ecf050228
Use environment markers for Python 2 dependency pins (#3618)
PyPI does not run setup.py separately for each Python version to
resolve requirements, so these conditional requirements need to be
properly specified in the metadata, not in code.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-01-28 14:16:20 +00:00
Bert Blommers
d7f218bfec
Pin sshpubkeys dependency to last version to support Py2 (#3614) 2021-01-25 08:21:13 +00:00
Dave Randall
d2b751e22d
Bump cryptography library (#3580)
From Python Safety:

Cryptography 3.3 no longer allows loading of finite field Diffie-Hellman parameters of less than 512 bits in length. This change is to conform with an upcoming OpenSSL release that no longer supports smaller sizes. These keys were already wildly insecure and should not have been used in any application outside of testing.
2021-01-09 10:46:09 +00:00
Bert Blommers
9ecea2012a
Fix Blockchain to work with new API (#3575)
* Fix Blockchain to work with new API

* Improve Lambda->SQS error handling
2021-01-07 11:18:50 +00:00
Brian Pandola
ae85c539fd Remove boto package dependency
The `boto` library (long ago superseded by `boto3`) has not had an official
release in over two years or even a commit in the last 18 months.  Importing
the package (or indirectly importing it by via `moto`) generates a deprecation
warning.  Additionally, an ever-increasing number of `moto` users who have
left `boto` behind for `boto3` are still being forced to install `boto`.

This commit vendors a very small subset of the `boto` library--only the code
required by `moto` to run--into the /packages subdirectory.  A README file
is included explaining the origin of the files and a recommendation for how
they can be removed entirely in a future release.

NOTE: Users of `boto` will still be able to use `moto` after this is merged.

closes #2978
closes #3013
closes #3170
closes #3418

relates to #2950
2020-11-26 23:59:15 -08:00
Matěj Cepl
5697ff87a8 Back to Black 2020-11-10 14:12:38 +01:00
Steve Pulec
ce60e9e3b8
Merge pull request #3314 from bblommers/dependency-test
List dependencies for services - add integration test
2020-09-23 07:07:31 -05:00
Leo Sutic
cc0bd5213f
Enable CORS from everywhere using flask-cors. (#3316)
Co-authored-by: Leo Sutic <leo.sutic@matterport.com>
2020-09-19 10:07:17 +01:00
Bert Blommers
db1d7123f6 List dependencies for services - add integration test to verify 2020-09-13 16:08:23 +01:00
Steve Pulec
ed96681078 Revert dependency cleanup for now. See #3290. 2020-09-08 20:33:03 -05:00
Bert Blommers
9232cc7ba0 #3290 - Add additional dependencies in extras_require 2020-09-08 02:47:44 -07:00
Sławek Ehlert
49b12ab7f5 First stab at extracting deps in setup.py to extras 2020-09-03 09:23:53 +01:00
Ciaran Evans
3b06ce689e
Address SFN.Client.exceptions.ExecutionAlreadyExists Not implemented (#3263)
* Add check for existing execution, fix issue with make init

* Remove f-string usage

* Remove fstring usage in test

* Pin black and run formatting on test_stepfunction

* Reverse changes made by black 20.8b1
2020-08-27 08:22:44 +01:00
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