Am 09.10.23 um 10:17 schrieb Ben Greiner:
Am 09.10.23 um 10:09 schrieb Johannes Kastl:
On 09.10.23 at 10:04 Ben Greiner wrote:
Why would you expect deprecated %python_install or %pyproject_install do that? %python_clone is standard and added by py2pack automatically. It's not optional for flavored commands.
I created the spec file for nautikos with py2pack, it threw an error due to poetry-dependencies, but it generated the spec. But there was no %python_clone in there.
Ah, poetry. Yes poetry is not fully supported by py2pack.
[ben@skylab:~/tmp]% py2pack fetch nautikos [0]
downloading package nautikos-0.3.4... from https://files.pythonhosted.org/packages/source/n/nautikos/nautikos-0.3.4.tar... [ben@skylab:~/tmp]% py2pack generate -f python-nautikos.spec nautikos [0]
generating spec file for nautikos... /home/ben/src/py2pack/py2pack/__init__.py:144: UserWarning: The package defines its dependencies in the [tool.poetry.dependencies] table of pyproject.toml. Automatic parsing of the poetry format is n ot implemented yet. You must add the requirements manually. warnings.warn("The package defines its dependencies in the "
Probably should add the same warning about [tool.poetry.scripts]. Or implement it. Probably easier than implementing the poetry dependency specifications.
There is already a PR about it: https://github.com/openSUSE/py2pack/pull/178 triggered by an earlier issue you reported.