redis Pulling postgresql Pulling b9136609bef0 Pulling fs layer a97e73913450 Pulling fs layer 83bcad862a56 Pulling fs layer 4ab29a83cab1 Pulling fs layer c662f114637c Pulling fs layer 4f4fb700ef54 Pulling fs layer 7d5f2b031023 Pulling fs layer 4ab29a83cab1 Waiting c662f114637c Waiting 4f4fb700ef54 Waiting 7d5f2b031023 Waiting b0a0cf830b12 Pulling fs layer dda3d8fbd5ed Pulling fs layer 283a477db7bb Pulling fs layer 91d2729fa4d5 Pulling fs layer 9739ced65621 Pulling fs layer ae3bb1b347a4 Pulling fs layer f8406d9c00ea Pulling fs layer c199bff16b05 Pulling fs layer e0d55fdb4d15 Pulling fs layer c1cb13b19080 Pulling fs layer 873532e5f8c7 Pulling fs layer 050d9f8c3b1c Pulling fs layer 710e142705f8 Pulling fs layer cb628c265f09 Pulling fs layer 283a477db7bb Waiting 91d2729fa4d5 Waiting 9739ced65621 Waiting ae3bb1b347a4 Waiting f8406d9c00ea Waiting c199bff16b05 Waiting e0d55fdb4d15 Waiting c1cb13b19080 Waiting 873532e5f8c7 Waiting 050d9f8c3b1c Waiting 710e142705f8 Waiting cb628c265f09 Waiting b0a0cf830b12 Waiting dda3d8fbd5ed Waiting 83bcad862a56 Downloading [==================================================>] 875B/875B a97e73913450 Download complete 83bcad862a56 Verifying Checksum 83bcad862a56 Download complete b9136609bef0 Downloading [> ] 294.3kB/28.24MB c662f114637c Downloading [==================================================>] 96B/96B c662f114637c Verifying Checksum c662f114637c Download complete 4ab29a83cab1 Downloading [> ] 163.2kB/15.35MB b9136609bef0 Verifying Checksum b9136609bef0 Download complete 4f4fb700ef54 Downloading [==================================================>] 32B/32B 4ab29a83cab1 Verifying Checksum 4f4fb700ef54 Download complete 4ab29a83cab1 Download complete b9136609bef0 Extracting [> ] 294.9kB/28.24MB 7d5f2b031023 Download complete b0a0cf830b12 Downloading [> ] 294.2kB/29.15MB dda3d8fbd5ed Downloading [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Verifying Checksum dda3d8fbd5ed Download complete b9136609bef0 Extracting [=========> ] 5.603MB/28.24MB 283a477db7bb Downloading [> ] 48.49kB/4.533MB 283a477db7bb Verifying Checksum 283a477db7bb Download complete 91d2729fa4d5 Downloading [> ] 15.72kB/1.45MB b0a0cf830b12 Downloading [=======================================> ] 23.3MB/29.15MB 91d2729fa4d5 Verifying Checksum 91d2729fa4d5 Download complete b0a0cf830b12 Verifying Checksum b0a0cf830b12 Download complete 9739ced65621 Downloading [> ] 81.28kB/8.069MB b9136609bef0 Extracting [================> ] 9.142MB/28.24MB b0a0cf830b12 Extracting [> ] 294.9kB/29.15MB ae3bb1b347a4 Downloading [> ] 15.72kB/1.196MB 9739ced65621 Verifying Checksum 9739ced65621 Download complete f8406d9c00ea Downloading [==================================================>] 116B/116B f8406d9c00ea Verifying Checksum f8406d9c00ea Download complete ae3bb1b347a4 Verifying Checksum ae3bb1b347a4 Download complete c199bff16b05 Download complete b0a0cf830b12 Extracting [========> ] 4.719MB/29.15MB b9136609bef0 Extracting [===================> ] 11.21MB/28.24MB c1cb13b19080 Downloading [=================> ] 3.478kB/9.925kB c1cb13b19080 Downloading [==================================================>] 9.925kB/9.925kB c1cb13b19080 Verifying Checksum c1cb13b19080 Download complete e0d55fdb4d15 Downloading [> ] 540.7kB/109MB 873532e5f8c7 Downloading [==================================================>] 128B/128B 873532e5f8c7 Download complete 050d9f8c3b1c Downloading [==================================================>] 169B/169B 050d9f8c3b1c Verifying Checksum 050d9f8c3b1c Download complete b9136609bef0 Extracting [==========================> ] 15.04MB/28.24MB b0a0cf830b12 Extracting [==============> ] 8.552MB/29.15MB e0d55fdb4d15 Downloading [============> ] 27.18MB/109MB 710e142705f8 Downloading [================================> ] 3.501kB/5.421kB 710e142705f8 Downloading [==================================================>] 5.421kB/5.421kB 710e142705f8 Verifying Checksum 710e142705f8 Download complete cb628c265f09 Downloading [==================================================>] 184B/184B cb628c265f09 Verifying Checksum cb628c265f09 Download complete b9136609bef0 Extracting [==================================> ] 19.76MB/28.24MB b0a0cf830b12 Extracting [=================> ] 10.03MB/29.15MB e0d55fdb4d15 Downloading [========================> ] 54.4MB/109MB b9136609bef0 Extracting [=========================================> ] 23.3MB/28.24MB e0d55fdb4d15 Downloading [======================================> ] 84.24MB/109MB b0a0cf830b12 Extracting [====================> ] 11.8MB/29.15MB e0d55fdb4d15 Verifying Checksum e0d55fdb4d15 Download complete b0a0cf830b12 Extracting [===============================> ] 18.58MB/29.15MB b9136609bef0 Extracting [==========================================> ] 23.89MB/28.24MB b0a0cf830b12 Extracting [=========================================> ] 24.18MB/29.15MB b9136609bef0 Extracting [===============================================> ] 26.84MB/28.24MB b0a0cf830b12 Extracting [==========================================> ] 24.77MB/29.15MB b0a0cf830b12 Extracting [===============================================> ] 27.72MB/29.15MB b9136609bef0 Extracting [================================================> ] 27.43MB/28.24MB b9136609bef0 Extracting [==================================================>] 28.24MB/28.24MB b9136609bef0 Pull complete a97e73913450 Extracting [==================================================>] 1.101kB/1.101kB a97e73913450 Extracting [==================================================>] 1.101kB/1.101kB a97e73913450 Pull complete 83bcad862a56 Extracting [==================================================>] 875B/875B 83bcad862a56 Extracting [==================================================>] 875B/875B b0a0cf830b12 Extracting [================================================> ] 28.31MB/29.15MB b0a0cf830b12 Extracting [==================================================>] 29.15MB/29.15MB b0a0cf830b12 Pull complete dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Extracting [==================================================>] 1.165kB/1.165kB dda3d8fbd5ed Pull complete 83bcad862a56 Pull complete 283a477db7bb Extracting [> ] 65.54kB/4.533MB 4ab29a83cab1 Extracting [> ] 163.8kB/15.35MB 4ab29a83cab1 Extracting [==================> ] 5.734MB/15.35MB 283a477db7bb Extracting [==================================================>] 4.533MB/4.533MB 283a477db7bb Pull complete 91d2729fa4d5 Extracting [=> ] 32.77kB/1.45MB 4ab29a83cab1 Extracting [========================================> ] 12.45MB/15.35MB 91d2729fa4d5 Extracting [==================================================>] 1.45MB/1.45MB 91d2729fa4d5 Pull complete 9739ced65621 Extracting [> ] 98.3kB/8.069MB 4ab29a83cab1 Extracting [==================================================>] 15.35MB/15.35MB 4ab29a83cab1 Pull complete c662f114637c Extracting [==================================================>] 96B/96B c662f114637c Extracting [==================================================>] 96B/96B c662f114637c Pull complete 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Extracting [==================================================>] 32B/32B 4f4fb700ef54 Pull complete 7d5f2b031023 Extracting [==================================================>] 598B/598B 7d5f2b031023 Extracting [==================================================>] 598B/598B 7d5f2b031023 Pull complete redis Pulled 9739ced65621 Extracting [====================> ] 3.342MB/8.069MB 9739ced65621 Extracting [====================================> ] 5.898MB/8.069MB 9739ced65621 Extracting [==================================================>] 8.069MB/8.069MB 9739ced65621 Pull complete ae3bb1b347a4 Extracting [=> ] 32.77kB/1.196MB ae3bb1b347a4 Extracting [==================================================>] 1.196MB/1.196MB ae3bb1b347a4 Extracting [==================================================>] 1.196MB/1.196MB ae3bb1b347a4 Pull complete f8406d9c00ea Extracting [==================================================>] 116B/116B f8406d9c00ea Extracting [==================================================>] 116B/116B f8406d9c00ea Pull complete c199bff16b05 Extracting [==================================================>] 3.145kB/3.145kB c199bff16b05 Extracting [==================================================>] 3.145kB/3.145kB c199bff16b05 Pull complete e0d55fdb4d15 Extracting [> ] 557.1kB/109MB e0d55fdb4d15 Extracting [===> ] 7.242MB/109MB e0d55fdb4d15 Extracting [====> ] 10.58MB/109MB e0d55fdb4d15 Extracting [=======> ] 16.15MB/109MB e0d55fdb4d15 Extracting [=========> ] 21.73MB/109MB e0d55fdb4d15 Extracting [============> ] 26.74MB/109MB e0d55fdb4d15 Extracting [================> ] 36.21MB/109MB e0d55fdb4d15 Extracting [====================> ] 45.12MB/109MB e0d55fdb4d15 Extracting [========================> ] 52.36MB/109MB e0d55fdb4d15 Extracting [==========================> ] 57.93MB/109MB e0d55fdb4d15 Extracting [==============================> ] 66.29MB/109MB e0d55fdb4d15 Extracting [==================================> ] 75.76MB/109MB e0d55fdb4d15 Extracting [======================================> ] 84.12MB/109MB e0d55fdb4d15 Extracting [==========================================> ] 91.91MB/109MB e0d55fdb4d15 Extracting [===========================================> ] 95.26MB/109MB e0d55fdb4d15 Extracting [============================================> ] 98.04MB/109MB e0d55fdb4d15 Extracting [==============================================> ] 101.9MB/109MB e0d55fdb4d15 Extracting [===============================================> ] 104.2MB/109MB e0d55fdb4d15 Extracting [================================================> ] 105.8MB/109MB e0d55fdb4d15 Extracting [=================================================> ] 107.5MB/109MB e0d55fdb4d15 Extracting [==================================================>] 109MB/109MB e0d55fdb4d15 Pull complete c1cb13b19080 Extracting [==================================================>] 9.925kB/9.925kB c1cb13b19080 Extracting [==================================================>] 9.925kB/9.925kB c1cb13b19080 Pull complete 873532e5f8c7 Extracting [==================================================>] 128B/128B 873532e5f8c7 Extracting [==================================================>] 128B/128B 873532e5f8c7 Pull complete 050d9f8c3b1c Extracting [==================================================>] 169B/169B 050d9f8c3b1c Extracting [==================================================>] 169B/169B 050d9f8c3b1c Pull complete 710e142705f8 Extracting [==================================================>] 5.421kB/5.421kB 710e142705f8 Extracting [==================================================>] 5.421kB/5.421kB 710e142705f8 Pull complete cb628c265f09 Extracting [==================================================>] 184B/184B cb628c265f09 Extracting [==================================================>] 184B/184B cb628c265f09 Pull complete postgresql Pulled Network docker_services_cli_default Creating Network docker_services_cli_default Created Container docker_services_cli-redis-1 Creating Container docker_services_cli-postgresql-1 Creating Container docker_services_cli-postgresql-1 Created Container docker_services_cli-redis-1 Created Container docker_services_cli-postgresql-1 Starting Container docker_services_cli-redis-1 Starting Container docker_services_cli-postgresql-1 Started Container docker_services_cli-redis-1 Started ============================= 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-webhooks/original configfile: setup.cfg testpaths: docs, tests, invenio_webhooks plugins: flask-1.3.0, black-0.6.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 69 items docs/conf.py ... [ 4%] tests/conftest.py ... [ 8%] tests/test_alembic.py ...::warning file=workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/invenio_oauth2server/ext.py,line=327::You are overriding the default OAuthlib "URL encoded" set of valid characters. Make sure that the characters defined in oauthlib.common.urlencoded are indeed limitting your needs. ::warning file=workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/alembic/config.py,line=580::No path_separator found in configuration; falling back to legacy splitting on spaces/commas for version_locations. Consider adding path_separator=os to Alembic config. ::warning file=workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/invenio_oauthclient/alembic/bff1f190b9bd_add_timestamp_oauthclient.py,line=22::datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). [ 13%] tests/test_api.py ......::warning file=workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/flask_security/datastore.py,line=208::get_user method is deprecated, user get_user_by_email/get_user_by_id ... [ 26%] tests/test_invenio_webhooks.py ....s. [ 34%] tests/test_receivers.py ....::warning file=workdir/tests/invenio-webhooks/original/invenio_webhooks/models.py,line=147::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) .....::warning file=workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/celery/backends/base.py,line=577::Results are not stored in backend and should not be retrieved when task_always_eager is enabled, unless task_store_eager_result is enabled. ::warning file=workdir/tests/invenio-webhooks/original/invenio_webhooks/models.py,line=147::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) ::warning file=workdir/tests/invenio-webhooks/original/tests/test_receivers.py,line=221::The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) [ 47%] invenio_webhooks/__init__.py ... [ 52%] invenio_webhooks/_compat.py ... [ 56%] invenio_webhooks/alembic/201faeb649c7_change_datetime_types.py ... [ 60%] invenio_webhooks/alembic/469925575192_create_webhooks_branch.py ... [ 65%] invenio_webhooks/alembic/a095bd179f5c_create_webhooks_tables.py ... [ 69%] invenio_webhooks/config.py ... [ 73%] invenio_webhooks/errors.py ... [ 78%] invenio_webhooks/ext.py ... [ 82%] invenio_webhooks/models.py ... [ 86%] invenio_webhooks/proxies.py ... [ 91%] invenio_webhooks/signatures.py ... [ 95%] invenio_webhooks/views.py ... [100%] =============================== warnings summary =============================== tests/test_alembic.py::test_alembic /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/invenio_oauth2server/ext.py:327: RuntimeWarning: You are overriding the default OAuthlib "URL encoded" set of valid characters. Make sure that the characters defined in oauthlib.common.urlencoded are indeed limitting your needs. warnings.warn( tests/test_alembic.py::test_alembic /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/alembic/config.py:580: DeprecationWarning: No path_separator found in configuration; falling back to legacy splitting on spaces/commas for version_locations. Consider adding path_separator=os to Alembic config. util.warn_deprecated( tests/test_alembic.py::test_alembic /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/invenio_oauthclient/alembic/bff1f190b9bd_add_timestamp_oauthclient.py:22: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). current_date = datetime.utcnow() tests/test_api.py::test_webhook_post_no_token /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/flask_security/datastore.py:208: DeprecationWarning: get_user method is deprecated, user get_user_by_email/get_user_by_id warnings.warn( tests/test_receivers.py::test_receiver_registration tests/test_receivers.py::test_event_status /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/invenio_webhooks/models.py:147: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) event = Event.query.get(event_id) tests/test_receivers.py::test_event_status /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/.venv/lib/python3.14/site-packages/celery/backends/base.py:577: RuntimeWarning: Results are not stored in backend and should not be retrieved when task_always_eager is enabled, unless task_store_eager_result is enabled. warnings.warn( tests/test_receivers.py::test_event_status /home/runner/work/rdm-14-tests/rdm-14-tests/workdir/tests/invenio-webhooks/original/tests/test_receivers.py:221: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) event = Event.query.get(event_id) -- 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_webhooks/__init__.py 5 0 100% invenio_webhooks/_compat.py 8 2 75% 46-47 invenio_webhooks/alembic/201faeb649c7_change_datetime_types.py 13 3 77% 48-50 invenio_webhooks/alembic/469925575192_create_webhooks_branch.py 10 1 90% 49 invenio_webhooks/alembic/a095bd179f5c_create_webhooks_tables.py 16 2 88% 80-81 invenio_webhooks/config.py 3 0 100% invenio_webhooks/errors.py 4 0 100% invenio_webhooks/ext.py 29 1 97% 56 invenio_webhooks/models.py 130 9 93% 196-197, 270-271, 276-277, 283-285 invenio_webhooks/proxies.py 3 0 100% invenio_webhooks/signatures.py 12 0 100% invenio_webhooks/views.py 88 7 92% 114, 141-145, 169 ----------------------------------------------------------------------------------------------- TOTAL 321 25 92% ================== 68 passed, 1 skipped, 8 warnings in 9.81s =================== Container docker_services_cli-redis-1 Stopping Container docker_services_cli-postgresql-1 Stopping Container docker_services_cli-redis-1 Stopped Container docker_services_cli-redis-1 Removing Container docker_services_cli-postgresql-1 Stopped Container docker_services_cli-postgresql-1 Removing Container docker_services_cli-redis-1 Removed Container docker_services_cli-postgresql-1 Removed Network docker_services_cli_default Removing Network docker_services_cli_default Removed