pysentimiento icon indicating copy to clipboard operation
pysentimiento copied to clipboard

updated for compatibility with python3.10

Open HugoJBello opened this issue 3 years ago • 3 comments

I added two init.py in the test directories, otherwise I could not run the tests. I could not properly install with poetry, I suspect is not fully compatible with my python version. Nevertheless I installed the project with the same packages and versions using venv and everything works (including all the integration and unit tests).

HugoJBello avatar Sep 23 '22 12:09 HugoJBello

@HugoJBello estoy con algunos problemas con poetry y esto. Dejame ver si puedo rearmarlo.

finiteautomata avatar Oct 03 '22 13:10 finiteautomata

Well, the problem seems to be locking the dependencies for python 3.7. The other versions have no problems. Give me an extra couple of days to check for any reasonable way to fix this as I want to keep compatibility with Google Colab

finiteautomata avatar Oct 05 '22 13:10 finiteautomata

I'm sorry @HugoJBello but I cannot fix the dependency issue with numpy/python 3.7. I've tried many things but ultimately it seems that we need to update numpy to >= 1.22, which would break python 3.7 compatibility.

Possible related stuff:

If you want to install poetry and give it a shot, perhaps you can fix it 🤷 As soon as Google Colab updates its version to 3.8, I will update this otherwise.

finiteautomata avatar Oct 11 '22 14:10 finiteautomata

Ok, decided that pysentimiento 0.5 will drop 3.7 support.

finiteautomata avatar Oct 20 '22 08:10 finiteautomata

There was a problem with version 0.5.1, try 0.5.2 instead for python 3.10 support

finiteautomata avatar Oct 20 '22 10:10 finiteautomata