Skip to content

Error when filtering install tags on install targets with no tag #421

@bruchar1

Description

@bruchar1
mesonpy\__init__.py", line 860, in _install_plan
    if details['tag'].strip() not in install_tags:
       ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'

ERROR Backend subprocess exited when trying to invoke build_wheel

It occurs because some targets in intall_plan have null tag.

For an example, it occurs when I try to build wheel for https://github.com/bruchar1/pypkgconf

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions