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

HashableDict is removed in conda_build 24.7 #1967

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

minrk
Copy link
Member

@minrk minrk commented Jun 28, 2024

HashableDict is deprecated in conda-build 24.5.0 in favor of frozendict.deepfreeze, removed in 24.7.

ref: conda/conda-build#5284

rerender's working for me with this change and conda-build 24.5.1.39_gc49182fe. Rerender time is reduced by about 90% for me with 24.7.x, so I'm looking forward to this release.

HashableDict is deprecated in conda-build 24.5 in favor of deepfreeze, removed in 24.7
@minrk minrk requested a review from a team as a code owner June 28, 2024 07:24
it's 10x faster than using deepfreeze
@minrk
Copy link
Member Author

minrk commented Jun 28, 2024

Turns out deepfreeze is super expensive (~10x) compared to HashableDict for our purposes. Measuring a rerender of petsc4py:

with deepfreeze:

Screenshot 2024-06-28 at 11 38 05

with HashableDict:

Screenshot 2024-06-28 at 11 37 33

so keeping HashableDict saves about 1 minute on a 5 minute rerender.

@minrk minrk changed the title trade HashableDict for frozendict.deepfreeze HashableDict is removed in conda_build 24.7 Jun 28, 2024
@beckermr
Copy link
Member

Thank you!

@beckermr beckermr merged commit b0facd0 into conda-forge:main Jun 28, 2024
2 checks passed
@minrk minrk deleted the deepfreeze branch June 28, 2024 17:53
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