Skip to content

Conversation

@Flamefire
Copy link
Contributor

We still support that deprecated module and some older easyblocks do use it. E.g. the easybuildmeta easyblock in EESSI which fails with

cannot import name 'OrderedDict' from 'easybuild.tools.py2vs3'

Copy link
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ocaisa ocaisa enabled auto-merge July 30, 2025 12:33
@boegel boegel changed the title Readd OrderedDict import add back OrderedDict import in (deprecated) easybuild.tools.py2vs3.py3 module Jul 30, 2025
@boegel boegel added the bug fix label Jul 30, 2025
@boegel boegel added this to the release after 5.1.1 milestone Jul 30, 2025
@boegel
Copy link
Member

boegel commented Jul 30, 2025

This fix makes sense, it should be merged as a bug fix (we shouldn't break the API even for deprecated modules like easybuild.tools.py2v3.py3), but I'm puzzled as to how/where you're hitting this...

This import was removed via #4607 (so included in EasyBuild 5.0.0), and the EasyBuildMeta easyblock was updated accordingly in easybuilders/easybuild-easyblocks#2916 to stop assuming it's there.

@Flamefire
Copy link
Contributor Author

I'm rebuilding the modules of EESSI. Using the easyconfigs in the reprod folder failed because of changed or missing easyblocks. So I used the easyblocks from the reprod folders and hit this issue.

But then I hit an issue with a missing BLACS easyblock imported by that (older) version of the ScaLAPACK easyblock -.-

@ocaisa ocaisa merged commit b9372ba into easybuilders:develop Jul 30, 2025
37 checks passed
@Flamefire Flamefire deleted the ordereddict branch July 30, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants