Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50de0cd

Browse files
authored
Add separate requirements file for mypy self-compile (#10069)
Self-compilation needs some stub packages. I'm adding them to a separate since they are not needed for running mypy, and since we may want to be able to build mypy without installing all test dependencies, some of which are quite heavy.
1 parent f160384 commit 50de0cd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

build-requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-r mypy-requirements.txt
2+
types-typed-ast>=1.4.0,<1.5.0
3+
types-toml>=0.0
4+
types-enum34>=0.0; python_version == '3.5'

test-requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-r mypy-requirements.txt
2+
-r build-requirements.txt
23
attrs>=18.0
34
flake8>=3.8.1
45
flake8-bugbear; python_version >= '3.5'
@@ -15,6 +16,3 @@ py>=1.5.2
1516
virtualenv<20
1617
setuptools!=50
1718
importlib-metadata==0.20
18-
types-typed-ast>=1.4.0,<1.5.0
19-
types-toml>=0.0
20-
types-enum34>=0.0; python_version == '3.5'

0 commit comments

Comments
 (0)