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

Exclude streamlit version 1.34 from requirements #186

Merged
merged 2 commits into from
May 6, 2024

Conversation

hansthen
Copy link
Contributor

@hansthen hansthen commented May 5, 2024

It breaks the automated tests.

The test_package.py and test_release.py fail with error message: "RuntimeError: Runtime hasn't been created!"

Reverting to Streamlit 1.33 solved the issue.

@hansthen
Copy link
Contributor Author

hansthen commented May 5, 2024

The issue has been noted by the streamlit team: streamlit/streamlit#8606. Since the issue seemingly only affects the tests, I only disabled 1.34.0 for the tests.

@randyzwitch randyzwitch merged commit fe0f227 into randyzwitch:master May 6, 2024
4 checks passed
raethlein added a commit to streamlit/streamlit that referenced this pull request May 6, 2024
## Describe your changes

Closes #8606

The PR allows custom component modules to be executed standalone by not
registering them with Streamlit at all, which makes sense since
Streamlit is not started.

It's a cherry-pick of this broader PR
#8610, which also adds tests.
However, we want to discuss our testing strategy first, so we decouple
it from adding the fix (see for example also this PR
#8616).

## GitHub Issue Link (if applicable)

- #8606
- NathanChen198/streamlit-rsa-auth-ui#1
- randyzwitch/streamlit-folium#186

## Testing Plan

- E2E Tests: tests to ensure this behavior will come in a separate PR,
see #8616 and
#8610

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
benjamin-awd pushed a commit to benjamin-awd/streamlit that referenced this pull request Sep 29, 2024
## Describe your changes

Closes streamlit#8606

The PR allows custom component modules to be executed standalone by not
registering them with Streamlit at all, which makes sense since
Streamlit is not started.

It's a cherry-pick of this broader PR
streamlit#8610, which also adds tests.
However, we want to discuss our testing strategy first, so we decouple
it from adding the fix (see for example also this PR
streamlit#8616).

## GitHub Issue Link (if applicable)

- streamlit#8606
- NathanChen198/streamlit-rsa-auth-ui#1
- randyzwitch/streamlit-folium#186

## Testing Plan

- E2E Tests: tests to ensure this behavior will come in a separate PR,
see streamlit#8616 and
streamlit#8610

---

**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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants