Skip to content

testtools does not conform to PEP 396 #541

@jelmer

Description

@jelmer

Migrated from Launchpad: https://bugs.launchpad.net/bugs/1452436

Original Reporter: David Riddle
Date Created: 2015-05-06 20:23:48.053154+00:00
Status on Launchpad: Triaged
Importance: Wishlist


For our package management we use automated tooling to extract version numbers from python packages. I would like to request that you change the version attribute so that it conforms to PEP 396. Currently version returns a tuple according to PEP 396 it should return a string. From what I have seen it is common for the tuple form to be stored in version_info.

PEP 396 states:

#. When a module (or package) includes a version number, the version
SHOULD be available in the __version__ attribute.

#. The __version__ attribute's value SHOULD be a string.

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