Skip to content

pynq.lib import fails with pycparser ≥ 3.0: ModuleNotFoundError: No module named 'pycparser.plyparser' #1543

@ironmanna

Description

@ironmanna

Importing anything from pynq.lib fails because pynq/lib/pynqmicroblaze/rpc.py imports ParseError from pycparser.plyparser, a submodule that was removed in pycparser 3.0.

This breaks CI on every PR because tests/test_axigpio.py (and any other test that touches pynq.lib) cannot even be collected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions