Open aazam-gh opened 4 months ago
@jichenjc @larainema Can you help provide guidance on how to solve this issue?
@bjhuangr @wghaojue if you have some comments for this issue?
If https://github.com/mfcloud/build-zvmsdk/pull/7#issuecomment-2261542870 can be duplicated then this issue might not need to be addressed.
Thanks for reporting this
sorry for late response, we used to support Ubuntu but currently it's lack of test ,we will check what we can do here
@aazam-gh Based on the latest success in building packages in OBS for Ubuntu, I think this issue is no longer valid and should be closed.
The issue has been resolved. Ubuntu 24.04 is successfully packaged for feilong. However a point to note is that setup.py is indeed depreciated
Hello, I am currently working on improving the Feilong Packaging process as part my OMP mentorship with Linux Foundation.
For building zvmsdk (as per documentation) in Ubuntu 24.04 using build-zvmsdk, we encounter an issue due to the depreciation of setup.py as it is no longer available in Python 3.12
Here is a snapshot of the errorlog, when running the
buildzvmsdkdeb
script.According to this blog setup.py can no longer be directly invoked and hence results in the build error. I have tried using
pip
to install but it seems asdb-helper
also callssetup.py
. By the introduction of PEP 517 and PEP 518 we will have to change how we build the package for debian.I would appreciate any assistance in resolving this, especially on how we can move away from using
setup.py
. From what I have looked into,poetry
might be the way with apyproject.toml
. I currently have a PR in progress for this issue. Thank you :)