-
Notifications
You must be signed in to change notification settings - Fork 1
ci(github-action): update python to 3.14 #610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -227,7 +227,7 @@ jobs: | |||||||||||||||||||
| - name: Set up Python | ||||||||||||||||||||
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| python-version: "3.10" # ensure-sops requires Python <3.11 | ||||||||||||||||||||
| python-version: "3.14" # ensure-sops requires Python <3.11 | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
Comment on lines
227
to
231
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: ensure-sops (PyPI) requires Python >=3.7 and <3.11. [1] Sources: 🌐 Web query:
💡 Result: The latest ensure-sops release on PyPI is 0.1.2 (uploaded Aug 4, 2022). The PyPI release provides a generic py3-none-any wheel but does not declare or document explicit Python 3.14 support. [1][2] If you need guaranteed 3.14 support, either test the package under CPython 3.14 (pip install and run your checks) or contact/raise an issue with the project upstream to request an explicit release/CI that targets Python 3.14. [1][2] Sources:
Python 3.14 breaks ensure-sops installation (security gate will fail). ensure-sops on PyPI requires Python <3.11; setting Python 3.14 will cause pip install to fail and break this gate. Revert to Python ≤3.10 unless ensure-sops releases a compatible version. Safe fallback - name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
- python-version: "3.14" # ensure-sops requires Python <3.11
+ python-version: "3.10" # ensure-sops requires Python <3.11📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||
| - name: Install ensure-sops | ||||||||||||||||||||
| run: | | ||||||||||||||||||||
|
|
||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
pip-audit PyPI Python 3.14 compatibility💡 Result:
Short answer: pip-audit should work on Python 3.14, but it’s not explicitly listed as a tested runtime.
Evidence:
What I recommend:
Sources:
🏁 Script executed:
Repository: jlengelbrecht/prox-ops
Length of output: 1334
Use Python 3.13 or explicitly verify pip-audit 3.14 compatibility.
Python 3.14 is not an explicitly tested runtime for pip-audit. While it likely works (pip-audit requires 3.10+), using an untested Python version in the security scanning step risks silent failures. Either pin to Python 3.13 (tested) or open an issue with pypa/pip-audit to confirm 3.14 support before merge.
Action pinning is correct.
🤖 Prompt for AI Agents