Skip to content

Fix modified libraries not being upgraded#1734

Merged
deathaxe merged 1 commit intomasterfrom
fix/modified-library-upgrades
Mar 15, 2026
Merged

Fix modified libraries not being upgraded#1734
deathaxe merged 1 commit intomasterfrom
fix/modified-library-upgrades

Conversation

@deathaxe
Copy link
Copy Markdown
Collaborator

This commit removes checks to prevent modified libraries from being upgraded.

Originally intended to prevent accidental data loss of in-development libraries the safe guard may prevent updates in production environments unintentionally.

It is not clear which mechanism modifies files on disk, but users have been reporting untouched libraries from not upgrading for this reason, repetitively.

This commit removes checks to prevent modified libraries from being upgraded.

Originally intended to prevent accidental data loss of in-development libraries
the safe guard may prevent updates in production environments unintentionally.

It is not clear which mechanism modifies files on disk, but users have been
reporting untouched libraries from not upgrading for this reason, repetitively.
@deathaxe deathaxe merged commit 0383979 into master Mar 15, 2026
6 of 8 checks passed
@deathaxe deathaxe deleted the fix/modified-library-upgrades branch March 15, 2026 13:28
@rchl
Copy link
Copy Markdown
Contributor

rchl commented Mar 15, 2026

With latest version my setup is affected. I normally link lsp_utils into Lib and remove *.dist-info:

Screenshot 2026-03-15 at 21 02 56

but now PC replaces it with released lsp_utils. Am I doing something wrong?

If I don't remove *.dist-info then it's also replaced (previously it would not update due to detecting changes).

@deathaxe
Copy link
Copy Markdown
Collaborator Author

deathaxe commented Mar 15, 2026

You wanted it, you got it. Don't cry!

@rchl
Copy link
Copy Markdown
Contributor

rchl commented Mar 15, 2026

I didn't want the libraries I work on replaced. Only ones I don't work on.

I've suggested a solution that wouldn't have this problem - a new setting that would allow me to specify which libraries/packages shouldn't be updated.

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