Commit Graph

9829 Commits

Author SHA1 Message Date
Paul Moore 96225c9124 Bump for release 2020-05-21 09:33:43 +01:00
Paul Moore 086dc58686 Update AUTHORS.txt 2020-05-21 09:33:41 +01:00
Paul Moore 9999f0ec09
Merge pull request #8275 from uranusjr/very-large-round-count
Set max_rounds to an incredibly large number
2020-05-20 15:21:46 +01:00
Tzu-ping Chung 418d9051b8 Set max_rounds to an incredibly large number
We really don't want to raise ResolutionTooDeep yet since the metric is
not very useful. Try to avoid this until we come up with a better method
to count.
2020-05-20 21:15:09 +08:00
Stéphane Bidoul 803a6f2017
Merge pull request #8271 from deveshks/add-mypy-cache-xmlrpc-form_contr
Add mypy type annotations to cache, xmlrpc in network and format_control in models module
2020-05-20 10:19:30 +02:00
Devesh Kumar Singh 65a6152f02 Remove Optional type from xmlrpc bool parameters 2020-05-20 12:40:05 +05:30
Devesh Kumar Singh 2fe5d84d68 Add news file 2020-05-19 22:23:37 +05:30
Devesh Kumar Singh fdc062475e Type annotations for pip._internal.network.xmlrpc 2020-05-19 22:13:44 +05:30
Devesh Kumar Singh e572d9e0c9 Type annotations for pip._internal.network.cache 2020-05-19 22:13:44 +05:30
Devesh Kumar Singh 1bd8903815 Type annotations for pip._internal.models.format_control 2020-05-19 22:13:32 +05:30
Pradyun Gedam 15f0863a65
Merge pull request #8223 from uranusjr/unicode-wheel 2020-05-19 18:02:06 +05:30
Pradyun Gedam 993531179c
Merge pull request #8264 from pradyunsg/release/20.1.1 2020-05-19 16:08:40 +05:30
Tzu-ping Chung 0a31845007 Explode the record row for readability 2020-05-19 16:03:51 +08:00
Tzu-ping Chung dd50a03f10 Use unicode for filesystem stuff on Python 2 2020-05-19 16:03:51 +08:00
Tzu-ping Chung 1056681686 Non-ASCII names are not weird 2020-05-19 16:03:51 +08:00
Tzu-ping Chung aef15104c3 Fix test comment 2020-05-19 16:03:51 +08:00
Tzu-ping Chung dc4171c213 Python 2 works but not tested 2020-05-19 16:03:51 +08:00
Tzu-ping Chung 776a55a419 Fix unit tests on module-internal functions 2020-05-19 16:03:51 +08:00
Tzu-ping Chung 7a54132b16 Can drop the strict-optional marker now 2020-05-19 16:03:51 +08:00
Tzu-ping Chung 43b237051e News 2020-05-19 16:03:51 +08:00
Tzu-ping Chung 2339a7a859 Fix installation of wheel with non-ASCII entries
This mainly deals with correctly recording the wheel content in the
RECORD metadata. This metadata file must be written in UTF-8, but the
actual files need to be installed to the filesystem, the encoding of
which is not (always) UTF-8. So we need to carefully handle file name
encoding/decoding when comparing RECORD entries to the actual file.

