diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 71520e4e2..6d7d024d8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,7 +16,7 @@ jobs: 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@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2c640c44a..76786d3e5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -78,7 +78,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -128,7 +128,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 538466d5e..16b8fd47c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Libraries :: Python Modules", @@ -55,7 +56,7 @@ classifiers = [ requires-python = ">=3.7" dependencies = [ "numpy >= 1.21.0, < 1.24", # v1.21.0 is needed for dtype support of ufuncs, see https://numpy.org/devdocs/release/1.21.0-notes.html#ufunc-signature-and-dtype-generalization-and-casting - "numba >= 0.55, < 0.57", # v0.55 is needed for support of NumPy 1.21 + "numba >= 0.55, < 0.58", # v0.55 is needed for support of NumPy 1.21 "typing_extensions >= 4.0.0", # v4.0.0 is needed for use of Self (Python 3.11+) and Literal (Python 3.8+) ] dynamic = ["version"] diff --git a/requirements-min.txt b/requirements-min.txt index 4709b0f86..4d8523cd0 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,7 +1,9 @@ +numpy==1.23.2; python_version=="3.11" numpy==1.21.3; python_version=="3.10" numpy==1.21.0; python_version=="3.9" numpy==1.21.0; python_version=="3.8" numpy==1.21.0; python_version=="3.7" +numba==0.57.0; python_version=="3.11" numba==0.55.0; python_version=="3.10" numba==0.55.0; python_version=="3.9" numba==0.55.0; python_version=="3.8"