summaryrefslogtreecommitdiff
path: root/src/pip/_internal/commands/debug.py
Commit message (Collapse)AuthorAgeFilesLines
* Deal with dashed names in vendored modules, in `pip debug`Pradyun Gedam2022-12-281-1/+1
|
* Make the debug command safe for use in a zipappPaul Moore2022-07-111-6/+2
|
* Update pre-commit hooksHenrich Hartzer2022-04-041-1/+2
| | | | Co-Authored-By: q0w <43147888+q0w@users.noreply.github.com>
* Concatenate same-line stringsPradyun Gedam2021-07-231-1/+1
| | | | | This is suboptimal behaviour in black that'll hopefully get fixed in the near future.
* Blacken src/pip/_internal/commands/Pradyun Gedam2021-07-231-45/+43
| | | | Progresses the black formatting of the codebase further.
* Complete type annotations in `pip/_internal/commands` (#10182)Harutaka Kawamura2021-07-231-22/+11
|
* Typing fixesTzu-ping Chung2021-03-101-2/+2
|
* Remove typing.TYPE_CHECKING guardsJon Dufresne2021-02-191-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 typingJon Dufresne2021-02-181-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 Chung2021-02-041-5/+6
|
* commands: debug: Use packaging.version.parse to compareNoah Gorny2021-01-161-1/+2
|
* Use f-strings for simple string formattingJon Dufresne2020-12-251-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__ importsJon Dufresne2020-12-241-2/+0
| | | | Unnecessary since dropping Python 2.
* Remove obsolete "# type: ignore" commentsJon Dufresne2020-12-231-13/+2
| | | | | | | Obsolete since dropping Python 2 support. Add the mypy setting "warn_unused_ignores = True" to catch these earlier.
* Update linter: isortPradyun Gedam2020-09-231-2/+3
|
* Enable flake8-logging-formatNguyễn Gia Phong2020-07-171-12/+5
|
* Use module.__file__Devesh Kumar Singh2020-06-101-1/+5
|
* Fix argument type for ca_bundle_infoDevesh Kumar Singh2020-06-101-2/+3
|
* Fix src/pip with flake8-bugbearDevesh Kumar Singh2020-06-101-2/+2
|
* fix(_internal/commands): Define a default add_option to child commandsgutsytechster2020-05-231-5/+5
|
* refactor(commands): Add method add_options and remove __init__gutsytechster2020-05-231-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-dbgPradyun Gedam2020-05-151-7/+4
|\
| * Change return type annotation for commands.debug.get_vendor_version_from_moduleDevesh Kumar Singh2020-05-151-1/+1
| |
| * Remove Any type from run functionDevesh Kumar Singh2020-04-201-1/+1
| |
| * Type annotations for completion and debug in commandsDevesh Kumar Singh2020-04-151-5/+2
| |
* | Fix bug in pip debugPradyun Gedam2020-04-151-1/+2
|/
* commands: debug: Add vendor library versionsNoah Gorny2020-04-111-1/+93
|
* commands: debug: Print pip._vendor.DEBUNDLED infoNoah Gorny2020-04-101-0/+2
|
* Use packaging.tags.Tag in place of TupleChris Hunt2020-01-071-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 pep425tagsChris Hunt2019-12-021-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 firstNeil Botelho2019-10-171-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 testsNeil Botelho2019-10-151-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 globallyMaxim Kurnikov2019-09-291-0/+3
|
* Only import a Command class when it is actually needed.Chris Jerdonek2019-07-261-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 Jerdonek2019-07-191-0/+6
|
* debug: add warnings about its provisional statusXavier Fernandez2019-07-181-0/+6
|
* Add "pip debug" command.Chris Jerdonek2019-06-271-0/+102