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

Fixes checking constraint throws deprecation messages. #5309

Merged
merged 3 commits into from
Aug 30, 2022

Conversation

dqkqd
Copy link
Contributor

@dqkqd dqkqd commented Aug 30, 2022

Thank you for contributing to Pipenv!

The issue

Fix #5273.
This is a bug from commit 640612d. Because check_invalid_constraint_type from pip throws PipDeprecationWarning.

The fix

Create our own method for checking if package is constraint or not.

The checklist

  • Associated issue
  • A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

@matteius matteius requested a review from oz123 August 30, 2022 19:00
@oz123 oz123 merged commit b563bbe into pypa:main Aug 30, 2022
@dqkqd dqkqd deleted the check-constraints-throw-warning-messages branch September 2, 2022 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipenv lock fails for packages with extras as of 2022.8.13
3 participants