diff --git a/pyproject.toml b/pyproject.toml index ddf65906..915a06e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,9 +8,9 @@ license = "GPL-2.0" requires-python = ">=3.9" dependencies = [ # Pin invenio-requests until we release the final commenting features - "invenio-app-rdm[opensearch2]==14.0.0b4.dev6", + "invenio-app-rdm[opensearch2]==14.0.0b5.dev3", "invenio-cern-sync", - "invenio-preservation-sync==0.2.0", + "invenio-preservation-sync==0.3.0", "cds-rdm", "lxml>=4.6.5", "s3fs>=2024.6.1", # extra of invenio-vocabularies for ORCiD dump @@ -21,7 +21,7 @@ dependencies = [ [tool.uv.sources] cds-rdm = { workspace = true } -invenio-cern-sync = { git = "https://github.com/cerndocumentserver/invenio-cern-sync", rev = "v0.5.0"} +invenio-cern-sync = { git = "https://github.com/cerndocumentserver/invenio-cern-sync", rev = "v0.6.0"} [tool.uv] override-dependencies = [ @@ -29,8 +29,6 @@ override-dependencies = [ # which is unmaintained and depends on `setuptools`. A new major version of `setuptools` (81/82) is allowed by # `fs` despite breaking it completely. For now, we are adding a dependency override to the last known working version. "setuptools>=80.0.0,<81.0.0", - # Pin invenio-requests until we release the final commenting features - "invenio-requests<11.3.0" ] [tool.uv.workspace] diff --git a/site/cds_rdm/clc_sync/models.py b/site/cds_rdm/clc_sync/models.py index 0a4ba632..29957be7 100644 --- a/site/cds_rdm/clc_sync/models.py +++ b/site/cds_rdm/clc_sync/models.py @@ -10,7 +10,7 @@ from datetime import datetime from invenio_db import db -from invenio_records.models import Timestamp +from invenio_db.shared import Timestamp from sqlalchemy import Column, String, UniqueConstraint, or_ from sqlalchemy.dialects import mysql from sqlalchemy_utils import ChoiceType