ci: use python 3.11 to determine updated packages in PR description#1160
ci: use python 3.11 to determine updated packages in PR description#1160
Conversation
WalkthroughThis update modifies the script that checks for updated packages by changing the Git diff command to compare against a new constraints file, moving from "constraints_py3.9.txt" to "constraints_py3.11.txt". This adjustment ensures that the comparison is made with the package requirements for Python 3.11, aligning the script with newer dependencies. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
|
🧙 Sourcery has finished reviewing your pull request! Tips
|
There was a problem hiding this comment.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- build_utils/check_updated_packages.py (1 hunks)
Additional comments not posted (1)
build_utils/check_updated_packages.py (1)
20-20: LGTM! But verify the correctness of the new file path.The code changes are approved.
However, ensure that the new file path
requirements/constraints_py3.11.txtis correct and exists in the repository.Verification successful
File path verified and correct.
The new file path
requirements/constraints_py3.11.txtexists in the repository. The code changes are correct and approved.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the existence of the new constraints file. # Test: Check if the new constraints file exists. Expect: The file should exist. if [ -f "requirements/constraints_py3.11.txt" ]; then echo "File exists." else echo "File does not exist." fiLength of output: 83
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1160 +/- ##
===========================================
- Coverage 93.06% 93.05% -0.02%
===========================================
Files 208 208
Lines 32763 32763
===========================================
- Hits 30491 30486 -5
- Misses 2272 2277 +5 ☔ View full report in Codecov by Sentry. |



Summary by CodeRabbit
constraints_py3.11.txtinstead ofconstraints_py3.9.txt.