-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Does host-environment-markers
need to be in Pipfile.lock?
#753
Comments
it's useful, as the contents of the lockfile are different when created against different versions of python. |
Can we perhaps add a setting to make it optional? Especially |
going to remain, for now. |
I too find this behavior annoying, and strangely at odds with the cross-platform support I see in (if I understand this correctly) pipenv's fetching of environment-specific wheels and hashes. Are you saying it's useful for some pipenv implementation reason or for pipenv users? I'm having a hard time understanding if you mean the latter. |
Our team was just discussing this, and we're unsure as to why it needs to be there. It certainly makes it difficult to use a |
Even more strange:
Packages are installed correctly, and neither |
Tagging @kennethreitz @nateprewitt and @techalchemy I can see where you guys are coming from but don't know the whole scope of removing it. Hmm |
@tsaleh You specifically told pipenv to ignore all of that stuff with |
@erinxocon thought |
To clarify, the test I was trying to run was to determine if This is actually good for us, since we're trying to come up with a workflow where our developers can our production deployment tooling can all use the |
@tsaleh My apologies, you are correct, it does ignore the pipfile. And no alerts are raised about it not being the correct environment? |
No, none that I saw. and I just validated that the packages are correctly installed with the right lock versions:
|
Hey everyone, host-environment-markers is solely there for auditing purposes and has no effect on the use of the Pipfile. There's a slight possibility a Pipfile generated on Windows may not work on a *nix based platform but I was under the impression this had been solved. If it doesn't, this section of the lockfile won't enforce anything. I personally don't have an issue removing it but this will require BDFL approval. |
These markers are there for audit and debugging, and is part of the reason I always ask people for their lockfiles when they have issues. See #295 |
@techalchemy could it be moved to a different file that is |
@brettdh from previous experience when questions about separating pieces into seperate config or logging files have been asked, the answer is no. Kenneth wants to keep everything that is deemed relevant for the project in these two files. |
For debugging purposes, it could be just a separate |
@brettdh that's what we've done in Requests and this was Kenneth's design choice after the Requests module had already been implemented. I don't have a problem with a command, but as I said above, this is Kenneth's project and we'll need a go ahead before we do anything like that. |
For most projects, If this information is important for debugging purpose, it should be in another file which people can choose to ignore in source control.
|
Why is
host-environment-markers
part of Pipfile.lock? When working on a repository with multiple developers, this part keeps changing based on who last updated the lock file.Similar systems, like yarn, does not have this information in their lockfile.
The text was updated successfully, but these errors were encountered: