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

Trouble installing on python 3.10 #159

Open
ivirshup opened this issue Sep 25, 2023 · 6 comments
Open

Trouble installing on python 3.10 #159

ivirshup opened this issue Sep 25, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@ivirshup
Copy link
Member

Describe the bug
I believe this package should be installable on python 3.10, since the pyproject.toml says:

python = ">=3.8,<=3.10"

But pip in a fresh conda environment isn't letting me install:

mamba create -yn "ncem-env" python=3.10 
conda activate ncem-env
pip install ncem
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.7,<3.10; 0.1.1 Requires-Python >=3.7,<3.9; 0.1.2 Requires-Python >=3.7,<3.9; 0.1.3 Requires-Python >=3.7,<3.9; 0.1.4 Requires-Python >=3.7,<3.9; 0.1.5 Requires-Python >=3.8,<=3.10
ERROR: Could not find a version that satisfies the requirement ncem (from versions: none)
ERROR: No matching distribution found for ncem

Maybe the versioning could be loosened up a bit?

System [please complete the following information]:

-----
session_info        1.0.0
-----
Python 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]
Linux-5.15.0-82-generic-x86_64-with-glibc2.35
-----
Session information updated at 2023-09-25 14:56
@ivirshup ivirshup added the bug Something isn't working label Sep 25, 2023
@AnnaChristina
Copy link
Member

do you need python 3.10 for a specific other dependency you want to use? I recently installed it on 3.9 and worked with ncem evrsion 0.1.5.

@ivirshup
Copy link
Member Author

do you need python 3.10 for a specific other dependency you want to use?

No. It's not urgent, just something that came up while setting up environments and seems like something that should work given the version specifications.

3.9 is working, may be a bigger issue soon since I believe numpy will stop supporting 3.9 in the near future.

@AnnaChristina
Copy link
Member

there is another issue upcoming, namely that patsy is no longer maintained and the whole linear ncem model backend is dependent on patsy. had not yet have time to think about updated dependencies.

@AnnaChristina
Copy link
Member

but nevertheless this 3.10 issue is def a bug, will look into it. Thanks!

@DomenicoSkyWalker89
Copy link

Hello @AnnaChristina,
I'm checking in to see if there are any updates. I'm asking because I'm using a dependency that requires Python version >= 3.10.2.

Thank you for your assistance.

Best regards,
Domenico

@giovp
Copy link
Member

giovp commented Jul 15, 2024

just pinging this as I was trying today but had to create new env with python3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants