-
Notifications
You must be signed in to change notification settings - Fork 27
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
Improve devops - #64
Comments
consider using poetry or uv directly instead of "extracting" stuff from the toml, both appear to support pyproject.tomls directly: https://docs.astral.sh/uv/configuration/files/ |
Looks like pip does not yet support installing dependencies without installing the main package: So if we go the route of using uv to read from the pyproject.toml, we would be tightly coupling quickannotator to uv (note that uv expects a [tool.uv] section in the toml file). I think we should avoid this tight coupling. |
wa wa wa... what about something like pip-compile? |
That'd work! does it come with python? Looks like it doesn't on my end. |
its not a default package, would need to be installed :-\ pip install pip-tools |
Description
Re-running the dev container currently requires an image rebuild when code changes. Additionally, pip is slow.
Implementation notes
https://stackoverflow.com/questions/73600082/how-to-reference-a-requirements-txt-in-the-pyproject-toml-of-a-setuptools-projec
pip install -e quickannotator
from the Dockerfile and instead tell devcontainers to run this after building the image.Acceptance criteria
The text was updated successfully, but these errors were encountered: