Repository navigation
Add ability to run bin/update-python-support in CI. - #308
Merged
Merged
Conversation
Coverage Report for CI Build 38572154901Coverage decreased (-0.5%) to 18.919%Details
Uncovered Changes
Coverage Regressions9 previously-covered lines in 4 files lost coverage.
Coverage Stats
💛 - Coveralls |
# Conflicts: # CHANGES.rst # src/zope/meta/config_package.py # src/zope/meta/update_python_support.py
This allows running `update-python-support` via `uvx` in CI.
Failures surface in the created PR instead of aborting the run.
`gh pr create --fill` needs the history of the base branch which a shallow checkout does not have. Also do not ask whether to proceed after an error if there is nobody to answer, e.g. in CI.
Conflicts resolved: - .github/workflows/auto-update.yml: kept this branch's version (with schedule), master only had the dispatch-only copy from #454.
…ly pre-commit fixes.
icemac
commented
Oct 14, 2026
icemac
commented
Oct 14, 2026
icemac
commented
Oct 14, 2026
icemac
commented
Oct 14, 2026
dataflake
approved these changes
Oct 14, 2026
Member
|
So what happens with these auto-generated PRs? They obviously don't ask anyone to review. Who merges them? |
Member
Author
I will merge them and if needed look into the problems they show for newer Python version and if needed ask for help. |
Member
Author
|
Thank you for reviewing this PR. 😃 |
This branch was previously deployed
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.
Adds
--auto-updatetoupdate-python-supportand a weeklyauto-updateworkflow running it for all packages from here. It uses the GitHub Appzope-meta-auto-update, whose key is only stored in theauto-updateenvironment of this repository.Per package it updates the supported Python versions, opens a PR and updates the required checks in the branch protection. Packages with a pending update branch or PR are skipped.
Example PRs, one per template:
This should ease the update of all packages to support Python 3.15 and drop 3.10 and further new versions in the future. It only runs the
update-python-supportscript, to not every change here in zope.meta ends in > 200 PRs, only when we support new Python versions or drop support of older ones.