* Package: dev-python/wheel-0.34.2  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 sparc test userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking wheel-0.34.2.gh.tar.gz to /var/tmp/portage/dev-python/wheel-0.34.2/work >>> Source unpacked in /var/tmp/portage/dev-python/wheel-0.34.2/work >>> Preparing source in /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/util.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/__init__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/bdist_wheel.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/metadata.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/__main__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/pep425tags.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/pkginfo.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/macosx_libfile.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel copying src/wheel/wheelfile.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel creating /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel/cli copying src/wheel/cli/convert.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel/cli copying src/wheel/cli/__init__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel/cli copying src/wheel/cli/unpack.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel/cli copying src/wheel/cli/pack.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python2_7/lib/wheel/cli warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 20 running build running build_py creating /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/util.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/__init__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/bdist_wheel.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/metadata.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/__main__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/pep425tags.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/pkginfo.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/macosx_libfile.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel copying src/wheel/wheelfile.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel creating /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel/cli copying src/wheel/cli/convert.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel/cli copying src/wheel/cli/__init__.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel/cli copying src/wheel/cli/unpack.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel/cli copying src/wheel/cli/pack.py -> /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2-python3_6/lib/wheel/cli warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/wheel-0.34.2 * python2_7: running distutils-r1_run_phase python_test * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ========================================================================================================================= test session starts ========================================================================================================================== platform linux2 -- Python 2.7.17, pytest-4.5.0, py-1.5.4, pluggy-0.13.1 -- /usr/bin/python2.7 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2/.hypothesis/examples') rootdir: /var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2, inifile: setup.cfg, testpaths: tests plugins: forked-1.1.3, cov-2.8.1, flaky-3.6.1, xdist-1.31.0, hypothesis-4.57.1, mock-1.11.2 collecting ... collected 59 items tests/test_bdist_wheel.py::test_no_scripts * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ERROR [ 1%] tests/test_bdist_wheel.py::test_unicode_record SKIPPED [ 3%] tests/test_bdist_wheel.py::test_licenses_default FAILED [ 5%] tests/test_bdist_wheel.py::test_licenses_deprecated FAILED [ 6%] tests/test_bdist_wheel.py::test_licenses_override FAILED [ 8%] tests/test_bdist_wheel.py::test_licenses_disabled FAILED [ 10%] tests/test_bdist_wheel.py::test_build_number FAILED [ 11%] tests/test_bdist_wheel.py::test_limited_abi SKIPPED [ 13%] tests/test_bdist_wheel.py::test_build_from_readonly_tree FAILED [ 15%] tests/test_bdist_wheel.py::test_compression[stored] FAILED [ 16%] tests/test_bdist_wheel.py::test_compression[deflated] FAILED [ 18%] tests/test_macosx_libfile.py::test_read_from_dylib PASSED [ 20%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_simple PASSED [ 22%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_version_bump PASSED [ 23%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_information_about_problematic_files_python_version PASSED [ 25%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_information_about_problematic_files_env_variable PASSED [ 27%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_bump_platform_tag_by_env_variable PASSED [ 28%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_bugfix_release_platform_tag PASSED [ 30%] tests/test_macosx_libfile.py::TestGetPlatformMacosx::test_warning_on_to_low_env_variable PASSED [ 32%] tests/test_macosx_libfile.py::test_get_platform_linux PASSED [ 33%] tests/test_metadata.py::test_pkginfo_to_metadata PASSED [ 35%] tests/test_pkginfo.py::test_pkginfo_mangle_from PASSED [ 37%] tests/test_tagopt.py::test_default_tag FAILED [ 38%] tests/test_tagopt.py::test_build_number FAILED [ 40%] tests/test_tagopt.py::test_explicit_tag FAILED [ 42%] tests/test_tagopt.py::test_universal_tag FAILED [ 44%] tests/test_tagopt.py::test_universal_beats_explicit_tag FAILED [ 45%] tests/test_tagopt.py::test_universal_in_setup_cfg FAILED [ 47%] tests/test_tagopt.py::test_pythontag_in_setup_cfg FAILED [ 49%] tests/test_tagopt.py::test_legacy_wheel_section_in_setup_cfg FAILED [ 50%] tests/test_tagopt.py::test_plat_name_purepy FAILED [ 52%] tests/test_tagopt.py::test_plat_name_ext[True] SKIPPED [ 54%] tests/test_tagopt.py::test_plat_name_purepy_in_setupcfg FAILED [ 55%] tests/test_tagopt.py::test_plat_name_ext_in_setupcfg[True] SKIPPED [ 57%] tests/test_wheelfile.py::test_wheelfile_re PASSED [ 59%] tests/test_wheelfile.py::test_bad_wheel_filename[test.whl] PASSED [ 61%] tests/test_wheelfile.py::test_bad_wheel_filename[test-1.0.whl] PASSED [ 62%] tests/test_wheelfile.py::test_bad_wheel_filename[test-1.0-py2.whl] PASSED [ 64%] tests/test_wheelfile.py::test_bad_wheel_filename[test-1.0-py2-none.whl] PASSED [ 66%] tests/test_wheelfile.py::test_bad_wheel_filename[test-1.0-py2-none-any] PASSED [ 67%] tests/test_wheelfile.py::test_missing_record PASSED [ 69%] tests/test_wheelfile.py::test_unsupported_hash_algorithm PASSED [ 71%] tests/test_wheelfile.py::test_weak_hash_algorithm[md5] PASSED [ 72%] tests/test_wheelfile.py::test_weak_hash_algorithm[sha1] PASSED [ 74%] tests/test_wheelfile.py::test_testzip[sha256] PASSED [ 76%] tests/test_wheelfile.py::test_testzip[sha384] PASSED [ 77%] tests/test_wheelfile.py::test_testzip[sha512] PASSED [ 79%] tests/test_wheelfile.py::test_testzip_missing_hash PASSED [ 81%] tests/test_wheelfile.py::test_testzip_bad_hash PASSED [ 83%] tests/test_wheelfile.py::test_write_str PASSED [ 84%] tests/test_wheelfile.py::test_timestamp PASSED [ 86%] tests/test_wheelfile.py::test_attributes PASSED [ 88%] tests/cli/test_convert.py::test_egg_re PASSED [ 89%] tests/cli/test_convert.py::test_convert_egg ERROR [ 91%] tests/cli/test_pack.py::test_pack[nobuildnum] PASSED [ 93%] tests/cli/test_pack.py::test_pack[newbuildarg] PASSED [ 94%] tests/cli/test_pack.py::test_pack[oldbuildnum] PASSED [ 96%] tests/cli/test_pack.py::test_pack[erasebuildnum] PASSED [ 98%] tests/cli/test_unpack.py::test_unpack ERROR [100%] ================================================================================================================================ ERRORS ================================================================================================================================ __________________________________________________________________________________________________________________ ERROR at setup of test_no_scripts ___________________________________________________________________________________________________________________ tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=<...h('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0'))) @pytest.fixture(scope='session') def wheels_and_eggs(tmpdir_factory): """Build wheels and eggs from test distributions.""" test_distributions = "complex-dist", "simple.dist", "headers.dist" if sys.version_info >= (3, 6): # Only Python 3.6+ can handle packaging unicode file names reliably # across different platforms test_distributions += ("unicode.dist",) if sys.platform != 'win32': # ABI3 extensions don't really work on Windows test_distributions += ("abi3extension.dist",) pwd = os.path.abspath(os.curdir) this_dir = os.path.dirname(__file__) build_dir = tmpdir_factory.mktemp('build') dist_dir = tmpdir_factory.mktemp('dist') for dist in test_distributions: os.chdir(os.path.join(this_dir, 'testdata', dist)) subprocess.check_call([sys.executable, 'setup.py', 'bdist_egg', '-b', str(build_dir), '-d', str(dist_dir), > 'bdist_wheel', '-b', str(build_dir), '-d', str(dist_dir)]) ../../conftest.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------ Captured stderr setup ------------------------------------------------------------------------------------------------------------------------- WARNING: The wheel package is not available. Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/wheel/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/wheel/ Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/wheel/ Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/wheel/ Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/wheel/ Could not find a version that satisfies the requirement wheel (from versions: ) No matching distribution found for wheel Traceback (most recent call last): File "setup.py", line 18, in 'complex-dist2=complexdist:main', File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 144, in setup _install_setup_requires(attrs) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs replace_conflicting=True, File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 782, in resolve replace_conflicting=replace_conflicting File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match return self.obtain(req, installer) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain return installer(requirement) File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/lib/python2.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg raise DistutilsError(str(e)) distutils.errors.DistutilsError: Command '['/usr/bin/python2.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/tmpXf5f78', '--quiet', 'wheel']' returned non-zero exit status 1 __________________________________________________________________________________________________________________ ERROR at setup of test_convert_egg __________________________________________________________________________________________________________________ tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=<...h('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0'))) @pytest.fixture(scope='session') def wheels_and_eggs(tmpdir_factory): """Build wheels and eggs from test distributions.""" test_distributions = "complex-dist", "simple.dist", "headers.dist" if sys.version_info >= (3, 6): # Only Python 3.6+ can handle packaging unicode file names reliably # across different platforms test_distributions += ("unicode.dist",) if sys.platform != 'win32': # ABI3 extensions don't really work on Windows test_distributions += ("abi3extension.dist",) pwd = os.path.abspath(os.curdir) this_dir = os.path.dirname(__file__) build_dir = tmpdir_factory.mktemp('build') dist_dir = tmpdir_factory.mktemp('dist') for dist in test_distributions: os.chdir(os.path.join(this_dir, 'testdata', dist)) subprocess.check_call([sys.executable, 'setup.py', 'bdist_egg', '-b', str(build_dir), '-d', str(dist_dir), > 'bdist_wheel', '-b', str(build_dir), '-d', str(dist_dir)]) ../../conftest.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ____________________________________________________________________________________________________________________ ERROR at setup of test_unpack _____________________________________________________________________________________________________________________ tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=<...h('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0'))) @pytest.fixture(scope='session') def wheels_and_eggs(tmpdir_factory): """Build wheels and eggs from test distributions.""" test_distributions = "complex-dist", "simple.dist", "headers.dist" if sys.version_info >= (3, 6): # Only Python 3.6+ can handle packaging unicode file names reliably # across different platforms test_distributions += ("unicode.dist",) if sys.platform != 'win32': # ABI3 extensions don't really work on Windows test_distributions += ("abi3extension.dist",) pwd = os.path.abspath(os.curdir) this_dir = os.path.dirname(__file__) build_dir = tmpdir_factory.mktemp('build') dist_dir = tmpdir_factory.mktemp('dist') for dist in test_distributions: os.chdir(os.path.join(this_dir, 'testdata', dist)) subprocess.check_call([sys.executable, 'setup.py', 'bdist_egg', '-b', str(build_dir), '-d', str(dist_dir), > 'bdist_wheel', '-b', str(build_dir), '-d', str(dist_dir)]) ../../conftest.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_egg', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/build0', '-d', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dist0']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError =============================================================================================================================== FAILURES =============================================================================================================================== ________________________________________________________________________________________________________________________ test_licenses_default _________________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist0'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf6723d30> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_default0') def test_licenses_default(dummy_dist, monkeypatch, tmpdir): monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal']) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_default0', '--universal'],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_default0', '--universal'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_default0', '--universal']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' _______________________________________________________________________________________________________________________ test_licenses_deprecated _______________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist1'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf52aed90> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_deprecated0') def test_licenses_deprecated(dummy_dist, monkeypatch, tmpdir): dummy_dist.join('setup.cfg').write('[metadata]\nlicense_file=licenses/DUMMYFILE') monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal']) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_deprecated0', '--universal'],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_deprecated0', '--universal'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_deprecated0', '--universal']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ________________________________________________________________________________________________________________________ test_licenses_override ________________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist2'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf52aa930> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_override0') def test_licenses_override(dummy_dist, monkeypatch, tmpdir): dummy_dist.join('setup.cfg').write('[metadata]\nlicense_files=licenses/*\n LICENSE') monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal']) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_override0', '--universal'],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_override0', '--universal'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_override0', '--universal']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ________________________________________________________________________________________________________________________ test_licenses_disabled ________________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist3'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf51eb170> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_disabled0') def test_licenses_disabled(dummy_dist, monkeypatch, tmpdir): dummy_dist.join('setup.cfg').write('[metadata]\nlicense_files=\n') monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal']) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_disabled0', '--universal'],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_disabled0', '--universal'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_licenses_disabled0', '--universal']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________________ test_build_number ___________________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist4'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5152f10> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number0') def test_build_number(dummy_dist, monkeypatch, tmpdir): monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal', '--build-number=2']) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number0', '--universal', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number0', '--universal', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number0', '--universal', '--build-number=2']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ____________________________________________________________________________________________________________________ test_build_from_readonly_tree _____________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist5'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf51579f0> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_from_readonly_tree0') def test_build_from_readonly_tree(dummy_dist, monkeypatch, tmpdir): basedir = str(tmpdir.join('dummy')) shutil.copytree(str(dummy_dist), basedir) monkeypatch.chdir(basedir) # Make the tree read-only for root, dirs, files in os.walk(basedir): for fname in files: os.chmod(os.path.join(root, fname), stat.S_IREAD) > subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel']) ../../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' _______________________________________________________________________________________________________________________ test_compression[stored] _______________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist6'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5149bb0> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_stored_0'), option = 'stored', compress_type = 0 @pytest.mark.parametrize('option, compress_type', list(bdist_wheel.supported_compressions.items()), ids=list(bdist_wheel.supported_compressions)) def test_compression(dummy_dist, monkeypatch, tmpdir, option, compress_type): monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal', '--compression={}'.format(option)]) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_stored_0', '--universal', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_stored_0', '--universal', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_stored_0', '--universal', '--compression=stored']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ______________________________________________________________________________________________________________________ test_compression[deflated] ______________________________________________________________________________________________________________________ dummy_dist = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/dummy_dist7'), monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf52aacb0> tmpdir = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_deflated_0'), option = 'deflated', compress_type = 8 @pytest.mark.parametrize('option, compress_type', list(bdist_wheel.supported_compressions.items()), ids=list(bdist_wheel.supported_compressions)) def test_compression(dummy_dist, monkeypatch, tmpdir, option, compress_type): monkeypatch.chdir(dummy_dist) subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '-b', str(tmpdir), > '--universal', '--compression={}'.format(option)]) ../../../../work/wheel-0.34.2/tests/test_bdist_wheel.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_deflated_0', '--universal', ...],), kwargs = {}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_deflated_0', '--universal', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '-b', '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_compression_deflated_0', '--universal', '--compression=deflated']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ___________________________________________________________________________________________________________________________ test_default_tag ___________________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_default_tag0') def test_default_tag(temp_pkg): > subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel'], cwd=str(temp_pkg)) ../../test_tagopt.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_default_tag0'}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________________ test_build_number ___________________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number1') def test_build_number(temp_pkg): subprocess.check_call([sys.executable, 'setup.py', 'bdist_wheel', '--build-number=1'], > cwd=str(temp_pkg)) ../../test_tagopt.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--build-number=1'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_build_number1'}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--build-number=1'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--build-number=1']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________________ test_explicit_tag ___________________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_explicit_tag0') def test_explicit_tag(temp_pkg): subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel', '--python-tag=py32'], > cwd=str(temp_pkg)) ../../test_tagopt.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--python-tag=py32'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_explicit_tag0'}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--python-tag=py32'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--python-tag=py32']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________________ test_universal_tag __________________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_tag0') def test_universal_tag(temp_pkg): subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel', '--universal'], > cwd=str(temp_pkg)) ../../test_tagopt.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_tag0'}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________ test_universal_beats_explicit_tag ___________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_beats_explicit_0') def test_universal_beats_explicit_tag(temp_pkg): subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel', '--universal', '--python-tag=py32'], > cwd=str(temp_pkg)) ../../test_tagopt.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal', '--python-tag=py32'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_beats_explicit_0'}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal', '--python-tag=py32'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--universal', '--python-tag=py32']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' _____________________________________________________________________________________________________________________ test_universal_in_setup_cfg ______________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_in_setup_cfg0') def test_universal_in_setup_cfg(temp_pkg): temp_pkg.join('setup.cfg').write('[bdist_wheel]\nuniversal=1') subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel'], > cwd=str(temp_pkg)) ../../test_tagopt.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_universal_in_setup_cfg0'}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' _____________________________________________________________________________________________________________________ test_pythontag_in_setup_cfg ______________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_pythontag_in_setup_cfg0') def test_pythontag_in_setup_cfg(temp_pkg): temp_pkg.join('setup.cfg').write('[bdist_wheel]\npython_tag=py32') subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel'], > cwd=str(temp_pkg)) ../../test_tagopt.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_pythontag_in_setup_cfg0'}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ________________________________________________________________________________________________________________ test_legacy_wheel_section_in_setup_cfg ________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_legacy_wheel_section_in_s0') def test_legacy_wheel_section_in_setup_cfg(temp_pkg): temp_pkg.join('setup.cfg').write('[wheel]\nuniversal=1') subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel'], > cwd=str(temp_pkg)) ../../test_tagopt.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_legacy_wheel_section_in_s0'}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ________________________________________________________________________________________________________________________ test_plat_name_purepy _________________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_plat_name_purepy0') def test_plat_name_purepy(temp_pkg): subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel', '--plat-name=testplat.pure'], > cwd=str(temp_pkg)) ../../test_tagopt.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--plat-name=testplat.pure'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_plat_name_purepy0'}, retcode = 1 cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--plat-name=testplat.pure'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel', '--plat-name=testplat.pure']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' __________________________________________________________________________________________________________________ test_plat_name_purepy_in_setupcfg ___________________________________________________________________________________________________________________ temp_pkg = local('/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_plat_name_purepy_in_setup0') def test_plat_name_purepy_in_setupcfg(temp_pkg): temp_pkg.join('setup.cfg').write('[bdist_wheel]\nplat_name=testplat.pure') subprocess.check_call( [sys.executable, 'setup.py', 'bdist_wheel'], > cwd=str(temp_pkg)) ../../test_tagopt.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'],), kwargs = {'cwd': '/var/tmp/portage/dev-python/wheel-0.34.2/temp/pytest-of-portage/pytest-0/test_plat_name_purepy_in_setup0'}, retcode = 1, cmd = ['/usr/bin/python2.7', 'setup.py', 'bdist_wheel'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E CalledProcessError: Command '['/usr/bin/python2.7', 'setup.py', 'bdist_wheel']' returned non-zero exit status 1 /usr/lib/python2.7/subprocess.py:190: CalledProcessError ------------------------------------------------------------------------------------------------------------------------- Captured stderr call ------------------------------------------------------------------------------------------------------------------------- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' ====================================================================================================== 18 failed, 34 passed, 4 skipped, 3 error in 84.54 seconds ======================================================================================================= * ERROR: dev-python/wheel-0.34.2::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2990: Called distutils-r1_src_test * environment, line 1232: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 432: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2604: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2075: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2073: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 820: Called distutils-r1_run_phase 'python_test' * environment, line 1169: Called python_test * environment, line 2949: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/wheel-0.34.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/wheel-0.34.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/wheel-0.34.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/wheel-0.34.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2' * S: '/var/tmp/portage/dev-python/wheel-0.34.2/work/wheel-0.34.2'