Hi,
I'm a package maintainer of Breezy [0] in Fedora.
Recently
in the newest version (3.3.0), which I'm trying to update to, upstream
started requiring python-setuptools-rust as a BuildRequire,
because they are shipping rio-py package [1]. This is a simple rust input output library, which requires Rust crate lazy_static.
This is where build fails every time, because build_rust wants to update crates.io, which then tries to connect to the github.com,
which is prohibited on Fedora builders.
I
looked through fedora-devel threads and I found a thread[2], discussing
a similar issue with a C package, where it was suggested to
vendor
the Rust dependencies. I don't think this is a good solution for
Breezy, as calling `cargo vendor` creates a folder about 120 MB big.
This is more than three times the standard package.
Fortunately, we have the lazy_static dependency already packaged in Fedora[3], which would resolve the issue.
The
question is, how can I feed this package to build_rust, so it does not
want to connect to the internet and crash the build all the time?
Is this even possible, or is there a better solution?
--
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue