Borg is now pulling in rust, [nomerge ] app-backup/borgbackup-1.2.6 [nomerge ] dev-python/pkgconfig-1.5.5-r1 [nomerge ] dev-python/poetry-core-1.6.1 [ebuild U ] dev-python/jsonschema-4.19.1 [ebuild N ] dev-python/jsonschema-specifications-2023.7.1 [ebuild N ] dev-python/referencing-0.30.2 [ebuild N ] dev-python/rpds-py-0.9.2 [ebuild N ] dev-util/maturin-1.2.3 [ebuild N ] dev-python/setuptools-rust-1.7.0 [ebuild N ] virtual/rust-1.71.1-r1 USE="-rustfmt" [ebuild N ] dev-lang/rust-bin-1.71.1 because it needs dev-python/pkgconfig. Fortunately, if you read borg's setup.py, it provides several environment variables that can be used to bypass pkgconfig. The "prefix variable" idea is crude but it looks like our installations of openssl, lz4, zstd, xxhash are simple enough that all we'd need to do is sed setup.py to fix the lib_subdir="lib" and then point all of the variables to /usr.
Unless upstream provides a non-hacky way of doing this, NAK. I do not like experimenting on anything from app-backup, and feel even less motivated to do so given how core to the Python ecosystem in general Rust has become.
There's not much point in worrying about this either, because https://github.com/python-poetry/poetry-core/pull/642 should land in a release soon which elides the Rust dep.
(In reply to Sam James from comment #2) > There's not much point in worrying about this either, because > https://github.com/python-poetry/poetry-core/pull/642 should land in a > release soon which elides the Rust dep. Thanks, waiting for somebody else to fix it is also an acceptable solution :)
poetry(-core) now pull in fastjsonschema instead of jsonschema, problem solved