metadata: add copyrights #6189
Annotations
8 errors and 26 warnings
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/resources/serializers/datacite/schema.py#L0
Black format check
--- /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/resources/serializers/datacite/schema.py 2025-04-23 08:09:22.232291+00:00
+++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/resources/serializers/datacite/schema.py 2025-04-23 08:16:28.130109+00:00
@@ -570,12 +570,16 @@
link = right.get("props", {}).get("url") or right.get("link", {})
if link:
entry["rightsUri"] = link
serialized_rights.append(entry)
if copyright:
- serialized_rights.append({"rights": copyright,
- "rightsUri": "http://rightsstatements.org/vocab/InC/1.0/"})
+ serialized_rights.append(
+ {
+ "rights": copyright,
+ "rightsUri": "http://rightsstatements.org/vocab/InC/1.0/",
+ }
+ )
return serialized_rights if serialized_rights else missing
def get_funding(self, obj):
"""Get funding references."""
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/schemas/test_funding.py#L58
test_valid_funding[funding1]
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/records/systemfields/test_access_systemfield.py#L288
test_owner_resolve_invalid
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_rdm_records/resources/serializers/datacite/schema.py#L0
Black format check
--- /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/resources/serializers/datacite/schema.py 2025-04-23 08:09:19.816171+00:00
+++ /home/runner/work/invenio-rdm-records/invenio-rdm-records/invenio_rdm_records/resources/serializers/datacite/schema.py 2025-04-23 08:17:46.561462+00:00
@@ -570,12 +570,16 @@
link = right.get("props", {}).get("url") or right.get("link", {})
if link:
entry["rightsUri"] = link
serialized_rights.append(entry)
if copyright:
- serialized_rights.append({"rights": copyright,
- "rightsUri": "http://rightsstatements.org/vocab/InC/1.0/"})
+ serialized_rights.append(
+ {
+ "rights": copyright,
+ "rightsUri": "http://rightsstatements.org/vocab/InC/1.0/",
+ }
+ )
return serialized_rights if serialized_rights else missing
def get_funding(self, obj):
"""Get funding references."""
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/schemas/test_funding.py#L58
test_valid_funding[funding1]
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/records/systemfields/test_access_systemfield.py#L288
test_owner_resolve_invalid
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
|
JS / Tests (18.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/License/LicenseModal.js#L92
Must use destructuring state assignment
|
JS / Tests (18.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/CopyrightsField/CopyrightsField.js#L19
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
|
JS / Tests (18.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AccessField/AccessRightField.js#L101
propType "id" is not required, but has no corresponding defaultProps declaration
|
JS / Tests (20.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/License/LicenseModal.js#L92
Must use destructuring state assignment
|
JS / Tests (20.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/CopyrightsField/CopyrightsField.js#L19
Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all
|
JS / Tests (20.x):
invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AccessField/AccessRightField.js#L101
propType "id" is not required, but has no corresponding defaultProps declaration
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/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.22/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.22/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.22/x64/lib/python3.9/site-packages/invenio_records_resources/services/base/links.py#L137
Link is deprecated and will be removed in v14.0. Use `ExternalLink` for third-party links and `EndpointLink` for InvenioRDM links.
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.22/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.22/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.22/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.22/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.22/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.22/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.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.10/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.10/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.10/x64/lib/python3.12/site-packages/invenio_records_resources/services/base/links.py#L137
Link is deprecated and will be removed in v14.0. Use `ExternalLink` for third-party links and `EndpointLink` for InvenioRDM links.
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.10/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.10/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.10/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.10/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.10/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.10/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.10/x64/lib/python3.12/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|