INSPIRE harvester: add reader component #477
Annotations
7 errors and 20 warnings
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
site/tests/inspire_harvester/test_reader.py#L1
isort-check
from unittest.mock import Mock, patch
import pytest
+from invenio_vocabularies.datastreams.errors import ReaderError
+
from cds_rdm.inspire_harvester.reader import InspireHTTPReader
-from invenio_vocabularies.datastreams.errors import ReaderError
def test_reader_response_400():
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
site/cds_rdm/inspire_harvester/jobs.py#L1
pydocstyle-check
/home/runner/work/cds-rdm/cds-rdm/site/cds_rdm/inspire_harvester/jobs.py:62 in public method `validate_date_range`:
D400: First line should end with a period (not 'l')
/home/runner/work/cds-rdm/cds-rdm/site/cds_rdm/inspire_harvester/jobs.py:73 in public method `validate_exclusive_arguments`:
D200: One-line docstring should fit on one line with quotes (found 3)
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18)
Process completed with exit code 1.
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The job was canceled because "site_3_9_postgresql14_ope" failed.
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
site/tests/inspire_harvester/test_reader.py#L1
isort-check
from unittest.mock import Mock, patch
import pytest
+from invenio_vocabularies.datastreams.errors import ReaderError
+
from cds_rdm.inspire_harvester.reader import InspireHTTPReader
-from invenio_vocabularies.datastreams.errors import ReaderError
def test_reader_response_400():
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
site/cds_rdm/inspire_harvester/jobs.py#L1
pydocstyle-check
/home/runner/work/cds-rdm/cds-rdm/site/cds_rdm/inspire_harvester/jobs.py:62 in public method `validate_date_range`:
D400: First line should end with a period (not 'l')
/home/runner/work/cds-rdm/cds-rdm/site/cds_rdm/inspire_harvester/jobs.py:73 in public method `validate_exclusive_arguments`:
D200: One-line docstring should fit on one line with quotes (found 3)
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18)
The operation was canceled.
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
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 (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
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 (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/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
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/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 (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pkg_resources/__init__.py#L2554
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 (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/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.
|
Tests (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
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 (site, 3.9, postgresql14, opensearch2, redis, rabbitmq, 18):
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.
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
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
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#L672
Attribute s is deprecated and will be removed in Python 3.14; use value instead
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
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
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#L672
Attribute s is deprecated and will be removed in Python 3.14; use value instead
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Tests (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/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 (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/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 (site, 3.12, postgresql14, opensearch2, redis, rabbitmq, 18):
opt/hostedtoolcache/Python/3.12.8/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
|