============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 rootdir: /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-logging/original configfile: setup.cfg plugins: black-ng-0.4.1, flask-1.3.0, github-actions-annotate-failures-0.4.1, pycodestyle-2.5.0, cov-7.1.0, invenio-4.0.1, pydocstyle-2.4.0, isort-4.0.0 collected 50 items tests/conftest.py ... [ 6%] tests/test_console.py ..... [ 16%] tests/test_examples_app.py ... [ 22%] tests/test_ext.py ... [ 28%] tests/test_fs.py .......::warning file=workdir/tests/invenio-logging/original/tests/test_fs.py,line=77::The 'warn' method is deprecated, use 'warning' instead [ 42%] tests/test_invenio_logging.py ... [ 48%] tests/test_sentry.py ...::warning file=workdir/tests/invenio-logging/original/invenio_logging/sentry.py,line=110::sentry_sdk.configure_scope is deprecated and will be removed in the next major version. Please consult our migration guide to learn how to migrate to the new API: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#scope-configuring .::warning file=workdir/tests/invenio-logging/original/invenio_logging/sentry.py,line=110::sentry_sdk.configure_scope is deprecated and will be removed in the next major version. Please consult our migration guide to learn how to migrate to the new API: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#scope-configuring [ 56%] invenio_logging/__init__.py ....::warning file=workdir/tests/invenio-logging/original/,line=1::This feature is deprecated. [ 64%] invenio_logging/config.py ... [ 70%] invenio_logging/console.py ... [ 76%] invenio_logging/ext.py ... [ 82%] invenio_logging/fs.py ... [ 88%] invenio_logging/sentry.py ... [ 94%] invenio_logging/utils.py ... [100%] =============================== warnings summary =============================== tests/test_fs.py::test_logging /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-logging/original/tests/test_fs.py:77: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead app.logger.warn("My warning") tests/test_sentry.py::test_init tests/test_sentry.py::test_sentry_failure /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-logging/original/invenio_logging/sentry.py:110: DeprecationWarning: sentry_sdk.configure_scope is deprecated and will be removed in the next major version. Please consult our migration guide to learn how to migrate to the new API: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#scope-configuring with configure_scope() as scope: invenio_logging/__init__.py::invenio_logging :1: PendingDeprecationWarning: This feature is deprecated. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.2-final-0 ________________ Name Stmts Miss Cover Missing ----------------------------------------------------------- invenio_logging/__init__.py 3 0 100% invenio_logging/config.py 32 0 100% invenio_logging/console.py 24 0 100% invenio_logging/ext.py 19 0 100% invenio_logging/fs.py 31 0 100% invenio_logging/sentry.py 65 16 75% 17-18, 34-38, 47-48, 79-81, 95, 97, 99, 101, 116-118 invenio_logging/utils.py 8 1 88% 17 ----------------------------------------------------------- TOTAL 182 17 91% ======================= 50 passed, 4 warnings in 12.64s ========================