Commit Graph

6452 Commits

Author SHA1 Message Date
Pradyun Gedam 6af9de97bb
Merge pull request #5851 from pradyunsg/release/18.1
Release/18.1
2018-10-05 14:37:26 +05:30
Pradyun Gedam 40d1fe382c
Bump version to 18.1 2018-10-05 01:53:28 +05:30
Pradyun Gedam d80c90240b
Generate AUTHORS 2018-10-05 01:52:49 +05:30
Pradyun Gedam 2c0da26c1d
Generate NEWS for 18.1 2018-10-05 01:51:30 +05:30
Pradyun Gedam c759504217
Merge pull request #5798 from pradyunsg/improve-configuration-handling
Improve configuration handling
2018-10-04 14:27:42 +05:30
Pradyun Gedam 3350cc4516
bodge: Allow both str and repr to be used for configuration file name
This is because Python 2's and Python 3's configparser treat the two
differently and we're reusing that message.
2018-10-03 20:23:40 +05:30
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 34d5af662f
Merge branch 'master' into improve-configuration-handling 2018-09-30 23:04:55 +05:30
Pradyun Gedam 29b12fa80b
Fix test to exactly match output 2018-09-30 23:04:46 +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 6a18c24803
Show error messages when configuration-related errors occur 2018-09-20 11:18:22 +05:30
Pradyun Gedam e938d439a2
Switch to a global variable for exit status codes 2018-09-20 11:18:17 +05:30
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