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

9862 commits

Author SHA1 Message Date
Tzu-ping Chung
e85a099511 Remove test_install_include_work_dir_pkg 2020-05-22 17:16:43 +08:00
Paul Moore
6aa9b89658
Merge pull request #8297 from pfmoore/nr_travis
Add a travis job to test the new resolver known failures
2020-05-22 09:52:34 +01:00
Paul Moore
19a613efc5 Add a travis job to test the new resolver known failures 2020-05-22 09:00:19 +01:00
Pradyun Gedam
76b865155e
Merge pull request #8145 from sbidoul/simplfy-should_cache-sbi 2020-05-21 21:30:40 +05:30
Paul Moore
a14f9aa8ca
Merge pull request #8276 from pfmoore/test_marker
Add a mark for tests that fail on the new resolver
2020-05-21 16:52:33 +01:00
Paul Moore
278ac2d67f
Merge pull request #8286 from uranusjr/read-root-extras-correctly
Always read InstallRequirement.extras
2020-05-21 16:05:35 +01:00
Pradyun Gedam
ba9b38355e
Merge pull request #8284 from pfmoore/noxfile_fix 2020-05-21 20:34:58 +05:30
Paul Moore
66f323a53e Fix a marker typo that the new registration of markers picked up :-) 2020-05-21 15:59:25 +01:00
Paul Moore
8346c44f1c Register the new marker 2020-05-21 15:58:43 +01:00
Paul Moore
c2fa0dd997 Add a mark for tests that fail on the new resolver 2020-05-21 15:39:00 +01:00
Paul Moore
ace69ac088
Merge pull request #8258 from cjc7373/update-pytest
Update pytest
2020-05-21 15:36:56 +01:00
Paul Moore
90168f0b24
Merge pull request #8230 from uranusjr/markers-in-deps
Only include dependencies if the markers match
2020-05-21 15:26:38 +01:00
Pradyun Gedam
cfaa08efed
Remove a sorted call
Otherwise, we'd try sorting this list twice.
2020-05-21 19:32:28 +05:30
Pradyun Gedam
f5ff110df7
Apply suggestion from review comments
Co-authored-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
2020-05-21 19:29:18 +05:30
Tzu-ping Chung
19db59747a Use a temp requirements file to avoid shell syntax 2020-05-21 21:37:19 +08:00
Tzu-ping Chung
4d17d932c5 Add test for picking up non-PEP-508 extrax 2020-05-21 21:01:08 +08:00
Paul Moore
80c640b5a8
Merge pull request #8067 from deveshks/fix-create-basic-wheel-bug
Canonicalise package name in tests.lib.create_basic_wheel_for_package
2020-05-21 13:54:01 +01:00
Tzu-ping Chung
d848ee934d Always read InstallRequirement.extras 2020-05-21 20:33:06 +08:00
Paul Moore
8d79644170 Make nox upload-release work on Windows 2020-05-21 11:32:47 +01:00
Tzu-ping Chung
de63eae0c3 Match logging 2020-05-21 18:09:35 +08:00
Paul Moore
3ec6b824dd
Merge pull request #8280 from pypa/release/20.2b1
Release 20.2b1
2020-05-21 11:08:09 +01:00
Paul Moore
374a12bc5a Bump for development 2020-05-21 09:33:44 +01:00
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
Tzu-ping Chung
e6352bc468 Return package dependencies only if markers match 2020-05-21 16:14:26 +08:00
Tzu-ping Chung
5ebf22248c Ignore root dependencies with non-matching markers 2020-05-21 15:53:03 +08:00
Tzu-ping Chung
0a4629febb Add test for marker that should fail for now 2020-05-21 15:42:58 +08:00
Tzu-ping Chung
c3ac76f66c Turn Candidate.get_dependencies() into iterable
This makes it easier to exclude dependencies when markers don't match.
2020-05-21 15:39:16 +08:00
cjc7373
ac5702c9b3 move marker registering to setup.cfg 2020-05-21 11:57:46 +08: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