Commit Graph

667 Commits

Author SHA1 Message Date
Pradyun Gedam a5b1a57d67
Generate NEWS 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 082bc0411e
Generate NEWS 2019-08-11 22:34:16 +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 cb00488ca6
Generate NEWS 2019-07-24 00:11:33 +05:30
Chris Jerdonek 0a1571ba03 Fix a NoneType AttributeError when evaluating hashes. 2019-07-23 05:22:59 -04:00
Pradyun Gedam 0e642958ad
Generate NEWS
Includes some re-ordering by @pradyunsg
2019-07-22 22:59:24 +05:30
Brandt Bucher 8582f7e40f Reduce dependency on ctypes when discovering glibc version. (#6678) 2019-07-21 18:18:37 +05:30
Pradyun Gedam 4ffa62d2e4
Change NEWS fragment section 2019-07-20 12:38:40 +05:30
Pradyun Gedam adc41ea652
Vendoring Updates (#6749) 2019-07-20 12:10:32 +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 3b3bd76be3
📰 2019-07-20 09:37:48 +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
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
Pradyun Gedam a53e571b87
Drop support for EOL Python 3.4 (#6685) 2019-07-17 19:03:26 +05:30
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
Savio Jomton 1b331851f1 Improve error message for invalid editable requirement. (#6679) 2019-07-11 20:07:54 +05:30
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
Hugo 2c1010ee96 Drop support for EOL Python 3.4 2019-07-07 11:45:16 +03:00
Pradyun Gedam a8c66dc5d7
Merge pull request #6007 from smartsammler/fix-iss4733
Fix #4733 by deleting the failing example
2019-07-06 09:18:58 +05:30
Pradyun Gedam d4f0f4e3d4
Merge pull request #5671 from segevfiner/ascii-progress-bar-fix
Make the ascii progress bar really be ascii, not Unicode
2019-07-06 09:13:43 +05:30
A_Rog 8e26b833d0 Parameterize test_looks_like_hash() (#6650) 2019-07-05 22:31:28 +05:30
Pradyun Gedam d641b54436
Merge pull request #6670 from chrahunt/pathlib-refactor-2
Rename compatible functions in tests.lib.path.Path.
2019-07-03 14:38:03 +05:30
Chris Hunt 39ac9ca351 Rename compatible functions in tests.lib.path.Path. 2019-07-02 18:48:44 -04:00
Chris Jerdonek a8510bc5e6
Merge pull request #6638 from cjerdonek/debug-command
Add a "pip debug" command
2019-07-02 02:00:02 -07:00
Chris Hunt ec73d72fd3 Remove unused incompatible functions from tests.lib.Path. 2019-07-01 10:23:03 +02:00
Chris Hunt 66e68273c8 Add assert in assert_paths_equal. 2019-06-29 21:07:50 -04:00
Chris Jerdonek d67acca760 Add "pip debug" command. 2019-06-27 03:18:42 -07:00
Chris Jerdonek 9eab3526a8 Improve error message formatting when a subprocess command errors out. 2019-06-27 03:05:06 -07:00
Chris Jerdonek fc46a18563
Merge pull request #6647 from cjerdonek/issue-6633-yanked-releases
Add support for "yanked" files (PEP 592)
2019-06-27 00:52:11 -07:00
Ian Wienand 0dbab23df9 Add SHA256 hash of .whl as info output (#5908)
* Add SHA256 hash of .whl as info output

Currently I'm trying to debug some issues with what appear to be
corrupt wheels.  It would be very useful to see what pip thought the
state of things was as it wrote the wheel output; if a final corrupt
distributed file is then different to what pip has saved in its build
logs, you know the problem is somewhere after pip but before
distribution.

Currently we get a log of the initial creation, then the stamp when it
gets moved in the final output location, e.g.:

 creating '/tmp/pip-wheel-71CpBe/foo-1.2.3-py2.py3-none-any.whl
 ...
 Stored in directory: /opt/wheel/workspace

A lot happens in between this, so my suggestion is we add the final
output file and it's hash before the "Stored in directory:", e.g. you
now see:

 Building wheels for collected packages: simple
   Running setup.py bdist_wheel for simple: started
   Running setup.py bdist_wheel for simple: finished with status 'done'
   Finished: simple-3.0-py3-none-any.whl sha256=39005a57a6327972575072af82e11d0817439fe6a069381f6f2a123a8c0bf1cf
   Stored in directory: /tmp/pytest-of-iwienand/pytest-18/test_pip_wheel_success0/workspace/scratch
 Successfully built simple

Despite the hash being fairly important for things like
--require-hashes, AFAICS the final hash is not put in the logs at all
currently, so I think this is generically helpful.

* Reword wheel hash details output

This rewords the output to be more like the form of the preceding
messages.  Additionally the size is added, since we have calculated it
anyway.  The output will now look like:

 Collecting simple==3.0
 Building wheels for collected packages: simple
   Building wheel for simple (setup.py): started
   Building wheel for simple (setup.py): finished with status 'done'
   Created wheel for simple: filename=simple-3.0-py3-none-any.whl size=1138 sha256=2a980a802c9d38a24d29aded2dc2df2b080e58370902e5fdf950090ff67aec10
   Stored in directory: /tmp/pytest-of-iwienand/pytest-0/test_pip_wheel_success0/workspace/scratch
 Successfully built simple
2019-06-26 02:44:43 -07:00
Chris Jerdonek a447be4785 Update PackageFinder to support "yanked" files (PEP 592). 2019-06-26 02:32:40 -07:00
Tim Gates abfe7c004d Bugfix/typo comparision (#6644)
* Fix type `comparision` with `comparison`.
2019-06-25 07:47:06 +02:00
Chris Jerdonek 36430e2a43
Merge pull request #6639 from sbidoul/imp_looks_like_hash-sbi
Be stricter in identiying git commit hashes
2019-06-23 08:49:11 -07:00
Stéphane Bidoul (ACSONE) 28fa08688c Be stricter in identiying git commit hashes 2019-06-23 12:00:57 +02:00
Christopher Hunt 26cdedd618 Add milliseconds to --log entry timestamps. (#6621)
Resolves #6587.
2019-06-17 14:50:41 -07:00
Chris Jerdonek 6ac468e4fd
Merge pull request #6613 from cjerdonek/requirements-file-error
Improve the error message for invalid requirements files in certain situations
2019-06-16 20:09:24 -07:00
DiegoCaraballo 3fbbcb8b6f The was_installed_by_pip function is modified 2019-06-15 15:36:21 -03:00
Chris Jerdonek e5a730a89f Improve the error message when reading a bad requirements file. 2019-06-15 10:47:24 -07:00
Diego Caraballo c0bdc8aad5 Add link to Development Documentation in CONTRIBUTING.md (#6610) 2019-06-15 14:42:16 +05:30
Chris Jerdonek d72758394d Fully support --trusted-host inside requirements files. 2019-06-13 01:21:05 -07:00
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