Skip to content

Commit eb5c38b

Browse files
authored
Update build constraints and requirements for aarch64 wheels (#722)
* Extend build constraints for aarch64 * Skip mypy for aarch64
1 parent 9f9e494 commit eb5c38b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build-constraints.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# build version constraints for use with wheelwright + multibuild
2-
numpy==1.15.0; python_version<='3.7'
3-
numpy==1.17.3; python_version=='3.8'
2+
numpy==1.15.0; python_version<='3.7' and platform_machine!='aarch64'
3+
numpy==1.19.2; python_version<='3.7' and platform_machine=='aarch64'
4+
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'
5+
numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'
46
numpy==1.19.3; python_version=='3.9'
57
numpy==1.21.3; python_version=='3.10'
68
numpy; python_version>='3.11'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pytest-cov>=2.7.0,<2.8.0
2222
coverage>=5.0.0,<6.0.0
2323
mock>=2.0.0,<3.0.0
2424
flake8>=3.5.0,<3.6.0
25-
mypy>=0.901,<0.960
25+
mypy>=0.901,<0.960; platform_machine!='aarch64'
2626
types-mock>=0.1.1
2727
types-contextvars>=0.1.2; python_version < "3.7"
2828
types-dataclasses>=0.1.3; python_version < "3.7"

0 commit comments

Comments
 (0)