Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75322 - [python-xarray] Invalid python-level version metadata

Attached to Project: Community Packages
Opened by Antony Lee (anntzer) - Thursday, 14 July 2022, 22:27 GMT
Last edited by Toolybird (Toolybird) - Sunday, 24 July 2022, 02:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-xarray 2022.03.0-1 is installed with a distutils metadata version of 999, as reported e.g. by `pip show xarray` or by the presence of a `xarray-999-py3.10.egg-info` directory in the built package tree.

I *think* this arises from the use of `setup.py build` from an unpacked sdist in the PKGBUILD, doing e.g. `pip install --no-binary=xarray xarray` (forcing an install from the sdist) installs with the correct version metadata.

Steps to reproduce:
$ pip show xarray
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 24 July 2022, 02:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-xarray 2022.06.0-1

Loading...