* Package: dev-python/openapi-spec-validator-0.6.0:0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 test * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking openapi_spec_validator-0.6.0.tar.gz to /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work >>> Source unpacked in /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work >>> Preparing source in /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0 ... * Build system packages: * dev-python/gpep517 : 15 * dev-python/installer : 0.7.0 * dev-python/poetry-core : 1.7.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for openapi_spec_validator-0.6.0 via poetry.core.masonry.api gpep517 build-wheel --backend poetry.core.masonry.api --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/wheel 2023-10-03 04:17:21,111 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2023-10-03 04:17:21,368 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any parent up to mount point /var) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). 2023-10-03 04:17:21,404 poetry.core.masonry.builders.wheel INFO Built openapi_spec_validator-0.6.0-py3-none-any.whl 2023-10-03 04:17:21,404 gpep517 INFO The backend produced /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/wheel/openapi_spec_validator-0.6.0-py3-none-any.whl * Installing openapi_spec_validator-0.6.0-py3-none-any.whl to /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/install gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/wheel/openapi_spec_validator-0.6.0-py3-none-any.whl 2023-10-03 04:17:21,567 gpep517 INFO Installing /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/wheel/openapi_spec_validator-0.6.0-py3-none-any.whl into /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/install 2023-10-03 04:17:21,617 gpep517 INFO Installation complete >>> Source compiled. >>> Test phase: dev-python/openapi-spec-validator-0.6.0 * python3_11: running distutils-r1_run_phase python_test python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern --deselect tests/integration/test_shortcuts.py::TestPetstoreV2Example --deselect tests/integration/test_shortcuts.py::TestApiV2WithExampe --deselect tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample --deselect tests/integration/test_shortcuts.py::TestPetstoreExample --deselect tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl --deselect tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl --deselect tests/integration/test_shortcuts.py::TestApiWithExample --deselect tests/integration/test_shortcuts.py::TestPetstoreExpandedExample --deselect tests/integration/test_validate.py::TestPetstoreExample --deselect tests/integration/test_validate.py::TestApiWithExample --deselect tests/integration/test_validate.py::TestPetstoreExpandedExample --deselect tests/integration/validation/test_validators.py ============================= test session starts ============================== platform linux -- Python 3.11.5, pytest-7.4.0, pluggy-1.3.0 -- /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0-python3_11/install/usr/bin/python3.11 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0 configfile: pyproject.toml plugins: pkgcore-0.12.23 collecting ... collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:642: in _importconftest mod = import_path(conftestpath, mode=importmode, root=rootpath) conftestpath = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') exc_info = (, ImportError("cannot import name '_legacy_validators' from 'jsonschema' (/usr/lib/python3.11/site-packages/jsonschema/__init__.py)"), ) existing = None importmode = 'prepend' pkgpath = None rootpath = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0') self = <_pytest.config.PytestPluginManager object at 0x7f123540a950> /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) mode = module_name = 'conftest' p = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') path = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') pkg_path = None pkg_root = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration') root = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'conftest' package = None :1204: in _gcd_import ??? level = 0 name = 'conftest' package = None :1176: in _find_and_load ??? import_ = module = name = 'conftest' :1147: in _find_and_load_unlocked ??? import_ = name = 'conftest' parent = '' parent_spec = None path = None spec = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f12348c2210>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') :690: in _load_unlocked ??? module = spec = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f12348c2210>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) cache_dir = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/__pycache__') cache_name = 'conftest.cpython-311-pytest-7.4.0.pyc' co = at 0x7f123493b0a0, file "/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py", line 1> fn = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') module = pyc = PosixPath('/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/__pycache__/conftest.cpython-311-pytest-7.4.0.pyc') self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f12348c2210> source_stat = os.stat_result(st_mode=33188, st_ino=2711004, st_dev=101, st_nlink=1, st_uid=250, st_gid=250, st_size=1401, st_atime=1696303037, st_mtime=1688975865, st_ctime=1696303037) state = <_pytest.assertion.AssertionState object at 0x7f123488ab50> write = False tests/integration/conftest.py:9: in from openapi_spec_validator import openapi_v2_spec_validator FilePathHandler = PurePath = UrllibHandler = __builtins__ = __cached__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/__pycache__/conftest.cpython-311.pyc' __doc__ = None __file__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py' __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f12348c2210> __name__ = 'conftest' __package__ = '' __spec__ = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f12348c2210>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/tests/integration/conftest.py') path = pytest = urlunparse = openapi_spec_validator/__init__.py:2: in from openapi_spec_validator.shortcuts import validate_spec __builtins__ = __cached__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/__pycache__/__init__.cpython-311.pyc' __doc__ = 'OpenAPI spec validator module.' __file__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f12347304d0> __name__ = 'openapi_spec_validator' __package__ = 'openapi_spec_validator' __path__ = ['/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator'] __spec__ = ModuleSpec(name='openapi_spec_validator', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f12347304d0>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/__init__.py', submodule_search_locations=['/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator']) openapi_spec_validator/shortcuts.py:9: in from openapi_spec_validator.validation import openapi_spec_validator_proxy Any = typing.Any Hashable = typing.Hashable Mapping = typing.Mapping Optional = typing.Optional __builtins__ = __cached__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/__pycache__/shortcuts.cpython-311.pyc' __doc__ = 'OpenAPI spec validator shortcuts module.' __file__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/shortcuts.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f1233520250> __name__ = 'openapi_spec_validator.shortcuts' __package__ = 'openapi_spec_validator' __spec__ = ModuleSpec(name='openapi_spec_validator.shortcuts', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f1233520250>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/shortcuts.py') all_urls_handler = openapi_spec_validator/validation/__init__.py:7: in from openapi_schema_validator import oas30_format_checker Draft202012Validator = Draft4Validator = Proxy = __builtins__ = __cached__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/validation/__pycache__/__init__.cpython-311.pyc' __doc__ = None __file__ = '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/validation/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f1233520850> __name__ = 'openapi_spec_validator.validation' __package__ = 'openapi_spec_validator.validation' __path__ = ['/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/validation'] __spec__ = ModuleSpec(name='openapi_spec_validator.validation', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f1233520850>, origin='/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/validation/__init__.py', submodule_search_locations=['/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/openapi_spec_validator/validation']) default_handlers = {'': , 'file': , 'http': , 'https': } partial = /usr/lib/python3.11/site-packages/openapi_schema_validator/__init__.py:3: in from openapi_schema_validator.shortcuts import validate __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/__pycache__/__init__.cpython-311.pyc' __doc__ = None __file__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f1233521350> __name__ = 'openapi_schema_validator' __package__ = 'openapi_schema_validator' __path__ = ['/usr/lib/python3.11/site-packages/openapi_schema_validator'] __spec__ = ModuleSpec(name='openapi_schema_validator', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f1233521350>, origin='/usr/lib/python3.11/site-packages/openapi_schema_validator/__init__.py', submodule_search_locations=['/usr/lib/python3.11/site-packages/openapi_schema_validator']) _format = oas30_format_checker = oas31_format_checker = /usr/lib/python3.11/site-packages/openapi_schema_validator/shortcuts.py:9: in from openapi_schema_validator.validators import OAS31Validator Any = typing.Any Hashable = typing.Hashable Mapping = typing.Mapping Type = typing.Type Validator = __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/__pycache__/shortcuts.cpython-311.pyc' __doc__ = None __file__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/shortcuts.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f1233331f10> __name__ = 'openapi_schema_validator.shortcuts' __package__ = 'openapi_schema_validator' __spec__ = ModuleSpec(name='openapi_schema_validator.shortcuts', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f1233331f10>, origin='/usr/lib/python3.11/site-packages/openapi_schema_validator/shortcuts.py') best_match = /usr/lib/python3.11/site-packages/openapi_schema_validator/validators.py:5: in from jsonschema import _legacy_validators E ImportError: cannot import name '_legacy_validators' from 'jsonschema' (/usr/lib/python3.11/site-packages/jsonschema/__init__.py) Any = typing.Any Type = typing.Type __builtins__ = __cached__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/__pycache__/validators.cpython-311.pyc' __doc__ = None __file__ = '/usr/lib/python3.11/site-packages/openapi_schema_validator/validators.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f1233332190> __name__ = 'openapi_schema_validator.validators' __package__ = 'openapi_schema_validator' __spec__ = ModuleSpec(name='openapi_schema_validator.validators', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f1233332190>, origin='/usr/lib/python3.11/site-packages/openapi_schema_validator/validators.py') warnings = - generated xml file: /var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0/reports/junit.xml - =========================== short test summary info ============================ ERROR - ImportError: cannot import name '_legacy_validators' from 'jsonschema' (/us... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.53s =============================== * ERROR: dev-python/openapi-spec-validator-0.6.0::gentoo failed (test phase): * pytest failed with python3.11 * * Call stack: * ebuild.sh, line 136: Called src_test * environment, line 4161: Called distutils-r1_src_test * environment, line 2019: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 751: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3764: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3116: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3114: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1244: Called distutils-r1_run_phase 'python_test' * environment, line 1942: Called python_test * environment, line 4047: Called distutils-r1_python_test * environment, line 1886: Called epytest * environment, line 2546: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-python/openapi-spec-validator-0.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/openapi-spec-validator-0.6.0::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/openapi-spec-validator-0.6.0:20231003-031716.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0' * S: '/var/tmp/portage/dev-python/openapi-spec-validator-0.6.0/work/openapi_spec_validator-0.6.0'