19 lines
732 B
Plaintext
19 lines
732 B
Plaintext
# PR Data Meta Model - validation stack
|
|
#
|
|
# PINNED ON PURPOSE. The venv on GrosseBertha runs Python 3.9
|
|
# (/usr/local/bin/python3.9, the only stable interpreter on DSM 7.4).
|
|
#
|
|
# Newer pyshacl releases advertise 3.9 support but use PEP 604 syntax
|
|
# (str | X) in runtime annotations, which needs 3.10+. pip installs them
|
|
# without complaint and the import then dies with:
|
|
# TypeError: unsupported operand type(s) for |: 'type' and 'ABCMeta'
|
|
#
|
|
# 0.26.0 is the version verified working on this interpreter (2026-07-26).
|
|
# Do not unpin without rebuilding the venv and re-running the validator.
|
|
#
|
|
# /usr/local/bin/python3.9 -m venv venv
|
|
# . venv/bin/activate && pip install -r requirements.txt
|
|
|
|
pyshacl==0.26.0
|
|
rdflib>=6.3.2,<7.1
|