summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade setuptools to 67.6.1Paul Moore2023-04-251-22/+0
|
* Revert "Upgrade setuptools to 67.6.1"Paul Moore2023-04-171-0/+22
| | | | This reverts commit d7e02483264703d6210e8c28937dcf1d9f547796.
* Upgrade pygments to 2.14.0Paul Moore2023-04-021-0/+22
|
* Upgrade tenacity to 8.2.2Paul Moore2023-04-021-4/+4
|
* Upgrade setuptools to 67.6.1Paul Moore2023-04-021-22/+0
|
* Update vendored `pkg_resources`Pradyun Gedam2023-02-041-7/+20
|
* Enable managing RTD redirects in-treePradyun Gedam2022-12-301-0/+155
| | | | | | | | | | 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.
* Merge pull request #11514 from pradyunsg/certifi-updatePaul Moore2022-10-152-28/+49
|\ | | | | Update certifi and replace complex certifi patch with a more targetted requests patch
| * Upgrade certifi to 2022.9.24Pradyun Gedam2022-10-141-9/+32
| |
| * Replace complex certifi patch with a more targetted requests patchPradyun Gedam2022-10-142-31/+29
| | | | | | | | | | This should have the same final functionality, with a cleaner patch to requests instead of an exception-based complex patch to certifi.
* | Upgrade urllib3 to 1.26.12Pradyun Gedam2022-10-111-3/+3
|/
* Vendoring: update ceritfi patchStéphane Bidoul2022-07-171-5/+5
|
* Vendoring: update requests patchStéphane Bidoul2022-07-171-52/+44
|
* Migrate tests to use pathlib.PathTzu-ping Chung2022-06-081-3/+4
| | | | | | | | | | 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.
* Run `towncrier build` instead of `towncrier`Pradyun Gedam2022-05-031-1/+1
| | | | | | Newer versions of towncrier exit eagerly, when `towncrier --version` is run only printing the version and not actually doing any news file generation.
* Revert "Add additional context to `protected_pip.py` about how it works"Pradyun Gedam2022-04-301-49/+26
| | | | This reverts commit 84ee57d1263069aba09b47167c0aa8fe3c20d09a.
* Add additional context to `protected_pip.py` about how it worksPradyun Gedam2022-04-291-26/+49
| | | | | This should make it easier to understand what this file is doing, and when it is useful.
* Rename `tox_pip.py` to `protected_pip.py`Pradyun Gedam2022-04-291-0/+0
| | | | | This is in line with what the only point of use (in noxfile.py) calls this.
* Upgrade rich to 12.2.0Pradyun Gedam2022-04-222-34/+39
|
* Upgrade platformdirs to 2.5.2Pradyun Gedam2022-04-221-22/+0
|
* Disable brotli import in urllib3q0w2022-03-271-0/+34
|
* Trim unnecessary newlines in news templatePradyun Gedam2022-01-291-2/+0
|
* Upgrade platformdirs to 2.4.1Pradyun Gedam2022-01-251-4/+4
|
* Upgrade Requests to 2.27.1Nate Prewitt2022-01-141-1/+15
|
* Vendor rich and required dependencies (pygments, typing_extensions)Pradyun Gedam2021-11-261-0/+37
| | | | | This will enable building upon these libraries, to improve the presentation style and output.
* Add a missing newline to fix the newfile renderingPradyun Gedam2021-10-221-0/+1
| | | | | | | 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.
* Improve our towncrier template, to do the right thing after releasesPradyun Gedam2021-10-151-28/+33
| | | | | This also adds a bunch of comments, which should serve as useful guides to future humans that work on these files.
* Bump platformdirs version.Dominic Davis-Foster2021-09-301-18/+20
|
* Update pkg_resources patch.Dominic Davis-Foster2021-09-301-8/+8
|
* Switch from appdirs to platformdirsDominic Davis-Foster2021-09-303-115/+42
|
* Bump to vendoring 1.0.xPradyun Gedam2021-09-132-7/+36
| | | | | | | | | | 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.
* Upgrade nox to remove mypy ignoresJon Dufresne2021-08-121-5/+3
|
* Merge pull request #10200 from uranusjr/release-procedure-improvementsTzu-ping Chung2021-08-071-12/+7
|\
| * Use shallow clone to make the releaseTzu-ping Chung2021-07-251-12/+7
| |
* | Merge pull request #10197 from pradyunsg/breakout-tools-requirements-folderPradyun Gedam2021-07-283-35/+0
|\ \ | | | | | | Get rid of tools/requirements/ directory, by moving those files into better locations
| * | Move test requirements into tests/Pradyun Gedam2021-07-242-24/+0
| | | | | | | | | | | | | | | This makes the file easier to locate, by placing it next to the stuff that it will affect.
| * | Move docs requirements to docs/Pradyun Gedam2021-07-241-11/+0
| |/ | | | | | | | | This makes the file easier to locate, by placing it next to the stuff that it will affect.
* | Patch tenacity to quote typing.NoReturnDominic Davis-Foster2021-07-261-1/+14
|/
* Merge pull request #10191 from pradyunsg/blacken/toolsTzu-ping Chung2021-07-242-27/+44
|\ | | | | Blacken tools/
| * Blacken tools/Pradyun Gedam2021-07-232-27/+44
| | | | | | | | Progresses the black formatting of the codebase further.
* | Upgrade vendored requests to 2.26.0 (#10174)Illia Volochii2021-07-231-7/+64
|/ | | Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* Vendoring update for 21.2 (#10179)Tzu-ping Chung2021-07-231-12/+12
|
* Replace use of vendored `toml` in tests with PyPI `toml`Taneli Hukkinen2021-07-021-0/+1
|
* Avoid importing a non-vendored version of TornadoBen Darnell2021-05-301-0/+21
| | | | | | Code depending on this conditional import could break if an old version of Tornado is present in the environment, rendering pip unusable.
* Use "typing.List" as an annotationDiego Ramirez2021-05-251-2/+1
| | | Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* Fix duplicate top line in NEWS.rstStéphane Bidoul2021-05-231-2/+2
| | | | | | | | 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...
* Fix changelog misformat (#9817)Tzu-ping Chung2021-04-181-3/+4
|
* Render top_line explicitly in towncrier templateTzu-ping Chung2021-04-151-2/+4
| | | | | | | 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.
* Upgrade sphinxcontrib-towncrier for docsTzu-ping Chung2021-04-151-3/+2
|
* Pin towncrier under 19.9.0Tzu-ping Chung2021-04-071-0/+2
| | | | | sphinxcontrib-towncrier uses towncrier internals and has not been updated to work with later versions.