Repository navigation
Address issue where dictionary size changed during iteration - #246
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #246 +/- ##
=======================================
Coverage 89.50% 89.50%
=======================================
Files 31 31
Lines 1258 1258
=======================================
Hits 1126 1126
Misses 132 132 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
bsipocz
left a comment
There was a problem hiding this comment.
Thanks! It looks good, but I would do the list conversion on a different line instead.
Co-Authored-By: Brigitta Sipőcz <brigitta.sipocz@gmail.com>
|
@bsipocz thanks for the feedback. The suggestions got messy so I threw out those commits and made a new one that cleans it all up |
|
Interestingly, |
Co-authored-by: Brigitta Sipőcz <b.sipocz@gmail.com>
|
Thanks, all! Do we need an immediate release? |
|
I would appreciate a timely release, but not "drop everything you're doing" immediate. Cheers :) |
There is nothing else in the diff, are we waiting for anything else? E.g. I would love to have this closed before we tag a new release: #234 |
|
I don't have time to dig into #234 . I think it is reasonable to have bugfix release with just one patch if actual users are affected? |
|
OK, let me wait until the end of the week, maybe I'll have some time to look into this and upstream sphinx. |
|
Thank you! 🙏 🙇♀️ |
|
@bsipocz , should I go ahead with the release? Please advise. Thanks! |
I did some initial exploring and figured out that a size changed during iteration error got triggered for a
namesdictionary corresponding to a Pydantic model, but in my case (cthoyt/sssom-pydantic#171) it's happening for a model that my code changes don't touchthis fix at least makes sure that the size doesn't change during iteration, but there might be something deeper going on
🫀 No generative artificial intelligence was used to produce the code and text for this contribution; only human intelligence