FS#74927 - [python-cbor2] Missing files

Attached to Project: Community Packages
Opened by env (ENV25) - Wednesday, 01 June 2022, 10:29 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Wednesday, 15 June 2022, 15:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Caleb Maclennan (alerque)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Missing files in package python-cbor2 in [community].

Additional info:
* version 5.4.3-1

Files:

```
% ls -d /usr/lib/python3.10/site-packages/*cbor*
/usr/lib/python3.10/site-packages/_cbor2.cpython-310-x86_64-linux-gnu.so
```

```
% ls -d ~/.local/lib/python3.10/site-packages/*cbor*
/home/nv/.local/lib/python3.10/site-packages/cbor2
/home/nv/.local/lib/python3.10/site-packages/cbor2-5.4.3.dist-info
/home/nv/.local/lib/python3.10/site-packages/_cbor2.cpython-310-x86_64-linux-gnu.so
```
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Wednesday, 15 June 2022, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-cbor2 5.4.3-2
Comment by Maxim Devaev (mdevaev) - Wednesday, 01 June 2022, 19:27 GMT
The reason is broken python-setuptools: https://bugs.archlinux.org/task/74934
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 02 June 2022, 17:18 GMT
In https://github.com/archlinux/svntogit-community/commit/2f2d7c8d2b21255b43f6e8210eb9c89ea5d75f16, the version constraint setuptools >= 61 is bypassed, while it's there for a good reason: https://github.com/agronholm/cbor2/commit/f9b8e504e932a9f8b529282b67cf8a9309746fe4#r72966981. cbor2 5.4.3 built with the legacy approach (`python setup.py build` and `python setup.py install`) is also broken.

alerque: could you consider reverting cbor2 to 5.4.2.post1 until setuptools is updated? As a side note, setuptools >= 60.7.0 is blocked for other reasons (too long to describe here :D), so newer versions may not arrive soon.
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 11 June 2022, 10:59 GMT
Here comes community-testing/python-setuptools 61.0.0. Besides using the correct setuptools version, attached PKGBUILD also enables previously-skipped tests.
   PKGBUILD (1.2 KiB)
Comment by David Runge (dvzrv) - Tuesday, 14 June 2022, 12:20 GMT
It is now rebuilt in [community-testing] using python-setuptools 61.x and should be moved to stable soonish (alaongside setuptools 61.x).
Comment by Chih-Hsuan Yen (yan12125) - Wednesday, 15 June 2022, 15:55 GMT
Thanks! I think python-cbor2 is working correctly as cbor-related tests in python-autobahn are now green.

Loading...