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

pip-sync should respect pip-compile's output_file configuration #2093

Open
aentwist opened this issue May 16, 2024 · 1 comment
Open

pip-sync should respect pip-compile's output_file configuration #2093

aentwist opened this issue May 16, 2024 · 1 comment
Labels
bug Something is not working config Related to pip-tools' configuration sync

Comments

@aentwist
Copy link

aentwist commented May 16, 2024

Expected result

pyproject.toml

[tool.pip-tools]
src_files = ["requirements.in", "dev-requirements.in"]
output_file = "requirements-lock.txt"

pip-sync syncs from requirements-lock.txt

Actual result

looks for requirements.txt

Steps to replicate

  1. use undocumented configuration src_files, and configuration output_file
  2. pip-compile
  3. pip-sync

Proposed Solution

respect the output file

Alternative Considerations

add a pip-sync option

Environment Versions

OS Type

WSL2 Debian 12

Python version: $ python -V

3.10.14

pip version: $ pip --version

23.0.1

pip-tools version: $ pip-compile --version

7.4.1

@aentwist
Copy link
Author

screw it, requirements.txt it is

@chrysle chrysle added bug Something is not working sync config Related to pip-tools' configuration labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working config Related to pip-tools' configuration sync
Projects
None yet
Development

No branches or pull requests

2 participants