* [Buildroot] [PATCH 1/1] python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS
@ 2018-10-24 16:22 Asaf Kahlon
2018-11-01 21:21 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Asaf Kahlon @ 2018-10-24 16:22 UTC (permalink / raw)
To: buildroot
pip needs pkg_resources, which is installed with setuptools.
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
package/python-pip/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-pip/Config.in b/package/python-pip/Config.in
index 4fcd55e5ab..c523c938ad 100644
--- a/package/python-pip/Config.in
+++ b/package/python-pip/Config.in
@@ -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.
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS
2018-10-24 16:22 [Buildroot] [PATCH 1/1] python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS Asaf Kahlon
@ 2018-11-01 21:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-11-01 21:21 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 24 Oct 2018 19:22:15 +0300, Asaf Kahlon wrote:
> pip needs pkg_resources, which is installed with setuptools.
>
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
> 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.")) - skipping
However, this is only with the default pip configuration. I don't know
if we want to enforce the need for SSL.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-01 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24 16:22 [Buildroot] [PATCH 1/1] python-pip: select BR2_PACKAGE_PYTHON_SETUPTOOLS Asaf Kahlon
2018-11-01 21:21 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox