python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS
PATCH 1/1 python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS
pip needs pkg_resources, which is installed with setuptools.
Signed-off-by Asaf Kahlon <[email protected]>
--- package/python-pip/Config.in | 1 + 1 file changed, 1 insertion(+)
package/python-pip/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_PIP bool "python-pip" + select BR2_PACKAGE_PYTHON_SETUPTOOLS help The PyPA recommended tool for installing Python packages.
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS
Hello,
Quoted 6 lines · Asaf Kahlon
pip needs
pkg_resources, which is installed with setuptools.Signed-off-by Asaf Kahlon <[email protected]>--- package/python-pip/Config.in | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks. However, it is worth mentioning that even with this, pip doesn't work here, because it needs SSL:
# pip install pyserial
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pyserial
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyserial/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyserial/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyserial/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyserial/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pyserial/
Could not fetch URL https://pypi.org/simple/pyserial/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pyserial/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skippingHowever, this is only with the default pip configuration. I don't know if we want to enforce the need for SSL.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com