diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9fc88f375..16e929e20 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', 3.11] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2a8f6e8a1..192ecf310 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -81,7 +81,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -134,7 +134,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index ff9c6206c..b621d7bdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Libraries :: Python Modules", @@ -49,8 +50,8 @@ classifiers = [ ] requires-python = ">=3.7" dependencies = [ - "numpy >= 1.21.0, < 1.26", # 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.59", # v0.55 is needed for support of NumPy 1.21 + "numpy >= 1.21.0, < 1.27", # 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.60", # 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 4d8523cd0..92cff6149 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,8 +1,10 @@ +numpy==1.26.0; python_version=="3.12" 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.59.0; python_version=="3.12" numba==0.57.0; python_version=="3.11" numba==0.55.0; python_version=="3.10" numba==0.55.0; python_version=="3.9"