1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

6444 commits

Author SHA1 Message Date
keanemind c8fdf9c95e Add news 2018-10-04 00:01:59 -05:00
keanemind e33ba2ac0b Abort when --no-binary/--only-binary receives bad arg 2018-10-03 23:55:22 -05:00
Chris Jerdonek b6bbabe3e7
Merge pull request #5833 from uranusjr/htmlpage-extract-trimming
Move static methods out of HTMLPage
2018-09-30 23:12:06 -07:00
Pradyun Gedam 4a07894b21
Merge pull request #5831 from pradyunsg/vendoring/18.1-updates
Vendoring updates for 18.1
2018-09-30 23:51:50 +05:30
Pradyun Gedam caabd1f8b2
Fix the vendoring script to cover relative imports 2018-09-30 22:55:51 +05:30
Tzu-ping Chung 8f432f503e News 2018-09-30 17:46:21 +08:00
Tzu-ping Chung bd6a7ea6c6 Pass the URL instead of the page itself into Link
This argument (comes_from) is only used for reporting, and it is enough
to pass in only the URL since that's what is actually used.
2018-09-30 17:46:21 +08:00
Tzu-ping Chung d275360745 Move static methods out of HTMLPage
Because the class is going away, but these functions will still be
needed by the thing replacing it.
2018-09-30 17:46:21 +08:00
Chris Jerdonek 356dc432f7
Merge pull request #5818 from cjerdonek/simplify-from-dist
Add FrozenRequirement._init_args_from_dist() helper method
2018-09-30 02:28:53 -07:00
Chris Jerdonek 5dd9f5b860
Merge pull request #5821 from uranusjr/htmlpage-clean
Add unit tests for egg_info_matches
2018-09-30 00:32:24 -07:00
Tzu-ping Chung 00c043d144 Add unit tests for egg_info_matches 2018-09-30 01:41:06 +08:00
Pradyun Gedam 50ab3bf51e
Upgrade pytoml to 0.1.19 2018-09-29 18:15:46 +05:30
Pradyun Gedam 04c6e5b27e
Upgrade packaging to 18.0 2018-09-29 18:15:29 +05:30
Pradyun Gedam 619b91e334
Upgrade certifi to 2018.8.24 2018-09-29 18:15:29 +05:30
Pradyun Gedam 9cec269d19
Upgrade pkg_resources to 40.4.3 (via setuptools) 2018-09-29 18:15:29 +05:30
Pradyun Gedam 773f16111f
Merge pull request #5796 from hugovk/upgrade-pyparsing
Upgrade pyparsing from 2.2.0 to 2.2.1
2018-09-29 18:14:34 +05:30
Pradyun Gedam a5d4f88315
Merge pull request #5826 from uranusjr/htmlpage-extract-localize
Turn attributes on HTMLPage into local variables and standalone functions
2018-09-29 12:07:42 +05:30
Tzu-ping Chung 6f85fcdd7d Move clean_link out of HTMLPage 2018-09-28 23:58:24 +08:00
Tzu-ping Chung 47ba191d3a Rename HTMLPage.links to clarify its purpose 2018-09-28 16:53:02 +08:00
Tzu-ping Chung aa83222bf0 Rename base URL detection function 2018-09-28 16:52:57 +08:00
Tzu-ping Chung 69e1e18285 News fragment 2018-09-28 15:58:22 +08:00
Tzu-ping Chung dc7e6b5950 Refactor _parse_base_url to use early return 2018-09-28 15:52:00 +08:00
Tzu-ping Chung 28ef0c2014 Convert HTMLPage.parsed into a local variable
This attribute is only used by HTMLPage.links, which is only used once
per instance in PackageFinder.find_all_candidates(), so this change does
not affect performance or behavior, but improves data locality.
2018-09-28 15:02:51 +08:00
Tzu-ping Chung 94d0428924 Extract encoding detection into helper function 2018-09-28 15:00:58 +08:00
Tzu-ping Chung 40bf3688b4 Convert base_url property into local variable
This property is only used in HTMLPage.links, which is only called once
per instance in PackageFinder.find_all_candidates(). This would not
affect performance or behavior, but improves data locality.

