fix: downgrade code-annotations to version 2.3.0#189
Open
alenkadev wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to restore Python 3.11 compatibility for the translation extraction workflow by downgrading code-annotations from 3.0.0 (requires Python 3.12+) to 2.3.0.
Changes:
- Downgraded
code-annotationsinrequirements/base.txtfrom3.0.0to2.3.0.
| click-repl==0.3.0 | ||
| # via celery | ||
| code-annotations==3.0.0 | ||
| code-annotations==2.3.0 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #189 +/- ##
=======================================
Coverage 86.17% 86.17%
=======================================
Files 152 152
Lines 12583 12583
Branches 1200 1200
=======================================
Hits 10843 10843
Misses 1425 1425
Partials 315 315 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Description
This PR updates the code-annotations dependency in the enterprise-access requirements from 3.0.0 to 2.3.0.
Background
The translation extraction workflow currently runs using Python 3.11. During dependency installation for enterprise-access, installation failed because code-annotations==3.0.0 requires Python 3.12 or newer. As a result, the requirements installation was aborted, causing downstream failures during translation extraction.
Changes
Downgraded code-annotations from 3.0.0 to 2.3.0 in enterprise-access requirements.
Restores compatibility with Python 3.11 used by the extraction workflow.
Allows repository dependencies to install successfully so translation extraction can proceed without dependency-related failures.