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
Hi there, I am not super familiar with flit, but I was triaging an issue report on pipenv that brought me here. The issue that was reported (pypa/pipenv#5142) has an example reproduction repository (https://github.com/gitpushdashf/pipenv-flit-monorepo-example) that uses flint_core.buildapi for the package build. At first I thought the failure of resolving the interdependent local editable packages had to do with the existence of a pyprojecct.toml because when I deleted it and had just a setup.py, I saw that the issue was not present. However I then noticed from a diff with the test repository that pipenv/setuptools generated a pyproject.toml file anyway, just a different build_system:
So I had done some debugging on the pipenv code enough to realize that what is missing on the parsed Requirement (which is a requirementslib thing) that it is missing the name attribute, and quite a lot is dependent on that being in the Metadata. At this phase of my investigation, I can only assume that flit is generating metadata differently than setuptools.build_meta:__legacy__ and that the data isn't all there. I tried a search of the flit issues reports and I did not quite see one like this, and wanted to see if anyone else could shed some light on this one for me. In an ideal world anyone could use the flit build system with pipenv just fine, and so it would be nice to get to the bottom of what/where actually needs to be fixed.
The text was updated successfully, but these errors were encountered:
Hi there, I am not super familiar with flit, but I was triaging an issue report on pipenv that brought me here. The issue that was reported (pypa/pipenv#5142) has an example reproduction repository (https://github.com/gitpushdashf/pipenv-flit-monorepo-example) that uses
flint_core.buildapi
for the package build. At first I thought the failure of resolving the interdependent local editable packages had to do with the existence of apyprojecct.toml
because when I deleted it and had just a setup.py, I saw that the issue was not present. However I then noticed from a diff with the test repository that pipenv/setuptools generated a pyproject.toml file anyway, just a different build_system:So I had done some debugging on the pipenv code enough to realize that what is missing on the parsed Requirement (which is a requirementslib thing) that it is missing the name attribute, and quite a lot is dependent on that being in the Metadata. At this phase of my investigation, I can only assume that flit is generating metadata differently than
setuptools.build_meta:__legacy__
and that the data isn't all there. I tried a search of the flit issues reports and I did not quite see one like this, and wanted to see if anyone else could shed some light on this one for me. In an ideal world anyone could use the flit build system with pipenv just fine, and so it would be nice to get to the bottom of what/where actually needs to be fixed.The text was updated successfully, but these errors were encountered: