Sourced from pip's changelog.
22.0.2 (2022-01-30)
Deprecations and Removals
- Instead of failing on index pages that use non-compliant HTML 5, print a deprecation warning and fall back to
html5lib
-based parsing for now. This simplifies the migration for non-compliant index pages, by letting such indexes function with a warning. ([#10847](https://github.com/pypa/pip/issues/10847) <https://github.com/pypa/pip/issues/10847>
_)22.0.1 (2022-01-30)
Bug Fixes
- Accept lowercase
<!doctype html>
on index pages. ([#10844](https://github.com/pypa/pip/issues/10844) <https://github.com/pypa/pip/issues/10844>
_)- Properly handle links parsed by html5lib, when using
--use-deprecated=html5lib
. ([#10846](https://github.com/pypa/pip/issues/10846) <https://github.com/pypa/pip/issues/10846>
_)22.0 (2022-01-29)
Process
- Completely replace :pypi:
tox
in our development workflow, with :pypi:nox
.Deprecations and Removals
Deprecate alternative progress bar styles, leaving only
on
andoff
as available choices. ([#10462](https://github.com/pypa/pip/issues/10462) <https://github.com/pypa/pip/issues/10462>
_)Drop support for Python 3.6. (
[#10641](https://github.com/pypa/pip/issues/10641) <https://github.com/pypa/pip/issues/10641>
_)Disable location mismatch warnings on Python versions prior to 3.10.
These warnings were helping identify potential issues as part of the sysconfig -> distutils transition, and we no longer need to rely on reports from older Python versions for information on the transition. (
[#10840](https://github.com/pypa/pip/issues/10840) <https://github.com/pypa/pip/issues/10840>
_)Features
Changed
PackageFinder
to parse HTML documents using the stdlib :class:html.parser.HTMLParser
class instead of thehtml5lib
package.For now, the deprecated
html5lib
code remains and can be used with the--use-deprecated=html5lib
command line option. However, it will be removed in a future pip release. ([#10291](https://github.com/pypa/pip/issues/10291) <https://github.com/pypa/pip/issues/10291>
_)Utilise
rich
for presenting pip's default download progress bar. ([#10462](https://github.com/pypa/pip/issues/10462) <https://github.com/pypa/pip/issues/10462>
_)Present a better error message when an invalid wheel file is encountered, providing more context where the invalid wheel file is. (
[#10535](https://github.com/pypa/pip/issues/10535) <https://github.com/pypa/pip/issues/10535>
_)Documents the
--require-virtualenv
flag forpip install
. ([#10588](https://github.com/pypa/pip/issues/10588) <https://github.com/pypa/pip/issues/10588>
_)
pip install <tab>
autocompletes paths. ([#10646](https://github.com/pypa/pip/issues/10646) <https://github.com/pypa/pip/issues/10646>
_)Allow Python distributors to opt-out from or opt-in to the
sysconfig
installation scheme backend by settingsysconfig._PIP_USE_SYSCONFIG
toTrue
orFalse
. ([#10647](https://github.com/pypa/pip/issues/10647) <https://github.com/pypa/pip/issues/10647>
_)Make it possible to deselect tests requiring cryptography package on systems where it cannot be installed. (
[#10686](https://github.com/pypa/pip/issues/10686) <https://github.com/pypa/pip/issues/10686>
_)Start using Rich for presenting error messages in a consistent format. (
[#10703](https://github.com/pypa/pip/issues/10703) <https://github.com/pypa/pip/issues/10703>
_)Improve presentation of errors from subprocesses. (
[#10705](https://github.com/pypa/pip/issues/10705) <https://github.com/pypa/pip/issues/10705>
_)
... (truncated)
c721f03
Bump for release844b799
Merge pull request #10847 from pradyunsg/better-html5lib-fallbacka78845a
Pacify functional tests that don't start with \<!doctype html>
c3a42f0
:newspaper:c01b0b2
Gracefully fallback to html5lib for parsing non-compliant index pagescc35c93
Merge pull request #10850 from pradyunsg/release/22.0.11b6ef5d
Bump for developmentc73ac8d
Bump for release9a9c1de
Merge pull request #10846 from pradyunsg/fix-html5lib-fallback80609e8
Properly yield results from html5lib
parsing