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

173 commits

Author SHA1 Message Date
Paul Moore
f1a7a6f942 Upgrade setuptools to 67.6.1 2023-04-25 16:03:34 +01:00
Paul Moore
c8b49cac1e Revert "Upgrade setuptools to 67.6.1"
This reverts commit d7e0248326.
2023-04-17 17:46:47 +01:00
Paul Moore
c0ba81850b Upgrade pygments to 2.14.0 2023-04-02 14:53:28 +01:00
Paul Moore
d2852d0ad2 Upgrade tenacity to 8.2.2 2023-04-02 14:43:48 +01:00
Paul Moore
d7e0248326 Upgrade setuptools to 67.6.1 2023-04-02 14:34:24 +01:00
Pradyun Gedam
eb7b4ed62e
Update vendored pkg_resources 2023-02-04 21:18:10 +00:00
Pradyun Gedam
fea8ae9f9f
Enable managing RTD redirects in-tree
This is designed as a script and a data file (in YAML format), and meant
to manage the RTD redirects with a version controlled file.

This makes it possible for pull requests to this repository to update
the redirects for this project's documentation (eg: for better error
urls) and for this evolution to be tracked as a part of version control
history.
2022-12-30 02:57:24 +00:00
Paul Moore
1fcc3ce4b5
Merge pull request #11514 from pradyunsg/certifi-update
Update certifi and replace complex certifi patch with a more targetted requests patch
2022-10-15 11:17:53 +01:00
Pradyun Gedam
1b7e5ef34f
Upgrade certifi to 2022.9.24 2022-10-14 11:01:21 +01:00
Pradyun Gedam
2a0552ac61
Replace complex certifi patch with a more targetted requests patch
This should have the same final functionality, with a cleaner patch to
requests instead of an exception-based complex patch to certifi.
2022-10-14 11:01:20 +01:00
Pradyun Gedam
2e7f88e71d
Upgrade urllib3 to 1.26.12 2022-10-11 00:13:17 +01:00
Stéphane Bidoul
6fb4bf2688
Vendoring: update ceritfi patch 2022-07-17 01:05:13 +02:00
Stéphane Bidoul
f1b3926eaa
Vendoring: update requests patch 2022-07-17 00:55:41 +02:00
Tzu-ping Chung
42359a9605 Migrate tests to use pathlib.Path
The pip-specific Path implementation has been removed, and all its
usages replaced by pathlib.Path. The tmpdir and tmpdir_factory fixtures
are also removed, and all usages are replaced by tmp_path and
tmp_path_factory, which use pathlib.Path.

The pip() function now also accepts pathlib.Path so we don't need to put
str() everywhere. Path arguments are coerced with os.fspath() into str.
2022-06-08 19:58:46 +08:00
Pradyun Gedam
b881c2ae50
Run towncrier build instead of towncrier
Newer versions of towncrier exit eagerly, when `towncrier --version` is
run only printing the version and not actually doing any news file
generation.
2022-05-03 11:56:30 +01:00
Pradyun Gedam
8068b30a09
Revert "Add additional context to protected_pip.py about how it works"
This reverts commit 84ee57d126.
2022-04-30 12:50:58 +01:00
Pradyun Gedam
84ee57d126
Add additional context to protected_pip.py about how it works
This should make it easier to understand what this file is doing,
and when it is useful.
2022-04-29 16:20:14 +01:00
Pradyun Gedam
1a2d2a188f
Rename tox_pip.py to protected_pip.py
This is in line with what the only point of use (in noxfile.py) calls
this.
2022-04-29 16:10:26 +01:00
Pradyun Gedam
377d642384 Upgrade rich to 12.2.0 2022-04-22 15:50:29 +01:00
Pradyun Gedam
dfcac4add2 Upgrade platformdirs to 2.5.2 2022-04-22 15:50:29 +01:00
q0w
6689e531d3 Disable brotli import in urllib3 2022-03-27 16:25:41 +03:00
Pradyun Gedam
b3a156892b
Trim unnecessary newlines in news template 2022-01-29 09:10:54 +00:00
Pradyun Gedam
5c565fc786
Upgrade platformdirs to 2.4.1 2022-01-25 08:51:13 +00:00
Nate Prewitt
cc21ec2a2e
Upgrade Requests to 2.27.1 2022-01-14 09:49:09 -07:00
Pradyun Gedam
7510fb04b6
Vendor rich and required dependencies (pygments, typing_extensions)
This will enable building upon these libraries, to improve the
presentation style and output.
2021-11-26 11:50:21 +00:00
Pradyun Gedam
14f8803bf8
Add a missing newline to fix the newfile rendering
towncrier renders with `trim_blocks=True` which trims the newline at the
start of the for loop's body. This adds an additional newline which is
not trimmed, which ensures that the code blocks don't blend into each
other.
2021-10-22 08:16:04 +01:00
Pradyun Gedam
aa89947b01
Improve our towncrier template, to do the right thing after releases
This also adds a bunch of comments, which should serve as useful guides
to future humans that work on these files.
2021-10-15 15:11:43 +01:00
Dominic Davis-Foster
d031c640eb
Bump platformdirs version. 2021-09-30 15:36:13 +01:00
Dominic Davis-Foster
f2d29df908
Update pkg_resources patch. 2021-09-30 15:34:35 +01:00
Dominic Davis-Foster
ae6cf66c79
Switch from appdirs to platformdirs 2021-09-30 15:34:35 +01:00
Pradyun Gedam
3b8113d452
Bump to vendoring 1.0.x
This now supports:

