-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: lock version of hickory-client #6716
fix: lock version of hickory-client #6716
Conversation
Test Results (CI) 3 files 129 suites 38m 51s ⏱️ Results for commit 4cf1fee. ♻️ This comment has been updated with latest results. |
"dns-over-rustls", | ||
"dnssec-openssl", | ||
], optional = true } | ||
hickory-proto = { version = "=0.25.0-alpha.2" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this added in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I've locked hickory-client
to 0.25.0-alpha.2
for some reason this hickory-proto
still tried to use alpha 4
version of itself which broke the build so I added entry for this package with also locked version to 0.25.0-alpha.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are adding a package thats not used by tari. You can see its complaining about it in machete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed because hickory pushed a new version that doesn't compile, so you have to pin it like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please comment why its done there as well, I cant seem to add it via github review
Fix missing comments in #6716
[ Motivation ]
Solves issues in repositories:
universe
=> https://github.com/tari-project/universetarigpuminer
=> https://github.com/stringhandler/tarigpuminerFrom what I understand
hickory-client
was implemented on version0.25.0-alpha.2
. Since that time there was release for version0.25.0-alpha.3
and0.25.0-alpha.4
with breaking changes which require code adjustments. Because we didn't lock version to0.25.0-alpha.2
here, in mentioned repositories during build when it comes to building tari_core => tari_p2p it tries to use versions higher then0.25.0-alpha.2
which breaks the build. It also happens in this repository when you delete Cargo.lock file.To this moment we patched this in mentioned repositories by including these packages with locked versions in Cargo.toml but it cause other smaller problems