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

11649 commits

Author SHA1 Message Date
Stefano Rivera 8f2e3d6978 Parse pkg_resources Dist versions with packaging.version
Due to a mix of bundled and unbundled dependencies, pkg_resources
Version class may not be the same as packaging's Version class.

See: https://github.com/pypa/setuptools/issues/2052
2021-03-02 12:19:10 -08:00
Tzu-ping Chung e7d6e54dff
Merge pull request #9669 from uranusjr/ignore-invalid-name-dist-info
Ignore dist-info directories with invalid name
2021-02-28 23:27:06 +08:00
Tzu-ping Chung 550270c7ff
Merge pull request #9636 from dwt/master 2021-02-28 22:16:28 +08:00
Tzu-ping Chung e4349aec70 Ignore dist-info directories with invalid name 2021-02-28 22:13:36 +08:00
Pradyun Gedam 8223d29b39
Merge pull request #9405 from MrMino/diagnostic_aversion 2021-02-28 08:43:33 +00:00
Pradyun Gedam 1c46f30a3e
Merge pull request #9584 from hexagonrecursion/paren
Drop redundant parentheses
2021-02-28 08:40:07 +00:00
Pradyun Gedam 2940eaf53d
Merge pull request #9583 from hexagonrecursion/set-literal
Use the set literal syntax
2021-02-28 07:36:43 +00:00
Pradyun Gedam f4f664b789
Merge pull request #9626 from uranusjr/sysconfig 2021-02-28 07:21:50 +00:00
Tzu-ping Chung 6d018bf220 Special-case PyPy's lib location differences 2021-02-28 08:31:41 +08:00
Blazej Michalik d1d914597c
Refactor set(...){...}
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-02-28 00:41:04 +01:00
Tzu-ping Chung 826234e3ac New style type hints 2021-02-28 07:37:23 +08:00
Tzu-ping Chung d87abdfdfe Fix error reporting on Requires-Python conflicts 2021-02-28 07:31:39 +08:00
Tzu-ping Chung 2a5e84e1c4 Add failing test 2021-02-28 07:31:37 +08:00
Tzu-ping Chung 09513b82da Merge branch 'master' into sysconfig 2021-02-28 06:52:26 +08:00
Tzu-ping Chung b4ce289237 Add a couple of special cases for PyPy 2021-02-28 06:43:11 +08:00
Blazej Michalik a2c57948b6 Bring back the "from versions:" message
In the new resolver the "(from versions ...)" message, shown on
failure to resolve a package, has been removed. This commit brings it
back.
2021-02-27 20:37:10 +01:00
Pradyun Gedam 4b5b15194d
Merge pull request #9588 from hexagonrecursion/utf8
Remove coding: utf-8
2021-02-27 19:26:39 +00:00
Pradyun Gedam 68e13c8b0d
Merge pull request #9377 from jdufresne/mock
Drop mock test dependency
2021-02-27 18:25:08 +00:00
Tzu-ping Chung a220486af2
Merge pull request #9477 from bbodenmiller/patch-1 2021-02-27 15:31:01 +08:00
Tzu-ping Chung 7f8504cf86
Merge pull request #9589 from hexagonrecursion/text-typehint 2021-02-27 11:20:56 +08:00
Andrey Bienkowski 65934d3e8b
Upgrade from six.raise_from to the raise from syntax (#9590)
* Upgrade from six.raise_from

* Lint
2021-02-26 13:57:30 +00:00
Ben Bodenmiller b920bbbe5b
Update cmdoptions.py 2021-02-26 01:32:18 -08:00
Pradyun Gedam d150cf2ae4
Merge pull request #9656 from pradyunsg/update-resolver-timeline
Update note on the legacy resolver's removal
2021-02-25 19:34:45 +00:00
Klaas van Schelven 1a8ca4ca4e
Documentation formatting
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-02-25 16:30:54 +01:00
Tzu-ping Chung ee8a7a6e6d
Merge pull request #9648 from QuentinLee5/9063-update-CI-documentation 2021-02-25 21:09:04 +08:00
Tzu-ping Chung 410e82ad4a
Merge pull request #8733 2021-02-25 20:11:20 +08:00
Quentin Lee a1f70a7ad5 Add news.rst file 2021-02-25 09:53:53 +01:00
Quentin Lee b656cefd48 Update info for unit and integration tests on MacOs 2021-02-25 09:53:53 +01:00
Tzu-ping Chung 43b7f3ff95
Merge pull request #9300 2021-02-25 14:49:18 +08:00
Tzu-ping Chung c63e5d3209
Add .rst suffix to news fragment 2021-02-25 14:00:44 +08:00
Tzu-ping Chung 3932c31fa7
Update news fragment from review suggestions
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2021-02-25 13:59:55 +08:00
Tzu-ping Chung 32376bf577 Test for constraint in message 2021-02-25 13:56:55 +08:00
Klaas van Schelven 0501ad7e4a Add link to paper about dependency confusion 2021-02-24 14:38:52 +01:00
Pradyun Gedam 0ffff034f3
Merge pull request #9595 from hexagonrecursion/transformed-hint
Use the new typehint syntax
2021-02-24 13:30:20 +00:00
Tzu-ping Chung e0d6028ebf Additional logging to get context 2021-02-24 17:53:36 +08:00
Ben Bodenmiller e451d51870
Update cmdoptions.py 2021-02-24 01:07:05 -08:00
Ben Bodenmiller 9e29b23511
Update news/6720.doc.rst
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-02-24 01:05:47 -08:00
Ben Bodenmiller 998d66aff8
Update cmdoptions.py 2021-02-24 00:22:23 -08:00
Ben Bodenmiller 527a2e95f8
Create 6720.doc.rst 2021-02-24 00:18:45 -08:00
Ben Bodenmiller 25a856bec4
Update cmdoptions.py 2021-02-24 00:07:39 -08:00
Ben Bodenmiller 2720e4a228
Merge branch 'master' into patch-1 2021-02-24 00:04:36 -08:00
Pradyun Gedam 743d8fd7d3
Merge pull request #9425 from jdufresne/old-style-super
Use super() for Python 2 old-style classes
2021-02-24 07:06:51 +00:00
Jon Dufresne 6874e88ada Remove unnecessary method Path.__hash__
Only calls the parent implementation, so rely on inheritance.
2021-02-23 15:20:53 -08:00
Jon Dufresne 581868484b Use super() for Python 2 old-style classes
Followup to c148bcc1aa.
2021-02-23 15:20:52 -08:00
Pradyun Gedam baaf66f70d
Merge pull request #9591 from hexagonrecursion/open
Replace `open(file, 'r')` with `open(file)`
2021-02-23 13:37:25 +00:00
Pradyun Gedam 270ddd3d03
Merge pull request #9404 from jdufresne/mypy-fixup
Handle several mypy TODO comments and exceptions
2021-02-23 13:30:23 +00:00
Pradyun Gedam f4f35ba149
Merge pull request #9579 from hexagonrecursion/the-future-is-now
Drop python2 related stuff in tests
2021-02-23 13:26:10 +00:00
Pradyun Gedam 79cca313c2
Merge pull request #9641 from jdufresne/black-dist
Blacken the src/pip/_internal/distributions directory
2021-02-23 13:17:14 +00:00
Tzu-ping Chung a0a3bde152 Split scheme inference functions for clarity
This also helps catch bugs in the logic, which are also fixed in this
commit.
2021-02-23 19:27:27 +08:00
Klaas van Schelven c1d3b2786d Add news entry 2021-02-23 11:58:37 +01:00