Skip to content

WHEEL_INFO_RE regression in wheel==0.31.0 #235

@derekbekoe

Description

@derekbekoe

In wheel==0.30.0:

>>> from wheel.install import WHEEL_INFO_RE
>>> WHEEL_INFO_RE('helloworld-0.0.5.dist-info')
<_sre.SRE_Match object at 0x110107c90>
>>> WHEEL_INFO_RE('helloworld-0.0.5.dist-info').groupdict()
{'ver': '0.0.5', 'name': 'helloworld', 'abi': None, 'plat': None, 'pyver': None, 'build': None, 'namever': 'helloworld-0.0.5'}
>>> 

In wheel==0.31.0:

>>> from wheel.install import WHEEL_INFO_RE
>>> WHEEL_INFO_RE('helloworld-0.0.5.dist-info')
>>> WHEEL_INFO_RE('helloworld-0.0.5.dist-info').groupdict()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'groupdict'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions