Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
✅ PR preview is ready!
|
|
Requires a new altair release: vega/altair#3895 |
|
altair 6.0.0 Is now released with Python 3.14 support. |
There was a problem hiding this comment.
Pull Request Overview
This PR attempts to add support for Python 3.14 to the Streamlit library. However, Python 3.14 has not been officially released yet (as of early 2025), making this change premature.
Key Changes:
- Updated Python version classifiers in setup.py to include 3.14
- Updated documentation and developer guidelines to reflect 3.10-3.14 support range
- Modified CI/CD configuration to include Python 3.14 in the test matrix
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lib/setup.py | Added Python 3.14 classifier to package metadata |
| lib/AGENTS.md | Updated supported Python versions documentation from 3.10-3.13 to 3.10-3.14 |
| .github/instructions/python.instructions.md | Updated supported Python versions in developer instructions |
| .github/actions/build_info/action.yml | Modified CI configuration to set max Python version to 3.14 and added 3.13 to test matrix |
| .github/ISSUE_TEMPLATE/bug_report.yml | Updated example Python version from 3.13 to 3.14 in bug report template |
| .cursor/rules/python.mdc | Updated supported Python versions in cursor rules documentation |
| assert sr6.selectbox[3].value == "Lisp" | ||
|
|
||
| with pytest.raises(ValueError, match="'invalid' is not in list"): | ||
| with pytest.raises(ValueError, match="not in list"): |
There was a problem hiding this comment.
[question] How is this related to python 3.14?
There was a problem hiding this comment.
As far as I remember, this ValueError error message is triggered by python itself and something had slightly changed with the wording in 3.14
Describe your changes
Adds official support for Python 3.14 and activates our CI to run with Python 3.14.
GitHub Issue Link (if applicable)
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.