Repository navigation
Fix Streamlit startup blocked by expired Debian repository - #138
Merged
Merged
Conversation
EvenSol
marked this pull request as ready for review
September 8, 2026 12:56
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The September 8 Streamlit Cloud deployment fails in
apt-get updatebecause its configuredbullseye-securityrelease metadata has expired. This happens before Python dependencies are installed orwelcome.pyruns. The app's only APT dependency isdefault-jre.This PR removes
packages.txtand installs Java 21 through the pinnedjdk4py==21.0.8.2Python wheel. The entrypoint configuresJAVA_HOMEbefore pages import NeqSim, respects an explicitly supplied Java installation, and retains the existing XStream module-access options.It also:
55b9006with Streamlit 1.63.0 before this test correction.Validation completed locally with Python 3.12.13, NeqSim 3.19.0, JPype 1.7.1, Streamlit 1.63.0, and bundled Java 21.0.8:
python -m pip install -r requirements.txtandpython -m pip check: passed.PYTHONPATH=. python tests/test_java_runtime.py -v: 3 passed, including native process save/load.PYTHONPATH=. python tests/test_experimental_links.py -v: 3 passed.PYTHONPATH=. python tests/test_navigation_warm_import.py -v: 3 passed.PYTHONPATH=. python tests/test_app_navigation.py -v: 6 passed, including all 21 experimental route subcases.welcome.pyand TP Flash page exercised through Streamlit AppTest with a 90/10 methane/ethane feed at 50 °C and 50 bara: calculation succeeded and the JVM'sjava.homematched the bundled runtime.git diff --check: passed.Documentation impact: README installation and deployment guidance updated in this PR.
VALIDATION PENDING CI. The live Streamlit deployment has not been changed or verified. After merge, let Streamlit rebuild its Python dependencies; use Manage app → Reboot app if the failed instance does not rebuild automatically.
References: