Skip to content

revert: remove attribute locking#207

Merged
henryiii merged 2 commits intopypa:mainfrom
henryiii:henryiii/revert/nolocking
Oct 21, 2024
Merged

revert: remove attribute locking#207
henryiii merged 2 commits intopypa:mainfrom
henryiii:henryiii/revert/nolocking

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented Oct 16, 2024

If we do want to remove attribute locking for non-dynamic fields, this is what it would look like. It can get in the way in a few valid cases (see #202). Maybe it's better to just leave it up to the backends to check the dynamic array? They probably never want our error to surface, anyway, as it's always a backend error to hit this.

Another option is we could make it smarter, allowing normalization for some fields. I just think the new license field might be tricky to validate if it's just a normalization? Or maybe not?

Or we can leave it.

@dnicolodi
Copy link
Copy Markdown
Contributor

This needs to update the text in the README too.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/revert/nolocking branch 2 times, most recently from 5c84444 to ffe1f9f Compare October 21, 2024 18:53
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/revert/nolocking branch from ffe1f9f to 288cd49 Compare October 21, 2024 18:56
@henryiii henryiii merged commit 87b90e8 into pypa:main Oct 21, 2024
@henryiii henryiii deleted the henryiii/revert/nolocking branch October 21, 2024 19:00
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