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

ImportError: cannot import name 'itervalues' from 'conda.common.compat' #4481

Closed
tonigi opened this issue May 27, 2022 · 3 comments · Fixed by #4482
Closed

ImportError: cannot import name 'itervalues' from 'conda.common.compat' #4481

tonigi opened this issue May 27, 2022 · 3 comments · Fixed by #4482
Labels
duplicate::primary if an issue/PR has duplicates, this is the consolidated, primary issue/PR in-progress issue is actively being worked on locked [bot] locked due to inactivity severity::1 blocker; broken functionality with no workaround source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type type::tech-debt identifies or resolves some technical debt

Comments

@tonigi
Copy link

tonigi commented May 27, 2022

This line

from conda.common.compat import itervalues
references from conda.common.compat import itervalues which was removed from conda 4.13. See also conda/conda#11364

@kenodegard kenodegard added type::bug describes erroneous operation, use severity::* to classify the type type::tech-debt identifies or resolves some technical debt severity::1 blocker; broken functionality with no workaround source::community catch-all for issues filed by community members in-progress issue is actively being worked on labels May 27, 2022
@kenodegard
Copy link
Contributor

@tonigi thanks for reporting this, working on a fix in #4482

@kenodegard kenodegard pinned this issue May 27, 2022
chenghlee added a commit to AnacondaRecipes/repodata-hotfixes that referenced this issue May 27, 2022
conda 4.13.0 removed older code that break conda-build <=3.21.8;
work around for conda/conda-build#4481
chenghlee added a commit to AnacondaRecipes/repodata-hotfixes that referenced this issue May 27, 2022
conda 4.13.0 removed older code that break conda-build <=3.21.8;
work around for conda/conda-build#4481
@chenghlee chenghlee moved this to Done in 🧭 Planning May 27, 2022
@ngam
Copy link

ngam commented May 27, 2022

Does this necessitate a patch/minor release in conda-build or what's the timeline for releasing this fix widely?

@tonigi
Copy link
Author

tonigi commented May 27, 2022 via email

chenghlee added a commit to chenghlee/conda-forge-repodata-patches-feedstock that referenced this issue May 27, 2022
Conda 4.13.0 removed some deprecated code that broke older releases of
conda-build (xref: conda/conda-build#4481).  A patch was back-ported to
conda-build 3.21.8 build 1 (conda-forge/conda-build-feedstock#176), but
older versions need repodata patching so they don't unexpectedly break.
chenghlee added a commit to AnacondaRecipes/repodata-hotfixes that referenced this issue May 28, 2022
conda 4.13.0 removed older code that break conda-build <=3.21.8;
work around for conda/conda-build#4481
@kenodegard kenodegard added the duplicate::primary if an issue/PR has duplicates, this is the consolidated, primary issue/PR label May 28, 2022
kenodegard referenced this issue in conda/conda May 28, 2022
@jezdez jezdez unpinned this issue May 31, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label May 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate::primary if an issue/PR has duplicates, this is the consolidated, primary issue/PR in-progress issue is actively being worked on locked [bot] locked due to inactivity severity::1 blocker; broken functionality with no workaround source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type type::tech-debt identifies or resolves some technical debt
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants