Skip to content

Commit

Permalink
Merge pull request #78 from the-virtual-brain/TVB-3071
Browse files Browse the repository at this point in the history
TVB-3071: set the wheel's numpy dependency to be the oldest numpy that is compatible with the specific python
  • Loading branch information
liadomide authored Feb 23, 2023
2 parents a354315 + b6a1ec8 commit 8619656
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2019, macOS-11 ]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[build-system]
requires = ["setuptools", "wheel", "Cython", "numpy"]
requires = ["setuptools",
"wheel",
"Cython",
"oldest-supported-numpy"
]
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@

import os
import setuptools

import numpy
from Cython.Distutils import build_ext
from Cython.Build.Dependencies import cythonize


compiler_directives = {
"language_level": 3,
}
Expand Down Expand Up @@ -105,7 +103,7 @@ def finalize_options(self):

setuptools.setup(
name="tvb-" + GEODESIC_NAME,
version="2.1.1",
version="2.2",
ext_modules=GEODESIC_MODULE,
include_dirs=INCLUDE_DIRS,
cmdclass={"build_ext": new_build_ext},
Expand Down

0 comments on commit 8619656

Please sign in to comment.