Skip to content

Commit f085648

Browse files
committed
python3.15t
1 parent 22899ed commit f085648

5 files changed

Lines changed: 356 additions & 212 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
with:
1919
python-version-file: .python-version
2020
allow-prereleases: true
21+
# keras needs hdf5 on pre-prelease Python.
22+
- run: |
23+
if [ "$(python -c 'import sys; print(sys.version_info.releaselevel)')" != "final" ]; then
24+
sudo apt-get update -qq
25+
sudo apt-get install --yes libhdf5-dev
26+
fi
2127
- run: uv sync --group=test
2228
- name: Run tests
2329
# opencv-python is gated out on 3.14t (no cp314t wheel yet), so skip the

‎.github/workflows/sphinx.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
with:
3232
python-version-file: .python-version
3333
allow-prereleases: true
34+
# keras needs hdf5 on pre-prelease Python.
35+
- run: |
36+
if [ "$(python -c 'import sys; print(sys.version_info.releaselevel)')" != "final" ]; then
37+
sudo apt-get update -qq
38+
sudo apt-get install --yes libhdf5-dev
39+
fi
3440
- run: uv sync --group=docs
3541
- uses: actions/configure-pages@v6
3642
- run: uv run sphinx-build -c docs . docs/_build/html

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.14t
1+
3.15t

‎pyproject.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ dependencies = [
2222
"pandas>=2.3.3",
2323
"pillow>=11.3",
2424
"rich>=13.9.4",
25-
"scikit-learn>=1.9",
25+
# https://github.com/scikit-learn/scikit-learn/issues/34898
26+
"scikit-learn @ https://github.com/scikit-learn/scikit-learn.git ; python_version>='3.15'",
27+
"scikit-learn>=1.9; python_version<'3.15'",
2628
"scipy>=1.18.1",
2729
"statsmodels>=0.14.4",
2830
"sympy>=1.13.3",

0 commit comments

Comments
 (0)