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

7415 commits

Author SHA1 Message Date
Chih-Hsuan Yen
ef7ca1472c
Add an html5lib patch for Python 3.9 compatibility
The patch is adapted from 4f9235752c

Closes https://github.com/pypa/pip/issues/6407
Closes https://github.com/pypa/pip/issues/6237
2019-07-18 14:11:42 +08:00
Eli Schwartz
179902986b
Add news fragment 2019-07-17 23:53:53 -04:00
Eli Schwartz
1350b95dee
docs: fix manpage generation
This was broken in commit 20f672c4e6,
which reorganized the conf.py file into the html subdirectory. See:
https://github.com/pypa/pip/pull/5724
https://github.com/readthedocs/readthedocs.org/issues/1543

This broke the relative manpage globbing because Sphinx will os.chdir()
into the directory location of conf.py before evaluating it, so the
globbing returned nothing at all. As a result, while the main pip(1)
manpage continued to be built, no pip-*(1) subcommand manpages were
built.
2019-07-17 23:53:50 -04:00
Eli Schwartz
f2cbcd190f
docs: check that the subcommand manpages are actually found and being used 2019-07-17 23:52:44 -04:00
Eli Schwartz
f3f63c0f82
docs: fix manpage names being truncated
In commit d2e7377c0f, the documentation
directories were reorganized, resulting in `fname_base` (the path that
Sphinx looked for source files) to no longer expect the leading 'man/'.
This was always also stripped from the `outname`, which now strips four
characters twice over.

Fix by reducing the stripped length to only the length of the prefix in
fname_base itself.
2019-07-17 22:53:17 -04:00
Pradyun Gedam
a53e571b87
Drop support for EOL Python 3.4 (#6685) 2019-07-17 19:03:26 +05:30
Chris Jerdonek
ee5716cb41
Merge pull request #6719 from cjerdonek/candidate-evaluator-specifier
Pass the specifier to CandidateEvaluator via create() instead of get_applicable_candidates()
2019-07-16 22:03:37 -07:00
Chris Jerdonek
2de38044bb Pass the specifier to CandidateEvaluator.create(). 2019-07-16 01:09:14 -07:00
Chris Jerdonek
90fa087c63
Merge pull request #6714 from cjerdonek/filter-unallowed-hashes-logging
Add debug logging to filter_unallowed_hashes()
2019-07-15 16:30:07 -07:00
Chris Jerdonek
90905fc20e
Merge pull request #6704 from cjerdonek/mypy-per-file-strict-optional
Use mypy's default of strict_optional=True
2019-07-15 03:41:14 -07:00
Chris Jerdonek
190ea6a3d4 Remove strict_optional=False for models/link.py. 2019-07-14 23:08:55 -07:00
Chris Jerdonek
0baec60bdc Address a couple strict_optional lines in req/req_install.py. 2019-07-14 23:07:48 -07:00
Chris Jerdonek
2b58bcde31 Remove strict_optional=False for download.py. 2019-07-14 23:07:48 -07:00
Chris Jerdonek
252986e5c1 Remove strict_optional=False for utils/logging.py. 2019-07-14 23:07:48 -07:00
Chris Jerdonek
1a7f76fe1c Remove strict_optional=False for vcs/subversion.py. 2019-07-14 23:07:48 -07:00
Chris Jerdonek
957756ac36 Remove strict_optional=False for models/target_python.py. 2019-07-14 23:07:45 -07:00
Chris Jerdonek
250efe5fac Make the mypy strict_optional exemptions explicit. 2019-07-14 23:07:15 -07:00
Chris Jerdonek
3cf192ff1b Add debug logging to filter_unallowed_hashes(). 2019-07-14 10:56:07 -07:00
Chris Jerdonek
0d96a49cf7 Add project_name to CandidateEvaluator. 2019-07-14 10:56:00 -07:00
Chris Jerdonek
2c36f4d8eb
Merge pull request #6699 from cjerdonek/issue-5874-hash-checking
Address #5874: Prefer candidates with allowed hashes
2019-07-14 09:10:43 -07:00
Chris Jerdonek
74504fff6c Prefer candidates with allowed hashes when sorting. 2019-07-14 02:50:51 -07:00
Chris Jerdonek
9ddc89a21d Pass the hashes when creating the CandidateEvaluator. 2019-07-14 02:50:51 -07:00
Chris Jerdonek
e80fc233ff Add filter_unallowed_hashes(). 2019-07-14 02:50:48 -07:00
Pradyun Gedam
34621bf008
Merge pull request #6701 from pradyunsg/tests/remove-makedirs
Change Path.makedirs() -> Path.mkdir(parents=True)
2019-07-13 16:53:41 +05:30
Pradyun Gedam
16ef685f5a
Remove an unused argument in Path.touch() (#6700) 2019-07-13 11:52:22 +05:30
Xavier Fernandez
3e8ccc99e5
Tweak utime call
Apparently, times is not a keyword argument either in Python 2.7 ;)
2019-07-12 23:11:24 +02:00
Prabakaran Kumaresshan
91b6b4ed54 Refactor SETUPTOOLS_SHIM with function make_setuptools_shim_args (#6691) 2019-07-12 01:29:41 -07:00
Pradyun Gedam
8e57084a94
Python 2 support is not painful. :)
/s because obviously I'm being sarcastic.
2019-07-12 13:38:04 +05:30
Pradyun Gedam
bc88399d07
Change Path.makedirs() -> Path.mkdir(parents=True) 2019-07-12 13:30:18 +05:30
Pradyun Gedam
2ce98c1807
Remove an unused argument 2019-07-12 13:19:17 +05:30
Savio Jomton
1b331851f1 Improve error message for invalid editable requirement. (#6679) 2019-07-11 20:07:54 +05:30
Chris Jerdonek
e85a848ec8 Add Link.is_hash_allowed(). 2019-07-11 01:34:46 -07:00
Chris Jerdonek
3a2ee333a9 Add Hashes.is_hash_allowed(). 2019-07-10 20:13:24 -07:00
Chris Jerdonek
a9bf0415c5
Merge pull request #6687 from cjerdonek/add-candidate-preferences
Add PackageFinder.make_candidate_evaluator()
2019-07-10 19:58:49 -07:00
Chris Jerdonek
ddfa401dae
Merge pull request #6683 from cjerdonek/make-subprocess-error-path-display
Support non-ascii cwds in make_subprocess_output_error()
2019-07-08 13:19:43 -07:00
Chris Jerdonek
ca017ca8a6
Merge pull request #5936 from bertilhatt/subprocess_invocation_out_setuptools_args
Fix #1890: set sys.argv[0] to the setup.py path in the setuptools shim
2019-07-07 19:34:20 -07:00
Bertil Hatt
b47da272aa Set sys.argv[0] to the underlying setup.py in the setuptools shim. 2019-07-07 18:40:31 -07:00
Chris Jerdonek
4a9e306678 Add get_applicable_candidates(), and test. 2019-07-07 14:35:56 -07:00
Chris Jerdonek
b2389bf8c7 Add CandidatePreferences and PackageFinder.make_candidate_evaluator(). 2019-07-07 14:35:50 -07:00
Hugo
2c1010ee96 Drop support for EOL Python 3.4 2019-07-07 11:45:16 +03:00
Chris Jerdonek
9311049de2
Merge pull request #6684 from cjerdonek/simplify-found-candidates
Simplify FoundCandidates
2019-07-06 02:04:39 -07:00
Chris Jerdonek
9d3d369834 Simplify FoundCandidates. 2019-07-06 01:08:51 -07:00
Chris Jerdonek
cf6f882392 Add test_make_found_candidates(). 2019-07-06 00:52:15 -07:00
Chris Jerdonek
77ad4764ef Support non-ascii cwds in make_subprocess_output_error(). 2019-07-06 00:26:36 -07:00
Pradyun Gedam
a8c66dc5d7
Merge pull request #6007 from smartsammler/fix-iss4733
Fix #4733 by deleting the failing example
2019-07-06 09:18:58 +05:30
Pradyun Gedam
d4f0f4e3d4
Merge pull request #5671 from segevfiner/ascii-progress-bar-fix
Make the ascii progress bar really be ascii, not Unicode
2019-07-06 09:13:43 +05:30
A_Rog
8e26b833d0 Parameterize test_looks_like_hash() (#6650) 2019-07-05 22:31:28 +05:30
Chris Jerdonek
005f700b94
Merge pull request #6666 from cjerdonek/add-link-evaluator
Add LinkEvaluator class
2019-07-04 17:42:50 -07:00
Chris Jerdonek
979c8405d2 Add LinkEvaluator class. 2019-07-04 16:54:29 -07:00
Chris Jerdonek
0d5a98390e
Merge pull request #6671 from cjerdonek/make-subprocess-error-non-ascii-cmd
Handle non-ascii commands in Python 2 in make_subprocess_output_error()
2019-07-04 15:43:25 -07:00