Skip to content

fix: version resolution not working in 23.0 #1244

@cbueth

Description

@cbueth

Current Behavior

pymovements.__version__ resolves to "0+unknown".
This was tested in the conda-forge version.

When installed editable mode, resolves to '0.23.0+0.gc7e4c6a.dirty'.

Expected Behavior

The actual package version is expected when installing packaged version.

My suggestion is using importlib.metadata.version('pymovements').

Minimum acceptance criteria

__version__ should return the correct version.

Failure Information (for bugs)

No error or warning is produced.

Steps to Reproduce

  • Install from pypi or conda-forge
  • python -c "import pymovements as pm; print(pm.__version__)"

Checklist

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I have provided sufficient information for the team

Metadata

Metadata

Assignees

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