FS#69852 - [python-appdirs] should not have python-setuptools as a makedependency
Attached to Project:
Arch Linux
Opened by Jáchym Barvínek (kamahl) - Tuesday, 02 March 2021, 09:39 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 02 September 2023, 13:27 GMT
Opened by Jáchym Barvínek (kamahl) - Tuesday, 02 March 2021, 09:39 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 02 September 2023, 13:27 GMT
|
Details
First of all, the python-appdirs builds just fine if
python-setuptools are not installed. But more importantly,
python-setuptools do in fact have python-appdirs as a
(regular) dependency. This bug causes a depndency cycle that
confused me when I was trying to build them for an older
version of Python with no apparent point where to start. The
correct order is appdirs first, setuptools second.
|
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 02 September 2023, 13:27 GMT
Reason for closing: Won't fix
Additional comments about closing: setup.py still references setuptools so it's still a makedependency.
Saturday, 02 September 2023, 13:27 GMT
Reason for closing: Won't fix
Additional comments about closing: setup.py still references setuptools so it's still a makedependency.
```
# appdirs is a dependency of setuptools, so allow installing without it.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
```
https://github.com/pypa/setuptools/issues/2550
https://github.com/pyparsing/pyparsing/issues/270
https://github.com/LuminosoInsight/ordered-set/issues/76