pydata / sparse

Sparse multi-dimensional arrays for the PyData ecosystem
https://sparse.pydata.org
BSD 3-Clause "New" or "Revised" License
585 stars 125 forks source link

[conda] Sparse version string is not recognized by pip list/check #626

Closed Zeitsperre closed 8 months ago

Zeitsperre commented 8 months ago

Describe the bug When installing the latest version of sparse (0.15.1) available from conda-forge, it appears that the version string is not at all recognized (provides 0.0.0). This causes issues for projects downstream that use the pip check command to ensure that dependencies are correct.

To Reproduce

$ conda create -n test pythopn==3.10
$ conda activate test
$ conda install sparse
$ pip list

Output:

Package       Version
------------- --------
...
sparse        0.0.0
...

Expected behavior

Package       Version
------------- --------
...
sparse        0.15.1
...

System

Additional context This is likely an issue with the dynamic versioning configuration within the source code here, and not necessarily an issue coming from conda, hence why I opened the bug report here.

hameerabbasi commented 8 months ago

Thanks for the bug report. I'll try to reproduce and publish a new build with a fix soon.