Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.4 #42

Open
afedosenko opened this issue Apr 16, 2015 · 15 comments
Open

Add support for Python 3.4 #42

afedosenko opened this issue Apr 16, 2015 · 15 comments

Comments

@afedosenko
Copy link

No description provided.

@longedok
Copy link

+1

@tahseen
Copy link

tahseen commented May 14, 2015

Python 3 support will be great.

@ddemid
Copy link

ddemid commented Jul 7, 2015

+1

1 similar comment
@maccman
Copy link

maccman commented Aug 5, 2015

+1

@ad-m
Copy link
Contributor

ad-m commented Aug 25, 2015

👍

I am would like mark mailgun/talon require mailgun/flanker (lack python3 support) which require mailgun/expiringdict, which lack of python 3 support too.

@tgwizard
Copy link
Contributor

Hi,

I've created a fork of talon, https://github.com/tictail/claw, in which I've removed the signature extraction that depends on ML (which I didn't use), and cleaned up some dependencies (now much less weird stuff installed). I've also started to implement some bug fixes, along with CI test suites and so on.

Flanker is only used in the tests, so to get Python3.4 support working would be to just find another way to run those tests.

@obukhov-sergey
Copy link
Member

Hi all. Talon has been updated to have no flanker dependency. Could you please check compatibility with Python 3.4?

@ad-m
Copy link
Contributor

ad-m commented Sep 7, 2015

@obukhov-sergey , talon still require "lxml==2.3.3", but lxml < 3, are not python 3 compatible.

@ad-m
Copy link
Contributor

ad-m commented Sep 7, 2015

@obukhov-sergey , At https://github.com/ad-m/claw/tree/mailgun_talon I created fork of your repo, added TravisCi by python 2.7,3.3 and 3.4.

In .travis.yml I used conda package manager, due some performance issues (which make installations fails on Travis) for numpy, scipy and scikit-learn. Now it install fast enought.

Unfortuanetly, syntax of talon aren't python3 compatible. See for your code: https://travis-ci.org/ad-m/claw/jobs/79189172 .

I tried use 2to3 over talon code, but it still fails (see https://travis-ci.org/ad-m/claw/jobs/79186653 ).

@obukhov-sergey
Copy link
Member

Hi @ad-m, thanks. I've unpinned lxml version. Will try to address other comments as soon as possible but no ETA.

@ad-m
Copy link
Contributor

ad-m commented Sep 10, 2015

@obukhov-sergey , you have to add cssselect to dependencies too.

@Sumeet-Jain
Copy link

Hi,
I started to port this to python3.4.3. I have a fork where it passes almost all tests. However, it isn't backwards compatible with 2.7 (the project that I need talon for only uses python3). Feel free to check it out. In the next few weeks, I'll try to make it backwards compatible.

@ad-m
Copy link
Contributor

ad-m commented Feb 1, 2016

@Sumeet-Jain , thank you.

@timabbott
Copy link

#97 does the work to make the parts of talon that don't use ML support Python 3.

@yfilali
Copy link
Contributor

yfilali commented May 23, 2017

Since this is still unsolved, I have a python 3 version of talon ready to go. All tests are passing from python 2.7 to python 3.6 although I had to modify some of the tests to assert against byte arrays instead of string, and to pass an encoding when opening unicode files on python 3.

I'll send in a PR shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests