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
My project uses libclang and its python bindings. These need to be installed via the distro's package manager; the clang bindings on pypi aren't official, nor are they guaranteed to be compatible with the libclang installed. So I rely on the system site packages. (On Debian, they all get installed via apt install python3-clang.)
The requirements.txt file contains pretty much the same stuff as [tool.hatch.envs.test], in particular clang isn't mentioned there. It's supposed to come from the system.
However, hatch run test:run fails to find the clang package.
Any clues on how to debug this or make it work?
The text was updated successfully, but these errors were encountered:
My project uses libclang and its python bindings. These need to be installed via the distro's package manager; the clang bindings on pypi aren't official, nor are they guaranteed to be compatible with the libclang installed. So I rely on the system site packages. (On Debian, they all get installed via
apt install python3-clang
.)I've used this, and it has worked fine:
However, my attempts at getting this to work with hatch environments have been unsuccesful.
The
requirements.txt
file contains pretty much the same stuff as[tool.hatch.envs.test]
, in particular clang isn't mentioned there. It's supposed to come from the system.However,
hatch run test:run
fails to find the clang package.Any clues on how to debug this or make it work?
The text was updated successfully, but these errors were encountered: