diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ebb5f3f35..d7d61d0a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.14] db-service: [postgresql14] search-service: [opensearch2] diff --git a/cds_ils/circulation/indexer.py b/cds_ils/circulation/indexer.py index 94de64f61..fe6377e4c 100644 --- a/cds_ils/circulation/indexer.py +++ b/cds_ils/circulation/indexer.py @@ -6,6 +6,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """Loan indexer APIs.""" + from flask import current_app from invenio_app_ils.proxies import current_app_ils from invenio_pidstore.errors import PIDDeletedError diff --git a/cds_ils/circulation/serializers/__init__.py b/cds_ils/circulation/serializers/__init__.py index 8f23c2450..efa7edd4c 100644 --- a/cds_ils/circulation/serializers/__init__.py +++ b/cds_ils/circulation/serializers/__init__.py @@ -6,6 +6,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """Loan serializers.""" + from invenio_app_ils.circulation.serializers.csv import LoanCSVSerializer from invenio_app_ils.records.schemas.json import ILSRecordSchemaJSONV1 from invenio_app_ils.records.serializers import record_responsify_no_etag diff --git a/cds_ils/importer/XMLRecordLoader.py b/cds_ils/importer/XMLRecordLoader.py index af9b8d4ca..880278f0c 100644 --- a/cds_ils/importer/XMLRecordLoader.py +++ b/cds_ils/importer/XMLRecordLoader.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS RecordDumpLoader module.""" + import importlib_metadata from cds_ils.importer.errors import RecordNotDeletable, UnknownProvider diff --git a/cds_ils/importer/base_model.py b/cds_ils/importer/base_model.py index d7d2a9235..07c3c5b0d 100644 --- a/cds_ils/importer/base_model.py +++ b/cds_ils/importer/base_model.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer base module.""" + from cds_ils.importer.overdo import CdsIlsOverdo diff --git a/cds_ils/importer/documents/api.py b/cds_ils/importer/documents/api.py index fcf3a3bec..47f9d55dd 100644 --- a/cds_ils/importer/documents/api.py +++ b/cds_ils/importer/documents/api.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer module.""" + from invenio_app_ils.proxies import current_app_ils from invenio_search.engine import dsl diff --git a/cds_ils/importer/documents/importer.py b/cds_ils/importer/documents/importer.py index a4ce2c60f..ed75f4de5 100644 --- a/cds_ils/importer/documents/importer.py +++ b/cds_ils/importer/documents/importer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer documents module.""" + import datetime import uuid from copy import deepcopy diff --git a/cds_ils/importer/handlers.py b/cds_ils/importer/handlers.py index 360c7175a..3ca7a8792 100644 --- a/cds_ils/importer/handlers.py +++ b/cds_ils/importer/handlers.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer exception handlers module.""" + from invenio_app_ils.errors import ( IlsValidationError, RecordHasReferencesError, diff --git a/cds_ils/importer/importer.py b/cds_ils/importer/importer.py index 92123ae34..de24e5fd5 100644 --- a/cds_ils/importer/importer.py +++ b/cds_ils/importer/importer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer module.""" + import time from copy import deepcopy diff --git a/cds_ils/importer/json/views.py b/cds_ils/importer/json/views.py index a9faf971c..eabe503a5 100644 --- a/cds_ils/importer/json/views.py +++ b/cds_ils/importer/json/views.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-IlS JSON Importer views module.""" + from flask import abort, current_app, request from invenio_app_ils.permissions import need_permissions from invenio_app_ils.proxies import current_app_ils diff --git a/cds_ils/importer/loaders/jsonschemas/schema.py b/cds_ils/importer/loaders/jsonschemas/schema.py index 3d83106d3..670a534d4 100644 --- a/cds_ils/importer/loaders/jsonschemas/schema.py +++ b/cds_ils/importer/loaders/jsonschemas/schema.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """Importer loader.""" + from flask import current_app from marshmallow import Schema, fields, validate from werkzeug.local import LocalProxy diff --git a/cds_ils/importer/parse_xml.py b/cds_ils/importer/parse_xml.py index c0dea7248..3f00017d6 100644 --- a/cds_ils/importer/parse_xml.py +++ b/cds_ils/importer/parse_xml.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer xml parser module.""" + from flask import current_app from lxml import etree diff --git a/cds_ils/importer/providers/cds/cds.py b/cds_ils/importer/providers/cds/cds.py index e34880bed..0fdca480c 100644 --- a/cds_ils/importer/providers/cds/cds.py +++ b/cds_ils/importer/providers/cds/cds.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS CDS Importer module.""" + from copy import deepcopy from cds_ils.importer.base_model import Base diff --git a/cds_ils/importer/providers/cds/document_importer.py b/cds_ils/importer/providers/cds/document_importer.py index 3ff64c42c..9c6660568 100644 --- a/cds_ils/importer/providers/cds/document_importer.py +++ b/cds_ils/importer/providers/cds/document_importer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Document Importer module.""" + from flask import current_app from invenio_pidstore.models import PersistentIdentifier diff --git a/cds_ils/importer/providers/cds/helpers/decorators.py b/cds_ils/importer/providers/cds/helpers/decorators.py index 47637ec6d..b13962319 100644 --- a/cds_ils/importer/providers/cds/helpers/decorators.py +++ b/cds_ils/importer/providers/cds/helpers/decorators.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS MARCXML rules utils.""" + import functools from dojson.errors import IgnoreKey diff --git a/cds_ils/importer/providers/cds/ignore_fields.py b/cds_ils/importer/providers/cds/ignore_fields.py index 715fa4ff1..464b8789b 100644 --- a/cds_ils/importer/providers/cds/ignore_fields.py +++ b/cds_ils/importer/providers/cds/ignore_fields.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS CDS Importer ignored fields.""" + CDS_IGNORE_FIELDS = { "003", "003___", diff --git a/cds_ils/importer/providers/cds/importer.py b/cds_ils/importer/providers/cds/importer.py index 4cceeef3e..74d7d8bfb 100644 --- a/cds_ils/importer/providers/cds/importer.py +++ b/cds_ils/importer/providers/cds/importer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS CDS Importer.""" + from flask import current_app from invenio_app_ils.proxies import current_app_ils from invenio_pidstore.errors import PersistentIdentifierError, PIDDoesNotExistError diff --git a/cds_ils/importer/providers/cds/rules/journal.py b/cds_ils/importer/providers/cds/rules/journal.py index 0fbb8b2dc..6b06ba829 100644 --- a/cds_ils/importer/providers/cds/rules/journal.py +++ b/cds_ils/importer/providers/cds/rules/journal.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS MARCXML Journal rules.""" + import datetime from dojson.errors import IgnoreKey diff --git a/cds_ils/importer/providers/cds/utils.py b/cds_ils/importer/providers/cds/utils.py index 793980a64..437cdd8f0 100644 --- a/cds_ils/importer/providers/cds/utils.py +++ b/cds_ils/importer/providers/cds/utils.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS Importer Records utils.""" + from flask import current_app diff --git a/cds_ils/importer/providers/ebl/ebl.py b/cds_ils/importer/providers/ebl/ebl.py index ff531f274..c39d26ea0 100644 --- a/cds_ils/importer/providers/ebl/ebl.py +++ b/cds_ils/importer/providers/ebl/ebl.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS EBL Importer.""" + from copy import deepcopy from cds_ils.importer.base_model import Base diff --git a/cds_ils/importer/providers/gobi/gobi.py b/cds_ils/importer/providers/gobi/gobi.py index 8d383db66..a15183a13 100644 --- a/cds_ils/importer/providers/gobi/gobi.py +++ b/cds_ils/importer/providers/gobi/gobi.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS GOBI model.""" + from copy import deepcopy from cds_ils.importer.base_model import Base diff --git a/cds_ils/importer/providers/gobi/ignore_fields.py b/cds_ils/importer/providers/gobi/ignore_fields.py index f61244e92..6b5eb7f46 100644 --- a/cds_ils/importer/providers/gobi/ignore_fields.py +++ b/cds_ils/importer/providers/gobi/ignore_fields.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Gobi Importer ignore fields.""" + GOBI_IGNORE_FIELDS = { "005", "006", diff --git a/cds_ils/importer/providers/safari/safari.py b/cds_ils/importer/providers/safari/safari.py index 927bc6df5..d8f18c50f 100644 --- a/cds_ils/importer/providers/safari/safari.py +++ b/cds_ils/importer/providers/safari/safari.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS EBL Importer.""" + from copy import deepcopy from cds_ils.importer.base_model import Base diff --git a/cds_ils/importer/providers/snv/importer.py b/cds_ils/importer/providers/snv/importer.py index e428064c4..8e37b3632 100644 --- a/cds_ils/importer/providers/snv/importer.py +++ b/cds_ils/importer/providers/snv/importer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS CDS Importer.""" + from cds_ils.importer.importer import Importer diff --git a/cds_ils/importer/providers/springer/rules/document.py b/cds_ils/importer/providers/springer/rules/document.py index 460b80efd..c5dae9402 100644 --- a/cds_ils/importer/providers/springer/rules/document.py +++ b/cds_ils/importer/providers/springer/rules/document.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Springer Importer rules.""" + import re from dojson.errors import IgnoreKey diff --git a/cds_ils/importer/providers/springer/springer.py b/cds_ils/importer/providers/springer/springer.py index 819add3d6..741a52dff 100644 --- a/cds_ils/importer/providers/springer/springer.py +++ b/cds_ils/importer/providers/springer/springer.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Springer model.""" + from copy import deepcopy from cds_ils.importer.base_model import Base diff --git a/cds_ils/importer/serializers/response.py b/cds_ils/importer/serializers/response.py index 39fb5ea92..dc8b30159 100644 --- a/cds_ils/importer/serializers/response.py +++ b/cds_ils/importer/serializers/response.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """Importer response serializers.""" + import json from flask import abort, current_app diff --git a/cds_ils/importer/tasks.py b/cds_ils/importer/tasks.py index 2e850c022..c98475007 100644 --- a/cds_ils/importer/tasks.py +++ b/cds_ils/importer/tasks.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Importer tasks.""" + import datetime from celery import shared_task diff --git a/cds_ils/ldap/client.py b/cds_ils/ldap/client.py index 8a3d0ef47..cf597033b 100644 --- a/cds_ils/ldap/client.py +++ b/cds_ils/ldap/client.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS ldap Client.""" + import ldap from flask import current_app diff --git a/cds_ils/ldap/errors.py b/cds_ils/ldap/errors.py index 26b191036..747e7ca4f 100644 --- a/cds_ils/ldap/errors.py +++ b/cds_ils/ldap/errors.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS ldap exceptions.""" + import sys diff --git a/cds_ils/ldap/tasks.py b/cds_ils/ldap/tasks.py index 14ae4c3c8..f59e62433 100644 --- a/cds_ils/ldap/tasks.py +++ b/cds_ils/ldap/tasks.py @@ -7,7 +7,6 @@ """Ldap tasks.""" - from celery import shared_task from celery.utils.log import get_task_logger from flask import current_app diff --git a/cds_ils/ldap/utils.py b/cds_ils/ldap/utils.py index 17b95963e..779a5417e 100644 --- a/cds_ils/ldap/utils.py +++ b/cds_ils/ldap/utils.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS ldap serializers.""" + from functools import partial from invenio_accounts.models import User diff --git a/cds_ils/literature/api.py b/cds_ils/literature/api.py index 039773ad9..87f7ebd18 100644 --- a/cds_ils/literature/api.py +++ b/cds_ils/literature/api.py @@ -4,6 +4,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS literature API.""" + from invenio_pidstore.resolver import Resolver diff --git a/cds_ils/migrator/constants.py b/cds_ils/migrator/constants.py index d796e98b3..52633b7fc 100644 --- a/cds_ils/migrator/constants.py +++ b/cds_ils/migrator/constants.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator.""" + from datetime import date MIGRATION_DOCUMENT_PID = "L1t3r-4tUr3" diff --git a/cds_ils/migrator/default_records.py b/cds_ils/migrator/default_records.py index cc61e08f2..b4f38a315 100644 --- a/cds_ils/migrator/default_records.py +++ b/cds_ils/migrator/default_records.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator.""" + import uuid from invenio_app_ils.documents.api import DOCUMENT_PID_TYPE diff --git a/cds_ils/migrator/items/utils.py b/cds_ils/migrator/items/utils.py index 3a2f9fd50..81e2e89c7 100644 --- a/cds_ils/migrator/items/utils.py +++ b/cds_ils/migrator/items/utils.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator.""" + import logging from flask import current_app diff --git a/cds_ils/migrator/relations/api.py b/cds_ils/migrator/relations/api.py index 24a7b087a..fa68d4fab 100644 --- a/cds_ils/migrator/relations/api.py +++ b/cds_ils/migrator/relations/api.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator API.""" + import logging import click diff --git a/cds_ils/migrator/series/__init__.py b/cds_ils/migrator/series/__init__.py index 1ce9cf38e..473fc0f04 100644 --- a/cds_ils/migrator/series/__init__.py +++ b/cds_ils/migrator/series/__init__.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator module.""" + from cds_dojson.overdo import OverdoBase serial_marc21 = OverdoBase(entry_point_models="cds_ils.migrator.serial_model") diff --git a/cds_ils/migrator/series/api.py b/cds_ils/migrator/series/api.py index da5214c32..f64588192 100644 --- a/cds_ils/migrator/series/api.py +++ b/cds_ils/migrator/series/api.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS-ILS migrator API.""" + import logging from copy import deepcopy diff --git a/cds_ils/migrator/series/xml_series_loader.py b/cds_ils/migrator/series/xml_series_loader.py index 6cc904b8f..e7e12a682 100644 --- a/cds_ils/migrator/series/xml_series_loader.py +++ b/cds_ils/migrator/series/xml_series_loader.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS Migrator Records loader.""" + import logging import uuid diff --git a/cds_ils/migrator/xml_to_json_dump.py b/cds_ils/migrator/xml_to_json_dump.py index 011280b91..430cf92b3 100644 --- a/cds_ils/migrator/xml_to_json_dump.py +++ b/cds_ils/migrator/xml_to_json_dump.py @@ -7,6 +7,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """CDS Migrator Records MARCXML to JSON dump.""" + import logging import arrow diff --git a/cds_ils/minters.py b/cds_ils/minters.py index d7d2bea1e..e98bcda2c 100644 --- a/cds_ils/minters.py +++ b/cds_ils/minters.py @@ -4,6 +4,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS minters.""" + from invenio_pidstore.models import PersistentIdentifier, PIDStatus diff --git a/cds_ils/oauth.py b/cds_ils/oauth.py index eb6ee0cb1..6228dcb93 100644 --- a/cds_ils/oauth.py +++ b/cds_ils/oauth.py @@ -4,6 +4,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS oauth overrides.""" + from flask import current_app, flash, g, redirect from invenio_oauthclient.contrib.cern_openid import get_resource from invenio_oauthclient.errors import OAuthCERNRejectedAccountError diff --git a/cds_ils/series/serializers/json.py b/cds_ils/series/serializers/json.py index d12f8c1ae..d1f8ed7f3 100644 --- a/cds_ils/series/serializers/json.py +++ b/cds_ils/series/serializers/json.py @@ -6,6 +6,7 @@ # under the terms of the MIT License; see LICENSE file for more details. """Series JSON serializers.""" + from invenio_app_ils.literature.serializers.custom_fields import field_cover_metadata from invenio_records_rest.serializers.json import JSONSerializer diff --git a/cds_ils/utils.py b/cds_ils/utils.py index 9fbffb289..5d30cfb2c 100644 --- a/cds_ils/utils.py +++ b/cds_ils/utils.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """Utils for modules.""" + from flask import current_app diff --git a/setup.cfg b/setup.cfg index 6746e8f57..d68010d5c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,16 +18,17 @@ platforms = any url = https://github.com/CERNDocumentServer/cds-ils classifiers = Development Status :: 5 - Production/Stable + Programming Language :: Python :: 3.14 [options] include_package_data = True packages = find: -python_requires = >=3.6 +python_requires = >=3.14 zip_safe = False install_requires = fuzzywuzzy>=0.18.0 python-ldap>=3.4.0,<3.5.0 - invenio-app-ils[lorem,opensearch2]>=8.0.0,<9.0.0 + invenio-app-ils[lorem,opensearch2]>=9.0.0,<10.0.0 sentry-sdk>=1.45,<2.0.0 # invenio-xrootd requires it fs>=2.0.10,<3.0 @@ -127,9 +128,6 @@ invenio_pidstore.minters = cds_ils.importer.import_json_transformers = cds = cds_ils.importer.json.rdm.transform:RDMToILSTransform -[bdist_wheel] -universal = 1 - [pydocstyle] add_ignore = D401 diff --git a/tests/helpers.py b/tests/helpers.py index 3e860cc0c..c2d215214 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """CDS-ILS Test helpers module.""" + import json import os import uuid diff --git a/tests/migrator/json_imports/conftest.py b/tests/migrator/json_imports/conftest.py index f06f45a0a..3cd228e85 100644 --- a/tests/migrator/json_imports/conftest.py +++ b/tests/migrator/json_imports/conftest.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """Migration pytest fixtures and plugins.""" + import time import pytest diff --git a/tests/migrator/utils.py b/tests/migrator/utils.py index 72b842525..03f66c521 100644 --- a/tests/migrator/utils.py +++ b/tests/migrator/utils.py @@ -6,6 +6,7 @@ # the terms of the MIT License; see LICENSE file for more details. """Test migration utils.""" + from invenio_pidstore.models import PersistentIdentifier, PIDStatus diff --git a/tests/migrator/xml_imports/test_migrate_journal.py b/tests/migrator/xml_imports/test_migrate_journal.py index 208e0e58a..49b8fcc9f 100644 --- a/tests/migrator/xml_imports/test_migrate_journal.py +++ b/tests/migrator/xml_imports/test_migrate_journal.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """Test documents migration.""" + from cds_ils.importer.providers.cds.cds import get_helper_dict from cds_ils.migrator.series import journal_marc21 from cds_ils.migrator.xml_to_json_dump import CDSRecordDump diff --git a/tests/migrator/xml_imports/test_migrate_multiparts.py b/tests/migrator/xml_imports/test_migrate_multiparts.py index 1906f3e6e..df04eeda7 100644 --- a/tests/migrator/xml_imports/test_migrate_multiparts.py +++ b/tests/migrator/xml_imports/test_migrate_multiparts.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """Test documents migration.""" + from cds_ils.migrator.series import multipart_marc21 from cds_ils.migrator.xml_to_json_dump import CDSRecordDump from tests.migrator.xml_imports.helpers import load_json diff --git a/tests/migrator/xml_imports/test_migrate_multivolume.py b/tests/migrator/xml_imports/test_migrate_multivolume.py index f8f140049..8a2829685 100644 --- a/tests/migrator/xml_imports/test_migrate_multivolume.py +++ b/tests/migrator/xml_imports/test_migrate_multivolume.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """Test documents migration.""" + from cds_ils.migrator.series import multipart_marc21 from cds_ils.migrator.xml_to_json_dump import CDSRecordDump from tests.migrator.xml_imports.helpers import load_json diff --git a/tests/migrator/xml_imports/test_migrate_serial.py b/tests/migrator/xml_imports/test_migrate_serial.py index a5de991c6..a51f035b1 100644 --- a/tests/migrator/xml_imports/test_migrate_serial.py +++ b/tests/migrator/xml_imports/test_migrate_serial.py @@ -5,6 +5,7 @@ # CDS-ILS is free software; you can redistribute it and/or modify it under # the terms of the MIT License; see LICENSE file for more details. """Test documents migration.""" + from cds_ils.migrator.series import journal_marc21, serial_marc21 from cds_ils.migrator.xml_to_json_dump import CDSRecordDump from tests.migrator.xml_imports.helpers import load_json