openstacksdk, ironicclient, os-fault: Please replace python3-appdirs dependency with platformdirs
Hi, 3 bugs have been opened in Debian to get appdirs replaced by platformdirs: https://bugs.debian.org/1067995 https://bugs.debian.org/1067999 https://bugs.debian.org/1068000 Here's the bug report content:
python3-appdirs is dead upstream[1] and its Debian maintainer has indicated that it should not be included in trixie[2]. A recommended replacement is python3-platformdirs[3], which is a fork of appdirs with a very similar API.
Please migrate from appdirs to platformdirs or some other replacement, so that appdirs can be removed.
Thanks, smcv
[1] https://github.com/ActiveState/appdirs/commit/8734277956c1df3b85385e6b308e95... [2] https://bugs.debian.org/1060427 [3] https://pypi.org/project/platformdirs/
Can we do that in upstream OpenStack, during the Dalmatian cycle? Cheers, Thomas Goirand (zigo)
On 2024-03-29 18:09:33 +0100 (+0100), Thomas Goirand wrote:
3 bugs have been opened in Debian to get appdirs replaced by platformdirs [...] Can we do that in upstream OpenStack, during the Dalmatian cycle?
I already started this for OpenStackSDK back in June: https://review.opendev.org/q/topic:%22replace-appdirs%22 Hopefully it's no longer impacted, and the other affected projects can merely copy that fix? Or I can try to find time to push it myself if nobody else gets to it. -- Jeremy Stanley
On 3/30/24 02:26, Jeremy Stanley wrote:
On 2024-03-29 18:09:33 +0100 (+0100), Thomas Goirand wrote:
3 bugs have been opened in Debian to get appdirs replaced by platformdirs [...] Can we do that in upstream OpenStack, during the Dalmatian cycle?
I already started this for OpenStackSDK back in June:
https://review.opendev.org/q/topic:%22replace-appdirs%22
Hopefully it's no longer impacted, and the other affected projects can merely copy that fix? Or I can try to find time to push it myself if nobody else gets to it.
Looks like it's quite easy to replace appdirs. https://review.opendev.org/c/openstack/python-ironicclient/+/914762 https://review.opendev.org/c/performa/os-faults/+/914763 However this revealed that os-faults is badly unmanitained. I checked the governance repo and noticed this does not belong to any projects. Does anyone know any details about this project ? If no then we probably should consider retiring it (and probably the whole performa project[1]). [1] https://opendev.org/performa
I spent some time to fix the broken CI and have made some progress. However devstack job is still broken and I may need someone more familiar with os-fault to look into this. https://review.opendev.org/c/performa/os-faults/+/914779 One thing we may have to be aware of is that this library is used by rally-openstack, so if we retire this library then we have to find out the update needed in Rally. On 3/30/24 02:44, Takashi Kajinami wrote:
On 3/30/24 02:26, Jeremy Stanley wrote:
On 2024-03-29 18:09:33 +0100 (+0100), Thomas Goirand wrote:
3 bugs have been opened in Debian to get appdirs replaced by platformdirs [...] Can we do that in upstream OpenStack, during the Dalmatian cycle?
I already started this for OpenStackSDK back in June:
https://review.opendev.org/q/topic:%22replace-appdirs%22
Hopefully it's no longer impacted, and the other affected projects can merely copy that fix? Or I can try to find time to push it myself if nobody else gets to it.
Looks like it's quite easy to replace appdirs.
https://review.opendev.org/c/openstack/python-ironicclient/+/914762 https://review.opendev.org/c/performa/os-faults/+/914763
However this revealed that os-faults is badly unmanitained. I checked the governance repo and noticed this does not belong to any projects. Does anyone know any details about this project ? If no then we probably should consider retiring it (and probably the whole performa project[1]).
participants (3)
-
Jeremy Stanley
-
Takashi Kajinami
-
Thomas Goirand