-
Notifications
You must be signed in to change notification settings - Fork 17
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
Repackage server as proper Python package, removing pipenv
#604
Conversation
Test summaryRun details
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #604 +/- ##
==========================================
+ Coverage 66.89% 67.26% +0.37%
==========================================
Files 62 62
Lines 3727 3748 +21
==========================================
+ Hits 2493 2521 +28
+ Misses 1234 1227 -7
|
771d2fd
to
317dffd
Compare
a9bc3ec
to
5d6a0c7
Compare
5e6c1ad
to
0fe4bb8
Compare
Decision is to merge this PR immediately after the next release, to avoid breaking deployments. |
22d4ed9
to
d3ece3c
Compare
- Update docs build configuration
bb3f114
to
b122a0e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #604 +/- ##
==========================================
+ Coverage 68.09% 68.10% +0.01%
==========================================
Files 62 62
Lines 3880 3882 +2
==========================================
+ Hits 2642 2644 +2
Misses 1238 1238
|
b6100af
to
11f7051
Compare
Remove .env from dockerignore Force recreate containers Debug print env Debug env Add app healthcheck
- More cleaning of dependencies - Add missing dep and fix package name in version finder - Add chat deps as an extra - Add pip-compile style lockfiles generated by uv - Update lock files - Tweak navani dep Use uv for docker builds and reintroduce hot-reload in dev container after flask update Resync pip compile and pyproject
Fix RTD
- Switch to setuptool-scm instead of versioningit, bump dotenv - Reinstate dotenv loading for non-config options
87517af
to
ddd27d7
Compare
pipenv
Supersedes #582 and addresses #168
Moves around some config files and expands
pyproject
to be the single source of truth, with a dynamic version from the git tags. Also hacks the docker build so that this version info gets passed in production, and switches to usinguv
inside the docker builds.For now, I'd like this PR to retain
Pipfile
andPipfile.lock
so that existing developer workflows should still work. In the future, we will switch to purely usinguv
-generated lockfiles for dependencies, which will allow us to use dependabot again properly, and make our dependency management less fraught with issues when wanting to update only one dep.Warning: the deps in
Pipfile.lock
will not exactly match theuv
generated lock files.