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

Account for requirement extras when parsing pipenv #10722

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

jperkelens
Copy link
Contributor

Problem

Recently introduced pipenv_requirements CAFO was not taking the 'extras' specified with a requirement (i.e pip install cloudprovider[aws]) into account when parsing the lockfile.

Solution

Inspects the requirement entry for an extras field and generates the python_requirement target appropriately.

JP Erkelens added 2 commits September 2, 2020 03:37
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling fea0baa on jperkelens:pipenv-extras into 6b79447 on pantsbuild:master.

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing!

@Eric-Arellano Eric-Arellano merged commit 3c4a886 into pantsbuild:master Sep 2, 2020
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.

3 participants