Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672760 - dev-python/arrow should depend on dev-python/backports-functools-lru-cache
Summary: dev-python/arrow should depend on dev-python/backports-functools-lru-cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-08 17:50 UTC by Cédric Krier
Modified: 2020-04-19 16:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Krier gentoo-dev 2018-12-08 17:50:12 UTC
Under python 2.7, the module requires backports.functools_lru_cache>=1.2.1
See https://github.com/crsmithdev/arrow/blob/master/setup.py#L44
Comment 1 Jan Breuer 2019-10-09 13:08:53 UTC
This is somehow solved in dev-python/arrow-0.13.1 but not correctly.

It now pulls dev-python/backports-functools-lru-cache even if there is no need for python 2.7 which results in huge dependency overhead of all related packages to support also python 2.7.

dev-python/arrow-0.12.1 does not have this dependency and works well on python 3.6 only environment.
Comment 2 Chris Mayo 2020-03-24 20:12:04 UTC
Fixed with the removal of Python 2 in:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0c44f20d3aa68080fcba0d943a2a933f2db22f