You are not logged in.

#1 2018-08-08 09:15:59

MessedUpHare
Member
From: London
Registered: 2012-08-27
Posts: 2
Website

[SOLVED] Maintaining a python package with dependancy on an older vers

I've taken ownership of python-luigi in AUR.
It has a dependency from setup.py on python-tornado<5.0
the community package version is 5.1.0

I figure this isn't that uncommon - but for the life of me I can't find any example pkgbuilds to use as reference,
I'm not sure what the best practices are regarding keeping this working with arch.

Obviously, I will first of all engage upstream to see why this dependency exists

As far as I can see, I have the following options:
* create a new AUR package, for the outdated tornado version, specifically for this version
* package tornado inside the Luigi package

Which is the best approach? Or have I got it completely wrong and there is a better option?

Last edited by MessedUpHare (2018-08-08 09:36:38)

Offline

#2 2018-08-08 09:27:00

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED] Maintaining a python package with dependancy on an older vers

python-tornado-4.4 seems to be in the AUR already if you don't require 4.5.
Edit: This raises the question if it works with python 3.7, though.

Last edited by progandy (2018-08-08 09:29:14)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2018-08-08 09:34:00

MessedUpHare
Member
From: London
Registered: 2012-08-27
Posts: 2
Website

Re: [SOLVED] Maintaining a python package with dependancy on an older vers

Ah-ha, Thanks progandy. Yeah - i'll run a few tests.
setup.py says it needs > 4.0 - so 4.4 *should* work.

Offline

Board footer

Powered by FluxBB