Opened 18 months ago
Closed 18 months ago
#71845 closed defect (fixed)
py312-anytree: RuntimeError: The Poetry configuration is invalid: project must contain ['name'] properties
| Reported by: | fspkwon (Anthony Robert Brown) | Owned by: | reneeotten (Renee Otten) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | ||
| Port: | py-anytree |
Description (last modified by fspkwon (Anthony Robert Brown))
Its the same for each build... I require this for KDE4 Minimum Setup: my OS : Sequoia.......... everythings been building fine... isn't a problem.... just this one package...
Here's my Configuration:
Name Selected : clang mp-clang-19 cython cython312 flake8 flake8-312 gcc mp-gcc14 hatchling py312-hatchling llvm mp-llvm-19 pycodestyle pycodestyle-py312 pyflakes py312-pyflakes pygments py312-pygments python python312 python3 python312 virtualenv virtualenv312
:info:build * Building wheel...
:info:build Traceback (most recent call last):
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
:info:build main()
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
:info:build json_out["return_val"] = hook(**hook_input["kwargs"])
:info:build ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
:info:build return _build_backend().build_wheel(
:info:build ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 55, in build_wheel
:info:build poetry = Factory().create_poetry(Path().resolve(), with_groups=False)
:info:build ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/poetry/core/factory.py", line 58, in create_poetry
:info:build raise RuntimeError("The Poetry configuration is invalid:\n" + message)
:info:build RuntimeError: The Poetry configuration is invalid:
:info:build - project must contain ['name'] properties
:info:build ERROR Backend subprocess exited when trying to invoke build_wheel
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-anytree/py312-anytree/work/anytree-2.12.1" && /opt/local/$
:info:build Exit code: 1
:info:build - project must contain ['name'] properties
:info:build - project must contain ['name'] properties
:info:build - project must contain ['name'] properties
:info:build - project must contain ['name'] properties
im also seeing: py-pep517 is replaced by py-pyproject_hooks could it be out of date?
ok might seem stupid but I fixed it: https://github.com/fspkwon/anytree/blob/main/README.rst and at least it'll install...
Attachments (1)
Change History (18)
comment:1 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:2 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:3 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:4 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:5 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:6 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:7 follow-up: 8 Changed 18 months ago by reneeotten (Renee Otten)
| Description: | modified (diff) |
|---|---|
| Keywords: | py-anytree kde kde4 py312-anytree wheel removed |
| Priority: | High → Normal |
comment:8 follow-up: 9 Changed 18 months ago by fspkwon (Anthony Robert Brown)
Replying to reneeotten:
please attach the
main.logfile as the error message tells you.
Here is the Logfile https://pastebin.com/jZ8nZyFj
comment:9 follow-up: 10 Changed 18 months ago by reneeotten (Renee Otten)
Replying to fspkwon:
Replying to reneeotten:
please attach the
main.logfile as the error message tells you.Here is the Logfile https://pastebin.com/jZ8nZyFj
no need for external links; attach to the ticket please
Changed 18 months ago by fspkwon (Anthony Robert Brown)
here's the log I think this is how it asked
comment:10 Changed 18 months ago by fspkwon (Anthony Robert Brown)
Replying to reneeotten:
Replying to fspkwon:
Replying to reneeotten:
please attach the
main.logfile as the error message tells you.Here is the Logfile https://pastebin.com/jZ8nZyFj
no need for external links; attach to the ticket please
so I attached it to file attatchments
comment:11 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Summary: | py-anytree py312-anytree → py312-anytree: RuntimeError: The Poetry configuration is invalid: project must contain ['name'] properties |
comment:12 Changed 18 months ago by fspkwon (Anthony Robert Brown)
so its effecting: wine-staging , kde4 and xfce-session Test the Build first: cd /Users/username/Downloads/anytree-2.12.0 poetry run pytest returns the same error as macports appears to be fixed when added [project] name = "anytree" under the tool.poetry section
comment:13 Changed 18 months ago by fspkwon (Anthony Robert Brown)
| Description: | modified (diff) |
|---|
comment:14 follow-up: 15 Changed 18 months ago by jhfrontz (Jeff Frontz)
Seeing the same on Sonoma -- trying to install graphviz where py312-anytree is a requirement.
comment:15 follow-up: 16 Changed 18 months ago by fspkwon (Anthony Robert Brown)
Replying to jhfrontz:
Seeing the same on Sonoma -- trying to install
graphvizwherepy312-anytreeis a requirement.
I fixed it: but not samba3/soprano/raptor2, and the fact that kde has no start backend and is likely missing components to compile correctly it compiles but the apps are likely missing their connected backend , and that xfce can't properly configure itself during configure build process says is can't find xorg headers but OH I remembered it says kde4 is errors because is nonconformist on new version of macOS, but I have gotten up running openbox/xfce4-panel......
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-anytree/py312-anytree/work/anytree-2.12.1/pyproject.toml under the classifiers [ section ] add: [project] name = "anytree"
save and rebuild....
and to fix strigi ,
sudo port deactivate ffmpeg
sudo port clean ffmpeg
sudo port -ns upgrade --force ffmpeg -darwinssl -universal -gpl3 +gpl2 -flite +jack -libdc1394 -librtmp +nonfree -rav1e -x11
ffmpeg doesn't build as a dynamic linked library its just a dumb data object that'll get it to for some reason fix itself so you can port install strigi , as for KDE4 theres a reason why not to use anything kde4 in macports is because of TLS 1.3 , and that KDE5 initial porting process was undertaken WHEN tis 1.3 became a widespread issue but thats all its been is started meaning QT5 and the ability to run maybe a single application.. a big point I see .... +kf5compat variants lets see I dont know if this is the only thing its done so that the old builds work... I didn't do this and have to check my entire system over.... but even so: soprano and raptor2 are an issue there or perhaps theres a discrepancy with the update and kf5 in that regard I dont know
do take caution but here we go this may be a solution to our problem https://github.com/RJVB/macstrop https://github.com/mkae/macstrop and information regarding: https://trac.macports.org/wiki/KDEProblems
comment:16 Changed 18 months ago by jhfrontz (Jeff Frontz)
Replying to fspkwon:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-anytree/py312-anytree/work/anytree-2.12.1/pyproject.toml under the classifiers [ section ] add: [project] name = "anytree"
save and rebuild....
Thanks! This was sufficient to get py312-anytree (and, hence, graphviz) to build -- I was able to successfully run dot and create pretty pictures.
comment:17 Changed 18 months ago by reneeotten (Renee Otten)
| Owner: | set to reneeotten |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |

please attach the
main.logfile as the error message tells you.