Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add function to check hashes against known digests | Stéphane Bidoul | 2023-04-14 | 1 | -0/+7 |
| | |||||
* | Remove setup.py install legacy | Stéphane Bidoul | 2023-03-31 | 2 | -74/+0 |
| | |||||
* | Don't fallback to setup.py install when build failed | Stéphane Bidoul | 2023-03-31 | 1 | -12/+0 |
| | |||||
* | Merge pull request #11871 from sbidoul/always-use-pep517-when-wheel-absent-sbi | Stéphane Bidoul | 2023-03-27 | 2 | -26/+0 |
|\ | | | | | Always use pep 517 when the 'wheel' package is absent | ||||
| * | Always use pep 517 when the 'wheel' package is absent | Stéphane Bidoul | 2023-03-27 | 2 | -26/+0 |
| | | |||||
* | | Fix type of config_settings arguments | Stéphane Bidoul | 2023-03-27 | 1 | -8/+11 |
|/ | |||||
* | Remove support for the deprecated --install-options | Stéphane Bidoul | 2023-03-18 | 2 | -49/+2 |
| | |||||
* | --no-binary does not imply setup.py install anymore | Stéphane Bidoul | 2023-03-12 | 1 | -13/+0 |
| | |||||
* | Update vendored `pkg_resources` | Pradyun Gedam | 2023-02-04 | 1 | -0/+109 |
| | |||||
* | Merge pull request #11663 from uranusjr/pep-668 | Tzu-ping Chung | 2023-01-18 | 1 | -2/+18 |
|\ | |||||
| * | Isolate EXTERNALLY-MANAGED parsing logic | Tzu-ping Chung | 2023-01-03 | 1 | -12/+4 |
| | | | | | | | | This makes the parser easier to test. | ||||
| * | Use ExternallyManagedEnvironment to show error | Tzu-ping Chung | 2023-01-03 | 1 | -47/+15 |
| | | | | | | | | | | This moves most of the displaying logic into the exception class so it can better leverage DiagnosticPipError and Rich functionalities. | ||||
| * | Check EXTERNALLY-MANAGED in install and uninstall | Tzu-ping Chung | 2023-01-03 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the PEP 668 logic to 'pip install' and 'pip uninstall'. Are there any other commands that may need it? This implementation disables the check is any of --prefix, --home, or --target is provided, since those can indicate the command does not actually install into the environment. Note that it is still possible the command is still modifying the environment, but we don't have a way to stop the user *that* determined to break the environment anyway (they can always just use those flags in a virtual environment). Also not sure how best this can be tested. | ||||
* | | Enable strict optionals in egg_link code | Tzu-ping Chung | 2023-01-17 | 1 | -5/+2 |
|/ | | | | | Newer typeshed correctly annotates sysconfig.get_path() to return str so this just works now. | ||||
* | Replace `pep517` with `pyproject_hooks` | Pradyun Gedam | 2022-12-28 | 2 | -5/+5 |
| | | | | The `pep517` package has been superseded by a new package. | ||||
* | Name virtualenv<20 as "legacy" | Tzu-ping Chung | 2022-10-28 | 1 | -6/+6 |
| | | | | Well they are. At least not "regular" anymore. | ||||
* | Merge pull request #11452 from sbidoul/deprecate-no-binary-imply-pip-install | Stéphane Bidoul | 2022-09-25 | 1 | -2/+15 |
|\ | | | | | Deprecate --no-binary implying setup.py install | ||||
| * | Deprecate --no-binary implying setup.py install | Stéphane Bidoul | 2022-09-17 | 1 | -2/+15 |
| | | |||||
* | | Set deprecation deadlines | Stéphane Bidoul | 2022-09-17 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #11318 from q0w/check-binary-exe | Tzu-ping Chung | 2022-08-31 | 1 | -3/+8 |
|\ | |||||
| * | Check if binary_executable exists | q0w | 2022-07-28 | 1 | -3/+8 |
| | | |||||
* | | fixups | hauntsaninja | 2022-08-12 | 1 | -1/+1 |
| | | |||||
* | | Use --no-implicit-optional for type checking | hauntsaninja | 2022-08-12 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | This makes type checking PEP 484 compliant (as of 2018). mypy will change its defaults soon. See: https://github.com/python/mypy/issues/9091 https://github.com/python/mypy/pull/13401 | ||||
* | | Deprecate setup.py install fallback when wheel package is absent | Stéphane Bidoul | 2022-08-06 | 1 | -0/+14 |
| | | |||||
* | | Refactor legacy_install_reason | Stéphane Bidoul | 2022-08-06 | 1 | -0/+41 |
| | | |||||
* | | Revert "PipDeprecationWarning subclass DeprecationWarning" | Stéphane Bidoul | 2022-07-31 | 1 | -1/+1 |
|/ | | | | This reverts commit f1bc96a4a336e2b8889269aec046ac4044e4b46c. | ||||
* | Merge pull request #11195 from ↵ | Stéphane Bidoul | 2022-07-10 | 1 | -25/+26 |
|\ | | | | | | | | | pradyunsg/distutils-replace-fancygetopt-with-getopt Replace `distutils.fancy_getopt` with `getopt` | ||||
| * | Replace `distutils.fancy_getopt` with `getopt` | Pradyun Gedam | 2022-07-08 | 1 | -25/+26 |
| | | | | | | | | | | This eliminates one location where distutils may be imported on Python 3.12+, by replacing the logic with mostly equivalent logic. | ||||
* | | PipDeprecationWarning subclass DeprecationWarning | Tzu-ping Chung | 2022-07-04 | 1 | -1/+1 |
|/ | | | | | This makes it easier for users to use Python's -W flag to suppress deprecation warnings emitted by pip. | ||||
* | Fix types for logging Rich objects | Pradyun Gedam | 2022-05-22 | 1 | -3/+5 |
| | |||||
* | Revert "Filter available distributions using hash declarations from ↵ | Pradyun Gedam | 2022-05-03 | 2 | -17/+0 |
| | | | | | | constraints files (#10962)" This reverts commit 0c284520c6d068cb25ac89d9dbee0456c2eba23a. | ||||
* | Merge pull request #11059 from pfmoore/config_settings | Paul Moore | 2022-04-29 | 1 | -0/+91 |
|\ | | | | | Add a UI to set config settings for PEP 517 backends | ||||
| * | Call the PEP 517 backend with the requirement's config settings | Paul Moore | 2022-04-21 | 1 | -0/+91 |
| | | |||||
* | | Better accomodate for case-insensitive file systems | Pradyun Gedam | 2022-04-23 | 1 | -3/+8 |
| | | |||||
* | | Add a way to get a simpler invocation of pip | Pradyun Gedam | 2022-04-22 | 1 | -0/+47 |
| | | | | | | | | | | This makes it possible to provide more terse suggestions that are still correct, depending on the user's environment. | ||||
* | | Rename `[present-diagnostic]` to `[present-rich]` | Pradyun Gedam | 2022-04-22 | 2 | -6/+7 |
|/ | | | | | | This makes it more reasonable to use a rich renderable for regular logging messages, instead of only using it for the diagnostic error messages. | ||||
* | Replace Iterator[T] with Generator[T,None, None] (#11007) | q0w | 2022-04-09 | 5 | -12/+15 |
| | | | Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com> | ||||
* | Drop out-of-tree/in-tree build transition flags | Pradyun Gedam | 2022-04-08 | 1 | -29/+0 |
| | | | | | | These were intended to help users transition when the default behaviour changed to no longer perform out-of-tree builds. The transition is now considered complete. | ||||
* | Update pre-commit hooks | Henrich Hartzer | 2022-04-04 | 4 | -7/+8 |
| | | | | Co-Authored-By: q0w <43147888+q0w@users.noreply.github.com> | ||||
* | Merge pull request #10560 from pradyunsg/fix-protect-pip-on-windows | Pradyun Gedam | 2022-03-18 | 1 | -3/+3 |
|\ | | | | | Fix the protect-pip-on-windows logic | ||||
| * | Use f-strings for executable names | Pradyun Gedam | 2022-03-13 | 1 | -2/+2 |
| | | |||||
| * | Fix the protect-pip-on-windows logic | Pradyun Gedam | 2022-02-26 | 1 | -3/+3 |
| | | | | | | | | The names for the executables does not contain a `.exe` suffix anymore. | ||||
* | | Filter available distributions using hash declarations from constraints ↵ | q0w | 2022-03-16 | 2 | -0/+17 |
|/ | | | | files (#10962) | ||||
* | Double-escape paths on Windows | Pradyun Gedam | 2022-01-25 | 1 | -2/+4 |
| | | | | | This helps ensure that they aren't improperly handled due to the newer string-in-string design for the setuptools invocation script. | ||||
* | Pacify unit tests | Pradyun Gedam | 2022-01-25 | 2 | -2/+2 |
| | |||||
* | Improve the setuptools caller script | Pradyun Gedam | 2022-01-25 | 1 | -7/+9 |
| | |||||
* | Add diagnostics to `InstallationSubprocessError` | Pradyun Gedam | 2022-01-25 | 1 | -48/+20 |
| | | | | | | This more clearly states where the error came from, presents it in a more approachable format with context provided for what this error is related to. | ||||
* | Improve our setuptools shim | Pradyun Gedam | 2022-01-25 | 1 | -14/+38 |
| | | | | | | | | | Modernise the shim, to account for the Python 3.2+ support matrix. This also presents clearer error messages on failures, the included comment helps inform users about why this shim exists and the traceback now explicitly mentions `<pip-setuptools-shim>` to make it clearer to users that this shim exists. | ||||
* | Require every `call_subprocess` call-site to pass `command_desc` | Pradyun Gedam | 2022-01-25 | 1 | -4/+3 |
| | | | | | This serves as additional context that can be presented in error messages. | ||||
* | Apply suggestions from code review | Pradyun Gedam | 2021-12-12 | 1 | -1/+1 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> |