Hi All,
I was looking at updating python3-markdown in IPFire3. However that version no longer has a setup.py file. It only has a pyproject.toml file.
In IPFire2 we dealt with that by installing python3-build which had a setup.py file and then using
python3 -m build \ --no-isolation \ --wheel
for the build part and
pip3 install \ --no-build-isolation \ --root="/" \ --no-deps \ --ignore-installed \ dist/*.whl
for the install part.
However build is now version 1.0.3 and since version 1.0.0 it no longer has a setup.py file in it, only a pyproject.toml file and you can't use build to build build until build has been installed!!!!!
The instructions for build says that you have to use pip to install build, although it is not clear if that will work without internet. The above build and install worked for IPFire2 because the build stage used python3-build to create a wheel from the source file and then pip to install the generated wheel file and none of that needed to load things from the internet.
I am not sure how to deal with this now. This will also be a problem for IPFire2 if we want to bring the various python3 packages up to date.
I had a look at what Arch Linux were doing to build the python3-build package and they have a makedepends of python-build to build python-build, which I don't understand how it would work.
Looking forward to any suggestions.
Regards,
Adolf.