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

2245 commits

Author SHA1 Message Date
Paul Moore e4c32b9917
Merge pull request #6770 from omry/master
exclude '.tox', '.nox' from being copied during 'pip install .'
2019-08-05 23:29:02 +01:00
Pradyun Gedam 068cbeda3c
Refactor download.get_file_content
Merge pull request #6756 from chrahunt/maint/cleanup-download
2019-08-04 20:06:01 +05:30
Pradyun Gedam 7d29841ced
Fix handling of tokens (single part credentials) in URLs (#6818) 2019-08-04 19:56:41 +05:30
Chris Jerdonek 56324a3f38 Fix "~" expansion in --find-links paths. 2019-08-03 11:55:38 -07:00
Omry Yadan 6dd5727773 responded to comments 2019-08-03 11:14:36 -07:00
Chris Hunt 82ef9d67e2 Refactor download.get_file_content. 2019-08-03 10:51:16 -04:00
Omry Yadan 8e87980d17 responding to comments 2019-08-02 23:14:41 -07:00
Omry Yadan e67f066169 fixed on python 2.7 2019-08-02 18:40:09 -07:00
Omry Yadan 77c1504137 unit test 2019-08-02 18:17:53 -07:00
Pradyun Gedam 5796d9e949
Populate InstallRequirement.link before preparing it (#6803) 2019-08-01 18:29:49 +05:30
Pradyun Gedam 145a753cd3
Update tests for eagerly populated links 2019-07-29 20:31:52 +05:30
Pradyun Gedam 4b8f185fa8
Mark a network dependent test as network 2019-07-29 14:29:39 +05:30
Pradyun Gedam fc976bb32b
Utilize "pip_install_local" where possible 2019-07-29 14:27:28 +05:30
Prabakaran Kumaresshan f76014efac Add global options and no user config args to make_setuptools_shim_args (#6706) 2019-07-28 11:28:35 -07:00
Chris Jerdonek 4cd825873b Remove get_summaries(). 2019-07-27 12:29:07 -07:00
Chris Jerdonek 1f09e67f34 Only import a Command class when it is actually needed.
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Pradyun Gedam 2e51624bbb
Merge pull request #6764 from pradyunsg/style/isort
Change isort multi_line_output to 3
2019-07-26 23:52:24 +05:30
Hugo 4a7b345cc5 Consistently get version string, ignoring alpha/beta 2019-07-25 14:39:13 +02:00
Chris Jerdonek 0a1571ba03 Fix a NoneType AttributeError when evaluating hashes. 2019-07-23 05:22:59 -04:00
Pradyun Gedam 537b0fca12
Change isort multi_line_output to 3 2019-07-22 10:15:27 +05:30
Brandt Bucher 8582f7e40f Reduce dependency on ctypes when discovering glibc version. (#6678) 2019-07-21 18:18:37 +05:30
Chris Hunt 9281a7aac1 Remove copytree from tests.lib.path.Path. 2019-07-20 19:46:47 -04:00
Christopher Hunt 0d286012f7 Remove copy from tests.lib.path.Path. (#6746) 2019-07-21 01:12:07 +02:00
Chris Hunt 3732e791a5 Remove normpath from tests.lib.path.Path. 2019-07-20 22:54:46 +02:00
Chris Hunt 358e690c54 Remove move from tests.lib.path.Path. 2019-07-20 22:48:24 +02:00
Chris Hunt 9d37e3ced2 Remove rmtree from tests.lib.path.Path. 2019-07-20 22:37:31 +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
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 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
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 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
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