Re:Open sourcing Sonnet – a new library for constructing neu...
by wdroz on Friday April 07, 2017 @10:48AM
(#14060101)
Python 2.7 only is a no-go for me.
Re:Open sourcing Sonnet – a new library for constructing neu...
by mark_l_watson on Saturday April 08, 2017 @07:54AM
(#14066507)
I am not a Python developer, but I do use Python occasionally.
Is Python 2.7 requirement really a big deal for mostly using other people's code (adding a bit of your own application layer code)?
I use Anaconda and just have different environments for 2.7 and 3.x, TensorFlow or spaCy, or NLTK, etc.
Really easy to switch to the environment I need.
Re:Open sourcing Sonnet – a new library for constructing neu...
by ganfortran on Sunday April 09, 2017 @12:55AM
(#14070551)
It is more about ideology.
The 3.x is catching up, but still not fast enough as the community wants it to. But 2.7 is here for a reason, and shaming people that used 2.7 to push 3.x adoption, in my opinion is a bad practice.
Re:Open sourcing Sonnet – a new library for constructing neu...
by ylem on Friday April 07, 2017 @04:08PM
(#14063106)
Another possibility is this:
https://docs.python.org/3/howto/cporting.html
If either their library (or a dependency) depends on something which binds to C, it could take some effort to make it python 3 compatible.
(FWIW, I use 2 or 3 depending on the OS or libraries that I am dealing with)
Re:Open sourcing Sonnet – a new library for constructing neu...
by ganfortran on Friday April 07, 2017 @01:09PM
(#14061488)
Which is fine. It is DL library, not for string processing.
Re:Open sourcing Sonnet – a new library for constructing neu...
by tiff_seattle on Friday April 07, 2017 @11:06AM
(#14060288)
If this is text only, maybe it will work on Bash on Windows?
Re:Open sourcing Sonnet – a new library for constructing neu...
by peakai_grandma on Friday April 07, 2017 @09:29AM
(#14059406)
Are you suggesting they add compatibility for Win?
Re:Open sourcing Sonnet – a new library for constructing neu...
by baq on Friday April 07, 2017 @09:43AM
(#14059539)
My guess is Python 3. Not supporting Python 3.5+ in a newly released project is disrespectful at this point.
Re:Open sourcing Sonnet – a new library for constructing neu...
by ColanR on Friday April 07, 2017 @10:29AM
(#14059897)
The problem could be one of their dependencies only supports 2.7. I know that's been an issue for me in the past.
Re:Open sourcing Sonnet – a new library for constructing neu...
by aw3c2 on Friday April 07, 2017 @11:12AM
(#14060343)
Looking at the setup.py they only depend on tensorflow and some testing thing which both seem to support Python 3 just fine.
Re:Open sourcing Sonnet – a new library for constructing neu...
by inputcoffee on Friday April 07, 2017 @10:57AM
(#14060203)
Possible, but this is the first year that I have more 3 only dependencies than 2 only dependencies. I would be curious what they are.
Re:Open sourcing Sonnet – a new library for constructing neu...
by mijoharas on Friday April 07, 2017 @11:00AM
(#14060238)
I agree, but the right thing to do is to update the dependency to support python 3.
Sad face.