-
Notifications
You must be signed in to change notification settings - Fork 1
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
req support for Python 3 #3
Comments
I'm going to take a shot at this in https://github.com/paregorios/hucit_kb/tree/python3 and will issue a PR if successful. |
Nope. This is blocked at least by the dependency on Surf, which seems only to be available for 2.x. They have an FR for Python 3, but that work seems to have stalled in 2016 (sic). I note here that official support for Python 2 ends on 1 January 2020. |
I've spent a couple hours trying to upgrade Surf to python 3 and the errors I'm getitng from its tests are beyond my ability to resolve. So this is a dead end for me. |
ok, after having run the tests for this branch I believe this is where something goes wrong: https://github.com/cosminbasca/surfrdf/blob/master/surf/util.py#L321-L349 it's the function responsible for mapping values to their rdflib equivalent and, for some reason, it's casting a unicode string into a well, actually it may be a bit more complicated than that. What I wrote above was true for py32, later versions throw more obscure exceptions... |
(I am saying this way because I am super happy about it :p ) |
Note that if this works, I expect to see Hucit really soon in Py3 :D |
@PonteIneptique this is fantastic news! so glad and thankful that you got bored ;-) I hope your PR will soon be merged into the main branch, otherwise I'll be happy to use your fork. And, yes, this was the issue keeping me from migrating my whole citation-extraction framework to Py3. |
Note, if you want to try to move to Py3, you can install using |
@paregorios @PonteIneptique It took a loooong time, but I'm happy to report that a first version of As I haven't found a way yet to install Thibault's Unfortunately, this branch cannot (yet) being merged into master as I have another library (my CitationExtractor) relying on Big kudos to @PonteIneptique for his Py3 port of |
|
Evidently this package only works with Python 2. The diagnostic error is that install with pip under Python 3.6.5 OSX El Capitan (10.11.6) fails:
Also cannot use git clone and setup.py. Same error:
The text was updated successfully, but these errors were encountered: