Skip to content

i18n: Include *.jinja File Encoding in babel.ini #5906

i18n: Include *.jinja File Encoding in babel.ini

i18n: Include *.jinja File Encoding in babel.ini #5906

Triggered via pull request January 30, 2025 13:20
Status Failure
Total duration 28m 28s
Artifacts

tests.yml

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

Annotations

6 errors and 22 warnings
Python / Tests (3.9, postgresql14, opensearch2): tests/services/schemas/test_version.py#L1
Black format check --- /home/runner/work/invenio-rdm-records/invenio-rdm-records/tests/services/schemas/test_version.py 2025-01-30 13:20:31.697470+00:00 +++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/tests/services/schemas/test_version.py 2025-01-30 13:41:36.530515+00:00 @@ -11,11 +11,11 @@ from marshmallow import ValidationError from invenio_rdm_records.services.schemas.metadata import MetadataSchema [email protected]("version", [("v1.0.0")]) [email protected]("version", ["v1.0.0"]) def test_valid_version(version, app, minimal_record): metadata = minimal_record["metadata"] metadata["version"] = version data = MetadataSchema().load(metadata) assert data["version"] == metadata["version"]
Python / Tests (3.9, postgresql14, opensearch2): invenio_rdm_records/services/communities/components.py#L1
isort-check """Record communities service components.""" from invenio_communities.communities.records.systemfields.access import VisibilityEnum -from invenio_communities.communities.services.components import ChildrenComponent +from invenio_communities.communities.services.components import ( + ChildrenComponent, +) from invenio_communities.communities.services.components import ( CommunityAccessComponent as BaseAccessComponent, )
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): tests/services/schemas/test_version.py#L1
Black format check --- /home/runner/work/invenio-rdm-records/invenio-rdm-records/tests/services/schemas/test_version.py 2025-01-30 13:20:31.284992+00:00 +++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/tests/services/schemas/test_version.py 2025-01-30 13:44:38.858788+00:00 @@ -11,11 +11,11 @@ from marshmallow import ValidationError from invenio_rdm_records.services.schemas.metadata import MetadataSchema [email protected]("version", [("v1.0.0")]) [email protected]("version", ["v1.0.0"]) def test_valid_version(version, app, minimal_record): metadata = minimal_record["metadata"] metadata["version"] = version data = MetadataSchema().load(metadata) assert data["version"] == metadata["version"]
Python / Tests (3.12, postgresql14, opensearch2): invenio_rdm_records/services/communities/components.py#L1
isort-check """Record communities service components.""" from invenio_communities.communities.records.systemfields.access import VisibilityEnum -from invenio_communities.communities.services.components import ChildrenComponent +from invenio_communities.communities.services.components import ( + ChildrenComponent, +) from invenio_communities.communities.services.components import ( CommunityAccessComponent as BaseAccessComponent, )
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/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.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/_pytest/assertion/rewrite.py#L940
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#L943
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#L1053
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#L1055
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#L804
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#L804
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead