Description of problem: Package oraculum fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 0.2.4-8.fc37 Steps to Reproduce: koji build --scratch f38 oraculum-0.2.4-8.fc37.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/oraculum + /usr/bin/python3 -m tox --current-env -q --recreate -e py311 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 cachedir: .tox/py311/.pytest_cache rootdir: /builddir/build/BUILD/oraculum-0.2.4, configfile: tox.ini collected 0 items / 7 errors ==================================== ERRORS ==================================== ___________ ERROR collecting tests/test_packager_dashboard_bodhi.py ____________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_bodhi.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_bodhi.py:7: in <module> from oraculum.utils import bodhi oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) __________ ERROR collecting tests/test_packager_dashboard_bugzilla.py __________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_bugzilla.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_bugzilla.py:4: in <module> from oraculum.utils import bugzilla oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) ________ ERROR collecting tests/test_packager_dashboard_health_check.py ________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_health_check.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_health_check.py:6: in <module> from oraculum.utils import health_check oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) __________ ERROR collecting tests/test_packager_dashboard_helpers.py ___________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_helpers.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_helpers.py:5: in <module> from oraculum.utils import dashboard_helpers oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) __________ ERROR collecting tests/test_packager_dashboard_koschei.py ___________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_koschei.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_koschei.py:4: in <module> from oraculum.utils import koschei oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) __________ ERROR collecting tests/test_packager_dashboard_orphans.py ___________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_orphans.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_orphans.py:4: in <module> from oraculum.utils import orphans oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) ___________ ERROR collecting tests/test_packager_dashboard_pagure.py ___________ ImportError while importing test module '/builddir/build/BUILD/oraculum-0.2.4/tests/test_packager_dashboard_pagure.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_packager_dashboard_pagure.py:4: in <module> from oraculum.utils import pagure oraculum/__init__.py:28: in <module> from flask_oidc import OpenIDConnect /usr/lib/python3.11/site-packages/flask_oidc/__init__.py:41: in <module> from itsdangerous import JSONWebSignatureSerializer, BadSignature, \ E ImportError: cannot import name 'JSONWebSignatureSerializer' from 'itsdangerous' (/usr/lib/python3.11/site-packages/itsdangerous/__init__.py) =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py:14 ../../../../usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py:14 /usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py:14: DeprecationWarning: '_app_ctx_stack' is deprecated and will be removed in Flask 2.3. from flask import _app_ctx_stack, abort, current_app, request -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_packager_dashboard_bodhi.py ERROR tests/test_packager_dashboard_bugzilla.py ERROR tests/test_packager_dashboard_health_check.py ERROR tests/test_packager_dashboard_helpers.py ERROR tests/test_packager_dashboard_koschei.py ERROR tests/test_packager_dashboard_orphans.py ERROR tests/test_packager_dashboard_pagure.py !!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!! ======================== 2 warnings, 7 errors in 1.17s ========================= ERROR: InvocationError for command /usr/bin/pytest (exited with code 2) ___________________________________ summary ____________________________________ ERROR: py311: commands failed
Fixed by python-flask-oidc-1.5.0-1.fc38 .