From 6c7c43c434bb14572fb72c270832722303e5a6f1 Mon Sep 17 00:00:00 2001 From: harsh0641 Date: Fri, 13 Nov 2026 14:15:07 -0500 Subject: [PATCH 1/2] feat: deployable Streamlit entrypoint and pinned requirements --- requirements.txt | 14 ++++++++------ streamlit_app.py | 7 +++++++ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 streamlit_app.py diff --git a/requirements.txt b/requirements.txt index f6b50b0..3c2db56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,9 @@ -httpx -pandas -scikit-learn +httpx==0.28.1 +joblib==1.6.0 +numpy==2.5.4 +pandas==3.1.1 +python-dotenv==1.2.4 +scikit-learn==1.9.1 +streamlit==1.67.0 pytest -ruff -streamlit -python-dotenv +ruff \ No newline at end of file diff --git a/streamlit_app.py b/streamlit_app.py new file mode 100644 index 0000000..c01e170 --- /dev/null +++ b/streamlit_app.py @@ -0,0 +1,7 @@ +import runpy +import sys +from pathlib import Path + +ROOT = Path(__file__).parent +sys.path.insert(0, str(ROOT / "src")) +runpy.run_path(str(ROOT / "src" / "lysis" / "app.py"), run_name="__main__") \ No newline at end of file From f346b38581addddf3fa62bac64368542350ac897 Mon Sep 17 00:00:00 2001 From: harsh0641 Date: Fri, 13 Nov 2026 14:19:50 -0500 Subject: [PATCH 2/2] ci: use Python 3.13 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a18677..3d8178b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" - run: pip install -r requirements.txt - run: ruff check . - run: pytest \ No newline at end of file