Skip to content

Commit 01cce7f

Browse files
authored
require numpy 1.19 for PyPy (#15)
1 parent cf304aa commit 01cce7f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- 3.7
1616
- 3.8
1717
- 3.9
18+
- pypy3
1819
# Uncomment once Numpy builds fine with Python 3.10
1920
# - 3.10.0-alpha - 3.10.0
2021

setup.cfg

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = oldest-supported-numpy
3-
description = Meta-package that provides the oldest Numpy for given Python version and platform
3+
description = Meta-package that provides the oldest NumPy that supports a given Python version and platform. If wheels for the platform became available on PyPI only for a more recent NumPy version, then that NumPy version is specified.
44
long_description = file: README.rst
55
author = Thomas Robitaille
66
author_email = [email protected]
@@ -37,13 +37,19 @@ install_requires =
3737

3838
# default numpy requirements
3939
numpy==1.13.3; python_version=='3.5' and platform_machine!='aarch64' and platform_system!='AIX'
40-
numpy==1.13.3; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX'
41-
numpy==1.14.5; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX'
42-
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'
43-
numpy==1.19.3; python_version=='3.9'
40+
numpy==1.13.3; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
41+
numpy==1.14.5; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
42+
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'
43+
numpy==1.19.3; python_version=='3.9' and platform_python_implementation != 'PyPy'
44+
45+
numpy==1.19.0; python_version=='3.6' and platform_python_implementation=='PyPy'
46+
# Change this to 1.20 after it is released since 1.20 will be the first
47+
# wheel version on PyPI
48+
numpy==1.19.0; python_version=='3.7' and platform_python_implementation=='PyPy'
4449

4550
# For Python versions which aren't yet officially supported,
4651
# we specify an unpinned Numpy which allows source distributions
4752
# to be used and allows wheels to be used as soon as they
4853
# become available.
4954
numpy; python_version>='3.10'
55+
numpy; python_version>='3.8' and platform_python_implementation=='PyPy'

0 commit comments

Comments
 (0)