Am I affected?

ARTIFACTORY: pip install doesn't work with pip 22.x

AuthorFullName__c
Ariel Kabov
articleNumber
000005206
ft:sourceType
Salesforce
FirstPublishedDate
2022-01-30T17:01:56Z
lastModifiedDate
2024-03-10T07:43:56Z
VersionNumber
9
Until the fix is available, all Artifactory versions are affected when working with the new PIP client version.

If you are using pip version 22.0.0 or 22.0.1, you are affected and expected to encounter the following error when attempting to install a package via Artifactory:
$ pip3 install map                                                                                                           

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Looking in indexes: http://user:****@artifactory.jfrog.io/artifactory/api/pypi/pypi-virtual/simple
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
…
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 426, in _raise_error
    raise ValueError(
ValueError: HTML doctype missing or incorrect. Expected <!DOCTYPE html>.

If you believe this error to be incorrect, try passing the command line option --use-deprecated=html5lib and please leave a comment on the pip issue at https://github.com/pypa/pip/issues/10825.