





















Upstream is right to not want to comply here, they are compatible with poetry 2.0 and greater. I would argue that they should match a breaking change in the build process with a major release number but I don't think that is my call to make.
Until poetry is updated to 2.0 in the extra repo I would do one of these two things: 1. For now I would suggest either patching the pyproject.toml to include the tool.poetry section 2. Revert to a version that did not have a hard dep on poetry 2
I would suggest option 2, since this project has not been tested or build with the intention of using poetry 2.0
Thank you for your work! Keep it up!
i edited pyproject.toml and add section :
[tool.poetry]
name = "poethepoet"
version = "0.32.2"
description = "A task runner that works well with poetry."
authors = ["Nat Noordanus <n@noordan.us>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/nat-n/poethepoet"
homepage = "https://github.com/nat-n/poethepoet"
documentation = "https://poethepoet.natn.io/"
keywords = ["automation", "tasks", "task-runner", "plugin", "poetry", "poe"]
classifiers = ["Topic :: Software Development :: Build Tools"]
under the project section then save and update tar.gz file. then
1. makepkg -g
2. updpkgsums
3. makepkg
4. pacman -U python-poethepoet
solved the problem
Same here. Maybe upstream introduced an incompatibility with poetry < 2.0?
Version 0.32.2-1 does not build on my system.
Could this be a common problem?
Building python-poethepoet...
==> Making package: python-poethepoet 0.32.2-1 (Fr 31 Jan 2025 10:51:44 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found poethepoet-0.32.2.tar.gz
==> Validating source files with sha512sums...
poethepoet-0.32.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting poethepoet-0.32.2.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Building wheel...
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 55, in build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/poetry/core/factory.py", line 60, in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
- The fields ['authors', 'description', 'name', 'version'] are required in package mode.
ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
Aborting...
python-poetry-core needs to be a makedepends, it doesn't build without it.
Build is failing for 0.22.1-1 because the tarball root folder is back to not using v as version prefix
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
I would agree with the conclusion, but what do you mean by "this project"? Or did you mean to say "poetry < 2.0"?