Skip to content

Can't extract CSR name from code in Python 3.14 #2399

@david-sawatzke

Description

@david-sawatzke

Similar to #2152, python 3.14 once again changed the opcodes so the name extraction in migen fails. Unfortunately there doesn't seem to be an upstream patch yet, and upstream has moved to their own git host with closed registrations.

I've been able to fix it by inserting "LOAD_FAST_BORROW" : _bytecode_length_version_guard(3), into the _load_build_opcodes dict in migen/fhdl/tracer.py for anyone else experiencing this issue and unwilling to downgrade.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions