From c06b5dca57106af58e69a52fda42ea1623460a57 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 9 Sep 2026 16:16:56 +0200 Subject: [PATCH 1/2] hack --- .github/workflows/build.yml | 6 ++++++ .github/workflows/sphinx.yml | 6 ++++++ .python-version | 2 +- pyproject.toml | 4 +++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2257bad8d618..98ac8f7a0f8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,12 @@ jobs: with: python-version-file: .python-version allow-prereleases: true + # keras needs hdf5 on pre-prelease Python. + - run: | + if [ "$(python -c 'import sys; print(sys.version_info.releaselevel)')" != "final" ]; then + sudo apt-get update -qq + sudo apt-get install --yes libhdf5-dev + fi - run: uv sync --group=test - name: Run tests # opencv-python is gated out on 3.14t (no cp314t wheel yet), so skip the diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 1672bf69407f..537db5c8ec73 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -33,6 +33,12 @@ jobs: with: python-version-file: .python-version allow-prereleases: true + # keras needs hdf5 on pre-prelease Python. + - run: | + if [ "$(python -c 'import sys; print(sys.version_info.releaselevel)')" != "final" ]; then + sudo apt-get update -qq + sudo apt-get install --yes libhdf5-dev + fi - run: uv sync --group=docs - uses: actions/configure-pages@v6 - run: uv run sphinx-build -c docs . docs/_build/html diff --git a/.python-version b/.python-version index a469d8fe8548..d5629d4841ea 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.14t +3.15t diff --git a/pyproject.toml b/pyproject.toml index 28d1332f716a..57ce4eeb6040 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,9 @@ dependencies = [ "pandas>=2.3.3", "pillow>=11.3", "rich>=13.9.4", - "scikit-learn>=1.9", + # https://github.com/scikit-learn/scikit-learn/issues/34898 + "scikit-learn @ https://github.com/scikit-learn/scikit-learn.git ; python_version>='3.15'", + "scikit-learn>=1.9; python_version<'3.15'", "scipy>=1.18.1", "statsmodels>=0.14.4", "sympy>=1.13.3", From 250d58730494994d09059d4ee9c071f3f48d7690 Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 9 Sep 2026 14:18:04 +0000 Subject: [PATCH 2/2] updating DIRECTORY.md --- DIRECTORY.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DIRECTORY.md b/DIRECTORY.md index fa46f377c278..e8c970627dcd 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -1354,11 +1354,13 @@ * [Ternary Search](searches/ternary_search.py) ## [Sorts](sorts) + * [Adaptive Merge Sort](sorts/adaptive_merge_sort.py) * [Bead Sort](sorts/bead_sort.py) * [Binary Insertion Sort](sorts/binary_insertion_sort.py) * [Bitonic Sort](sorts/bitonic_sort.py) * [Bogo Sort](sorts/bogo_sort.py) * [Bubble Sort](sorts/bubble_sort.py) + * [Bubble Sort Recursive](sorts/bubble_sort_recursive.py) * [Bucket Sort](sorts/bucket_sort.py) * [Circle Sort](sorts/circle_sort.py) * [Cocktail Shaker Sort](sorts/cocktail_shaker_sort.py) @@ -1376,6 +1378,7 @@ * [Insertion Sort](sorts/insertion_sort.py) * [Intro Sort](sorts/intro_sort.py) * [Iterative Merge Sort](sorts/iterative_merge_sort.py) + * [Kirkpatrick Reisch Sort](sorts/kirkpatrick_reisch_sort.py) * [Merge Insertion Sort](sorts/merge_insertion_sort.py) * [Merge Sort](sorts/merge_sort.py) * [Msd Radix Sort](sorts/msd_radix_sort.py) @@ -1387,16 +1390,20 @@ * [Patience Sort](sorts/patience_sort.py) * [Pigeon Sort](sorts/pigeon_sort.py) * [Pigeonhole Sort](sorts/pigeonhole_sort.py) + * [Power Sort](sorts/power_sort.py) * [Quick Sort](sorts/quick_sort.py) * [Quick Sort 3 Partition](sorts/quick_sort_3_partition.py) * [Radix Sort](sorts/radix_sort.py) * [Recursive Insertion Sort](sorts/recursive_insertion_sort.py) * [Recursive Mergesort Array](sorts/recursive_mergesort_array.py) * [Recursive Quick Sort](sorts/recursive_quick_sort.py) + * [Reverse Selection](sorts/reverse_selection.py) + * [Reversort](sorts/reversort.py) * [Selection Sort](sorts/selection_sort.py) * [Shell Sort](sorts/shell_sort.py) * [Shrink Shell Sort](sorts/shrink_shell_sort.py) * [Slowsort](sorts/slowsort.py) + * [Smoothsort](sorts/smoothsort.py) * [Stalin Sort](sorts/stalin_sort.py) * [Stooge Sort](sorts/stooge_sort.py) * [Strand Sort](sorts/strand_sort.py)