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

1395 commits

Author SHA1 Message Date
Hugo van Kemenade d45ba65c37 Include http directory in 'pip cache info' and 'pip cache purge' 2020-09-24 01:33:56 +03:00
Pradyun Gedam 342939ffb9
Remove news entries for released changes 2020-09-24 02:11:32 +05:30
Pradyun Gedam e408f7077f
Merge pull request #8873 from hugovk/docs-3-months-deprecation 2020-09-21 02:26:17 +05:30
Pradyun Gedam 7c1e5d3096
Merge pull request #8568 from McSinyx/conf-const
Declare constants in configuration.py as such
2020-09-18 21:43:29 +05:30
Pradyun Gedam 67ab116f00
Merge pull request #8861 from pradyunsg/nicer-output-try-1 2020-09-17 11:00:23 +05:30
Pradyun Gedam e61bb616ef
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect 2020-09-17 10:58:44 +05:30
Nguyễn Gia Phong c947d00882 [fast-deps] Check download directory before making requests 2020-09-17 10:38:27 +07:00
Pradyun Gedam 53efda742b
Merge pull request #8474 from deveshks/remove-items-of-age-cache 2020-09-16 18:54:59 +05:30
Pradyun Gedam 0fc1044ff4
📰 2020-09-16 17:49:15 +05:30
Xavier Fernandez 33890bf825
Merge pull request #8722 from McSinyx/late-dl-indent
Dedent late download logs
2020-09-16 14:02:51 +02:00
Srinivas Nyayapati f1abd651e3 WIP change user guide + make consistent changes across 2020-09-13 20:59:28 -04:00
Srinivas Nyayapati 12fe2872cc first set of changes to use python -m to run pip in the docs 2020-09-13 20:47:16 -04:00
Pradyun Gedam a13f2014f9
Merge pull request #8780 from eamanu/fix-8009 2020-09-14 00:49:33 +05:30
Hugo van Kemenade 2f0fa53e95 Add news fragment 2020-09-13 21:03:16 +03:00
Nguyễn Gia Phong 8f8a1d65b2 Dedent late download logs 2020-09-13 21:09:57 +07:00
Xavier Fernandez 7fdf1634e0
Merge pull request #8795 from McSinyx/user-guide-fmt
Reformat a few spots in user guide
2020-09-13 15:08:09 +02:00
Devesh Kumar Singh b76a4c0153 Add feature news entry 2020-09-11 09:23:51 +05:30
Emmanuel Arias e046092068
Add trivial news 2020-09-07 10:50:07 -03:00
Paul Moore 8d549f2cf8
Merge pull request #8829 from shireenrao/netrc
Add documentation for netrc support
2020-09-05 13:27:29 +01:00
Srinivas Nyayapati 1b0517e68b Add documentation for netrc support 2020-09-04 16:42:26 -04:00
Nguyễn Gia Phong cca500f053 Remove unused definitions 2020-09-04 17:37:43 +07:00
Xavier Fernandez 822d42b11a
Merge pull request #8614 from McSinyx/monkeypatch.setenv
Use monkeypatch.setenv to mock env vars
2020-09-04 11:05:15 +02:00
Xavier Fernandez 83f1640827
Merge pull request #8578 from McSinyx/parse-count
Allow verbose/quiet level to be specified via config file and env var
2020-09-03 18:34:53 +02:00
Tzu-ping Chung dfaa111004 Pull in hashes from constraint files 2020-09-03 17:26:52 +08:00
Tzu-ping Chung 700eb7734f Hashes from lines should intersect, not union 2020-09-03 17:19:01 +08:00
Pradyun Gedam 567630b4b8
Merge pull request #8758 from uranusjr/new-resolver-requires-python-when-no-deps 2020-09-02 20:09:32 +05:30
Pradyun Gedam 0321dbcdb3
Merge pull request #8807 from pypa/add-ux-docs
Add ux docs to pip documentation
2020-09-02 19:34:31 +05:30
Pradyun Gedam a99190459e
Merge pull request #8817 from sbidoul/improve-git-checkout 2020-09-01 18:40:51 +05:30
Stéphane Bidoul 3aa0c2ed91
Git fetch more aggressively
Before we were fetching only revisions starting with refs/.
Now we also fetch revisions that look like commit that we
don't have locally.
2020-08-30 11:52:06 +02:00
Nicole Harris 3f40b10fe0 Add news entry 2020-08-26 10:44:20 +01:00
Tzu-ping Chung 5401cc6e10 News 2020-08-26 09:49:25 +08:00
Pradyun Gedam 0b18e21cbe
Merge pull request #8752 from sbidoul/imp-8369-deprecation-sbi 2020-08-25 20:40:27 +05:30
Pradyun Gedam b7075b9351
Merge pull request #8778 from hugovk/deprecate-3.5
Deprecate support for Python 3.5
2020-08-25 20:40:01 +05:30
Pradyun Gedam c50307ebc4
Merge pull request #8781 from wimglenn/patch-1 2020-08-25 19:06:29 +05:30
Pradyun Gedam e17f845475
Merge pull request #8522 from NoahGorny/fix-requirements-file-options
install: Update extra-index-url in session from requirements file
2020-08-25 15:08:11 +05:30
Nguyễn Gia Phong 984fa3c664 Make version specifier explanation easier to read in reST 2020-08-24 15:53:29 +07:00
Pradyun Gedam fd48624ea9
Update and rename 8781.doc to 8781.trivial 2020-08-24 14:19:02 +05:30
Pradyun Gedam ffbe932346
Merge pull request #8791 from shireenrao/sphinx-upg 2020-08-24 11:41:59 +05:30
Nguyễn Gia Phong c84ef7a67c Mark tests using remote svn and hg as xfail
The source repositories for testing is no longer available.
2020-08-24 09:43:50 +07:00
Srinivas Nyayapati ce85775155 Bump Sphinx to v3.1.2 and fix rst issues 2020-08-20 07:47:36 -04:00
wim glenn 4c1dcbba9c
Create 8781.doc 2020-08-19 12:21:16 -05:00
Hugo e93257c080 Warn Python 3.5 support is deprecated and will be removed in pip 21.0, Jan 2021 2020-08-18 15:22:16 +03:00
Nguyễn Gia Phong 14397418d1 Test hash checking for fast-deps 2020-08-17 20:46:39 +07:00
Pradyun Gedam ae7ed9a650
Merge pull request #8766 from McSinyx/test-req-new-resolver 2020-08-17 18:20:17 +05:30
Pradyun Gedam a3fd4246af
Merge pull request #8709 from McSinyx/successfully-downloaded
[2020-resolver] List downloaded distributions before exiting
2020-08-17 17:22:17 +05:30
Nguyễn Gia Phong 530463879e Use --durations instead of --duration for pytest
Newer pytest no longer accepts --duration as an alias for --durations.
2020-08-16 14:20:37 +07:00
Nguyễn Gia Phong 46b938349a Allow py2 deprecation warning from setuptools 2020-08-14 17:56:15 +07:00
Noah 24d5fe86c0
Update news/8103.bugfix
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-08-13 15:34:00 +03:00
Stéphane Bidoul 03d49da397
Add news 2020-08-13 09:31:20 +02:00
Nguyễn Gia Phong 078e0effb7 Add memoization mechanism for file download
This is intentionally dependent from caching, which relies on cache dir.
2020-08-11 22:39:42 +07:00
Pradyun Gedam ac01180cba
Merge pull request #8730 from McSinyx/news-8701-8716
Add news for disabling range response caching
2020-08-11 15:41:35 +05:30
Pradyun Gedam 8eea660e03
Merge pull request #8744 from hroncok/keyring_global_nope
When one keyring attempt fails, don't bother with more
2020-08-11 15:41:02 +05:30
Pradyun Gedam 4c7bbdb4e4
Merge pull request #8702 from uranusjr/get-distribution-looks-for-all 2020-08-10 20:30:55 +05:30
Chris Hunt 2e4d748897
Merge pull request #8636 from EpicWink/doc/keyring
Document keyring support for index basic-auth
2020-08-08 09:05:32 -04:00
Nguyễn Gia Phong 8dc0d9c8d9 Add news for disabling range response caching 2020-08-08 00:16:37 +07:00
Pradyun Gedam e8f52198a9
Merge pull request #8718 from uranusjr/pyvenv-cfg-encoding
Always use UTF-8 to read pyvenv.cfg
2020-08-07 15:11:32 +05:30
Tzu-ping Chung 4683ad02e3 Allow filtering constraints with markers 2020-08-07 13:55:38 +08:00
Noah Gorny 3e70cbe571 news: Add --extra-index-url req file bugfix news 2020-08-06 19:25:50 +03:00
Nguyễn Gia Phong 487d00295c Define RequirementPreparer._session 2020-08-06 18:42:59 +07:00
Nguyễn Gia Phong 709ad37b2f
Make assertion failure give better message (#8692) 2020-08-06 15:40:13 +05:30
Nguyễn Gia Phong 4f210f3608 [2020-resolver] List downloaded distributions before exiting
This unifies the behavior of pip download for both legacy and new
resolvers.  InstallRequirement.successfully_download is no longer needed
for this task and is thus retired.
2020-08-06 16:52:31 +07:00
Tzu-ping Chung 810385b971 Always use UTF-8 to read pyvenv.cfg 2020-08-06 11:46:46 +08:00
Nguyễn Gia Phong ffd6a38646 Disable caching for range requests 2020-08-05 22:19:49 +07:00
Tzu-ping Chung ff494f524e News 2020-08-05 03:07:07 +08:00
Pradyun Gedam ae10b82f8c
Remove news/ files for 20.2.1 2020-08-04 16:45:12 +05:30
Pradyun Gedam d8ba146e65
Merge pull request #8672 from edmorley/fix-userguide-typos 2020-08-04 08:39:32 +05:30
Pradyun Gedam e7357c71cd
Merge pull request #8681 from McSinyx/faster-deps
[fast-deps] Make range requests closer to chunk size
2020-08-04 07:38:48 +05:30
Pradyun Gedam 70768de0a8
Merge pull request #8684 from uranusjr/zipfile-unicode-path-python2 2020-08-04 06:50:38 +05:30
Pradyun Gedam e35135b923
Merge pull request #8688 from brainwane/deprecation-opt-in-resolver
Docs: Add details on old resolver deprecation and removal
2020-08-04 06:48:49 +05:30
Pradyun Gedam 4fa31d509f
Merge pull request #8678 from uranusjr/new-resolver-no-deps-extras-install-self 2020-08-04 06:48:11 +05:30
Nguyễn Gia Phong d98ff19c27 [fast-deps] Make range requests closer to chunk size 2020-08-03 21:49:58 +07:00
Sumana Harihareswara 20663fc993 Docs: Add details on old resolver deprecation and removal
Relevant to #8371, #6536, #8076.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-08-03 10:45:25 -04:00
Miro Hrončok ba062c3ed0 When one keyring attempt fails, don't bother with more
This makes https://github.com/pypa/pip/issues/8090 much less painful.
2020-08-03 12:34:26 +02:00
Tzu-ping Chung a12e2f1479 PEP 427 mandates UTF-8, we don't need the fallback 2020-08-03 15:00:58 +08:00
Tzu-ping Chung 95efbbe588 News 2020-08-03 09:29:19 +08:00
Chris Hunt 89d8cba55b
Merge pull request #8629 from McSinyx/abstract-abstract
Abstract away AbstractDistribution in higher-level resolver code
2020-08-02 14:41:24 -04:00
Pradyun Gedam 7e6ff08aae
Merge pull request #8656 from chrahunt/gracefully-handle-bad-data-paths
Trace a better error message on installation failure due to invalid .data files in wheels
2020-08-02 19:55:40 +05:30
Tzu-ping Chung 77cedcf52f News 2020-08-02 16:12:46 +08:00
Pradyun Gedam e51a027964
Merge pull request #8659 from uranusjr/fix-get-distribution-dot-in-name
Canonicalize name in check_if_exists
2020-08-02 07:44:24 +05:30
Nguyễn Gia Phong 0ef877339a Make assertions independent of log prefixes 2020-08-01 20:26:44 +07:00
Stéphane Bidoul 9add5aa923
Merge pull request #8665 from uranusjr/svn-version-more-robust
Improve SVN version parser
2020-08-01 14:13:54 +02:00
Ed Morley f31898e18c Fix typos in the docs about conflicting dependencies
Previously:
- the example wildcard version string was being rendered with a stray
  space (`== 3.1. *` instead of `== 3.1.*`) due to the markup being
  split over two lines
- the "Dependency Hell" Wikipedia URL 404ed due to the trailing `>`
2020-07-31 13:17:36 +01:00
Tzu-ping Chung c8596e1410 News 2020-07-31 06:45:40 +08:00
Sumana Harihareswara 27b4980c6c Update documentation to reflect updated resolver feature flag
Followup to #8371, #8530, #8513.
2020-07-30 14:02:14 -04:00
Tzu-ping Chung 1fd5098b24 Canonicalize name in check_if_exists
The previous implementation uses pkg_resources.get_distribution(), which
does not canonicalize the package name correctly, and fails when
combined with pip's own get_distribution(), which does canonicalize
names. This makes InstallRequirement.check_if_exists() only use pip's
own canonicalization logic so different package name forms are matched
as expected.
2020-07-30 22:04:51 +08:00
Chris Hunt 127c5b026c Add news 2020-07-29 22:24:09 -04:00
Pradyun Gedam 31299ee370
Merge pull request #8603 from tekumara/pip-list-ignore-require-venv 2020-07-29 09:28:58 +05:30
Pradyun Gedam 127acd8c9e
Bump for release 2020-07-29 07:53:17 +05:30
Sumana Harihareswara d374b0d877 Add changelog entry 2020-07-28 10:09:24 -04:00
Nguyễn Gia Phong 2439d80a83 Allow specifying verbose/quiet level via config file and env var 2020-07-28 10:11:18 +07:00
Emmanuel Arias b6c99afade
Add note explaining the Docs PR deploy (#8622)
Add a note to explain that documentation is
deployed readthedocs for each PR.
2020-07-27 18:26:41 +02:00
Laurie O 9eb9319f7e
Document keyring support for index basic-auth 2020-07-27 20:59:31 +10:00
Pradyun Gedam 7056132f6f
Merge pull request #8601 from rouge8/use-feature-requirements-file 2020-07-27 13:19:51 +05:30
Pradyun Gedam 895eb8c617
Merge pull request #8626 from uranusjr/new-resolver-error-message-crash-8625 2020-07-27 13:14:28 +05:30
Nguyễn Gia Phong b795c9a7d6 Abstract away AbstractDistribution in higher-level resolver code 2020-07-26 17:13:04 +07:00
Tzu-ping Chung 36d250da11 News 2020-07-26 16:01:39 +08:00
Nguyễn Gia Phong c564a3d541 Use monkeypatch.setenv in config and option tests 2020-07-25 20:46:45 +07:00
Emmanuel Arias ead83f38b4
fix news 2020-07-25 10:00:42 -03:00
Pradyun Gedam 89a51a6fef
Merge pull request #8588 from McSinyx/fast-deps
Use lazy wheel to obtain dep info for new resolver
2020-07-24 09:01:56 +05:30
Pradyun Gedam 43485f5ab7
Merge pull request #8617 from pradyunsg/drop-final-20.2-deprecation
Reject setup.py projects that don't generate .egg-info
2020-07-24 08:54:16 +05:30