Skip to content
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

uv-client: fix linehaul test #2647

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

BurntSushi
Copy link
Member

This test was introduced in 42973cd. It
looks like it compares some values against some platform specific code
that attempts to find the OS version. But the comparisons made some
assumptions about what kind of data is available. In this commit, we try
to make the test a little more flexible on Linux by not assuming that
Option values are Some.

This test was introduced in 42973cd. It
looks like it compares some values against some platform specific code
that attempts to find the OS version. But the comparisons made some
assumptions about what kind of data is available. In this commit, we try
to make the test a little more flexible on Linux by not assuming that
`Option` values are `Some`.
@BurntSushi BurntSushi requested review from charliermarsh, zanieb and konstin and removed request for zanieb March 25, 2024 13:36
@BurntSushi
Copy link
Member Author

cc @samypr100

@BurntSushi BurntSushi merged commit 8cc69a7 into main Mar 25, 2024
31 checks passed
@BurntSushi BurntSushi deleted the ag/fix-linehaul-test-on-archlinux branch March 25, 2024 14:12
@samypr100
Copy link
Contributor

samypr100 commented Mar 25, 2024

Thanks, changes look good. Sorry for the unnecessary panics that could've occured on some cases outside of ubuntu.

@zanieb
Copy link
Member

zanieb commented Mar 25, 2024

Related #2564

@BurntSushi BurntSushi added the internal A refactor or improvement that is not user-facing label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants