Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions ui/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
# ==============================

# Core Framework
streamlit>=1.31.0
streamlit==1.46.1

# Streamlit chart library (pin to ensure consistent chart rendering)
altair==5.5.0

# For async support in Streamlit
nest-asyncio>=1.6.0
nest-asyncio==1.6.0
Comment on lines +5 to +11
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Pinning direct dependencies with == is a great step towards creating reproducible environments. To further improve this and ensure long-term maintainability, consider using a tool like pip-tools.

With pip-tools, you would maintain a requirements.in file with your high-level dependencies. Running pip-compile would then automatically generate a fully-pinned requirements.txt file, including all transitive dependencies (like altair).

This approach automates pinning, simplifies updates, and makes the entire dependency tree explicit and locked. It's a valuable practice for ensuring robust and maintainable dependency management as the project grows.


# OpenJudge framework (install from parent directory)
# pip install -e ..