Hatch installed project without error but dependencies can't be imported #1288
-
I'm trying to use This works somewhat but I have problems for a particular aspect of my use-case. But when I try to use those libs in a new environment, installation using Any hint regarding possible errors in my project.toml or my usage of hatch is appreciated ! For example running the following commands in the mentioned repo from above, results in a somewhat broken python environment where the libs are installed successfully, but still can't be imported:
I zipped the artifacts of the libs ( those are uploaded to my private PyPi repo ) and attached them here: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When I peek into the content of the lib wheels, I can't find any lib implementation - likely that is the cause for the import error. |
Beta Was this translation helpful? Give feedback.
Looks like the following does the trick, editing the
project.toml
of a libfrom
to
Afterwards the import error from above is gone and the cli tool can happily import
my_sandbox_lib
andmy_sandbox_lib_addon
.I've updated my example repo to reflect the patch.