Skip to content

Conversation

@sfc-gh-kbregula
Copy link
Contributor

@sfc-gh-kbregula sfc-gh-kbregula commented Nov 30, 2022

📚 Context

The new version of the library causes problems when the environment is created from scratch. On CI, this problem doesn't exist yet, because we use cache.

If someone modifies .pre-commit-hook, the cache is not used and then unexpected changes are made. See:
https://github.com/streamlit/streamlit/actions/runs/3565886702/jobs/5992503264
#5776 (comment)

Please describe the project or issue background here

  • What kind of change does this PR introduce?

    • Bugfix
    • Feature
    • Refactoring
    • Other, please describe:

🧠 Description of Changes

  • Add bullet points summarizing your changes here

    • This is a breaking API change
    • This is a visible (user-facing) change

Revised:

Insert screenshot of your updated UI/code here

Current:

Insert screenshot of existing UI/code here

🧪 Testing Done

  • Screenshots included
  • Added/Updated unit tests
  • Added/Updated e2e tests

🌐 References

Does this depend on other work, documents, or tickets?

  • Issue: Closes #XXXX

Contribution License Agreement

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

@sfc-gh-tszerszen sfc-gh-tszerszen self-requested a review November 30, 2022 09:48
Copy link
Contributor

@sfc-gh-tszerszen sfc-gh-tszerszen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@sfc-gh-tszerszen sfc-gh-tszerszen added the security-assessment-completed Security assessment has been completed for PR label Nov 30, 2022
Copy link
Contributor Author

@sfc-gh-kbregula sfc-gh-kbregula left a comment

Choose a reason for hiding this comment

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

Fixup

@sfc-gh-kbregula sfc-gh-kbregula merged commit 0715c1d into develop Nov 30, 2022
tconkling added a commit that referenced this pull request Nov 30, 2022
* develop:
  Pin pyflakes in autoflake hook (#5790)
  Fix plotly height attributes and useContainerWidth (#5779)
tconkling added a commit to tconkling/streamlit that referenced this pull request Nov 30, 2022
* feature/ReleaseCacheV2:
  Rename: cache_data, cache_resource (streamlit#5785)
  Pin pyflakes in autoflake hook (streamlit#5790)
  Fix plotly height attributes and useContainerWidth (streamlit#5779)
@vdonato vdonato deleted the pin-pyflake branch November 2, 2023 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants