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

When given a Windows style path as an editable requirement on the command line, pipenv fails to find it. #5828

Closed
Kroppeb opened this issue Aug 14, 2023 · 3 comments
Labels
Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. triage

Comments

@Kroppeb
Copy link

Kroppeb commented Aug 14, 2023

Issue description

Using '' in a editable dependency instead of '/' will not work.

Expected result

Both pipenv install ..\..\libraries\foobar and pipenv install -e ..\..\libraries\foobar work

Actual result

The first command succeeds, but the second one doesn't. It errors with

....librariesfoobar is not a valid editable requirement. It should either be a path to a local project or a VCS URL

$ pipenv --support

Pipenv version: '2022.12.19'

Pipenv location: 'C:\\Users\\robbe\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\pipenv'

Python location: 'C:\\Users\\robbe\\AppData\\Local\\Programs\\Python\\Python311\\python.exe'

OS Name: 'nt'

User pip version: '22.3.1'

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.11.2',
 'os_name': 'nt',
 'platform_machine': 'AMD64',
 'platform_python_implementation': 'CPython',
 'platform_release': '10',
 'platform_system': 'Windows',
 'platform_version': '10.0.22621',
 'python_full_version': '3.11.2',
 'python_version': '3.11',
 'sys_platform': 'win32'}

Pipenv?specific environment variables:


@matteius
Copy link
Member

@Kroppeb Could you check with: #5793

@Kroppeb
Copy link
Author

Kroppeb commented Aug 21, 2023

I'll see if I can try that out this week. I noticed it got merged into main, does that mean I just have to update my pipenv?

@matteius
Copy link
Member

@Kroppeb Just released a new version 2023.8.26 that addresses some recent findings regarding editable installs -- specifically moved more of the logic to use Pathlib, so hopefully this helps in your case as well.

@matteius matteius added the Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Update ⏳ This issue requires more information before assistance can be provided. triage
Projects
None yet
Development

No branches or pull requests

2 participants