Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [3.9]
python-version: [3.12, 3.14]
requirements-level: [pypi]
db-service: [postgresql14]
include:
Expand Down
13 changes: 11 additions & 2 deletions cds_migrator_kit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@

"""Migration tool kit from old Invenio to new Invenio."""


from .ext import CdsMigratorKit

__all__ = ("__version__", "CdsMigratorKit")

__version__ = "0.1.0.dev20180000"
# Fix for Python3.10 breaking changes
# The underlying module `invenio-query-parser` uses MutableMapping and Sequence from collections
# But they are moved to collections.abc starting from Python3.10

import collections
import collections.abc

collections.MutableMapping = collections.abc.MutableMapping
collections.Sequence = collections.abc.Sequence

__version__ = "0.1.0.dev20260000"
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ install_requires =
sentry-sdk>=1.45,<2.0.0
cds-dojson @ git+https://github.com/CERNDocumentServer/cds-dojson@master#egg=cds-dojson
invenio-rdm-migrator>=5.0.0
setuptools<82.0.0 # `invenio-rdm-migrator` has a dependency on `pypeln` which depends on `pkg_resources`
lxml>=4.6.5
ipython!=8.1.0
uwsgi>=2.0
Expand Down
1 change: 1 addition & 0 deletions tests/cds-rdm/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# the terms of the MIT License; see LICENSE file for more details.

"""Pytest fixtures."""

import os
from collections import namedtuple
from os.path import dirname, join
Expand Down
1 change: 1 addition & 0 deletions tests/cds-rdm/test_bulletin_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# the terms of the MIT License; see LICENSE file for more details.

"""Tests suites."""

import json
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions tests/cds-rdm/test_hr_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# the terms of the MIT License; see LICENSE file for more details.

"""Tests suites."""

import json
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions tests/cds-rdm/test_thesis_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# the terms of the MIT License; see LICENSE file for more details.

"""Tests suites."""

import json
from pathlib import Path

Expand Down
Loading