ci: remove Python package build dependencies for Python 3.14#796
Draft
jtligon wants to merge 6 commits into
Draft
ci: remove Python package build dependencies for Python 3.14#796jtligon wants to merge 6 commits into
jtligon wants to merge 6 commits into
Conversation
Upgrade project Python version from 3.11/3.12 to 3.14. Changes: - Update .py-version to 3.14 - Update all requires-python fields to >=3.14 across all packages - Update ruff target-version to py314 - Update CI to test with Python 3.14 - Update uv.lock with Python 3.14 compatible dependencies This required upgrading pydantic-core to 2.46.4 which has Python 3.14 support via prebuilt wheels. Note: Building with Python 3.14 requires: - PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 for Rust extensions - OpenBLAS (macOS: brew install openblas) - gfortran (macOS: brew install gcc) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add missing Apache-2.0 license to jumpstarter-driver-iscsi - Remove duplicate pytest-asyncio dependency in jumpstarter-driver-http - Fix jumpstarter-driver-opendal entry point group from adapters to drivers Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update version requirements to support Python 3.12, 3.13, and 3.14: - Change requires-python from >=3.14 to >=3.12 - Update CI to test all three versions: 3.12, 3.13, 3.14 - Set ruff target-version to py312 (lowest supported) This allows users on Python 3.12 and 3.13 to continue using the project while also supporting the newest Python 3.14. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Revert jumpstarter-driver-opendal entry point back to jumpstarter.adapters - Update driver template to use Python 3.12+ (was 3.11) - Remove PR_DESCRIPTION.md file Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pillow doesn't have pre-built wheels for Python 3.14 yet, so it needs to build from source. This requires system libraries (libjpeg, etc.) to be present on the CI runners. Added conditional installation steps for both Ubuntu and macOS that only run when testing with Python 3.14. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pillow and scipy now provide pre-built wheels for Python 3.14, so the system build dependencies (libjpeg-dev, gfortran, libopenblas-dev, etc.) are no longer needed. This removes the conditional installation steps added in the Python 3.14 upgrade, reducing CI overhead. Closes jumpstarter-dev#795 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
b39de56 to
4cb5b9f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the system build dependencies (libjpeg-dev, gfortran, libopenblas-dev, etc.) added for Python 3.14, as pre-built wheels are now available for both Pillow and scipy.
Background
When Python 3.14 support was added in #775, neither Pillow nor scipy had pre-built wheels yet, so we needed to install system libraries to build them from source.
When to merge
DO NOT MERGE until both Pillow and scipy publish Python 3.14 wheels to PyPI.
How to verify wheels are available:
Check PyPI:
cp314wheels)cp314wheels)Check CI logs (easier):
Building pillow==11.2.1andBuilding scipy==1.16.0Downloaded pillowandDownloaded scipyCI signals to watch:
Run a test CI build and check the pytest-matrix logs:
Impact
Closes
#795
Checklist before merging
cp314wheels to PyPIcp314wheels to PyPIDownloaded pillowandDownloaded scipyinstead of building