Donald Stufft
21b759315f
Don't use editable mode as it is not supported
2019-04-23 22:42:30 -04:00
Donald Stufft
dbf0feba8f
Reopen for development
2019-04-23 22:35:01 -04:00
Donald Stufft
307410c24b
Bump to 19.1
2019-04-23 22:28:44 -04:00
Donald Stufft
02d85d28e1
Merge pull request #6429 from dstufft/update
...
Upgrade vendored dependencies
2019-04-23 22:25:37 -04:00
Donald Stufft
5db1344c23
Upgrade vendored dependencies
2019-04-23 17:54:36 -04:00
Donald Stufft
627eeecd15
Merge pull request #6319 from pquentin/progress1.5
...
Update progress to 1.5
2019-04-23 17:06:42 -04:00
Chris Jerdonek
dddd28b8de
Add CandidateEvaluator class to encapsulate sorting. ( #6424 )
2019-04-22 03:40:35 -07:00
Albert Tugushev
7130b1d0e0
Fix option name for smart quotes in sphinxdoc conf ( #6422 )
...
Also configure the smartquotes_action to exclude dashes from transformation.
See https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-smartquotes
2019-04-21 09:51:42 -07:00
Tzu-ping Chung
1ef8857b4d
Finder found candidates cleanup ( #6415 )
2019-04-20 01:22:46 -07:00
Andy Freeland
bb14ff42b0
Fix NameError when handling InvalidRequirement in install_req_from_req_string ( #6419 )
...
Previously, an InvalidRequirement would raise a NameError while trying
to raise an InstallationError because `req` was not defined.
Discovered while working on #6402 .
2019-04-19 02:37:33 -07:00
johnthagen
c8e9caa8a7
Add Subversion.get_vcs_version method ( #6390 )
...
Add Subversion.get_vcs_version method to return the version of the currently installed Subversion client.
2019-04-17 00:34:19 -07:00
Tzu-ping Chung
14cb4f4fb6
Isolate, reuse PackageFinder best candidate logic ( #5971 )
...
Split out how PackageFinder finds the best candidate, and reuse it in the
self version check, to avoid the latter duplicating (and incorrectly
implementing) the same logic.
2019-04-16 16:46:25 -07:00
Chris Jerdonek
54b6a91405
Merge pull request #6245 from nicolasbock/ipv6_uri
...
Fix the URL quoting in _clean_link() for IPv6 addresses
2019-04-08 00:09:56 -07:00
Nicolas Bock
913757cb53
Do not clean base_url
...
When the `base_url` is a `[]` protected IPv6 address, the
`_clean_link()` function converts `[` to `%5B` and `]` to `%5D`, which
renders the `base_url` invalid. For example:
```
Starting new HTTP connection (1): fd00:0:0:236:💯 8181
http://fd00:0:0:236:💯 8181 "GET /os-releases/19.0.0.0b1/opensuse_leap-42.3-x86_64/requirements_absolute_requirements.txt HTTP/1.1" 200 None
Setting setuptools==40.6.3 (from -c http://[fd00:0:0:236::100]:8181/os-releases/19.0.0.0b1/opensuse_leap-42.3-x86_64/requirements_absolute_requirements.txt (line 204)) extras to: ()
Looking in indexes: http://[fd00:0:0:236::100]:8181/simple
Collecting setuptools==40.6.3 (from -c http://[fd00:0:0:236::100]:8181/os-releases/19.0.0.0b1/opensuse_leap-42.3-x86_64/requirements_absolute_requirements.txt (line 204))
1 location(s) to search for versions of setuptools:
* http://[fd00:0:0:236::100]:8181/simple/setuptools/
Getting page http://[fd00:0:0:236::100]:8181/simple/setuptools/
http://fd00:0:0:236:💯 8181 "GET /simple/setuptools/ HTTP/1.1" 200 376
Analyzing links from page http://[fd00:0:0:236::100]:8181/simple/setuptools/
_package_versions: link = http://%5bfd00:0:0:236::100%5d:8181/packages/opensuse_leap-42.3-x86_64/setuptools/setuptools-40.6.3-py2.py3-none-any.whl#md5=389d3cd088d7afec3a1133b1d8e15df0 (from http://[fd00:0:0:
236::100]:8181/simple/setuptools/)
_link_package_versions: link = http://%5bfd00:0:0:236::100%5d:8181/packages/opensuse_leap-42.3-x86_64/setuptools/setuptools-40.6.3-py2.py3-none-any.whl#md5=389d3cd088d7afec3a1133b1d8e15df0 (from http://[fd00
:0:0:236::100]:8181/simple/setuptools/)
Found link http://%5bfd00:0:0:236::100%5d:8181/packages/opensuse_leap-42.3-x86_64/setuptools/setuptools-40.6.3-py2.py3-none-any.whl#md5=389d3cd088d7afec3a1133b1d8e15df0 (from http://[fd00:0:0:236::100]:8181/
simple/setuptools/), version: 40.6.3
Using version 40.6.3 (newest of versions: 40.6.3)
Could not install packages due to an EnvironmentError.
InvalidURL: Failed to parse: %5bfd00:0:0:236::100%5d:8181
```
This change uses the vendored `urllib` library to split the host part
off of the url before URL quoting only the path part.
Fixes : #6285
Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
2019-04-07 05:57:03 -06:00
Chris Jerdonek
78744e8071
Merge pull request #6370 from cjerdonek/editable-and-pep-517-optional
...
Fix editable-mode logic when pyproject.toml present
2019-04-06 15:31:53 -07:00
Miro Hrončok
d4264dc3b2
Pytest: Use get_closest_marker
...
See https://github.com/pytest-dev/pytest/pull/4564
2019-04-04 13:07:49 +02:00
Pradyun Gedam
d35c547129
Merge pull request #6382 from cjerdonek/pin-pytest-xdist
...
Pin pytest-xdist to < 1.28.0
2019-04-04 12:29:51 +05:30
Chris Jerdonek
5bc80d6583
Pin pytest-xdist to < 1.28.0 in tests-requirements.txt.
2019-04-03 18:26:45 -07:00
Chris Jerdonek
20e42271f2
Merge pull request #6367 from cboylan/vendored-exceptions
...
Consistently catch exceptions in index.py
2019-04-03 14:39:29 -07:00
Chris Jerdonek
68bc0e0c53
Merge pull request #6339 from cjerdonek/vcs-subprocess-logging
...
Fix #1219 : Prevent subprocess stdout and stderr from cluttering pip's stdout.
2019-04-03 14:36:44 -07:00
Clark Boylan
63ccc286a0
Consistently catch exceptions in index.py
...
In index.py we were catching requests.exceptions.RetryError and
requests.exceptions.SSLError but then also caught requests.HTTPError.
For consistency catch all of these requests exceptions using the
requests.exceptions path.
2019-04-03 11:49:07 -07:00
Chris Jerdonek
5af0bc31cf
Merge pull request #6373 from yan12125/fix-requests-exceptions-debundled
...
Fix handling of requests exceptions when dependencies are debundled
2019-04-02 20:21:37 -07:00
Pradyun Gedam
98fc29b36f
Merge pull request #6376 from cjerdonek/fix-typo-enable-test
...
Fix typo / enable test: "est_link_..." -> "test_link_..."
2019-04-02 23:05:03 +05:30
Chris Jerdonek
f82d87a555
Enable test by fixing typo: "est_link_..." -> "test_link_..."
2019-04-02 05:39:11 -07:00
Quentin Pradet
dbce8216e7
Add news entry for progress 1.5 update
2019-04-01 17:50:49 +04:00
Quentin Pradet
015ceb1377
Remove helpers.py from progress vendor
...
Noticed by https://github.com/eli-schwartz
2019-04-01 17:50:49 +04:00
Quentin Pradet
c86460d1a4
Update progress to 1.5
2019-04-01 17:50:49 +04:00
Chih-Hsuan Yen
e4936da2e1
Fix handling of requests exceptions when dependencies are debundled
2019-04-01 14:56:08 +08:00
Chris Jerdonek
71f506e71e
Require --no-use-pep517 if using editable mode with pyproject.toml.
2019-03-31 05:40:08 -07:00
Caleb Martinez
ac9010e87c
Allow adding a custom string to pip's User-Agent via an environment variable ( #5550 )
2019-03-31 02:37:02 -07:00
Chris Jerdonek
f47d012970
Refactor install_backend_dependencies() out from prep_for_dist().
2019-03-31 01:11:30 -07:00
Chris Jerdonek
2cdca64a39
Merge pull request #6365 from cjerdonek/pin-rerunfailures-plugin
...
Get CI working again: pin pytest-rerunfailures to < 7.0
2019-03-30 18:28:02 -07:00
Chris Jerdonek
4bf25b0aa0
Pin pytest-rerunfailures to < 7.0 in tests-requirements.txt.
2019-03-29 02:28:56 -07:00
Chris Jerdonek
de242d0ea9
Merge pull request #6351 from cjerdonek/tighten-test-stderr-checks
...
Tighten up the test suite's stderr checks
2019-03-26 22:18:56 -07:00
Chris Jerdonek
66ae68122f
Disallow two more argument combinations, and test.
2019-03-26 20:34:23 -07:00
Chris Jerdonek
ac18393df7
Make expect_stderr mean the weaker allow_stderr_warning.
2019-03-26 20:34:23 -07:00
Chris Jerdonek
9efd2933ab
Remove logic for SSLContext warning on old versions of Python.
2019-03-26 20:34:19 -07:00
Chris Jerdonek
5b9065cf5a
Make deprecated_python cause allow_stderr_warning not expect_stderr.
2019-03-26 20:32:49 -07:00
Chris Jerdonek
e5353f27cd
Merge pull request #6356 from cjerdonek/vcs-class-methods-2
...
Make VersionControl methods into class methods (part 2)
2019-03-25 16:35:26 -07:00
Chris Jerdonek
e0505bb152
Prevent subprocess stdout and stderr from cluttering pip's stdout.
2019-03-25 00:21:20 -07:00
Chris Jerdonek
55f7a712aa
Merge pull request #6331 from cjerdonek/issue-6314-editable-with-pep517
...
Show a nice error if editable mode is attempted with a pyproject.toml source tree
2019-03-23 17:32:22 -07:00
Chris Jerdonek
1bb21fd3ff
Merge pull request #6093 from mkurnikov/req-types-finished
...
Finish types for pip._internal.req, set disallow_untyped_defs flag
2019-03-23 02:16:35 -07:00
Chris Jerdonek
352ac8144e
Make compare_urls() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
a829362e6a
Make fetch_new() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
36909437f3
Make update_submodules() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
7a4e8b34da
Make get_current_branch() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
977d3f6f8c
Make is_commit_id_equal() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
31d6a4f975
Make resolve_revision() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
79b64739a9
Make get_revision_sha() a class method.
2019-03-22 00:04:50 -07:00
Alex Loosley
d245434c02
Fix #5889 : AttributeError: 'NoneType' object has no attribute 'netloc' ( #6336 )
2019-03-20 16:59:24 +01:00