Delete deprecated host-environment-markers
key
#7698
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Our
pipenv
fixtures are a bit outdated... when I tried to delete Python 3.6, they started failing because we've got some code that reads the python version and tries to use that to guess at what version of python to run.However, when I tried regenerating one of these lockfiles under a newer Python, I was surprised that the entire
host-environment-markers
key disappeared.After a little digging, I found that this key was removed in 2018, which also explains why only the older fixtures have it and not the more recent fixtures. More historical context:
host-environment-markers
need to be in Pipfile.lock? pypa/pipenv#753In order to update our lockfiles, I first started by running
PYENV_VERSION=3.11.4 pyenv exec pipenv lock
... However, I ran into some problems because:pipenv
due to conflicts with Python3.6
, etc: Bump pipenv to 2022.11.5 #6104Since we will soon be dropping Python 3.6, 3.7, and then planning to update
pipenv
version, I decided it would be more efficient from an engineering perspective to hack my way through the jungle with a machete for a little bit by:pipenv
lockfiles: Regeneratepipenv
lockfiles used as test fixtures #7697pipenv
pipenv lock
.So in this PR I manually deleted the key... but note that I was forced to do so manually not programmatically, so these fixtures may still be outdated in other ways.