Skip to content

datawrangler.__version__ reports incorrect version #29

@paxtonfitzpatrick

Description

@paxtonfitzpatrick

Looks like the version string for the package metadata was updated for the v0.2.2 release

version='0.2.2',

but the one stored in the __version__ attribute wasn't

__version__ = '0.2.1'

If you want, you can make it so that the version string is stored in only one place (your setup file) by instead setting the __version__ attribute with:

import sys
if sys.version_info < (3, 8):
    import importlib_metadata as metadata
else:
    from importlib import metadata


__version__ = metadata.version('pydata-wrangler')

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