requests: split mine and shared with me #1311
Annotations
14 errors and 24 warnings
JS / Tests (20.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/search/RequestsSearchLayout.js#L23
'showSharedDropdown' is missing in props validation
|
JS / Tests (20.x)
Process completed with exit code 1.
|
JS / Tests (18.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/search/RequestsSearchLayout.js#L23
'showSharedDropdown' is missing in props validation
|
JS / Tests (18.x)
Process completed with exit code 1.
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/user_moderation/test_user_moderation_resources.py#L136
test_search_as_user
AssertionError: assert 1 == 0
+ where 1 = len([{'created': '2025-02-15T20:02:24.699326+00:00', 'created_by': {'group': 'administration-moderation'}, 'expires_at': None, 'id': '3b742d24-be37-449b-9d87-d5cfc2168a77', ...}])
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/user_moderation/test_user_moderation_service.py#L67
test_search_moderation
assert 2 == 1
+ where 2 = <invenio_requests.services.requests.results.RequestList object at 0x7f1f918d8820>.total
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/user_moderation/test_user_moderation_service.py#L146
test_read
Failed: DID NOT RAISE <class 'invenio_records_resources.services.errors.PermissionDeniedError'>
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_requests/services/requests/params.py#L1
isort-check
"""Search parameter interpreters for requests."""
from functools import partial
-from opensearch_dsl import Q
from invenio_records_resources.services.records.params import (
FilterParam,
ParamInterpreter,
)
+from opensearch_dsl import Q
from ...resolvers.registry import ResolverRegistry
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/user_moderation/test_user_moderation_resources.py#L136
test_search_as_user
AssertionError: assert 1 == 0
+ where 1 = len([{'created': '2025-02-15T20:02:45.312918+00:00', 'created_by': {'group': 'administration-moderation'}, 'expires_at': None, 'id': 'f1b29612-67d5-4a82-92d1-208f888cc33e', ...}])
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/user_moderation/test_user_moderation_service.py#L67
test_search_moderation
assert 2 == 1
+ where 2 = <invenio_requests.services.requests.results.RequestList object at 0x7fa242640110>.total
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/user_moderation/test_user_moderation_service.py#L145
test_read
Failed: DID NOT RAISE <class 'invenio_records_resources.services.errors.PermissionDeniedError'>
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_requests/services/requests/params.py#L1
isort-check
"""Search parameter interpreters for requests."""
from functools import partial
-from opensearch_dsl import Q
from invenio_records_resources.services.records.params import (
FilterParam,
ParamInterpreter,
)
+from opensearch_dsl import Q
from ...resolvers.registry import ResolverRegistry
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
JS / Tests (20.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/search/SharedOrMyRequestsFilterComponent.js#L11
'Button' is defined but never used
|
JS / Tests (20.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/timeline/TimelineFeed.js#L19
'_' is defined but never used
|
JS / Tests (18.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/search/SharedOrMyRequestsFilterComponent.js#L11
'Button' is defined but never used
|
JS / Tests (18.x):
invenio_requests/assets/semantic-ui/js/invenio_requests/timeline/TimelineFeed.js#L19
'_' is defined but never used
|
Python / Tests (3.9, postgresql14, opensearch2):
opt/hostedtoolcache/Python/3.9.21/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.21/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.21/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.21/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.21/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.21/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.21/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.21/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.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L582
The 'default' argument to fields is deprecated. Use 'dump_default' instead.
|
Python / Tests (3.9, postgresql14, opensearch2):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1218
The 'default' argument to fields is deprecated. Use 'dump_default' instead.
|
Python / Tests (3.12, postgresql14, opensearch2):
opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|
Python / Tests (3.12, postgresql14, opensearch2):
opt/hostedtoolcache/Python/3.12.9/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.9/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.9/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.9/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.9/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.9/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.9/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.9/x64/lib/python3.12/site-packages/fs/opener/__init__.py#L6
Deprecated call to `pkg_resources.declare_namespace('fs.opener')`.
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.9/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L2554
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
|