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

Bump igraph version #13

Open
pontakornth opened this issue Mar 30, 2023 · 11 comments
Open

Bump igraph version #13

pontakornth opened this issue Mar 30, 2023 · 11 comments

Comments

@pontakornth
Copy link

Currently, CSO classifier is using an outdated version of python-igraph. That results in error in the installation step.

I come from the python-igraph repository igraph/python-igraph#654

@angelosalatino
Copy link
Owner

Thanks a lot for the heads up, I will fix this over the week end

@angelosalatino
Copy link
Owner

I have fixed and tested the version on github.

I wil need some more time to create the builds and release them on pypi. If you want, please install this version here.

@thoughtpoet
Copy link

I get python-igraph failures in most scenarios (python 3.8, 3.9 3.10).

(base) thoughtpoet@Freds-MBP-2 py36 % python --version
Python 3.6.15
(base) thoughtpoet@Freds-MBP-2 py36 % pip install cso-classifier
...
File "/var/folders/4c/4fgkkjz57sv92py6kdgpkw4c0000gn/T/easy_install-5fhnojyo/numpy-1.24.2/setup.py", line 20, in
PY2 = sys.version_info[0] == 2
RuntimeError: Python version >= 3.8 required.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/4c/4fgkkjz57sv92py6kdgpkw4c0000gn/T/pip-install-1hghb74r/gensim/

From downloads on 3.6.15, I get:
ERROR: Cannot install cso-classifier==2.1, cso-classifier==2.2, cso-classifier==2.3, cso-classifier==2.3.1, cso-classifier==2.3.2 and cso-classifier==3.0 because these package versions have conflicting dependencies.

The conflict is caused by:
cso-classifier 3.0 depends on spacy==3.0.5
cso-classifier 2.3.2 depends on pandas==0.24.2
cso-classifier 2.3.1 depends on pandas==0.24.2
cso-classifier 2.3 depends on pandas==0.24.2
cso-classifier 2.2 depends on pandas==0.24.2
cso-classifier 2.1 depends on pandas==0.24.2

I've tried with anaconda and then with pyenv. What's the best way to build? Do you have locked dependency versions that will work for any of the releases?

@angelosalatino
Copy link
Owner

which version are you trying to install? The one on via pypi or the one on github.

I am asking because the one on github is the latest version. I need to publish it on pypi. And this version on github, should have a better version of dependencies.

@thoughtpoet
Copy link

thoughtpoet commented Apr 16, 2023 via email

@angelosalatino
Copy link
Owner

Which operative system are you on?

@thoughtpoet
Copy link

thoughtpoet commented Apr 16, 2023 via email

@angelosalatino
Copy link
Owner

Ok. perfect. I will run some tests and keep you posted.

Best

@thoughtpoet
Copy link

thoughtpoet commented Apr 16, 2023 via email

@angelosalatino
Copy link
Owner

Hi Fred,

I had the chance to get my hands on a Mac OS Ventura on M1 (so similar to yours).

I tested both python 3.8 and python 3.7. I was able to install the cso classifier via pip install cso-classifier without issues. It seems I can't reproduce your errors.

Besides, based on the log you provided, I realised that you are installing the cso-classifier on a base environment. I suggest you to try on a brand new environment with the latest version of pip.

@thoughtpoet
Copy link

thoughtpoet commented Apr 17, 2023 via email

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

No branches or pull requests

3 participants