django-simple-deploy / django-simple-deploy/django-simple-deploy

"manage deploy" fails with "DSDCommandError: Couldn't find any specified requirements "

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
bug packaging uv
Dominant language
Python
Stars
430
Forks
45
PR merge metrics
No merged PRs in 30d

Description

I'm trying out django-simple-deploy for the first time, and ran into the above error on my first attempt.

To reproduce the problem:
* Make sure you have a recent version of `uv` installed
* grab this commit https://github.com/offby1/django-chess/commit/27457779cf840a221aee26070823d3cfc57d4bba
* in the top-level directory, type `uv run python manage.py deploy`
* You will see (or at least, I saw) `DSDCommandError: Couldn't find any specified requirements in /blah/blah/blah/django-chess.`

As best I can tell, this is because the `_get_dep_man_approach` function doesn't explicitly check for evidence that `uv` is in use. Perhaps it could generate the file on the fly via `uv pip compile pyproject.toml > requirements.txt`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.