The fix here makes sure we always use the correct encoding by adding
strict type hints. The entries in RECORD is decoded/encoded with UTF-8
on the read/write boundaries to make sure we always deal with text
types. A type-hint-only type RecordPath is introduced to make sure this
is enforced (because Python 2 "helpfully" coerces str to unicode with
the wrong encoding).
2020-05-19 16:03:51 +08:00
Pradyun Gedam 656917ac5e
Bump for development 2020-05-19 13:12:13 +05:30
Pradyun Gedam 8356bc5161
Bump for release 2020-05-19 13:12:13 +05:30
Pradyun Gedam bfe6336035
NEWS: in-tree builds revert is a removal, not bugfix 2020-05-19 13:11:56 +05:30
Pradyun Gedam e7dd02c723
Merge pull request #8027 from gutsytechster/pip/7998 2020-05-19 12:14:59 +05:30
Pradyun Gedam d4cd5b9d5d
Merge pull request #8261 from deveshks/upgrade-flake8 2020-05-19 12:04:05 +05:30
Pradyun Gedam ab6ac9d31b
Merge pull request #8221 from pradyunsg/revert-in-place-builds 2020-05-19 11:43:45 +05:30
Devesh Kumar Singh 60f00b837a Upgrade flake8 to 3.8.1
Co-Authored-By: Anthony Sottile <asottile@umich.edu>
2020-05-18 21:58:26 +05:30
Pradyun Gedam 4a063b750f
Merge pull request #8167 from pradyunsg/drop-list-parallelization 2020-05-18 19:49:59 +05:30
Pradyun Gedam a526f939db
Merge pull request #8180 from sbidoul/wheel-absent-warning-sbi 2020-05-18 19:49:50 +05:30
Pradyun Gedam c5150d420a
Merge pull request #8166 from deveshks/fix-generated-file-mode 2020-05-18 19:49:30 +05:30
Pradyun Gedam c513c72574
Merge pull request #8173 from hugovk/document-pip-cache-dir 2020-05-18 19:48:21 +05:30
Pradyun Gedam d0ab9bd8bd
Merge pull request #8235 from deveshks/remove-pretty-arg-from-mypy 2020-05-18 19:40:22 +05:30
Paul Moore c65625bbf7
Merge pull request #8256 from uranusjr/new-resolver-candidate-order
Use OrderedDict to prefer links found later
2020-05-18 13:36:16 +01:00
Tzu-ping Chung f39134699b Avoid the horrendous line break for type hints 2020-05-18 17:15:06 +08:00
Tzu-ping Chung ec86cb1970 Use OrderedDict to prefer links found *later* 2020-05-18 16:35:09 +08:00
Devesh Kumar Singh 4d208b02b4 Cast record file to typing.IO[str] to appease mypy for python 2 2020-05-18 12:27:26 +05:30
Pradyun Gedam 301f65fad8
Merge pull request #8016 from deveshks/add-mypy-annotations-commands 2020-05-17 23:14:46 +05:30
Pradyun Gedam 04f63ca377
Merge pull request #8018 from deveshks/add-mypy-annotations-hash-show-wheel 2020-05-17 23:13:23 +05:30
Devesh Kumar Singh 8ce6b88077 Remove comment addressing metadata initial value 2020-05-17 15:08:19 +05:30
Paul Moore f34f8d501f
Merge pull request #8248 from McSinyx/ireq-get-direct
Fix typo and simplify ireq call
2020-05-16 10:21:19 +01:00
Nguyễn Gia Phong 29940371cc Fix typo and simplify ireq call 2020-05-16 12:04:17 +07:00
Paul Moore c74577e18e
Merge pull request #8186 from uranusjr/install-req-from-dist-line-rewrite
Build ireq line from parent for installed dist
2020-05-15 22:33:03 +01:00
Paul Moore e28b388c73
Merge pull request #7997 from uranusjr/resolver-use-user-site
New resolver: implement --user
2020-05-15 20:01:50 +01:00
Paul Moore 640b5e1dec
Merge pull request #8192 from uranusjr/requires-python-contains
Allow prereleases in Requires-Python check
2020-05-15 20:01:01 +01:00
Paul Moore 66d6601ec9
Merge pull request #8237 from uranusjr/new-resolver-as-a-fixture
Add pytest option to globally switch resolver
2020-05-15 20:00:36 +01:00
Paul Moore d53e880cfe
Merge pull request #8229 from uranusjr/one-constraint-test
Add one more constraint test
2020-05-15 16:37:00 +01:00
Paul Moore 4c599edc5b
Merge pull request #8243 from pfmoore/message_fixes
Fix some test failures related to message differences
2020-05-15 15:25:31 +01:00
gutsytechster 2276f9528c fix(network/auth): Asks for password when it is None
When `get_keyring_auth` provides the password as None, the
user should be prompt to ask password.
2020-05-15 19:41:43 +05:30
Paul Moore adfb70a309
Merge pull request #8239 from pfmoore/constraints_fixes
Tidy up handling of unexpected forms of constraint
2020-05-15 14:58:29 +01:00