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#58850 - [python-cachecontrol] requires.txt wants msgpack-python (deprecated) instead of msgpack

Attached to Project: Community Packages
Opened by Ariel AxionL (axionl) - Sunday, 03 June 2018, 10:56 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 07 June 2018, 17:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Eli Schwartz (eschwartz)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The `cachecontrol` cannot find `msgpack` as a dependent. It will cause the installation package to fail by `pip install`.

Additional info:
* package version(s)

python-cachecontrol 0.12.4-1
python-msgpack 0.5.6-1

* config and/or log files etc.

cachecontrol 0.12.4 requires msgpack-python, which is not installed.

This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 07 June 2018, 17:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-cachecontrol 0.12.5-1
Comment by Doug Newgard (Scimmia) - Sunday, 03 June 2018, 14:20 GMT
Give specifics. I don't know what pip has to do with anything, both packages mentioned are the in the Arch binary repos and install fine.
Comment by Ariel AxionL (axionl) - Sunday, 03 June 2018, 14:29 GMT
Eg:
$ pip install --user pycryptodomex
Requirement already satisfied: pycryptodomex in ./.local/lib/python3.6/site-packages (3.6.1)
cachecontrol 0.12.4 requires msgpack-python, which is not installed.
Comment by Eli Schwartz (eschwartz) - Sunday, 03 June 2018, 14:41 GMT
The msgpack-python name was deprecated and downstream consumers should be using "msgpack" only.

https://github.com/ionrock/cachecontrol/pull/189 for the upstream PR which fixes this.

Since the Arch Linux package does not contain setuptools entry points (which would check those dependencies) and things otherwise work, I did not investigate and discover this incorrect info. Therefore I did not either consider the use case of pip install --user finding cachecontrol but then complaining that it doesn't have its dependencies. :D
Comment by Ariel AxionL (axionl) - Sunday, 03 June 2018, 14:51 GMT
Thanks for the answer!
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 03 June 2018, 14:52 GMT
> cachecontrol 0.12.4 requires msgpack-python, which is not installed.

Ariel AxionL: That's just a warning. I believe pycryptodomex has been correctly installed.

Doug Newgard: The warning is related to an upstream cachecontrol issue. I have an unmerged patch for that: https://github.com/ionrock/cachecontrol/pull/189.
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 03 June 2018, 14:53 GMT
Oh, Eli Schwartz is really fast :)
Comment by Ariel AxionL (axionl) - Sunday, 03 June 2018, 15:27 GMT
I temporarily created a patch to solve this problem for python-cachecontrol by rename the `msgpack-python` and it works!

https://gist.github.com/axionl/57daf488253aa26fb427833f9e4c340a
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 05 June 2018, 15:07 GMT
My pull request https://github.com/ionrock/cachecontrol/pull/189 is merged. Could Arch Linux backport it?
Comment by John Smith (macrophage) - Thursday, 07 June 2018, 16:27 GMT
How long does it take for this fix to be pushed to Arch so we can update via pacman?

I'm new to bug reporting here :p
Comment by Eli Schwartz (eschwartz) - Thursday, 07 June 2018, 16:36 GMT
The current version just emits irritating warnings when parsing the metadata in pip. I've been waiting for a new version to be released which contains much more interesting fixes like https://github.com/ionrock/cachecontrol/pull/190

The new version was released two hours ago...

Loading...