fix: update versioning constraint to support 3.14#706
Merged
aorumbayev merged 11 commits intomainfrom Jan 29, 2026
Merged
Conversation
c1f0894 to
ac8cb76
Compare
2d22cd1 to
149bcff
Compare
a0423d4 to
3b74c47
Compare
dca8ee3 to
ffc6a52
Compare
mrcointreau
approved these changes
Jan 29, 2026
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.
Proposed changes
pyproject.tomlsrc/algokit/core/_toml.pymodulesphinxnotes-markdown-builderto optional[tool.poetry.group.docs](not yet compatible with 3.14)copierto caret versioning; pinpywin32for Windows/Python 3.14Further notes
Why Copier Was Pinned in the first place?
Initial Issue (PR #634, ~May 2025)
When copier was updated from
^9.6.0to9.7.1, version 9.7.0 introduced breaking API changes:Question model now requires
contextparameter — Seesrc/algokit/core/init.py:48-50:Internal module reorganization — Imports changed from public to private APIs:
copier.main→copier._maincopier.types→copier._typescopier.user_data→copier._user_dataThe Problematic Versions (9.7.1 → 9.10.1, Aug–Sep 2025)
After PR #634 pinned to
9.7.1, Dependabot repeatedly tried to bump copier but these PRs were closed without merging:The issues that caused these failures:
These changes affected how copier processed template answers, causing snapshot test output to differ.
The Security Fix (Commit 827b592, Sep 3, 2025)
The team decided to skip the problematic 9.8.x and 9.9.x versions entirely and jump to
9.10.1with an explicit pin:Why PR #706 Could Bump to Latest
The successful bump (Jan 29, 2026):
PR #706 bumped from
9.10.1→^9.11.3with zero code changes and all tests passed (Python 3.10–3.14). Here's why:Backward Compatibility Maintained: The workaround code from PR chore: updated relevant to packages in order to update h11 #634 (passing
contexttoQuestion) still works perfectly with copier 9.11.3Issues Fixed in Later Versions: The validation and answer handling issues that plagued 9.8.x and 9.9.x were resolved or stabilized by 9.10.x/9.11.x
Relevant fixes in 9.11.x:
These fixes likely resolved the issues that were causing snapshot test failures in the intermediate versions.
No New Breaking Changes: Copier 9.11.x didn't introduce new breaking API changes — it maintained compatibility with the
_main,_types,_user_dataimport structure andQuestioncontext parameter pattern established in 9.7.0.