python312Packages.openstackdocstheme: disable

````
python3.12-pbr-6.0.0/lib/python3.12/site-packages/pbr/packaging.py", line 23, in <module>
  from distutils.command import install as du_install
ModuleNotFoundError: No module named 'distutils'
````
This commit is contained in:
Martin Weinelt 2024-03-17 14:16:48 +01:00
parent c222aba0b8
commit 534cf72df8
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,6 +4,7 @@
, dulwich
, pbr
, sphinx
, pythonAtLeast
}:
buildPythonPackage rec {
@ -11,6 +12,9 @@ buildPythonPackage rec {
version = "3.2.0";
format = "setuptools";
# breaks on import due to distutils import through pbr.packaging
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
hash = "sha256-PwSWLJr5Hjwz8cRXXutnE4Jc+vLcL3TJTZl6biK/4E4=";