Skip to content

Commit

Permalink
Here's what happens if we add loads of non-types requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Dec 26, 2022
1 parent ca484c4 commit db260f2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
cache: pip
cache-dependency-path: requirements-tests.txt
- run: pip install -r requirements-tests.txt
- run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
- run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }} --verbose

regression-tests:
name: Run mypy on the test cases
Expand Down
1 change: 1 addition & 0 deletions stubs/Pillow/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
requires = ["packaging"]
version = "9.3.*"
1 change: 1 addition & 0 deletions stubs/SQLAlchemy/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
requires = ["tomli"]
version = "1.4.45"
extra_description = """\
The `sqlalchemy-stubs` package is an alternative to this package and also \
Expand Down
2 changes: 1 addition & 1 deletion stubs/paramiko/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = "2.12.*"
requires = ["types-cryptography"]
requires = ["cryptography"]

[tool.stubtest]
# linux and darwin are equivalent
Expand Down
2 changes: 1 addition & 1 deletion stubs/requests/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = "2.28.*"
requires = ["types-urllib3<1.27"] # keep in sync with requests's setup.py
requires = ["types-urllib3<1.27", "numpy"] # keep in sync with requests's setup.py

[tool.stubtest]
ignore_missing_stub = false
Expand Down

0 comments on commit db260f2

Please sign in to comment.