The unit test of this property is and modified to test the underlying
function instead.
2018-09-28 14:56:52 +08:00
Tzu-ping Chung 96a3254a1f Extract base URL parsing logic 2018-09-28 14:49:40 +08:00
Pradyun Gedam 4cc5f37f4b
Merge pull request #5825 from benoit-pierre/fix_travis_py38_jobs
travis: fix Python 3.8 jobs
2018-09-28 07:41:18 +05:30
Benoit Pierre 8c04e2ba7b travis: fix Python 3.8 jobs 2018-09-28 01:12:12 +02:00
Donald Stufft f4a41a2048
Merge pull request #5819 from uranusjr/htmlpage-clean
HTMLPage cleanup and egg_info_matches fix
2018-09-27 10:21:22 -04:00
Tzu-ping Chung 9d1c2dbe29 News 2018-09-27 15:50:21 +08:00
Tzu-ping Chung d71f3311dc Fix egg_info_matches version split logic 2018-09-27 15:41:07 +08:00
Tzu-ping Chung 894f6558f1 Remove skip_archives argument 2018-09-27 15:41:02 +08:00
Chris Jerdonek 309cb37091 Add FrozenRequirement._init_args_from_dist() helper method. 2018-09-26 22:11:27 -07:00
Pradyun Gedam 98338dc431
Merge pull request #5810 from cjerdonek/add-make-src-requirement
Add misc.make_vcs_requirement_url()
2018-09-27 08:31:57 +05:30
Chris Jerdonek 4afc1e3f69 Use *args in the test.
This incorporates a review suggestion of @pradyunsg.
2018-09-25 02:23:32 -07:00
Chris Jerdonek 520df5356f Add misc.make_vcs_requirement_url(). 2018-09-25 01:31:34 -07:00
Donald Stufft 1a1695e022
Merge pull request #5809 from dstufft/cant-review
get-pip.py is mostly a giant base85'd blob and can't be reviewed
2018-09-24 16:53:34 -04:00
Donald Stufft 3065bea8f9 get-pip.py is mostly a giant base85'd blob and can't be reviewed 2018-09-24 16:37:33 -04:00
Pradyun Gedam 9408cd90fc
Merge pull request #5799 from cjerdonek/simplify-get-src-requirement
Remove two unreachable returns in VersionControl.get_src_requirement()
2018-09-24 23:53:43 +05:30
Chris Jerdonek 59b8a80c9b Remove two unreachable returns in VersionControl.get_src_requirement(). 2018-09-20 00:34:05 -07:00
Pradyun Gedam a1b326d692
Merge pull request #5797 from pypa/revert-5124-ui/limit-progress
Revert "Limit progress updates to avoid swamping the TTY"
2018-09-19 19:47:15 +05:30
hugovk d90532f8dd Upgrade pyparsing to 2.2.1 2018-09-19 09:15:47 +03:00
Pradyun Gedam d5b363be5b
Revert "Limit progress updates to avoid swamping the TTY" 2018-09-19 09:19:08 +05:30
hugovk 9a97ac7147 Add news file for pyparsing upgrade 2018-09-18 21:33:30 +03:00
Hugo c14c28f758 Upgrade pyparsing to 2.2.1
From https://github.com/pyparsing/pyparsing/blob/pyparsing_2.2.1/pyparsing.py
2018-09-18 21:27:03 +03:00
Pradyun Gedam 52cf26e5cb
Merge pull request #5709 from BoboTiG/fix-warnings
Fix several warnings
2018-09-18 22:25:00 +05:30
Pradyun Gedam 392cb09b50
Merge pull request #5723 from cjerdonek/vcs-add-git-get-branch
Fix the "new install" case of issue #2037
2018-09-18 19:59:59 +05:30
Donald Stufft 6296766f34
Merge pull request #5791 from dstufft/zero-cache-time-simple
Only revalidate /simple/ pages instead of caching for 10 minutes
2018-09-18 10:24:24 -04:00
Donald Stufft dcc3c16b54 Only revalidate /simple/ pages instead of caching for 10 minutes 2018-09-18 06:54:51 -04:00
Pradyun Gedam 7620b37d22
Merge pull request #5789 from EpicWink/master
Fix error when autocompleting after flag
2018-09-18 15:39:16 +05:30