summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-docutils/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-docutils/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-docutils/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-docutils/package.py b/var/spack/repos/builtin/packages/py-docutils/package.py
index 53f97e46fa..c70e7a55ba 100644
--- a/var/spack/repos/builtin/packages/py-docutils/package.py
+++ b/var/spack/repos/builtin/packages/py-docutils/package.py
@@ -35,6 +35,9 @@ class PyDocutils(PythonPackage):
depends_on("python@2.4:", when="@:0.13", type=("build", "run"))
depends_on("py-setuptools", when="@0.15:", type="build")
+ # Includes "longintrepr.h" instead of Python.h
+ conflicts("^python@3.11:", when="@:0.15")
+
# NOTE: This creates symbolic links to be able to run docutils scripts
# without .py file extension similarly to various linux distributions to
# increase compatibility with other packages