Skip to content

reviewers: fix removing the last reviewer #1492

reviewers: fix removing the last reviewer

reviewers: fix removing the last reviewer #1492

Triggered via pull request August 26, 2025 08:50
Status Failure
Total duration 4m 2s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 30 warnings
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.9, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L184
test_update_group_reviewers AssertionError: assert [{'group': 'e...p': 'admins'}] == [{'group': 'a...': 'editors'}] At index 0 diff: {'group': 'editors'} != {'group': 'admins'} Full diff: [ + { + 'group': 'editors', + }, { 'group': 'admins', }, - { - 'group': 'editors', - }, ]
Python / Tests (3.9, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L77
test_update_replace_reviewers AssertionError: assert [{'user': '4'}, {'user': '3'}] == [{'user': '3'}, {'user': '4'}] At index 0 diff: {'user': '4'} != {'user': '3'} Full diff: [ + { + 'user': '4', + }, { 'user': '3', }, - { - 'user': '4', - }, ]
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L227
test_update_mixed_user_and_group_reviewers AssertionError: assert [{'group': 'a...{'user': '2'}] == [{'user': '2'...p': 'admins'}] At index 0 diff: {'group': 'admins'} != {'user': '2'} Full diff: [ + { + 'group': 'admins', + }, { 'user': '2', }, - { - 'group': 'admins', - }, ]
Python / Tests (3.12, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L184
test_update_group_reviewers AssertionError: assert [{'group': 'e...p': 'admins'}] == [{'group': 'a...': 'editors'}] At index 0 diff: {'group': 'editors'} != {'group': 'admins'} Full diff: [ + { + 'group': 'editors', + }, { 'group': 'admins', }, - { - 'group': 'editors', - }, ]
Python / Tests (3.12, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L98
test_update_no_reviewers_change AssertionError: assert [{'user': '3'}, {'user': '2'}] == [{'user': '2'}, {'user': '3'}] At index 0 diff: {'user': '3'} != {'user': '2'} Full diff: [ + { + 'user': '3', + }, { 'user': '2', }, - { - 'user': '3', - }, ]
Python / Tests (3.12, postgresql14, opensearch2): tests/services/components/test_request_reviewers_component.py#L32
test_update_add_reviewers AssertionError: assert [{'user': '3'}, {'user': '2'}] == [{'user': '2'}, {'user': '3'}] At index 0 diff: {'user': '3'} != {'user': '2'} Full diff: [ + { + 'user': '3', + }, { 'user': '2', }, - { - 'user': '3', - }, ]
JS / Tests (22.x): invenio_requests/assets/semantic-ui/js/invenio_requests/request/reviewers/components/CollapsedHeader.js#L38
propType "onOpen" is not required, but has no corresponding defaultProps declaration
JS / Tests (22.x): invenio_requests/assets/semantic-ui/js/invenio_requests/request/reviewers/RequestReviewers.js#L111
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records_resources/services/base/links.py#L140
Link is deprecated and will be removed in v14.0. Use `ExternalLink` for third-party links and `EndpointLink` for InvenioRDM links.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.9, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/fs/__init__.py#L4
Deprecated call to `pkg_resources.declare_namespace('fs')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L3146
Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/fs/__init__.py#L4
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Python / Tests (3.12, postgresql14, opensearch2): /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.