Skip to content

pids: pass optional DOI transitions in the upload form #5599

pids: pass optional DOI transitions in the upload form

pids: pass optional DOI transitions in the upload form #5599

Re-run triggered January 21, 2025 11:45
Status Failure
Total duration 4m 38s
Artifacts

tests.yml

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

Annotations

4 errors and 20 warnings
Python / Tests (3.9, postgresql14, opensearch2): invenio_app_rdm/records_ui/views/deposits.py#L1
isort-check from invenio_rdm_records.proxies import current_rdm_records from invenio_rdm_records.records.api import get_files_quota from invenio_rdm_records.resources.serializers import UIJSONSerializer -from invenio_rdm_records.services.components.pids import ( - _get_optional_doi_transitions, -) +from invenio_rdm_records.services.components.pids import _get_optional_doi_transitions from invenio_rdm_records.services.schemas import RDMRecordSchema from invenio_rdm_records.services.schemas.utils import dump_empty from invenio_records_resources.services.errors import PermissionDeniedError
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): invenio_app_rdm/records_ui/views/deposits.py#L1
isort-check from invenio_rdm_records.proxies import current_rdm_records from invenio_rdm_records.records.api import get_files_quota from invenio_rdm_records.resources.serializers import UIJSONSerializer -from invenio_rdm_records.services.components.pids import ( - _get_optional_doi_transitions, -) +from invenio_rdm_records.services.components.pids import _get_optional_doi_transitions from invenio_rdm_records.services.schemas import RDMRecordSchema from invenio_rdm_records.services.schemas.utils import dump_empty from invenio_records_resources.services.errors import PermissionDeniedError
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.9, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.9.21/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.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.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#L670
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
Python / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#L670
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
Python / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/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.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.8/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.8/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.