-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand 'typing' reqs to all python versions
We were building our pinned requirements data for typing only under the python version used for `mypy` linting in CI: Python 3.11. This makes mypy-linting of code non-functional on lower interpreter versions. While some SDK developers are using pyenv or a similar solution to install multiple pythons in their home dirs, so we didn't notice the constraint, this is not meant to be a requirement for all contributors. To make `tox r -e mypy` work on all pythons, the `tox` target for "freezedeps" has been modified to generate the extra requirements, and the freezedeps job has been run. The fix was verified with tox r -e mypy --discover $(which python3.7) tox r -e mypy --discover $(which python3.9) It is possible that this will cause some drift and issues, especially around our lower-bound for python version (e.g. latest `mypy` drops support for a version we use), but at present such issues are speculative. We can deal with additional tightening of bounds and adjustments to CI to run some of these versions in the future.
- Loading branch information
Showing
7 changed files
with
220 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.10 | ||
# by the following command: | ||
# | ||
# tox p -m freezedeps | ||
# | ||
certifi==2023.7.22 | ||
# via requests | ||
charset-normalizer==3.3.0 | ||
# via requests | ||
idna==3.4 | ||
# via requests | ||
mypy==1.6.1 | ||
# via -r typing.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
pyyaml==6.0.1 | ||
# via responses | ||
requests==2.31.0 | ||
# via responses | ||
responses==0.23.3 | ||
# via -r typing.in | ||
tomli==2.0.1 | ||
# via mypy | ||
types-cryptography==3.3.23.2 | ||
# via types-jwt | ||
types-docutils==0.20.0.3 | ||
# via -r typing.in | ||
types-jwt==0.1.3 | ||
# via -r typing.in | ||
types-pyyaml==6.0.12.12 | ||
# via responses | ||
types-requests==2.31.0.10 | ||
# via -r typing.in | ||
typing-extensions==4.8.0 | ||
# via | ||
# -r typing.in | ||
# mypy | ||
urllib3==2.0.7 | ||
# via | ||
# requests | ||
# responses | ||
# types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.12 | ||
# by the following command: | ||
# | ||
# tox p -m freezedeps | ||
# | ||
certifi==2023.7.22 | ||
# via requests | ||
charset-normalizer==3.3.0 | ||
# via requests | ||
idna==3.4 | ||
# via requests | ||
mypy==1.6.1 | ||
# via -r typing.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
pyyaml==6.0.1 | ||
# via responses | ||
requests==2.31.0 | ||
# via responses | ||
responses==0.23.3 | ||
# via -r typing.in | ||
types-cryptography==3.3.23.2 | ||
# via types-jwt | ||
types-docutils==0.20.0.3 | ||
# via -r typing.in | ||
types-jwt==0.1.3 | ||
# via -r typing.in | ||
types-pyyaml==6.0.12.12 | ||
# via responses | ||
types-requests==2.31.0.10 | ||
# via -r typing.in | ||
typing-extensions==4.8.0 | ||
# via | ||
# -r typing.in | ||
# mypy | ||
urllib3==2.0.7 | ||
# via | ||
# requests | ||
# responses | ||
# types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.7 | ||
# by the following command: | ||
# | ||
# tox p -m freezedeps | ||
# | ||
certifi==2023.7.22 | ||
# via requests | ||
charset-normalizer==3.3.0 | ||
# via requests | ||
idna==3.4 | ||
# via requests | ||
mypy==1.4.1 | ||
# via -r typing.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
pyyaml==6.0.1 | ||
# via responses | ||
requests==2.31.0 | ||
# via responses | ||
responses==0.23.3 | ||
# via -r typing.in | ||
tomli==2.0.1 | ||
# via mypy | ||
typed-ast==1.5.5 | ||
# via mypy | ||
types-cryptography==3.3.23.2 | ||
# via types-jwt | ||
types-docutils==0.20.0.3 | ||
# via -r typing.in | ||
types-jwt==0.1.3 | ||
# via -r typing.in | ||
types-pyyaml==6.0.12.12 | ||
# via responses | ||
types-requests==2.31.0.10 | ||
# via -r typing.in | ||
typing-extensions==4.7.1 | ||
# via | ||
# -r typing.in | ||
# mypy | ||
# responses | ||
urllib3==2.0.7 | ||
# via | ||
# requests | ||
# responses | ||
# types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.8 | ||
# by the following command: | ||
# | ||
# tox p -m freezedeps | ||
# | ||
certifi==2023.7.22 | ||
# via requests | ||
charset-normalizer==3.3.0 | ||
# via requests | ||
idna==3.4 | ||
# via requests | ||
mypy==1.6.1 | ||
# via -r typing.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
pyyaml==6.0.1 | ||
# via responses | ||
requests==2.31.0 | ||
# via responses | ||
responses==0.23.3 | ||
# via -r typing.in | ||
tomli==2.0.1 | ||
# via mypy | ||
types-cryptography==3.3.23.2 | ||
# via types-jwt | ||
types-docutils==0.20.0.3 | ||
# via -r typing.in | ||
types-jwt==0.1.3 | ||
# via -r typing.in | ||
types-pyyaml==6.0.12.12 | ||
# via responses | ||
types-requests==2.31.0.10 | ||
# via -r typing.in | ||
typing-extensions==4.8.0 | ||
# via | ||
# -r typing.in | ||
# mypy | ||
urllib3==2.0.7 | ||
# via | ||
# requests | ||
# responses | ||
# types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.9 | ||
# by the following command: | ||
# | ||
# tox p -m freezedeps | ||
# | ||
certifi==2023.7.22 | ||
# via requests | ||
charset-normalizer==3.3.0 | ||
# via requests | ||
idna==3.4 | ||
# via requests | ||
mypy==1.6.1 | ||
# via -r typing.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
pyyaml==6.0.1 | ||
# via responses | ||
requests==2.31.0 | ||
# via responses | ||
responses==0.23.3 | ||
# via -r typing.in | ||
tomli==2.0.1 | ||
# via mypy | ||
types-cryptography==3.3.23.2 | ||
# via types-jwt | ||
types-docutils==0.20.0.3 | ||
# via -r typing.in | ||
types-jwt==0.1.3 | ||
# via -r typing.in | ||
types-pyyaml==6.0.12.12 | ||
# via responses | ||
types-requests==2.31.0.10 | ||
# via -r typing.in | ||
typing-extensions==4.8.0 | ||
# via | ||
# -r typing.in | ||
# mypy | ||
urllib3==2.0.7 | ||
# via | ||
# requests | ||
# responses | ||
# types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters