Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deal with dashed names in vendored modules, in `pip debug` | Pradyun Gedam | 2022-12-28 | 1 | -1/+1 |
| | |||||
* | Make the debug command safe for use in a zipapp | Paul Moore | 2022-07-11 | 1 | -6/+2 |
| | |||||
* | Update pre-commit hooks | Henrich Hartzer | 2022-04-04 | 1 | -1/+2 |
| | | | | Co-Authored-By: q0w <43147888+q0w@users.noreply.github.com> | ||||
* | Concatenate same-line strings | Pradyun Gedam | 2021-07-23 | 1 | -1/+1 |
| | | | | | This is suboptimal behaviour in black that'll hopefully get fixed in the near future. | ||||
* | Blacken src/pip/_internal/commands/ | Pradyun Gedam | 2021-07-23 | 1 | -45/+43 |
| | | | | Progresses the black formatting of the codebase further. | ||||
* | Complete type annotations in `pip/_internal/commands` (#10182) | Harutaka Kawamura | 2021-07-23 | 1 | -22/+11 |
| | |||||
* | Typing fixes | Tzu-ping Chung | 2021-03-10 | 1 | -2/+2 |
| | |||||
* | Remove typing.TYPE_CHECKING guards | Jon Dufresne | 2021-02-19 | 1 | -8/+4 |
| | | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency | ||||
* | Replace pip._internal.utils.typing with stdlib typing | Jon Dufresne | 2021-02-18 | 1 | -2/+2 |
| | | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim. | ||||
* | Replace pkg_resources usage in 'pip debug' | Tzu-ping Chung | 2021-02-04 | 1 | -5/+6 |
| | |||||
* | commands: debug: Use packaging.version.parse to compare | Noah Gorny | 2021-01-16 | 1 | -1/+2 |
| | |||||
* | Use f-strings for simple string formatting | Jon Dufresne | 2020-12-25 | 1 | -2/+2 |
| | | | | | | | Use pyupgrade to convert simple string formatting to use f-string syntax. pyupgrade is intentionally timid and will not create an f-string if it would make the expression longer or if the substitution parameters are anything but simple names or dotted names. | ||||
* | Remove __future__ imports | Jon Dufresne | 2020-12-24 | 1 | -2/+0 |
| | | | | Unnecessary since dropping Python 2. | ||||
* | Remove obsolete "# type: ignore" comments | Jon Dufresne | 2020-12-23 | 1 | -13/+2 |
| | | | | | | | Obsolete since dropping Python 2 support. Add the mypy setting "warn_unused_ignores = True" to catch these earlier. | ||||
* | Update linter: isort | Pradyun Gedam | 2020-09-23 | 1 | -2/+3 |
| | |||||
* | Enable flake8-logging-format | Nguyễn Gia Phong | 2020-07-17 | 1 | -12/+5 |
| | |||||
* | Use module.__file__ | Devesh Kumar Singh | 2020-06-10 | 1 | -1/+5 |
| | |||||
* | Fix argument type for ca_bundle_info | Devesh Kumar Singh | 2020-06-10 | 1 | -2/+3 |
| | |||||
* | Fix src/pip with flake8-bugbear | Devesh Kumar Singh | 2020-06-10 | 1 | -2/+2 |
| | |||||
* | fix(_internal/commands): Define a default add_option to child commands | gutsytechster | 2020-05-23 | 1 | -5/+5 |
| | |||||
* | refactor(commands): Add method add_options and remove __init__ | gutsytechster | 2020-05-23 | 1 | -7/+4 |
| | | | | | This removes the __init__ method of child classes and defines explicit method for adding command options. | ||||
* | Merge pull request #8051 from deveshks/add-mypy-annotations-comp-dbg | Pradyun Gedam | 2020-05-15 | 1 | -7/+4 |
|\ | |||||
| * | Change return type annotation for commands.debug.get_vendor_version_from_module | Devesh Kumar Singh | 2020-05-15 | 1 | -1/+1 |
| | | |||||
| * | Remove Any type from run function | Devesh Kumar Singh | 2020-04-20 | 1 | -1/+1 |
| | | |||||
| * | Type annotations for completion and debug in commands | Devesh Kumar Singh | 2020-04-15 | 1 | -5/+2 |
| | | |||||
* | | Fix bug in pip debug | Pradyun Gedam | 2020-04-15 | 1 | -1/+2 |
|/ | |||||
* | commands: debug: Add vendor library versions | Noah Gorny | 2020-04-11 | 1 | -1/+93 |
| | |||||
* | commands: debug: Print pip._vendor.DEBUNDLED info | Noah Gorny | 2020-04-10 | 1 | -0/+2 |
| | |||||
* | Use packaging.tags.Tag in place of Tuple | Chris Hunt | 2020-01-07 | 1 | -2/+1 |
| | | | | | | | | | This is the standard type used by packaging.tags. Making this change throughout the code lets us start switching over to using its tag-generating functions in get_supported(). We also get rid of a test, since it was superseded by `__str__` in packaging.tags.Tag. | ||||
* | Move format_tag to pep425tags | Chris Hunt | 2019-12-02 | 1 | -1/+1 |
| | | | | | | This is a more appropriate place for the function, since it is more related to tags than wheels, and will make it easier to refactor Wheel into its own module. | ||||
* | Show cert config value first | Neil Botelho | 2019-10-17 | 1 | -1/+1 |
| | | | | | Move the cert config show_value statement to before the REQUESTS_CA_BUNDLE statement. Removed lines used for testing. | ||||
* | Add CA cert info to debug, and corresponding tests | Neil Botelho | 2019-10-15 | 1 | -2/+30 |
| | | | | | Added CA cert information to debug.py Made the corresponding changes to tests/functional/test_debug.py | ||||
* | add per-file disallow_untyped_defs=False, and set it to True globally | Maxim Kurnikov | 2019-09-29 | 1 | -0/+3 |
| | |||||
* | Only import a Command class when it is actually needed. | Chris Jerdonek | 2019-07-26 | 1 | -2/+0 |
| | | | | | This resulted in an approximate 24% speed-up of a vanilla `pip` invocation on one system (0.477 secs before, 0.363 secs after). | ||||
* | Add some encoding return values to pip-debug. | Chris Jerdonek | 2019-07-19 | 1 | -0/+6 |
| | |||||
* | debug: add warnings about its provisional status | Xavier Fernandez | 2019-07-18 | 1 | -0/+6 |
| | |||||
* | Add "pip debug" command. | Chris Jerdonek | 2019-06-27 | 1 | -0/+102 |