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

Proper case windows #3105

Merged
merged 5 commits into from
Nov 2, 2018
Merged

Proper case windows #3105

merged 5 commits into from
Nov 2, 2018

Conversation

frostming
Copy link
Contributor

@frostming frostming commented Oct 26, 2018

Thank you for contributing to Pipenv!

The issue

pipenv clean will fail to detect the unnecessary packages because the path is not cased properly.

The fix

Make _normalize always return the real cased path on Windows. Fixes #3104

The checklist

  • Associated issue pipenv clean is not working #3104
  • 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 #.

@frostming frostming force-pushed the proper-case-windows branch from 9a690af to bb85253 Compare October 26, 2018 09:03
@techalchemy
Copy link
Member

hmm is this already fixed in #3096 ?

@frostming
Copy link
Contributor Author

@techalchemy No, I reproduced the bug with the pipenv@update-vendor branch.

@techalchemy
Copy link
Member

ok this makes sense, confirmed it locally too, thanks for the fix!

@techalchemy techalchemy added OS: Windows This issue affects the Windows Operating System. Type: Regression This issue is a regression of a previous behavior. labels Nov 2, 2018
@techalchemy techalchemy merged commit 7c89a46 into pypa:master Nov 2, 2018
@frostming frostming deleted the proper-case-windows branch November 2, 2018 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Windows This issue affects the Windows Operating System. Type: Regression This issue is a regression of a previous behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pipenv clean is not working
2 participants