diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 1bc2fcb..6bd802c 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,13 +1,13 @@ name: Python package -on: [push, pull_request] +on: [pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fa7093a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/requirements-test.txt b/requirements-test.txt index 24ce15a..b4db3f4 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1 +1 @@ -numpy +numpy<=1.23.0 diff --git a/setup.py b/setup.py index 6aa7313..8a21aea 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ ] if USE_CYTHON: - from Cython.Build import cythonize + from Cython.Build import cythonize # noqa extensions = cythonize(extensions)