Pradyun Gedam
6ad9a21a43
📰
2022-05-06 18:16:41 +01:00
Pradyun Gedam
2d028e140e
Revert "Filter available distributions using hash declarations from constraints files ( #10962 )"
...
This reverts commit 0c284520c6
.
2022-05-03 17:50:21 +01:00
Pradyun Gedam
e195f7bd3b
Merge pull request #11084 from pradyunsg/fix-release-changelog-generation
...
Run `towncrier build` instead of `towncrier`
2022-05-03 12:03:43 +01:00
Pradyun Gedam
d0b83d1c93
Update NEWS for 21.1b1
2022-05-03 11:57:43 +01: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
f51d471eb4
Merge pull request #11077 from pradyunsg/release/22.1b1
2022-04-30 14:42:33 +01:00
Pradyun Gedam
6012b48e5d
Bump for development
2022-04-30 12:58:54 +01:00
Pradyun Gedam
9b203d5af3
Bump for release
2022-04-30 12:58:54 +01:00
Pradyun Gedam
78812509b9
Update AUTHORS.txt
2022-04-30 12:58:52 +01:00
Pradyun Gedam
64dd9e9abc
Merge pull request #11078 from pradyunsg/revert-protected-pip-rewrite
2022-04-30 12:55:40 +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
04f754d947
Merge pull request #11076 from pradyunsg/improve-protected-pip
...
Rename `tox_pip.py` to `protected_pip.py`
2022-04-29 21:56:02 +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
Paul Moore
cdeb8f9e63
Merge pull request #11059 from pfmoore/config_settings
...
Add a UI to set config settings for PEP 517 backends
2022-04-29 12:58:32 +01:00
wim glenn
6313d866e5
Improve ``pip config --help`` text ( #11074 )
2022-04-29 10:32:52 +01:00
Pradyun Gedam
7eb75413e8
Merge pull request #10959 from pradyunsg/better-upgrade-warning
...
Improve the presentation style of the pip upgrade prompt
2022-04-28 18:26:43 +01:00
Pradyun Gedam
7164b1af50
Merge pull request #10827 from q0w/project-urls
...
Include Project-URLs in `pip show -v` output
2022-04-23 21:39:51 +01:00
Pradyun Gedam
24ffdaa494
Merge pull request #11063 from pradyunsg/vendoring-update
2022-04-23 21:38:52 +01:00
Tomáš Hrnčiar
452d7da880
Fallback to pyproject.toml-based builds if setuptools cannot be imported ( #10717 )
...
This fallback is only triggered if the project has a `setup.py` file.
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2022-04-23 15:56:59 +01:00
Paul Moore
437bb67900
Rename test file pep517 -> pyproject
2022-04-23 14:45:59 +01:00
Paul Moore
4db45851b6
Explicitly test installs (and fix a bug found by those tests!)
2022-04-23 13:14:22 +01:00
Pradyun Gedam
85ccf51b64
Better accomodate for case-insensitive file systems
2022-04-23 12:30:43 +01:00
Pradyun Gedam
4e53eaf3e7
Use `python -m pip` for the upgrade prompt on Windows
2022-04-23 12:30:43 +01:00
Pradyun Gedam
26d8441100
Pacify linters by passing `logging.DEBUG` instead of `"DEBUG"`
2022-04-23 12:30:42 +01:00
Pradyun Gedam
ee72f55de6
Add an early return with comment if pip wasn't installed by pip
...
This addresses a review comment around the code style, and makes it
possible to provide additonal context in the comment.
2022-04-23 12:30:42 +01:00
Pradyun Gedam
ca84a83633
Rework the tests for `self_check_outdated` to do less mocking
...
This makes the tests more reliable and easier to reason about. This also
adds a few more cases under the test conditions.
2022-04-23 12:30:42 +01:00
Pradyun Gedam
e247195e21
Move self-check logic into a dedicated function
...
This makes it easier to test this code.
2022-04-22 16:36:29 +01:00
Pradyun Gedam
59db67c8b2
Add some debugging logs to `self_outdated_check`
...
This would make it easier to diagnose what an issue might be, related to
this logic, since the things that affect whether the message is printed,
are now available in the debugging logs.
2022-04-22 16:36:29 +01:00
Pradyun Gedam
4a3c4c90ef
Improve style of the pip upgrade prompt
...
This style makes the upgrade prompt less of blurb of yellow text, making
it easier to read while clarifying the presentation style to make it
easier to figure out what the user is supposed to run.
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2022-04-22 16:36:29 +01:00
Pradyun Gedam
4f35572ae7
Refactor the logic in self_outdated_check
...
- Move the lookup within `selfcheck/*.json` files into a method on
`SelfCheckState`.
- Factor out `PackageFinder` interaction into a separate function.
- Rename variables to more clearly reflect what they're for.
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2022-04-22 16:36:29 +01:00
Pradyun Gedam
ea0d976d9f
Add a way to get a simpler invocation of pip
...
This makes it possible to provide more terse suggestions that are still
correct, depending on the user's environment.
2022-04-22 16:36:29 +01:00
Pradyun Gedam
c4470ba3bd
Rename `[present-diagnostic]` to `[present-rich]`
...
This makes it more reasonable to use a rich renderable for regular
logging messages, instead of only using it for the diagnostic error
messages.
2022-04-22 16:36:29 +01:00
Pradyun Gedam
5570b4218f
Merge pull request #11062 from pradyunsg/update-pre-commit-hooks
...
Update pre-commit hooks
2022-04-22 16:31:39 +01:00
Pradyun Gedam
b68de249d1
Remove a no-longer-needed `type: ignore` comment
2022-04-22 16:13:35 +01:00
Pradyun Gedam
840d54b5e2
Disable spurious flake8-bugbear warnings
2022-04-22 16:13:09 +01:00
Pradyun Gedam
208937c6dd
Update the versions of pinned packages in pre-commit environments
2022-04-22 16:09:12 +01:00
Pradyun Gedam
f0721906fc
Upgrade tomli to 2.0.1
2022-04-22 15:50:29 +01:00
Pradyun Gedam
caa6aebee2
Upgrade typing_extensions to 4.2.0
2022-04-22 15:50:29 +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
Pradyun Gedam
44175c7754
Upgrade distro to 1.7.0
2022-04-22 15:50:27 +01:00
Pradyun Gedam
e747a22b57
Upgrade CacheControl to 0.12.11
2022-04-22 15:38:00 +01:00
Pradyun Gedam
4085eb0236
Update pre-commit hooks
...
This makes the output easier to parse on failures in this.
2022-04-22 15:27:27 +01:00
Paul Moore
962b0738fd
Add documentation
2022-04-22 10:42:16 +01:00
Paul Moore
044091afbf
Don't assume options has a config_settings attribute
2022-04-21 22:53:11 +01:00
Paul Moore
6e14d0ca78
Add a news file
2022-04-21 18:38:57 +01:00
Paul Moore
1401dbae56
Add an end-to-end test for config settings
2022-04-21 18:30:48 +01:00
Paul Moore
6da9b5c694
Call the PEP 517 backend with the requirement's config settings
2022-04-21 18:30:48 +01:00
Paul Moore
af28440792
Store config settings on the install requirement
2022-04-21 18:30:48 +01:00