-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(python): pin mypy to the exact version
It's been a couple of times `mypy` breaks the pipeline by releasing new versions that are more strict or start checking things it used to silently ignored. In order to avoid this happening in the future (and putting us back in control), this pins the `mypy` version to the exact release (the last we successfully built with, in this case), and moves everything we install though `pip install` into `requirements-dev.txt` files so that @dependabot can help us stay up-to-date going forward. Fixes #2464
- Loading branch information
1 parent
187b4bb
commit ace4752
Showing
8 changed files
with
53 additions
and
20 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
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
black~=20.8b1 | ||
mypy==0.782 | ||
pip~=20.3 | ||
pytest~=6.2 | ||
pytest-mypy~=0.8 | ||
pip~=20.3 | ||
setuptools~=51.1 | ||
wheel~=0.36 | ||
|
||
|
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,9 @@ | ||
# All entries with "# build-system" at the end of the line will be hoisted as | ||
# part of the build-system declaration of generated packages. Others will only | ||
# be installed in the virtual environment used for building the distribution | ||
# package (wheel, sdist), but not declared as build-system dependencies. | ||
|
||
setuptools~=52.0.0 # build-system | ||
wheel~=0.36.0 # build-system | ||
|
||
twine~=3.3.0 |
8 changes: 4 additions & 4 deletions
8
packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
mypy==0.782 |