* Package: dev-python/setuptools_scm-3.3.1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 test userland_GNU * FEATURES: compressdebug installsources network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> Unpacking source... >>> Unpacking setuptools_scm-3.3.1.tar.gz to /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work >>> Source unpacked in /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work >>> Preparing source in /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1 ... * 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/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/file_finder_git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/__init__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/win_py31_compat.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/discover.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/version.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/utils.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/file_finder_hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/file_finder.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/integration.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/__main__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/hacks.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/config.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm copying src/setuptools_scm/hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm warning: build_py: byte-compiling is disabled, skipping. * python3_5: running distutils-r1_run_phase distutils-r1_python_compile python3.5 setup.py build running build running build_py creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/file_finder_git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/__init__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/win_py31_compat.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/discover.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/version.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/utils.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/file_finder_hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/file_finder.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/integration.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/__main__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/hacks.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/config.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm copying src/setuptools_scm/hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_5/lib/setuptools_scm warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build running build running build_py creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/file_finder_git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/__init__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/win_py31_compat.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/discover.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/version.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/utils.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/file_finder_hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/file_finder.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/integration.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/__main__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/hacks.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/config.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm copying src/setuptools_scm/hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_6/lib/setuptools_scm warning: build_py: byte-compiling is disabled, skipping. * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/file_finder_git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/__init__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/win_py31_compat.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/discover.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/version.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/utils.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/file_finder_hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/file_finder.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/integration.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/__main__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/hacks.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/config.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm copying src/setuptools_scm/hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python3_7/lib/setuptools_scm warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/setuptools_scm-3.3.1 * python2_7: running distutils-r1_run_phase python_test python2.7 setup.py install --home=/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test --install-lib=/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test/lib --install-scripts=/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test/scripts running install running bdist_egg running egg_info writing src/setuptools_scm.egg-info/PKG-INFO writing top-level names to src/setuptools_scm.egg-info/top_level.txt writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt writing entry points to src/setuptools_scm.egg-info/entry_points.txt reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '*.nix' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching '.travis.yaml' warning: no previously-included files found matching '.pre-commit-config.yaml' writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt' installing library code to /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg running install_lib running build_py warning: build_py: byte-compiling is disabled, skipping. creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64 creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/file_finder_git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/git.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/win_py31_compat.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/discover.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/version.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/utils.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/file_finder_hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/file_finder.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/integration.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__main__.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/hacks.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/config.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm copying /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/hg.py -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/setuptools_scm warning: install_lib: byte-compiling is disabled, skipping. creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/PKG-INFO -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/SOURCES.txt -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/dependency_links.txt -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/entry_points.txt -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/top_level.txt -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO copying src/setuptools_scm.egg-info/zip-safe -> /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg/EGG-INFO creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/dist creating '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/dist/setuptools_scm-3.3.1-py2.7.egg' and adding '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg' to it removing '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/bdist.linux-x86_64/egg' (and everything under it) Creating /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test/lib/site.py Processing setuptools_scm-3.3.1-py2.7.egg Copying setuptools_scm-3.3.1-py2.7.egg to /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test/lib Adding setuptools-scm 3.3.1 to easy-install.pth file Installed /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/test/lib/setuptools_scm-3.3.1-py2.7.egg Processing dependencies for setuptools-scm==3.3.1 Finished processing dependencies for setuptools-scm==3.3.1 ============================================= test session starts ============================================== platform linux2 -- Python 2.7.16, pytest-3.8.2, py-1.5.4, pluggy-0.7.1 -- /usr/bin/python2.7 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1/.hypothesis/examples') setuptools version 41.0.1 from '/usr/lib64/python2.7/site-packages/setuptools/__init__.pyc' setuptools_scm version 2.1.0 from '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py' rootdir: /var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1, inifile: tox.ini plugins: xprocess-0.12.1, xdist-1.23.2, virtualenv-1.2.11, shutil-1.2.11, localserver-0.3.7, forked-0.2, flake8-0.9.1, cov-2.5.1, hypothesis-4.15.0, backports.unittest-mock-1.4 collecting ... collected 123 items testing/test_basic_api.py::test_do[ls] PASSED [ 0%] testing/test_basic_api.py::test_do[dir] PASSED [ 1%] testing/test_basic_api.py::test_data_from_mime PASSED [ 2%] testing/test_basic_api.py::test_version_from_pkginfo PASSED [ 3%] testing/test_basic_api.py::test_root_parameter_creation PASSED [ 4%] testing/test_basic_api.py::test_version_from_scm PASSED [ 4%] testing/test_basic_api.py::test_root_parameter_pass_by PASSED [ 5%] testing/test_basic_api.py::test_fallback FAILED [ 6%] =================================================== FAILURES =================================================== ________________________________________________ test_fallback _________________________________________________ tmpdir = local('/var/tmp/portage/dev-python/setuptools_scm-3.3.1/temp/pytest-of-portage/pytest-0/test_fallback0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1c9ab87c90> def test_fallback(tmpdir, monkeypatch): monkeypatch.delenv("SETUPTOOLS_SCM_DEBUG") p = tmpdir.ensure("sub/package", dir=1) p.join("setup.py").write( """from setuptools import setup setup(use_scm_version={"fallback_version": "12.34"}) """ ) res = do((sys.executable, "setup.py", "--version"), p) > assert res == "12.34" E AssertionError: assert '' == '12.34' E + 12.34 testing/test_basic_api.py:70: AssertionError --------------------------------------------- Captured stdout call --------------------------------------------- cmd ('/usr/bin/python2.7', 'setup.py', '--version') err 'Traceback (most recent call last):\n File "setup.py", line 2, in \n setup(use_scm_version={"fallback_version": "12.34"})\n File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 145, in setup\n return distutils.core.setup(**attrs)\n File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup\n _setup_distribution = dist = klass(attrs)\n File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 444, in __init__\n k: v for k, v in attrs.items()\n File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__\n self.finalize_options()\n File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 732, in finalize_options\n ep.load()(self, ep.name, value)\n File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/integration.py", line 17, in version_keyword\n dist.metadata.version = get_version(**value)\n File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py", line 150, in get_version\n parsed_version = _do_parse(config)\n File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py", line 113, in _do_parse\n "use git+https://github.com/user/proj.git#egg=proj" % config.absolute_root\nLookupError: setuptools-scm was unable to detect version for \'/var/tmp/portage/dev-python/setuptools_scm-3.3.1/temp/pytest-of-portage/pytest-0/test_fallback0/sub/package\'.\n\nMake sure you\'re either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub\'s tarballs, a git checkout without the .git folder) don\'t contain the necessary metadata and will not work.\n\nFor example, if you\'re using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj\n' ret 1 Traceback (most recent call last): File "setup.py", line 2, in setup(use_scm_version={"fallback_version": "12.34"}) File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 444, in __init__ k: v for k, v in attrs.items() File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__ self.finalize_options() File "/usr/lib64/python2.7/site-packages/setuptools/dist.py", line 732, in finalize_options ep.load()(self, ep.name, value) File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/integration.py", line 17, in version_keyword dist.metadata.version = get_version(**value) File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py", line 150, in get_version parsed_version = _do_parse(config) File "/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1-python2_7/lib/setuptools_scm/__init__.py", line 113, in _do_parse "use git+https://github.com/user/proj.git#egg=proj" % config.absolute_root LookupError: setuptools-scm was unable to detect version for '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/temp/pytest-of-portage/pytest-0/test_fallback0/sub/package'. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work. For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj ====================================== 1 failed, 7 passed in 1.01 seconds ====================================== * ERROR: dev-python/setuptools_scm-3.3.1::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2672: Called distutils-r1_src_test * environment, line 898: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 344: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2193: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1553: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1551: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 556: Called distutils-r1_run_phase 'python_test' * environment, line 829: Called python_test * environment, line 2574: Called die * The specific snippet of code: * py.test -v -v -x || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/setuptools_scm-3.3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/setuptools_scm-3.3.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/setuptools_scm-3.3.1:20190801-175955.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1' * S: '/var/tmp/portage/dev-python/setuptools_scm-3.3.1/work/setuptools_scm-3.3.1'