Closed nwagner84 closed 2 years ago
I can reproduce the problem: a fresh clone of sophia_rs
does not build :-(
I believe the problem comes from rio_xml and rio_turtle. Their version 0.6.1 depend on oxiri ^0.1
, while their version 0.6.2 depends on oxiri >=0.1, <0.3
.
Now, consider sophia_turtle: it depends on rio_turtle ^0.6.1
and oxiri ^0.1.1
. This makes rio_turtle 0.6.2 a good candidate, for which oxiri 0.2.1 is a good candidate. However, rio_turtle itself can not use oxiri 0.2.1, and is stuck with 0.1.1 . And so they can't properly communicate with each other.
I was able to fix the problem with:
cargo update -p oxiri:0.2.1 --precise 0.1.1
but maybe I should release 0.7.2 depending on oxiri 0.2.1...
pinging @Tpt as you might be interested in this side effect -- maybe worth reconsidering your policy re. versioning and dependencies...
pinging @Tpt as you might be interested in this side effect -- maybe worth reconsidering your policy re. versioning and dependencies...
Yes, it seems I got tricked by cargo dependency resolver. I though that just extending a version range would not break builds because the resolver would stay with oxiri 0.1 if it is required elsewhere. But it does not seems to be the case, sorry.
@pchampin Thanks for the detailed explanation. A new release which depends on oxiri 0.2.1 would be great!
@pchampin Do you have a plan, when a new release will be available. Unfortunately, I'm blocked unless this bug is fixed.
Many thanks in advance.
Some of my collegues doing code reviews and they install the crate with cargo install --git ...
and then this trick doesn't work. I found a temporary solution: I removed the RDF/SKOS component; this was already planned. I'm going to re-implement this component in a new crate.
Ok, sorry about that. I'll hurry in publishing 0.7.2. with the dependencies fixed, then.
should be fixed now
Hi,
I've problems building a project, which depends on
sophia
andsophia_api
. It's no longer possible to build the project, because of the following build error:My Cargo.toml looks like:
I guess the problem is related due to new versions of the oxiri crate (0.2.0 and 0.2.1); I tried to fix this issue by setting the version of
oxiri
explicitly to"=0.1.1"
. You can find a complete error log here: https://github.com/deutsche-nationalbibliothek/pica-rs/runs/4850074708Do you have an idea what goes wrong here?