libvirt-python fail on host machine, but compiles fine in clean VM
by Daedra from LinuxQuestions.org on (#6QJA1)
This is not a huge deal but it's bugging me. The libvirt-python package will compile file when I compile it with my clean Slackware VM, but on my host machine running -current I get this error
Code:libvirt-python-10.6.0/tests/test_network.py
libvirt-python-10.6.0/tests/test_nodedev.py
libvirt-python-10.6.0/tests/test_storage.py
libvirt-python-10.6.0/tox.ini
libvirt-python-10.6.0/typewrappers.c
libvirt-python-10.6.0/typewrappers.h
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 487, in _load_pyproject_toml
package = data["project"]["name"]
~~~~^^^^^^^^^^^
KeyError: 'project'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/SBo/libvirt-python-10.6.0/setup.py", line 273, in <module>
setup(
File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 111, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 146, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 281, in __init__
_Distribution.__init__(self, dist_attrs)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 286, in __init__
self.finalize_options()
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 633, in finalize_options
ep(self)
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 402, in _get_setuptools_version
config = _load_pyproject_toml("./pyproject.toml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 489, in _load_pyproject_toml
raise ValueError("""\
ValueError: Couldn't extract the package name from pyproject.toml. Specify it like:
[project]
name = "Foo"
Or:
[tool.incremental]
name = "Foo"
If anyone has any ideas on what the problem may be, please let me know.
Thanks.
Code:libvirt-python-10.6.0/tests/test_network.py
libvirt-python-10.6.0/tests/test_nodedev.py
libvirt-python-10.6.0/tests/test_storage.py
libvirt-python-10.6.0/tox.ini
libvirt-python-10.6.0/typewrappers.c
libvirt-python-10.6.0/typewrappers.h
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 487, in _load_pyproject_toml
package = data["project"]["name"]
~~~~^^^^^^^^^^^
KeyError: 'project'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/SBo/libvirt-python-10.6.0/setup.py", line 273, in <module>
setup(
File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 111, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 146, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 281, in __init__
_Distribution.__init__(self, dist_attrs)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 286, in __init__
self.finalize_options()
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 633, in finalize_options
ep(self)
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 402, in _get_setuptools_version
config = _load_pyproject_toml("./pyproject.toml")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/incremental/__init__.py", line 489, in _load_pyproject_toml
raise ValueError("""\
ValueError: Couldn't extract the package name from pyproject.toml. Specify it like:
[project]
name = "Foo"
Or:
[tool.incremental]
name = "Foo"
If anyone has any ideas on what the problem may be, please let me know.
Thanks.