frontend: add direct link to request if user has access #6561
Annotations
6 errors and 30 warnings
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_app_rdm/records_ui/views/records.py#L0
Black format check
--- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 15:59:38.288280+00:00
+++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 16:03:49.142311+00:00
@@ -112,11 +112,11 @@
)
if not can_review:
return {}
if identity.id == None:
- return {} # secret link users do not have permissions to search requests
+ return {} # secret link users do not have permissions to search requests
record_requests = current_requests_service.search(
identity,
extra_filter=dsl.Q(
"bool",
|
|
Python / Tests (3.14, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
Python / Tests (3.14, postgresql14, opensearch2):
invenio_app_rdm/records_ui/views/records.py#L0
Black format check
--- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 15:59:36.302460+00:00
+++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 16:03:56.566979+00:00
@@ -112,11 +112,11 @@
)
if not can_review:
return {}
if identity.id == None:
- return {} # secret link users do not have permissions to search requests
+ return {} # secret link users do not have permissions to search requests
record_requests = current_requests_service.search(
identity,
extra_filter=dsl.Q(
"bool",
|
|
Python / Tests (3.11, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
Python / Tests (3.11, postgresql14, opensearch2):
invenio_app_rdm/records_ui/views/records.py#L0
Black format check
--- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 15:59:37.128796+00:00
+++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/records_ui/views/records.py 2025-12-04 16:04:07.079946+00:00
@@ -112,11 +112,11 @@
)
if not can_review:
return {}
if identity.id == None:
- return {} # secret link users do not have permissions to search requests
+ return {} # secret link users do not have permissions to search requests
record_requests = current_requests_service.search(
identity,
extra_filter=dsl.Q(
"bool",
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/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.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/pkg_resources/__init__.py#L3147
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.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.25/x64/lib/python3.9/site-packages/fs/__init__.py#L4
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.25/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.25/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.25/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.25/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.25/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.25/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.25/x64/lib/python3.9/site-packages/invenio_vocabularies/config.py#L15
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
|
Python / Tests (3.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/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.14, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/site-packages/invenio_vocabularies/config.py#L15
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
|
Python / Tests (3.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/pkg_resources/__init__.py#L3147
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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/fs/__init__.py#L4
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
|
|
Python / Tests (3.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/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.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/invenio_vocabularies/config.py#L15
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
|
Python / Tests (3.11, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|