Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Nov 30, 2023
1 parent 86cab23 commit f342ada
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions ci/deps/requirements.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ dependencies:
- coverage
- cython>=0.29
- ecos
- ipykernel
- ipython!=8.7.0
# - ipykernel
# - ipython!=8.7.0
- joblib
- matplotlib>=3.6.2,<3.7
- nbformat
- matplotlib>=3.8.0,<3.9
# - nbformat
- numexpr
- numpy={CI_NUMPY_VERSION}
- osqp!=0.6.0,!=0.6.1
Expand All @@ -28,5 +28,5 @@ dependencies:
- black[jupyter]>=23.3.0,<23.4
- build
- importlib-resources>=1.3
- nbval>=0.10.0
- tomli
# - nbval>=0.10.0
- tomli
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ requires = [
"numpy==1.19.3; python_version=='3.9' and platform_machine != 'arm64'",
"numpy==1.21.6; python_version=='3.10'",
"numpy==1.23.2; python_version=='3.11'",
"numpy; python_version>'3.11'",
"numpy==1.26.1; python_version=='3.12'",
"numpy; python_version>'3.12'",

# scikit-learn requirements
"scikit-learn~=1.3.0; python_version<='3.9'",
"scikit-learn~=1.3.0; python_version=='3.10'",
"scikit-learn~=1.3.0; python_version=='3.11'",
"scikit-learn; python_version>'3.11'",
"scikit-learn~=1.3.0; python_version=='3.12'",
"scikit-learn; python_version>'3.12'",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit f342ada

Please sign in to comment.