-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
It seems that a few hours ago, a number of new package versions were released that are picked up by plrust builds but fail because they're incompatible with older rust versions. I could be missing some details here but anyway, this is a temporary workaround in case anybody finds it useful:
diff --color -ru ../plrust-1.2.7/plrust/Cargo.toml ./plrust/Cargo.toml
--- ../plrust-1.2.7/plrust/Cargo.toml 2023-11-18 17:44:58.000000000 +0100
+++ ./plrust/Cargo.toml 2025-02-26 23:28:45.770122468 +0100
@@ -62,6 +62,10 @@
proc-macro2 = "1"
omnipath = "0.1.6"
+# overrides
+litemap = { version = "=0.7.4", forced = true }
+zerofrom = { version = "=0.1.5", forced = true }
+
[target.'cfg(target_os="linux")'.dependencies]
memfd = "0.6.4" # for anonymously writing/loading user function .so
diff --color -ru ../plrust-1.2.7/plrust/src/user_crate/crating.rs ./plrust/src/user_crate/crating.rs
--- ../plrust-1.2.7/plrust/src/user_crate/crating.rs 2023-11-18 17:44:58.000000000 +0100
+++ ./plrust/src/user_crate/crating.rs 2025-02-26 23:22:29.514979073 +0100
@@ -250,6 +250,9 @@
[dependencies]
pgrx = { version = trusted_pgrx_version, package = "plrust-trusted-pgrx" }
+ home = { version = "=0.5.9", forced = true }
+ litemap = { version = "=0.7.4", forced = true }
+ zerofrom = { version = "=0.1.5", forced = true }
/* User deps added here */
Is there's any less hacky solution, and is my understanding correct that 1.2.7 requires Rust 1.72.0, which is incompatible with the latest versions of these packages?
Could these and other dependencies be nailed down more inCargo.toml and the template? It would be good to know that some other package being upgraded next week won't cause similar issues.
SimenB, iliastsa, santosr2, flintforge, henare and 1 more
Metadata
Metadata
Assignees
Labels
No labels