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

Print -e option and path for editable package when using pipenv requirements #5071

Merged
merged 5 commits into from
Apr 23, 2022

Conversation

hoyaaaa
Copy link
Contributor

@hoyaaaa hoyaaaa commented Apr 22, 2022

The issue

Fix #5070

The fix

If the package is editable, print -e option and path when using pipenv requirements

-e <editable package path>

The checklist

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

@hoyaaaa hoyaaaa changed the title Print -e option and path for editable package Print -e option and path for editable package when using pipenv requirements Apr 22, 2022
pipenv/cli/command.py Outdated Show resolved Hide resolved
pipenv/cli/command.py Show resolved Hide resolved
@hoyaaaa hoyaaaa requested a review from oz123 April 22, 2022 13:24
@matteius
Copy link
Member

@hoyaaaa It still needs a bugfix news fragment and then we can approve/run and I think it will be good to go.

@hoyaaaa hoyaaaa force-pushed the fix/export-requirments-editable-package branch from 544f7d0 to b9c5061 Compare April 22, 2022 14:38
@oz123 oz123 merged commit 9a6cf5d into pypa:main Apr 23, 2022
fraser-langton pushed a commit to fraser-langton/pipenv that referenced this pull request Apr 25, 2022
…quirements` (pypa#5071)

* Print `-e` option and path for editable package

* Reduce depth for logical complexity

* Add news fragment
oz123 added a commit that referenced this pull request Apr 25, 2022
Solved by using existing convert_deps_to_pip function.

Fix #5076.

Original implementation by @fraser-langton. This also
solves the export of packages with editable mode, as suggested
by @hoyaaaa (#5071).
oz123 added a commit that referenced this pull request Apr 25, 2022
Solved by using existing convert_deps_to_pip function.

Fix #5076.

Original implementation by @fraser-langton. This also
solves the export of packages with editable mode, as suggested
by @hoyaaaa (#5071).
oz123 added a commit that referenced this pull request Apr 26, 2022
Solved by using existing convert_deps_to_pip function.

Fix #5076.

Original implementation by @fraser-langton. This also
solves the export of packages with editable mode, as suggested
by @hoyaaaa (#5071).
oz123 added a commit that referenced this pull request Apr 26, 2022
Solved by using existing convert_deps_to_pip function.

Fix #5076.

Original implementation by @fraser-langton. This also
solves the export of packages with editable mode, as suggested
by @hoyaaaa (#5071).
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 requirements causes error with editable package
3 participants