Updated to run on python 3.13

This commit is contained in:
2025-05-01 09:02:07 +01:00
parent 98f37fc6d7
commit 28aa1eb9a3
5 changed files with 640 additions and 231 deletions

3
.gitignore vendored
View File

@@ -70,3 +70,6 @@ devenv.local.nix
# pre-commit # pre-commit
.pre-commit-config.yaml .pre-commit-config.yaml
# python version lock
.python-version

View File

@@ -8,4 +8,4 @@
"""Version data for this python module.""" """Version data for this python module."""
version = "0.13.1" version = "0.13.2"

View File

@@ -273,4 +273,4 @@ class IformRDMRecordPermissionPolicy(RecordPermissionPolicy):
# Used to hide at the moment the `parent.is_verified` field. It should be set to # Used to hide at the moment the `parent.is_verified` field. It should be set to
# correct permissions based on which the field will be exposed only to moderators # correct permissions based on which the field will be exposed only to moderators
can_moderate = [Disable()] can_moderate = [SystemProcess()]

View File

@@ -15,10 +15,13 @@ classifiers = [
"Programming Language :: Python", "Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
] ]
requires-python = ">=3.10,<3.13" requires-python = ">=3.10,<3.14"
dependencies = [ dependencies = [
"invenio-cache>=1.1.1", "invenio-cache>=1.1.1",
"invenio-i18n>=2.0.0", "invenio-i18n>=2.0.0",
@@ -37,8 +40,8 @@ test = "scripts.test:main"
[dependency-groups] [dependency-groups]
tests = [ tests = [
"invenio-app>=1.5.0", "invenio-app>=1.5.0",
"invenio-search[opensearch2]>=2.1.0,<3.0.0", "invenio-search[opensearch2]>=2.1.0",
"pytest-invenio>=2.1.0,<3.0.0", "pytest-invenio>=2.1.0",
"pytest-ruff>=0.4.1", "pytest-ruff>=0.4.1",
"ruff>=0.5.3", "ruff>=0.5.3",
"Sphinx>=4.5.0", "Sphinx>=4.5.0",

855
uv.lock generated

File diff suppressed because it is too large Load Diff