-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate from Poetry to UV, update Python dependencies, and modernize stlite to use CDN #18
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: maehr <[email protected]>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@copilot Also update https://github.com/whitphx/stlite in index.html |
Co-authored-by: maehr <[email protected]>
Updated stlite in index.html to use CDN instead of local assets. Changed from local assets to https://cdn.jsdelivr.net/npm/@stlite/[email protected]/build/ for both CSS and JS files. This provides better performance, easier maintenance, and follows modern web practices. Commit: 5909737 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR migrates the project from Poetry to UV package manager, updates all Python dependencies to their latest stable versions, and modernizes the stlite integration to use CDN delivery.
Changes Made
Package Manager Migration
pyproject.tomlfrom Poetry format to standard Python packaging format compatible with UVpoetry-coretohatchlingwith proper source directory configurationpoetry.lockand generated newuv.lockfor dependency resolutionDependency Updates
All Python dependencies have been updated to their latest stable versions:
^1.30.0→>=1.48.1(major UI and performance improvements)^2.1.2→>=2.3.2(enhanced data processing capabilities)^1.3.2→>=1.7.1(new ML algorithms and performance optimizations)^3.4.1→>=3.4.1(no change needed, already latest)^0.1.4→>=0.12.9(significant linting and formatting improvements)Stlite Modernization
assets/stlite/build/stlite.css→https://cdn.jsdelivr.net/npm/@stlite/[email protected]/build/stlite.cssassets/stlite/build/stlite.js→https://cdn.jsdelivr.net/npm/@stlite/[email protected]/build/stlite.jsDocumentation Updates
poetry install→uv syncpoetry run streamlit run src/app.py→uv run streamlit run src/app.pypoetry run ruff format→uv run ruff formatCode Quality
Benefits
Testing
uv sync)The migration maintains full backward compatibility while modernizing both the development workflow and web delivery approach.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.