Skip to content
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

Set Python 3.13 as max version for Streamlit #9635

Merged
merged 10 commits into from
Nov 26, 2024
Merged

Conversation

raethlein
Copy link
Collaborator

@raethlein raethlein commented Oct 9, 2024

Describe your changes

See previous upgrade to 3.12 for reference: #7663

Some screenshots are updated because we had to update the playwright dependency to >= 1.48. I have moved those changes to its own PR for easier review: #9918 Since playwright >= 1.48 requires Python 3.9 as a minimum, we remove support for Python 3.8 here: #9919

Action Items:

GitHub Issue Link (if applicable)

Testing Plan

  • Explanation of why no additional tests are needed
  • Unit Tests (JS and/or Python)
    • with the increase version, the max-deps test now runs on Python 3.13 as well
  • E2E Tests
  • Any manual testing needed?

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@raethlein raethlein changed the title Add Python 3.13 as max version Add Python 3.13 as max version and set 3.9 as min Oct 9, 2024
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 25, 2024
@lukasmasuch lukasmasuch changed the title Add Python 3.13 as max version and set 3.9 as min [WIP] Add Python 3.13 as max version and set 3.9 as min Oct 25, 2024
@github-actions github-actions bot removed the stale label Oct 26, 2024
@raethlein raethlein force-pushed the upgrade-python313 branch 2 times, most recently from 1e4ff5b to fb50751 Compare October 31, 2024 22:45
@raethlein raethlein force-pushed the upgrade-python313 branch 2 times, most recently from 9472c25 to c9c3edc Compare November 5, 2024 20:47
Copy link
Collaborator Author

@raethlein raethlein Nov 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the warning icon on Chromium is now the same as on Webkit and Firefox in the updated playwright version

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently, the indicator of which function raised the error changed in Python 3.13. However, it looks like we want to simplify the traces anyways as demonstrated in this PR: #9913

@raethlein raethlein changed the title [WIP] Add Python 3.13 as max version and set 3.9 as min [WIP] Add Python 3.13 as max version Nov 25, 2024
raethlein added a commit that referenced this pull request Nov 25, 2024
…nt (#9919)

## Describe your changes

Fixes an issue in our build pipeline when mypy is run (see
[here](https://github.com/streamlit/streamlit/actions/runs/12004642925))
by removing the comment. We set Python 3.9 as the new min as 3.8 would
still require the comment. We are about to bump the max version to 3.13
and want to retire 3.8: #9635

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
@raethlein raethlein marked this pull request as ready for review November 25, 2024 16:51
@raethlein raethlein requested review from mayagbarnes and a team as code owners November 25, 2024 16:51
@raethlein raethlein changed the title [WIP] Add Python 3.13 as max version Set Python 3.13 as max version for Streamlit Nov 25, 2024
kmcgrady pushed a commit that referenced this pull request Nov 25, 2024
…nt (#9919)

## Describe your changes

Fixes an issue in our build pipeline when mypy is run (see
[here](https://github.com/streamlit/streamlit/actions/runs/12004642925))
by removing the comment. We set Python 3.9 as the new min as 3.8 would
still require the comment. We are about to bump the max version to 3.13
and want to retire 3.8: #9635

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
kmcgrady pushed a commit that referenced this pull request Nov 25, 2024
…nt (#9919)

## Describe your changes

Fixes an issue in our build pipeline when mypy is run (see
[here](https://github.com/streamlit/streamlit/actions/runs/12004642925))
by removing the comment. We set Python 3.9 as the new min as 3.8 would
still require the comment. We are about to bump the max version to 3.13
and want to retire 3.8: #9635

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
@raethlein raethlein merged commit a1d6cb0 into develop Nov 26, 2024
35 checks passed
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
…nt (streamlit#9919)

## Describe your changes

Fixes an issue in our build pipeline when mypy is run (see
[here](https://github.com/streamlit/streamlit/actions/runs/12004642925))
by removing the comment. We set Python 3.9 as the new min as 3.8 would
still require the comment. We are about to bump the max version to 3.13
and want to retire 3.8: streamlit#9635

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants