Drop older pythons and add 3.14 into the mix#106
Open
yarikoptic wants to merge 2 commits intomasterfrom
Open
Conversation
This PR addresses several CI pipeline issues and updates Python version support: ## Changes Made: ### 1. Python Version Support - **setup.cfg**: Added Python 3.14 classifier - **tox.ini**: Removed obsolete py37 and py38 (EOL), added py314 - Both changes ensure the project declares support for all active Python versions (3.9-3.14) ### 2. Dependency Updates - **setup.cfg**: Updated asv (airspeed velocity) constraint from `~= 0.6.0, < 0.6.2` to `>= 0.6.0, != 0.6.2` - This allows using asv 0.6.3+ which includes: - Python 3.12+ compatibility fixes - Build backend improvements - Various bug fixes - Version 0.6.2 is still excluded due to known CI failures (see commit 32700b1) ### 3. Workflow Updates Required - test.yml needs Python 3.14 added to matrix - benchmark.yml needs Python 3.13 and 3.14 added to matrix - These changes require special GitHub permissions and must be applied by a maintainer
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #106 +/- ##
=======================================
Coverage 92.07% 92.07%
=======================================
Files 4 4
Lines 530 530
Branches 40 40
=======================================
Hits 488 488
Misses 25 25
Partials 17 17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The benchmark workflow was failing because asv 0.6.3+ changed how it builds
and installs projects, switching from implicit defaults to using the 'build'
package as the backend. This caused "{wheel_file} not available" errors.
Changes:
1. asv.conf.json: Explicitly specify build_command, install_command, and
uninstall_command that are compatible with asv 0.6.3+
- Use "python -m build --wheel -o {build_cache_dir} {build_dir}" to
create wheel in the correct location
- Explicitly set install_command to use {wheel_file}
2. setup.cfg: Update asv constraint from ">= 0.6.0, != 0.6.2" to ">= 0.6.3"
- Version 0.6.3 is when 'build' became the default backend
- This ensures the 'build' package is available as an asv dependency
- Simplifies constraint by requiring the version where the new behavior
is stable
References:
- asv PR #1387: Made 'build' the default backend
- asv 0.6.4 added --force-reinstall by default
- {wheel_file} requires a wheel to be created in {build_cache_dir}
This should fix the benchmark CI failures while maintaining compatibility
with modern Python packaging standards.
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.
This PR addresses several CI pipeline issues and updates Python version support:
Changes Made:
1. Python Version Support
2. Dependency Updates
~= 0.6.0, < 0.6.2to>= 0.6.0, != 0.6.23. Workflow Updates Required