Commit Graph

7409 Commits

Author SHA1 Message Date
Chris Hunt 82f554f461 Ignore new warnings traced on tox invocation.
See pypa/packaging#170.
2019-07-22 18:05:46 -04:00
Brandt Bucher 8582f7e40f Reduce dependency on ctypes when discovering glibc version. (#6678) 2019-07-21 18:18:37 +05:30
Pradyun Gedam e308497416
Merge pull request #6743 from chrahunt/maint/remove-path-copytree
Remove copytree from tests.lib.path.Path.
2019-07-21 09:28:01 +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
Pradyun Gedam c275e9d1ab Drop a useless import in favor of explicitness 2019-07-21 00:36:14 +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 c1eb1d76ba
Merge pull request #6752 from pradyunsg/vendor/html5lib-collections-abc
Better document our patch to html5lib
2019-07-21 00:08:30 +05:30
Pradyun Gedam 28dbb60f5f
Rename InstallationCandidate.{location -> link} (#6753) 2019-07-20 17:30:27 +05:30
Pradyun Gedam f669719c96
Rename InstallationCandidate.{location -> link} 2019-07-20 12:41:22 +05:30
Pradyun Gedam 4ffa62d2e4
Change NEWS fragment section 2019-07-20 12:38:40 +05:30
Pradyun Gedam 3d6bb3a296
Document our patch in _vendor/README.rst 2019-07-20 12:38:05 +05:30
Pradyun Gedam adc41ea652
Vendoring Updates (#6749) 2019-07-20 12:10:32 +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 ab8fd0b906
Update 2.7 deprecation message (#6726) 2019-07-20 10:22:16 +05:30
Pradyun Gedam 3f85093d6d
Upgrade distlib to 0.2.9.post0 2019-07-20 09:44:55 +05:30
Pradyun Gedam 0d45b3cc4c
Upgrade msgpack to 0.6.1
This also allows us to drop our compatibility patch Python <2.7.6.
2019-07-20 09:44:51 +05:30
Pradyun Gedam 8e8d28dd8e
Upgrade requests to 2.22.0 2019-07-20 09:44:48 +05:30
Pradyun Gedam 22f9dcba59
Upgrade certifi to 2019.6.16 2019-07-20 09:44:44 +05:30
Pradyun Gedam 0d620c4a03
Upgrade urllib3 to 1.25.3 2019-07-20 09:44:39 +05:30
Pradyun Gedam bf1b8216f0
Remove period from the end of URL 2019-07-20 09:37:48 +05:30
Pradyun Gedam 8de817c7ed
Reword as suggested in PR review 2019-07-20 09:37:48 +05:30
Pradyun Gedam 3b3bd76be3
📰 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
Pradyun Gedam 6057e6c344
Document how Python 2.7 support will be handled 2019-07-20 09:37:47 +05:30
Pradyun Gedam c5560f18fd
Merge pull request #6728 from yan12125/html5lib-py39
Add an html5lib patch for Python 3.9 compatibility
2019-07-20 09:00:54 +05:30
Pradyun Gedam a1cd4eb442
Merge pull request #6748 from cjerdonek/debug-encoding-additions
Add some encoding return values to pip debug
2019-07-20 08:58:51 +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
Pradyun Gedam e916124d9d
Merge pull request #6731 from xavfernandez/xfernandez/add_basic_debug_doc
Add basic debug doc
2019-07-18 19:52:57 +05:30
Xavier Fernandez ab10b8c328 debug: add warnings about its provisional status 2019-07-18 14:39:12 +02:00
Xavier Fernandez d70edc8a95 docs: add basic documentation for pip debug 2019-07-18 14:39:12 +02:00
Xavier Fernandez 8f45aee97a Fix line length & don't flake8 docs in python 2 2019-07-18 14:37:31 +02:00
Xavier Fernandez c0203692fa travis: keep lint jobs for docs-only changes 2019-07-18 14:37:31 +02:00
Pradyun Gedam 056a753144
Fix manpage generation (#6725) 2019-07-18 14:27:45 +05:30
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