Skip to content

Commit abb983d

Browse files
authored
Merge branch 'master' into fix-macos
2 parents 2490bba + 2fcf01a commit abb983d

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
matrix:
3030
# python-version: [3.7]
31-
python-version: [cp36-cp36m, cp37-cp37m, cp38-cp38]
31+
python-version: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310]
3232

3333
steps:
3434
- uses: actions/checkout@v1

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
strategy:
4040
matrix:
4141
# python-version: [3.7]
42-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
42+
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
4343

4444
steps:
4545
# Checkout repo
4646
- uses: actions/checkout@v1
4747

4848
# Set up python
4949
- name: Set up Python ${{ matrix.python-version }}
50-
uses: actions/setup-python@v1
50+
uses: actions/setup-python@v4
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ def build_extension(self, ext):
120120
splishsplash_version = f.readline().strip()
121121
f.close()
122122

123-
max_numpy_version = "1.19.3"
124-
install_requires = [f"numpy<={max_numpy_version}"]
125-
if platform.machine() == "arm64":
126-
if platform.system() == "Darwin":
127-
install_requires = ["numpy>=1.21.0"]
128-
else:
129-
install_requires = [f"numpy>=1.19.0,<={max_numpy_version}"]
130-
131123
setup(
132124
name=name,
133125
version=splishsplash_version,
@@ -149,5 +141,5 @@ def build_extension(self, ext):
149141
(emitter_boundary_dest, [s for s in emitter_boundary if os.path.isfile(s)]),
150142
(fonts_dest, [f for f in fonts if os.path.isfile(f)])],
151143
zip_safe=False,
152-
install_requires=install_requires
144+
install_requires=['numpy']
153145
)

0 commit comments

Comments
 (0)