Skip to content

Commit

Permalink
Cap DLite-Python version at 0.5.23 due to SegFault
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Jan 6, 2025
1 parent f434900 commit 8f43f02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py39-plus, --keep-runtime-typing]
Expand All @@ -50,20 +50,20 @@ repos:
additional_dependencies: [black]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
rev: v0.8.6
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix", "--show-fixes"]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.10
rev: 1.8.0
hooks:
- id: bandit
args: ["-r"]
files: ^oteapi_optimade/.*$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
exclude: ^tests/.*$
Expand All @@ -84,7 +84,7 @@ repos:
# More information can be found in the repository README:
# https://github.com/SINTEF/entities-service?tab=readme-ov-file#readme
- repo: https://github.com/SINTEF/entities-service
rev: v0.7.1
rev: v0.7.2
hooks:
- id: validate-entities
additional_dependencies: [".[cli]"]
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
]
keywords = ["OTE", "OPTIMADE", "OTE-API"]
requires-python = ">=3.9,<3.13"
keywords = ["OTE", "OPTIMADE", "OTEAPI"]
requires-python = ">=3.9"
dynamic = ["version"]

dependencies = [
"DLite-Python >=0.5.16,<1",
# Pytest runs, end in Segmentation Fault for dlite-python versions >0.5.23
"DLite-Python <=0.5.23; python_version<'3.13'", # DLite is not yet compatible with Python 3.13
"eval-type-backport ~=0.2.0",
"numpy <2", # Required by DLite-Python
"optimade[server] ~=1.1",
Expand Down

0 comments on commit 8f43f02

Please sign in to comment.