Page MenuHomeSolus

Update pip to 20.0.2
ClosedPublic

Authored by jwinnie on Jan 27 2020, 1:24 AM.

Details

Summary

The new version of pip includes many bug-fixes, internal improvements, and an improved command-line interface.

  • The --user option is now assumed when pip is run without root privileges.
  • An option --no-python-version-warning has been added to silence warnings related to deprecation of Python versions.
  • The ~ prefix is now expanded to represent the user directory in path options, configs, and environment variables.
  • setup.py-based builds that do not generate an .egg-info directory are now deprecated.
  • The --skip-requirements-regex option has been removed.
  • The passing of install-location-related options via --install-option has been deprecated.
  • Wheel processing no longer permits wheels containing more than one top-level .dist-info directory.

Signed-off-by: Jeremy Potter <solus@stormdesign.us>

Test Plan

I ran pip install --user pipenv and then pip uninstall pipenv as a test and there were no errors or issues detected.

Diff Detail

Repository
R2440 pip
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jwinnie created this revision.Jan 27 2020, 1:24 AM
jwinnie requested review of this revision.Jan 27 2020, 1:24 AM
jwinnie edited the summary of this revision. (Show Details)Jan 27 2020, 1:27 AM
jwinnie added a subscriber: YakoYakoYokuYoku.
DataDrake requested changes to this revision.Jan 27 2020, 1:31 AM
DataDrake added a subscriber: DataDrake.

Your Summary will be used by eopkg and Software Center as part of the Changelog. With the way it is written right now, it is factually incorrect and has unnecessary commentary. We are exactly 3 revisions behind, and are intentionally holding back pip 20 until after the Python 3.7 upgrade. The Summary is intended to be a discussion of what has changed, not why it was changed (unless patches are involved) nor what wasn't changed.

This revision now requires changes to proceed.Jan 27 2020, 1:31 AM
jwinnie edited the summary of this revision. (Show Details)Jan 27 2020, 1:53 AM

@DataDrake, is this changelog fine?

jwinnie edited the summary of this revision. (Show Details)Jan 27 2020, 3:00 AM

Albeit posting portions of the change-logs from the sources is a good way to describe what happened between versions, this is only useful if you only put info like a few of the features the newer versions introduce. With bug-fixes I'd recommend to put that bugs were fixed. For changes in documentation we generally ignore them if the documentation of the package is found online. If lots of changes were added we put a link to the change-log.

A more adequate summary could be in this form:

The new version of <package> includes bug-fixes and the following changes:
- Feature n1
- Feature n2
- Feature n3
- (A few features worth highlighting)

Signed-off-by: Your name <your@email.com>

Also after each update of a package and package rebuild we bump the number of the release.

package.yml
2–3

Bump the release to 13

jwinnie updated this revision to Diff 19428.Jan 28 2020, 5:28 AM
  • Bump release
jwinnie edited the summary of this revision. (Show Details)Jan 28 2020, 5:30 AM
jwinnie edited the summary of this revision. (Show Details)
jwinnie edited the summary of this revision. (Show Details)Jan 28 2020, 5:44 AM
jwinnie edited the summary of this revision. (Show Details)
jwinnie edited the summary of this revision. (Show Details)Jan 28 2020, 5:46 AM
jwinnie edited the summary of this revision. (Show Details)Jan 28 2020, 5:56 AM
jwinnie edited the summary of this revision. (Show Details)Jan 28 2020, 5:59 AM
DataDrake requested changes to this revision.Feb 6 2020, 5:33 PM

Please use - instead of * in the summary.

This revision now requires changes to proceed.Feb 6 2020, 5:33 PM
jwinnie edited the summary of this revision. (Show Details)Feb 16 2020, 7:42 PM
jwinnie marked an inline comment as done.Feb 16 2020, 9:14 PM
algent added a subscriber: algent.Feb 17 2020, 10:22 AM

@jwinnie If you have finished the changes you have to change status of this revision to "Request Review". Click "Add Action" to find this option.

jwinnie requested review of this revision.Feb 17 2020, 8:48 PM
DataDrake accepted this revision.Feb 19 2020, 1:27 PM

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 19 2020, 1:27 PM
This revision was automatically updated to reflect the committed changes.