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

Fix "update" command casing problem #1355

Closed
wants to merge 2 commits into from
Closed

Fix "update" command casing problem #1355

wants to merge 2 commits into from

Conversation

senpos
Copy link

@senpos senpos commented Jan 24, 2018

Closes #1316

  • all_packages method now retrieves data from _pipfile, rather than _parsed_pipfile, which normalizes all package names from _parsed_pipfile
  • update method now transforms package_name into normalized one and then uses it for building response messages and removing/instaslling package

Modifiyng all_packages method should not cause any problems, because it is used literally in two places and both of them are in update method.

Actually, with these changes done to all_packages method, it can be also used in uninstall command, but probably you need to check healthiness of this PR first.

@nateprewitt
Copy link
Member

Hey @senpos, this is actually a byproduct of a larger casing issue in pipenv. We're currently doing some investigation tracked in #1314. I think this may actually exacerbate the bad behaviour so I'm going to mark this as do not merge till we get to the bottom of what "correct" behaviour is. Then we can revisit merging. Thanks for putting this together!

@techalchemy
Copy link
Member

sorry for the close/reopen, had one too many things selected!

@kennethreitz
Copy link
Contributor

Closing as we need to re-architect this portion of the code entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants