Skip to content

Use best-practice pyproject.toml, and uv for managing dependencies#124

Open
normanlorrain wants to merge 1 commit into
mainfrom
pyproject-uv-lock
Open

Use best-practice pyproject.toml, and uv for managing dependencies#124
normanlorrain wants to merge 1 commit into
mainfrom
pyproject-uv-lock

Conversation

@normanlorrain
Copy link
Copy Markdown
Contributor

Python has evolved over the years, with respect to package management. The requirements.txt file nas now been replaced by pyproject.toml. Also, pip is losing favour to the uv tool.

I'm trying to stay with best practices, so this PR makes the changes.

The docker command is the same: docker compose up app. The docker base image changed to include the uv tool.

Done with the assistance of Grok AI.
Tested on Linux Mint.

@normanlorrain
Copy link
Copy Markdown
Contributor Author

Separate comment for discussion...
I'm not a docker expert, but I did find you can run docker compose run app bash to get to a shell prompt permitting use of the helper scripts. Perhaps there's something better @mrbiggred ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant