Przeglądaj źródła

Fixing C6 build issue, pypi.python.org wants to enforce TLS 1.2 based requests. Hue uses pypi.python.org for python modules installation. This change contains two fixes.

1. change the order in -H PATTERNS, priority order in this way: archive.cloudera.com,pypi.infra.cloudera.com,pypi.python.org
2. use --index-url for pypi.infra.cloudera.com based package search.
Prakash Ranade 7 lat temu
rodzic
commit
4ac4f83
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      desktop/devtools.mk

+ 2 - 2
desktop/devtools.mk

@@ -32,8 +32,8 @@ DEVTOOLS += \
 .PHONY: $(DEVTOOLS)
 $(DEVTOOLS):
 	@echo "--- Installing development tool: $@"
-	$(ENV_EASY_INSTALL) -f http://archive.cloudera.com/desktop-sdk-python-packages/ \
-	   -H pypi.python.org,archive.cloudera.com $(SETUPTOOLS_OPTS) $(subst ],,$(subst [,==,$@))
+	$(ENV_EASY_INSTALL) -f http://archive.cloudera.com/desktop-sdk-python-packages/ -i https://pypi.infra.cloudera.com/api/pypi/pypi-public/simple/ \
+	   -H archive.cloudera.com,pypi.infra.cloudera.com,pypi.python.org $(SETUPTOOLS_OPTS) $(subst ],,$(subst [,==,$@))
 
 $(BLD_DIR):
 	@mkdir -p $@