Skip to content
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

make venv fails due to "No such file or directory: 'requirements/dev-requirements.txt'" #1168

Open
1 task done
deeplow opened this issue Sep 4, 2024 · 1 comment
Open
1 task done

Comments

@deeplow
Copy link
Contributor

deeplow commented Sep 4, 2024

  • I have searched for duplicates or related issues

Description

Make make venv is failing due to a missing requirements/dev-requirements.txt file.There is supposedly make update-pip-requirements. However, in order to run that I had to first install pip-tools via pip and then it fails due to missing requirements/dev-requirements.in file.

I could also be doing something wrong, but I am a bit lost on how to proceed here. And I recall this working some time ago.

Steps to Reproduce

Debian 12 Qubes VM, on latest main. Run make venv

Expected Behavior

Command succeeds.

Actual Behavior

$ make venv
grep: /etc/fedora-release: No such file or directory
python3.11 -m venv .venv --system-site-packages
.venv/bin/pip install --upgrade pip wheel
Requirement already satisfied: pip in ./.venv/lib/python3.11/site-packages (24.2)
Requirement already satisfied: wheel in ./.venv/lib/python3.11/site-packages (0.44.0)
.venv/bin/pip install --require-hashes -r "requirements/dev-requirements.txt"
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements/dev-requirements.txt'
make: *** [Makefile:178: venv] Error 1

Comments

Suggestions to fix, any other relevant information.

@deeplow
Copy link
Contributor Author

deeplow commented Sep 4, 2024

Somehow I had missed the switch from pip+venv to poetry. So as I understand make venv and associated commands is deprecated now and should be removed. Am I understanding correctly?

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

No branches or pull requests

1 participant