[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796030: RFS: tablesnap/0.7.2-1 [ITP] -- Backup utility for the Cassandra database



Hi Jeremy,


>I've started by branching upstream and getting the scripts to pass 2to3,
>but those are breaking changes... I'm not exactly sure how I'd include
>these in the package while still maintaining compatibility with Python
>2.


you can run 2to3 or 3to2 (both available on Debian) during build time [1] [2]

to have a package (testing is needed) that runs on both.

I recommend converting the code to python3 and run 3to2 at build time

(3to2 should already be in python package)


[1] https://sources.debian.net/src/pygithub/1.25.2-4/setup.py/
[2] http://sources.debian.net/src/python-guess-language/0.5.2-3/setup.py/?hl=379#L379

>Done, but not well tested yet. I'll have to modify my testing
>environment a bit to run it under systemd.


a plain Debian Jessie might be good :)

>Thanks for taking a look! I've uploaded a new source package with these

>changes to mentors.debian.net for testing. 


let me know about the python2/3 if you want to discuss with upstream, in the meanwhile
I'll review that one.

cheers,

G.


Reply to: