Skip to content

Commit

Permalink
Support Python 3.11 with NumPy 1.23.2 and Numba 0.57
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed May 2, 2023
1 parent 1edbb19 commit 95f5b1f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions requirements-min.txt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 95f5b1f

Please sign in to comment.