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

Differing results based on platform pip-compile is run from #1220

Open
ssbarnea opened this issue Nov 12, 2020 · 3 comments
Open

Differing results based on platform pip-compile is run from #1220

ssbarnea opened this issue Nov 12, 2020 · 3 comments
Labels
feature Request for a new feature

Comments

@ssbarnea
Copy link
Member

While I do understand that different platforms may produce different results it i also impossible to run pip-compile for a specific target platform.

Even if you product officially ships on a single platform, the developers may use a plethora of variations when they propose a change, they should be able to recompile the target requirements.txt file.

For example if their dev machine is MacOS, or even a different python version that the shipped one you do end-up with a different requirements.txt file (even if sometimes only comments differ).

This does not play well at all with CI usage, where you likely have one job that recompiles requirements.in and fails the build if the produced file is different.

We clearly need a reproducible way to recompile requirements that does not force PR creator to execute pip-compile on a very particular platform.

@atugushev atugushev added the feature Request for a new feature label Feb 20, 2022
@stianlagstad
Copy link

stianlagstad commented Sep 13, 2023

Here's an issue describing the same problem with another package manager:

@webknjaz webknjaz changed the title Unpredictable results based on platform pip-compile is run from Differing results based on platform pip-compile is run from Sep 13, 2023
@webknjaz
Copy link
Member

FWIW this is explained in README already.

@doronbehar
Copy link

BTW I tried today to use the --pip-args '--platform=linux-armv7l' for this pyproject.toml, and the resulting requirements.txt file didn't include the pyrp3 dependency... I wonder why 🤔.

FWIW this is explained in README already.

What is explained?

doronbehar added a commit to doronbehar/linien that referenced this issue Aug 2, 2024
No other machines should really use the server, and this dependency
doesn't hurt any other platform that is used to test the server. This
also helps a bit installing the server in an offline manner (linien-org#378), see
also:

jazzband/pip-tools#1220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request for a new feature
Projects
None yet
Development

No branches or pull requests

5 participants