- Clearer failure mode, for imports of the format `import x.y`
- Regular expression support for dropping files (useful for when we vendor pygments)
- Patching files prior to rewriting imports, allowing generation of patches on the
  original package sources.
- Detection of py.typed files, which omits generation of unnecessary `.pyi` stubs.
2021-09-13 08:11:45 +01:00
Jon Dufresne
030b8b4ef6 Upgrade nox to remove mypy ignores 2021-08-12 07:41:30 -07:00
Tzu-ping Chung
f0323c7888
Merge pull request #10200 from uranusjr/release-procedure-improvements 2021-08-07 17:58:43 +08:00
Pradyun Gedam
664beeabf7
Merge pull request #10197 from pradyunsg/breakout-tools-requirements-folder
Get rid of tools/requirements/ directory, by moving those files into better locations
2021-07-28 10:35:10 +01:00
Dominic Davis-Foster
20629e4675
Patch tenacity to quote typing.NoReturn 2021-07-26 18:12:09 +01:00
Tzu-ping Chung
94dc07a28a Use shallow clone to make the release 2021-07-25 13:18:31 +08:00
Pradyun Gedam
236c0ccb8a
Move test requirements into tests/
This makes the file easier to locate, by placing it next to the stuff
that it will affect.
2021-07-24 12:06:51 +01:00
Pradyun Gedam
25af8e5f36
Move docs requirements to docs/
This makes the file easier to locate, by placing it next to the stuff
that it will affect.
2021-07-24 12:06:51 +01:00
Tzu-ping Chung
9ebd05c962
Merge pull request #10191 from pradyunsg/blacken/tools
Blacken tools/
2021-07-24 09:47:36 +08:00
Pradyun Gedam
c7ee560e00
Blacken tools/
Progresses the black formatting of the codebase further.
2021-07-23 17:11:56 +01:00
Illia Volochii
0fb0e3b547
Upgrade vendored requests to 2.26.0 (#10174)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-07-23 17:03:53 +08:00
Tzu-ping Chung
1c4753f299
Vendoring update for 21.2 (#10179) 2021-07-23 11:06:29 +08:00
Taneli Hukkinen
af79d0d393 Replace use of vendored toml in tests with PyPI toml 2021-07-02 00:21:00 +03: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
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
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
cf2c2ccf6f
Fix changelog misformat (#9817) 2021-04-18 07:44:38 +08:00
Tzu-ping Chung
a79c6267de Render top_line explicitly in towncrier template
This allows sphinxcontrib-towncrier to render it in the documentation.
The rendering of NEWS.rst is unchanged since Towncrier detects
automatically if that line exists and does not render a duplicated
section title.
2021-04-15 07:21:24 +08:00
Tzu-ping Chung
df84d1ce62 Upgrade sphinxcontrib-towncrier for docs 2021-04-15 01:31:51 +08:00
Tzu-ping Chung
80039e9376 Pin towncrier under 19.9.0
sphinxcontrib-towncrier uses towncrier internals and has not been
updated to work with later versions.
2021-04-07 20:21:13 +08:00