Skip to content

Metadata checks

Metadata checks #8

Triggered via pull request March 4, 2025 09:57
Status Failure
Total duration 2m 30s
Artifacts

tests.yml

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

Annotations

12 errors and 22 warnings
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_invenio_checks.py#L37
test_view FileNotFoundError: [Errno 2] No such file or directory: '/opt/hostedtoolcache/Python/3.12.9/x64/var/instance/static/dist/manifest.json'
Tests / Tests (3.12, postgresql14, opensearch2): invenio_checks/components.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/components.py:1 at module level: D100: Missing docstring in public module /home/runner/work/invenio-checks/invenio-checks/invenio_checks/components.py:11 in public method `enabled`: D102: Missing docstring in public method
Tests / Tests (3.12, postgresql14, opensearch2): invenio_checks/metadata/check.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/check.py:18 in public class `RuleResult`: D101: Missing docstring in public class
Tests / Tests (3.12, postgresql14, opensearch2): invenio_checks/metadata/expressions.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:37 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:84 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:200 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:251 in public method `__init__`: D107: Missing docstring in __init__
Tests / Tests (3.12, postgresql14, opensearch2): invenio_checks/models.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:1 at module level: D100: Missing docstring in public module /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:10 in public class `Severity`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:16 in public class `CheckConfig`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:33 in public class `CheckRunStatus`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:40 in public class `CheckRun`: D101: Missing docstring in public class
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_invenio_checks.py#L37
test_view FileNotFoundError: [Errno 2] No such file or directory: '/opt/hostedtoolcache/Python/3.9.21/x64/var/instance/static/dist/manifest.json'
Tests / Tests (3.9, postgresql14, opensearch2): invenio_checks/components.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/components.py:1 at module level: D100: Missing docstring in public module /home/runner/work/invenio-checks/invenio-checks/invenio_checks/components.py:11 in public method `enabled`: D102: Missing docstring in public method
Tests / Tests (3.9, postgresql14, opensearch2): invenio_checks/metadata/check.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/check.py:18 in public class `RuleResult`: D101: Missing docstring in public class
Tests / Tests (3.9, postgresql14, opensearch2): invenio_checks/metadata/expressions.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:37 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:84 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:200 in public method `__init__`: D107: Missing docstring in __init__ /home/runner/work/invenio-checks/invenio-checks/invenio_checks/metadata/expressions.py:251 in public method `__init__`: D107: Missing docstring in __init__
Tests / Tests (3.9, postgresql14, opensearch2): invenio_checks/models.py#L1
pydocstyle-check /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:1 at module level: D100: Missing docstring in public module /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:10 in public class `Severity`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:16 in public class `CheckConfig`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:33 in public class `CheckRunStatus`: D101: Missing docstring in public class /home/runner/work/invenio-checks/invenio-checks/invenio_checks/models.py:40 in public class `CheckRun`: D101: Missing docstring in public class
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2)
Cache not found for keys: setup-python-Linux-x64-24.04-Ubuntu-python-3.12.9-pip-0706f38007022c4c567a61f9c39b2b002a165252d9de5ce501d926539a5975cf, setup-python-Linux-x64-24.04-Ubuntu-python-3.12.9-pip
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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
Tests / 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
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L2559
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
Tests / Tests (3.9, postgresql14, opensearch2)
Cache not found for keys: setup-python-Linux-x64-24.04-Ubuntu-python-3.9.21-pip-0706f38007022c4c567a61f9c39b2b002a165252d9de5ce501d926539a5975cf, setup-python-Linux-x64-24.04-Ubuntu-python-3.9.21-pip
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.
Tests / 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.