24698625 Adjust pylint/astroid Makefiles when new versions available on build machines
authorRich Burridge <rich.burridge@oracle.com>
Tue, 11 Oct 2016 07:15:54 -0700
changeset 7084 09540c7edf7c
parent 7083 3821dc4d577f
child 7086 bad5d0bc7457
24698625 Adjust pylint/astroid Makefiles when new versions available on build machines 24758445 "gmake test" failures for pylint version 1.6.4
components/python/astroid/Makefile
components/python/astroid/depend.mk
components/python/pylint/Makefile
components/python/pylint/depend.mk
components/python/pylint/test/results-2.7-32.master
--- a/components/python/astroid/Makefile	Tue Oct 11 06:48:16 2016 -0700
+++ b/components/python/astroid/Makefile	Tue Oct 11 07:15:54 2016 -0700
@@ -41,18 +41,10 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-# Use the logilab-common and lazy-object-proxy that are in the gate until the
-# new versions are on the Userland build machines.
-LLC = $(WS_COMPONENTS)/python/logilab-common/build/prototype/$(MACH)/$(PYTHON_LIB)
-LOP = $(WS_COMPONENTS)/python/lazy-object-proxy/build/prototype/$(MACH)/$(PYTHON_LIB)
-
-COMPONENT_BUILD_ENV +=		PYTHONPATH=$(LLC):$(LOP)
-COMPONENT_INSTALL_ENV +=	PYTHONPATH=$(LLC):$(LOP)
-
-COMPONENT_TEST_ENV = PYTHONPATH=$(LLC):$(LOP):$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES)
+COMPONENT_TEST_ENV = PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES)
 
 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/astroid/tests
-COMPONENT_TEST_CMD = $(LLC)/../../../bin/pytest-$(PYTHON_VERSION)
+COMPONENT_TEST_CMD = /usr/bin/pytest-$(PYTHON_VERSION)
 COMPONENT_TEST_ARGS =
 
 # The test output contains details from each test, in whatever order they
--- a/components/python/astroid/depend.mk	Tue Oct 11 06:48:16 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-python/astroid:	python/logilab-common python/lazy-object-proxy
--- a/components/python/pylint/Makefile	Tue Oct 11 06:48:16 2016 -0700
+++ b/components/python/pylint/Makefile	Tue Oct 11 07:15:54 2016 -0700
@@ -39,16 +39,6 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-# Use the logilab-common, lazy-object-proxy, astroid and isort that are in the
-# gate until the new versions are on the Userland build machines.
-LLC = $(WS_COMPONENTS)/python/logilab-common/build/prototype/$(MACH)/$(PYTHON_LIB)
-LOP = $(WS_COMPONENTS)/python/lazy-object-proxy/build/prototype/$(MACH)/$(PYTHON_LIB)
-ASTROID = $(WS_COMPONENTS)/python/astroid/build/prototype/$(MACH)/$(PYTHON_LIB)
-ISORT = $(WS_COMPONENTS)/python/isort/build/prototype/$(MACH)/$(PYTHON_LIB)
-
-COMPONENT_BUILD_ENV +=		PYTHONPATH=$(LLC):$(LOP):$(ASTROID):$(ISORT)
-COMPONENT_INSTALL_ENV +=	PYTHONPATH=$(LLC):$(LOP):$(ASTROID):$(ISORT)
-
 # There are several pylint documentation files that setup.py isn't installing
 # but are present in the pylint package on other distributions. Copy them into
 # the proto area "manually", so they can be included in the package.
@@ -86,9 +76,9 @@
 COMPONENT_POST_INSTALL_ACTION += \
 	$(PYTHON) -m py_compile $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION)/vendor-packages/pylint/testutils.py
 
-COMPONENT_TEST_ENV = PYTHONPATH=$(LLC):$(LOP):$(ASTROID):$(ISORT):$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES)
+COMPONENT_TEST_ENV = PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES)
 
-COMPONENT_TEST_CMD = $(LLC)/../../../bin/pytest-$(PYTHON_VERSION)
+COMPONENT_TEST_CMD = /usr/bin/pytest-$(PYTHON_VERSION)
 COMPONENT_TEST_ARGS =
 
 # The test output contains details from each test, in whatever order they
--- a/components/python/pylint/depend.mk	Tue Oct 11 06:48:16 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-python/pylint:	python/astroid python/isort python/lazy-object-proxy python/logilab-common
--- a/components/python/pylint/test/results-2.7-32.master	Tue Oct 11 06:48:16 2016 -0700
+++ b/components/python/pylint/test/results-2.7-32.master	Tue Oct 11 07:15:54 2016 -0700
@@ -1,1 +1,1 @@
-Ran 481 test cases , 79 errors, 146 failures, 49 skipped
+Ran 558 test cases , 1 failures, 49 skipped