Diego Ramirez
b0626f61da
Make proper annotations on `noxfile.py`
...
As I said on the pypa PR 10018, it is necessary to convert the commentaries into proper annotations.
2021-06-08 13:19:10 -05:00
Pradyun Gedam
ad9d492989
Merge pull request #10023 from pradyunsg/show-is-for-local-packages
...
Move where show is shown in commands
2021-06-07 22:11:10 +01:00
Pradyun Gedam
776238af48
Merge pull request #10044 from domdfcoding/update-six
...
Update vendored six to 1.16.0
2021-06-07 20:52:29 +01:00
Pradyun Gedam
e89dbbd03e
Merge pull request #10031 from FFY00/no-setup-cfg
...
Remove support for setup.cfg only projects
2021-06-07 20:27:40 +01:00
Dominic Davis-Foster
d532a4cf44
Add news entry
2021-06-07 14:42:04 +01:00
Dominic Davis-Foster
5394d340fb
Update vendored six to 1.16.0
2021-06-07 14:34:07 +01:00
Diego Ramirez
1e016d2994
Convert type hint comments into annotations
...
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-06-07 21:19:23 +08:00
Deepyaman Datta
0170e37046
Remove second space after comma in find_links help
2021-06-07 17:42:32 +08:00
Tzu-ping Chung
b38b925400
Merge pull request #9822 from bwoodsend/fix-pip-freeze-git
2021-06-04 18:58:15 +08:00
bwoodsend
8b8fa2bd5f
Explicitly recognise SCP-shorthand git remotes.
2021-06-03 17:52:25 +01:00
bwoodsend
f533671b0c
Fix pip freeze to use modern format for git repos ( #9822 )
...
Pip dropped support for `git+ssh@` style requirements (see #7554 )
in favour of `git+ssh://` but didn't propagate the change to
`pip freeze` which resultantly returns invalid requirements.
Fix this behaviour.
Fixes #9625 .
2021-06-03 17:45:56 +01:00
Dirk Stolle
b8e7a70fd5
Fix typos ( #10001 )
2021-06-03 16:44:42 +02:00
Paul Moore
3c1d1810dc
Merge pull request #9949 from hroncok/error_msg_missing_record
...
Provide a better error message when uninstalling packages without dist-info/RECORD
2021-06-02 13:31:32 +01:00
Tzu-ping Chung
57be6a77c5
Merge pull request #9277 from hugovk/hugovk-update-mailmap
2021-06-01 19:39:24 +08:00
Hugo van Kemenade
e620e8ee79
Add content to .trivial file
2021-06-01 11:12:58 +03:00
Filipe Laíns
47f7c63ed7
remove support for setup.cfg only projects
...
Per the discussion in #9945 .
Signed-off-by: Filipe Laíns <lains@riseup.net>
2021-05-31 13:50:04 +01:00
Tzu-ping Chung
5554432d94
Merge pull request #10029 from bdarnell/develop
2021-05-31 09:25:22 +08:00
Ben Darnell
b8f1fcf863
Avoid importing a non-vendored version of Tornado
...
Code depending on this conditional import could break if an old
version of Tornado is present in the environment, rendering pip
unusable.
2021-05-30 11:26:48 -04:00
Pradyun Gedam
8fe001193d
Merge pull request #10027 from pradyunsg/topic/authentication
...
Add a topic guide for Authentication
2021-05-29 12:48:02 +01:00
Pradyun Gedam
3930f5545f
Add a topic guide for Authentication
2021-05-28 16:14:29 +01:00
Pradyun Gedam
d74062a53a
Merge pull request #10025 from pradyunsg/introduce-docs/topics
2021-05-28 13:17:27 +01:00
Pradyun Gedam
7d42fb61ae
Add a "Topic Guide" section to the documentation
...
This section will contain pages that describe a single topic (like
"Authentication", "Caching", etc).
2021-05-28 13:03:57 +01:00
Pradyun Gedam
b3a848af13
Move where show is shown in commands
...
It is for introspecting installed packages, not on the index.
2021-05-28 12:16:56 +01:00
Pradyun Gedam
74580b13fb
Merge pull request #10022 from pradyunsg/better-root-message
...
Rephrase the warning printed when run as root on Unix
2021-05-28 12:01:42 +01:00
Pradyun Gedam
8b521e2cdd
Rephrase the warning printed when run as root on Unix
...
The earlier warning phrasing has some awkwardness and doesn't clearly
explain why this action is potentially harmful. The change from
"you should" to "it is recommended" is also intentional, to take a
different tone.
2021-05-28 11:22:39 +01:00
Diego Ramirez
5ee933aab8
Use "typing.List" as an annotation
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-25 22:09:27 +08:00
Pradyun Gedam
0a49dd913f
Merge pull request #10009 from pradyunsg/new-getting-started-and-installation
2021-05-23 11:54:13 +01:00
Stéphane Bidoul
e2f359aec2
Merge pull request #10013 from sbidoul/21.1.2-drop-released-news
...
Drop released news fragments
2021-05-23 12:43:01 +02:00
Stéphane Bidoul
72da651285
Drop released news fragments
2021-05-23 12:36:20 +02:00
Stéphane Bidoul
220b30bd85
Merge pull request #10012 from sbidoul/release/21.1.2
...
Release 21.1.2
2021-05-23 12:34:09 +02:00
Stéphane Bidoul
4188fc5438
Bump for development
2021-05-23 11:20:12 +02:00
Stéphane Bidoul
8737f903ea
Bump for release
2021-05-23 11:20:08 +02:00
Stéphane Bidoul
d7cf6cacde
Update AUTHORS.txt
2021-05-23 11:20:06 +02:00
Stéphane Bidoul
30faa6478e
Fix duplicate top line in NEWS.rst
...
It looks like towncrier unconditionally writes top_line
when it is defined in the title_format configuration.
So we must not repeat it in the template.
When running towncrier with --draft, it works differently
so in that case the top line is not shown...
2021-05-23 11:19:37 +02:00
Tzu-ping Chung
128ec36254
Test case for backtracking an installed candidate
2021-05-23 10:39:47 +02:00
Tzu-ping Chung
729c626da7
Exclude a known incompatible installed candidate
...
The resolver collects previously known incompatibilites and sends them
to the provider. But previously the provider does not correctly exclude
the currently-installed candidate if it is present in that
incompatibility list, causing the resolver to enter a loop trying that
same candidate. This patch correctly applies incompat_ids when producing
an AlreadyInstalledCandidate and exclude it if its id() is in the set.
2021-05-23 10:39:47 +02:00
Nicholas Serra
1c31d3314c
Update src/pip/_internal/build_env.py
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-23 10:39:47 +02:00
Nicholas Serra
e266aa55ac
Update news/9910.bugfix.rst
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-23 10:39:46 +02:00
Nicholas Serra
00003d5325
9910 news
2021-05-23 10:39:46 +02:00
Nicholas Serra
d55e02c716
Set strict_timestamps=False when zip is called for isolated environment
2021-05-23 10:39:46 +02:00
Arun Babu Neelicattu
4f983c4476
Handle standalone pip creation from pip wheel
...
This change ensures that when pip is executed from a wheel/zip,
standalone pip creation for build environment reuses the source.
Resolves : #9953
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-23 10:39:46 +02:00
Tzu-ping Chung
f1bea48b5d
Relax installable dir check to allow cfg-only
2021-05-23 10:39:46 +02:00
Tzu-ping Chung
06d65a0327
Better diagnose when setup.py/cfg cannot be found
...
This adds a check before invoking 'egg_info' to make sure either setup.py or
setup.cfg actually exists, and emit a clearer error message when neither can
be found and the egg_info command can never succeed.
2021-05-23 10:39:45 +02:00
Dimitri Merejkowsky
5b5288435b
Fix typo in NEWS.rst
2021-05-23 10:39:45 +02:00
Tzu-ping Chung
cb301333b7
Merge pull request #9993
...
from uranusjr/exclude-installed-candidate-if-incompatible
2021-05-22 20:49:49 +08:00
Pradyun Gedam
f9dc946e68
Use the footnote in the installation page
2021-05-22 12:13:41 +01:00
Pradyun Gedam
1b386366a3
installing.rst -> installation.md
2021-05-22 00:33:13 +01:00
Pradyun Gedam
34d181a5d6
quickstart.rst -> getting-started.md
2021-05-22 00:33:13 +01:00
Pradyun Gedam
5734d32546
Change first title in getting-started
2021-05-22 00:33:13 +01:00
Pradyun Gedam
f99ccb15c3
Update copyright in conf.py, to match copyright.rst
2021-05-22 00:33:02 +01:00