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

18 commits

Author SHA1 Message Date
Danny McClanahan 6e7b16cec4
add failing test ; apply the fix ; add template NEWS entry
add failing test

apply the fix

add template NEWS entry according to https://pip.pypa.io/en/latest/development/contributing/#news-entries (wrong PR #)

rename news entry to the current PR #

respond to review comments

fix test failures

fix tests by adding uuid salt in urls

cache html page fetching by link

make CI pass (?)

make the types much better

finally listen to the maintainer and cache parse_links() by url :)

avoid caching parse_links() when the url is an index url

cleanup

add testing for uncachable marking

only conditionally vendor _lru_cache for py2

bugfix => feature

python 2 does not cache!

Do away with type: ignore with getattr()

respond to review comments
2020-04-07 12:01:43 -07:00
Jason R. Coombs 3511d3d493 Convert the remaining '%' formatters to '.format'. Fixes #6973. 2020-03-06 12:43:03 -05:00
Tzu-ping Chung cdd7821d92 Fix incorrect quoting Link.url
Cherry-picked manually from atugushev:fix-issue-6446.

Co-Authored-By: Albert Tugushev <albert@tugushev.ru>
2020-01-14 16:12:11 +08:00
Chris Jerdonek bab1e4f8a1 Change CollectedLinks to store project_urls. 2019-11-10 21:27:00 -05:00
Chris Jerdonek 024038cf10 Add LinkCollector.fetch_page(). 2019-11-10 21:19:07 -05:00
Pradyun Gedam 611fc6069b
Update references to collector.py 2019-10-19 22:24:53 +05:30
Chris Hunt f805f328d4 Align interface of tests.lib.path.Path.mkdir with pathlib.Path.mkdir. 2019-10-06 21:55:10 -04:00
Chris Hunt cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Chris Jerdonek 99ec6a5e31
Merge pull request #7057 from cjerdonek/remove-iter-links
Remove HTMLPage.iter_links()
2019-09-23 05:55:54 -07:00
Chris Jerdonek 6c9e0c2536 Remove HTMLPage.iter_links(). 2019-09-23 05:12:33 -07:00
Chris Jerdonek 4ad5a58376 Change HTMLPage.__init__ to accept an encoding. 2019-09-23 05:12:29 -07:00
Chris Jerdonek d30bc69073 Move make_fake_html_page() elsewhere in the module. 2019-09-23 05:08:27 -07:00
Chris Jerdonek 7c00316268 Use a single log message. 2019-09-21 15:49:43 -07:00
Chris Jerdonek a2b2a24513 Remove duplicate links before logging. 2019-09-21 10:52:56 -07:00
Chris Jerdonek 7b7d162870 Add _remove_duplicate_links(), and test. 2019-09-21 10:52:52 -07:00
Chris Jerdonek f5e5f403b6 Test logging in test_collect_links(). 2019-09-21 10:10:53 -07:00
Chris Jerdonek 6d94944efd Change PackageFinder.create() to accept a LinkCollector. 2019-09-18 00:59:04 -07:00
Chris Jerdonek fe2509bd58 Move LinkCollector to a new collector.py module. 2019-09-14 02:54:07 -07:00