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

fix: update pep508_rs which had unmaintained dependencies #98

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

volgar1x
Copy link
Contributor

No description provided.

@volgar1x volgar1x self-assigned this Nov 12, 2024
} else {
merged.marker = Some(new_marker.clone());
}
if old.marker != new.marker {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't exactly the same thing. the old code is saying if there exists a new marker, use that if there is no old marker or if its the same. the new code here wouldn't produce the same result. for example:

old.marker = None
new.marker = Some(marker)
// old code
merged.marker = Some(marker)
// new code
return None

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The marker field isn't an Option<T> anymore 🤐

}
}
false
old.marker == new.marker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same principle here

Copy link
Contributor

@jpopesculian jpopesculian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okie dokie! sorry I misunderstood. looks good. I'd like to replace this all with the uv builtins at some point. it doesn't make sense to reinvent the wheel and they do it better than us

@jpopesculian jpopesculian added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 2131abe Nov 13, 2024
11 checks passed
@jpopesculian jpopesculian deleted the fix-update-pep508rs branch November 13, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants