Commit Graph

285 Commits

Author SHA1 Message Date
Robert Schmidtke
794e940421
Support Expression in Glue's get_partitions (#5013) 2022-04-14 19:37:10 +00:00
Tony Narlock
28d708c4a0
build(setup.py): Add issues, changelog link to PyPI (#5019) 2022-04-12 10:08:33 +00:00
Bert Blommers
382ff2b1a9
Remove more DynamoDB2 references (#4933) 2022-03-11 21:29:16 -01:00
Bert Blommers
ec928d5c56
Setup.py - requires python_requires (#4861) 2022-02-14 19:22:37 -01:00
Bert Blommers
13b9c0322c
APIGateway - add missing dependencies (#4856) 2022-02-14 09:24:21 -01:00
Bert Blommers
094d00a37a
Feature: APIGatewayV2 (#4840) 2022-02-08 20:12:51 -01:00
Bert Blommers
d679a73a5f
Enable testing for Py3.10 (#4772) 2022-01-18 20:52:47 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
f3313be991
AppSync - initial implementation (#4761) 2022-01-14 20:12:26 -01:00
Daniel Roschka
4f2e7f706d
Bump python-jose to support newer ecdsa versions (#4626) 2021-11-24 17:25:22 -01:00
kbalk
958a129f97
Route53Resolver: Add resolver endpoint-related APIs (#4559) 2021-11-17 19:06:35 -01:00
Andrew Achkar
846c1d22a8
Remove more-itertools from install_requires (#4576) 2021-11-15 08:11:59 -01:00
Bert Blommers
4015d799df
Admin - Fix install moto[all] (#4571) 2021-11-14 11:30:27 -01:00
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