You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While packaging tomlkit 0.11.8 for NixOS we noticed that starting on 0.11.7 the released packages no longer include setup.py (see full discussion on NixOS/nixpkgs#245440).
While setup.py is no longer actually necessary, this creates a circular dependency to build tomlkit moving forward - as tomlkit itself would require poetry to be able to build tomlkit, while poetry itself depends on tomlkit to be built.
this creates a circular dependency to build tomlkit moving forward - as tomlkit itself would require poetry to be able to build tomlkit, while poetry itself depends on tomlkit to be built.
This is not true, tomlkit only requires poetry-core to build and the latter has zero-dependency, it doesn't vendor tomlkit either. You may need to investigate carefully to find out the real cause. Or otherwise you may have misconfigured your build process.
Activity
luizribeiro commentedon Jul 26, 2023
Ah, it seems like this happened because of python-poetry/poetry-core#318
I guess we could explicitly set
tool.poetry.build.generate-setup-filehere so we can still buildtomlkitwithoutpoetry?I'm going to put up a PR for that.
frostming commentedon Jul 27, 2023
This is not true,
tomlkitonly requirespoetry-coreto build and the latter has zero-dependency, it doesn't vendor tomlkit either. You may need to investigate carefully to find out the real cause. Or otherwise you may have misconfigured your build process.luizribeiro commentedon Jul 27, 2023
Thank you for the clarification, @frostming!
It looks like nixpkgs has the wrong dependencies for
poetry-coreindeed.