Skip to content

Conversation

@vshakitskiy
Copy link
Contributor

Fixes #4836.
Continuation of #4887.

The only question is that I don't know how to test ensure_packages_exist_locally. Should I extract it to a standalone function outside of the impl block?

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

Mm yes it's tricky, this bit of the codebase isn't very testable. What you've suggested sounds good to me.

@vshakitskiy vshakitskiy requested a review from lpil December 1, 2025 19:22
@vshakitskiy vshakitskiy force-pushed the update-error-if-not-exists branch 5 times, most recently from c09dd5e to 5ecddc2 Compare December 5, 2025 10:35
@vshakitskiy vshakitskiy force-pushed the update-error-if-not-exists branch from d0f4aea to 21cea15 Compare December 15, 2025 09:26
@vshakitskiy vshakitskiy force-pushed the update-error-if-not-exists branch from 21cea15 to c1d0076 Compare December 23, 2025 06:56
@vshakitskiy vshakitskiy force-pushed the update-error-if-not-exists branch from c1d0076 to f767d00 Compare December 29, 2025 13:37
@vshakitskiy vshakitskiy force-pushed the update-error-if-not-exists branch from f767d00 to 2a51ec4 Compare December 29, 2025 13:38
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.

Return an error if asked to update a package that does not exist

2 participants