Re:Ride the carousel of folly with a Python migration
by zzleeper on Tuesday January 24, 2017 @06:16AM
(#13470483)
Are you using py3 exclusive features? If you are not, then you are not really using python 3 (tuple unpacking, etc.)
If you want to do both, then you need pasteurize, and end up with a travis mess: https://github.com/sergiocorreia/panflute/blob/master/.travi...
To be honest, for me the morale of the story is that supporting py2 is just not worth it. I am not going to use it, so why support it at all?
Re:Ride the carousel of folly with a Python migration
by slavik81 on Tuesday January 24, 2017 @06:58AM
(#13470652)
Interesting. I do stick to Python 2 features, but put in some work to ensure my programs are valid Python 3. I'm not a very skilled Python developer, so the simplicity of that strategy is attractive.
One thing that I notice is that your project is a library, while mine is a program. I wonder if that also plays a role.
All I had to do was create a setup.cfg that said:
To build, I use: The .travis.yml is just 7 lines. https://github.com/cgmb/guardonce/blob/v2.0.0/.travis.yml