Commit Graph

964 Commits

Author SHA1 Message Date
Chris Jerdonek 2282e97a02
Merge pull request #6889 from cjerdonek/simplify-get-abi-tag-conditionals
Simplify get_flag() conditionals in get_abi_tag() [pep425tags]
2019-08-25 09:57:36 +05:30
Paul Moore f07d7618fb
Merge pull request #6874 from rdb/patch-1
Don't append "m" ABI flag in Python 3.8
2019-08-25 09:57:36 +05:30
Pradyun Gedam 250f687ffe
Merge pull request #6827 from cjerdonek/issue-6804-find-links-expansion
Fix "~" expansion in --find-links paths
2019-08-11 22:14:41 +05:30
Pradyun Gedam f41f747f8b
Fix handling of tokens (single part credentials) in URLs (#6818) 2019-08-11 22:13:29 +05:30
Pradyun Gedam 4601a8d83f
Simplify the handling of "typing.cast" 2019-08-11 22:12:50 +05:30
Chris Jerdonek 0a1571ba03 Fix a NoneType AttributeError when evaluating hashes. 2019-07-23 05:22:59 -04:00
Brandt Bucher 8582f7e40f Reduce dependency on ctypes when discovering glibc version. (#6678) 2019-07-21 18:18:37 +05:30
Pradyun Gedam c275e9d1ab Drop a useless import in favor of explicitness 2019-07-21 00:36:14 +02:00
Xavier Fernandez 645809944c
Move config files locations inside a function (#6736) 2019-07-20 22:29:24 +02:00
Pradyun Gedam f669719c96
Rename InstallationCandidate.{location -> link} 2019-07-20 12:41:22 +05:30
Pradyun Gedam e0e343e035
Merge pull request #6663 from pradyunsg/better-InstallRequirement-repr
Add InstallRequirement.format_debug() as a debugging helper
2019-07-20 12:10:08 +05:30
Pradyun Gedam 21c4c4d5ee
Add a format_debug method to InstallRequirement 2019-07-20 10:29:14 +05:30
Pradyun Gedam bf1b8216f0
Remove period from the end of URL 2019-07-20 09:37:48 +05:30
Pradyun Gedam c80f94e192
Ignore line length for the link 2019-07-20 09:37:48 +05:30
Pradyun Gedam 6762a3d518
Add link to pip's Python 2 deprecation message 2019-07-20 09:37:48 +05:30
Chris Jerdonek 00665d11bb Add some encoding return values to pip-debug. 2019-07-19 21:52:54 -04:00
Xavier Fernandez 7b58720381
Add utils.virtualenv tests (#6738)
* Add utils.virtualenv tests

* deal with missing attr
2019-07-19 21:36:11 +02:00
Xavier Fernandez 4cf08e85c0 Isolate src_prefix computation in a function 2019-07-19 12:08:33 +02:00
Xavier Fernandez 8342a0e463 Remove obsolete comment
It should have been removed in 7288475118
2019-07-19 12:08:33 +02:00
Xavier Fernandez fc618bf3b1 Move virtualenv detection functions into their own module 2019-07-19 10:03:22 +02:00
Xavier Fernandez 34092d3234 Move pip marker related constant & function in their own module
It didn't seem related with the rest of the locations module
2019-07-18 22:53:05 +02:00
Xavier Fernandez ab10b8c328 debug: add warnings about its provisional status 2019-07-18 14:39:12 +02:00
Pradyun Gedam a53e571b87
Drop support for EOL Python 3.4 (#6685) 2019-07-17 19:03:26 +05:30
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 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 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
Prabakaran Kumaresshan 91b6b4ed54 Refactor SETUPTOOLS_SHIM with function make_setuptools_shim_args (#6691) 2019-07-12 01:29:41 -07:00
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