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

Switch from pipfile to plette lib #8627

Merged

Conversation

jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented Dec 16, 2023

The main user of pipfile is pipenv, and not any of the other
python package managers.

However, pipfile library has been pretty much unmaintained, so
pipenv switched to using plette for parsing/validation of
Pipfile's:

So let's switch our usage as well. Today we only use pipfile for
generating hashes, so this switch doesn't change any existing behavior. However, down
the road we could leverage plette for Pipfile parsing/validation... for example see how it's flagging things here:
#6104 (comment)

This PR is identical to #7741, except opening from my fork since I'm no longer on the :dependabot: team I don't have write access to the main repo. See the additional discussion on that PR with one of the maintainers of plette / pipenv.

The main user of `pipfile` is `pipenv`, and _not_ any of the other
python package managers.

However, `pipfile` library has been pretty much unmaintained, so
`pipenv` switched to using `plette` for parsing/validation of
`Pipfile`'s:
* pypa/pipenv#5310
* pypa/pipenv#5339

So let's switch our usage as well. Today we only use `pipfile` for
generating hashes, so this is effectively a silent no-op. However, down
the road we could leverage `plette` for `Pipfile` parsing/validation...
for example see how it's flagging things here:
dependabot#6104 (comment)
@jeffwidman jeffwidman force-pushed the switch-from-pipfile-to-plette-lib branch from 61ee2b8 to 5ab89f4 Compare March 21, 2024 17:27
@abdulapopoola abdulapopoola merged commit 384ce3b into dependabot:main Mar 22, 2024
42 checks passed
@jeffwidman jeffwidman deleted the switch-from-pipfile-to-plette-lib branch March 22, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants