Pradyun Gedam
ad68a85e45
Add TODOs to improve the names for Distribution's methods
2019-06-14 23:28:22 +05:30
Pradyun Gedam
6f1e2ce5bc
Add docstrings to Distribution classes
2019-06-14 23:28:21 +05:30
Pradyun Gedam
d43e31802b
Add distributions sub-package for holding build logic
...
This moves the DistAbstraction logic into a dedicated 'distributions'
sub-package, with separated modules for the concrete implementations of
various distribution handling logic.
2019-06-14 23:27:42 +05:30
Pradyun Gedam
d3987fe114
Sort imports
2019-06-14 23:27:42 +05:30
Laszlo Kiss-Kollar
a240a98701
Add --path
option to pip list
...
This makes `pip list` consistent with `pip freeze` which also supports
listing packages in arbitrary file paths.
2019-06-12 16:10:06 +02:00
Chris Jerdonek
4c1ccaec73
Store PackageFinder.trusted_hosts instead of secure_origins.
2019-06-12 02:18:23 -07:00
Chris Jerdonek
93769d0a9c
Merge pull request #6591 from cjerdonek/target-python-class
...
Add a TargetPython class.
2019-06-11 19:03:13 -07:00
Chris Jerdonek
b8d693c71e
Add a TargetPython class.
2019-06-11 18:19:20 -07:00
Chris Jerdonek
5776ddd058
Merge pull request #6418 from gzpan123/master
...
FIX #6413 pip install <url> allow directory traversal
2019-06-11 01:11:42 -07:00
gzpan123
a4c735b14a
FIX #6413 pip install <url> allow directory traversal
2019-06-11 00:22:29 -07:00
Chris Jerdonek
4bb225d486
Allow dotted version strings for --python-version.
2019-06-08 19:59:09 -07:00
Chris Jerdonek
8dbf88dff7
Update pip-download to respect --python-version.
2019-06-06 13:20:29 -07:00
Chris Jerdonek
e6b1070e14
Add normalize_version_info() with tests.
2019-06-06 13:20:26 -07:00
Chris Jerdonek
99228e503a
Import path_to_url() from utils/misc.py instead of download.py.
2019-06-03 02:31:40 -07:00
Chris Jerdonek
ce46f8524e
Merge pull request #6545 from cjerdonek/vcs-imports
...
Remove from pip/_internal/__init__.py the vcs module imports
2019-06-03 02:10:43 -07:00
Chris Jerdonek
5c89643d3d
Remove importing from vcs in pip/_internal/__init__.py.
...
This also renames the current vcs/__init__.py to vcs/versioncontrol.py.
2019-06-03 01:18:36 -07:00
Pradyun Gedam
83d813c01e
Updated comment-matching regex to be Jython-compatible ( #5959 )
2019-05-29 23:03:27 -04:00
Chris Jerdonek
798d814629
Change PackageFinder to use Tuple[int, ...] instead of List[str] for --python-version.
2019-05-28 03:05:14 -07:00
Chris Jerdonek
fada348b00
Make all Option callbacks start with the same prefix.
2019-05-28 02:32:18 -07:00
László Kiss Kollár
929fefdbae
Add --path to pip freeze to support --target installations ( #6450 )
...
* Add support for --path in pip freeze
2019-05-28 02:28:18 -07:00
Pradyun Gedam
24e9e4aa37
Display install instructions for pre-releases ( #5921 )
2019-05-27 16:38:17 -04:00
Pradyun Gedam
a1ad4b7c41
Improve deprecation warnings ( #6549 )
2019-05-27 16:33:45 -04:00
Pradyun Gedam
2ff13e4340
Use a loop instead of multiple similar conditionals
2019-05-27 13:57:38 -04:00
Pradyun Gedam
bf728499be
🎨
2019-05-27 13:57:37 -04:00
Chris Jerdonek
2d450936c6
Move path_to_url() from download.py to misc.py.
2019-05-26 22:51:00 -07:00
Chris Jerdonek
30855ff9b7
Merge pull request #6542 from cjerdonek/issue-5082-missing-metadata-error
...
Improve error message if METADATA or PKG-INFO metadata is None
2019-05-26 16:17:22 -07:00
Chris Jerdonek
6178f9681b
Merge pull request #6540 from cjerdonek/issue-6121-incompatible-wheel-message
...
Improve the debug log message when installing an incompatible wheel
2019-05-26 14:10:09 -07:00
Chris Jerdonek
cd5bd2cd52
Improve error message if METADATA or PKG-INFO metadata is None.
2019-05-26 12:35:07 -07:00
Chris Jerdonek
a9a9cfd98c
Improve the debug log message when installing an incompatible wheel.
2019-05-25 23:59:32 -07:00
Pradyun Gedam
2e77720446
Mention gone_in version in deprecation messages
2019-05-25 21:52:15 -04:00
Chris Jerdonek
f44344f122
Merge pull request #6515 from johnthagen/svn-interactive-final
...
Properly support interactive Subversion client
2019-05-25 14:47:51 -07:00
Chris Jerdonek
98a77a9317
Merge pull request #6538 from cjerdonek/issue-6513-freeze-requirement-error
...
Include more details in a pip freeze warning message
2019-05-25 11:17:23 -07:00
Pradyun Gedam
c197b11816
Move Resolver to a legacy_resolve module ( #6535 )
2019-05-25 13:36:29 -04:00
Pradyun Gedam
287aa4b7bf
Merge pull request #6008 from jaraco/bugfix/4106-distutils-option-error-target-prefix-conflict
...
Prevent distutils option error target prefix conflict
2019-05-25 13:29:49 -04:00
Pradyun Gedam
b05c66722e
Move Resolver to a legacy_resolve module
2019-05-25 12:35:31 -04:00
Pradyun Gedam
77da032c91
Make _check_dist_requires_python() parallel _check_link_requires_python(), and add more complete tests ( #6528 )
2019-05-25 12:09:25 -04:00
Chris Jerdonek
7c42f0ed8e
Include more details in a pip freeze warning message.
2019-05-25 00:31:44 -07:00
Chris Jerdonek
f82ea77217
Simplify the _check_dist_requires_python() call site.
2019-05-24 21:33:12 -07:00
Chris Jerdonek
ba53909375
Merge pull request #6522 from theacodes/add-pip-ci
...
Check for explicit PIP_IS_CI environment variable to report automated installs to Warehouse.
2019-05-24 13:57:09 -07:00
Thea Flowers
03ad0421ee
Check for explicit `PIP_IS_CI
` environment variable to report automated installs to Warehouse.
2019-05-24 13:01:04 -07:00
Chris Jerdonek
cc70cf5ba3
Move check_dist_requires_python() to resolve.py.
2019-05-23 22:58:10 -07:00
johnthagen
eb3db3b032
Add type hints to methods to improve documentation and type safety
2019-05-23 07:38:22 -04:00
Chris Jerdonek
eeb74aeb29
Merge pull request #6518 from cjerdonek/issue-6371-ignore-requires-python
...
Fix #6371 : make pip install respect --ignore-requires-python
2019-05-22 22:38:20 -07:00
Chris Jerdonek
ad2b07898d
Fix pip-install to respect --ignore-requires-python.
2019-05-22 21:34:41 -07:00
Andreas Lutro
9eccfae10d
redact passwords in output when using --find-links ( #6489 )
2019-05-22 23:33:41 +02:00
johnthagen
fcbefc01e1
Merge branch 'master' into svn-interactive-final
2019-05-22 14:49:29 -04:00
Chris Jerdonek
c34191ff75
Merge pull request #6519 from cjerdonek/vcs-subversion-fetch-new
...
Make VersionControl.fetch_new() an instance method
2019-05-22 11:30:08 -07:00
Chris Jerdonek
7e142bae64
Refactor out _check_link_requires_python(), and test.
2019-05-22 09:07:14 -07:00
Chris Jerdonek
b554c15b91
Merge pull request #6514 from cjerdonek/candidate-evaluator-pre-releases
...
Add allow_all_prereleases to CandidateEvaluator's constructor
2019-05-22 08:54:59 -07:00
johnthagen
a708240d2b
Document why get_remote_call_options is not needed for svn info invocation
2019-05-22 07:05:35 -04:00