fix: bump CI Python from 3.8 to 3.10 for requests 2.33.0 compat - #19
Merged
Conversation
requests 2.33.0 dropped support for Python 3.9 and below. Update all CI workflows from Python 3.8 to 3.10 and add python_requires>=3.10 to setup.py. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Test Coverage ReportOverall: 93% (1533/1643 statements covered) Coverage by file
Updated by PR Tests |
There was a problem hiding this comment.
Pull request overview
Updates the project’s supported Python baseline to restore CI/publish compatibility after requests==2.33.0 dropped older Python versions.
Changes:
- Bump GitHub Actions workflows from Python 3.8 to 3.10.
- Enforce
python_requires=">=3.10"in packaging metadata. - Add PyPI classifiers for Python 3.10–3.13.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
setup.py |
Enforces Python >=3.10 at install time and advertises supported Python versions via classifiers. |
.github/workflows/python-publish.yml |
Updates publish workflow Python runtime to 3.10. |
.github/workflows/pr-tests.yml |
Updates PR test matrix to start at Python 3.10. |
.github/workflows/pr-coverage.yml |
Runs coverage job on Python 3.10 instead of 3.8. |
.github/workflows/maintenance-check.yml |
Runs maintenance checks on Python 3.10 instead of 3.8. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Update README and maintenance plan doc to match the new python_requires>=3.10 constraint. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
requests==2.33.0(merged in fix: sync SDK with Etsy API spec — March 2026 release #18) dropped Python 3.9 and below, causing the publish workflow to failpython-publish.yml,pr-tests.yml,maintenance-check.yml,pr-coverage.ymlpython_requires=">=3.10"tosetup.pyso pip enforces the minimum versionTest plan
pytest -v— 235 tests pass locally🤖 Generated with Claude Code