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

Avoid treating direct path archives as always dynamic #4283

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Right now, we're always reinstalling local wheel archives, even if the timestamp didn't change.

I want to fix the TODO properly but I will do so in a separate PR.

@charliermarsh charliermarsh added the bug Something isn't working label Jun 12, 2024
if is_dynamic(requested_path) {
// TODO(charlie): Separate `RequirementSource` into `Path` and `Directory`.
if requested_path.is_dir() && is_dynamic(requested_path) {
trace!("Dynamic");
Copy link
Member

Choose a reason for hiding this comment

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

Better message here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh sorry I thought this was already present.

@charliermarsh charliermarsh enabled auto-merge (squash) June 12, 2024 17:22
@charliermarsh charliermarsh merged commit c32667c into main Jun 12, 2024
47 checks passed
@charliermarsh charliermarsh deleted the charlie/repeated branch June 12, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants