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

Installation with Python >= 3.10.0a0? #125

Closed
allefeld opened this issue Sep 7, 2023 · 2 comments
Closed

Installation with Python >= 3.10.0a0? #125

allefeld opened this issue Sep 7, 2023 · 2 comments
Labels

Comments

@allefeld
Copy link

allefeld commented Sep 7, 2023

When I try to install pymer4 into a Conda environment with Python 3.10 or 3.11, I get the following message

    └─ pymer4 is not installable because there are no viable options
       ├─ pymer4 [0.7.1|0.7.2|...|0.8.0.9001] would require
       │  └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
       ├─ pymer4 [0.7.1|0.7.2|...|0.7.8] would require
       │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
       ├─ pymer4 [0.7.6|0.7.7|0.7.8] would require
       │  └─ python >=3.9,<3.10.0a0 , which conflicts with any installable versions previously reported;
       └─ pymer4 [0.7.1|0.7.2|0.7.3] would require
          └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported.

Are these version restrictions necessary? Are there any crucial changes since Python 3.10.0a0 which would necessitate changes? Installation into an environment with Python 3.9 works.

Note that this message is not from conda but from micromamba, but I'd assume that the latter reports dependencies correctly.

@allefeld allefeld added the bug label Sep 7, 2023
@allefeld
Copy link
Author

allefeld commented Sep 7, 2023

Installation with pip into a Conda environment with Python 3.11 seems to work without problem.

$ python -c "from pymer4.test_install import test_install; test_install()"
Pymer4 installation working successfully!

I was also able to run the first example in the Basic Usage Guide with correct results. Only that there is a warning message:

.../python3.11/site-packages/patsy/util.py:672: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead

@allefeld allefeld changed the title Installation with Python > 3.10.0a0? Installation with Python >= 3.10.0a0? Sep 7, 2023
@ejolly
Copy link
Owner

ejolly commented Sep 8, 2023

hey @allefeld sorry about that. I've now released version 0.8.1 which supports Python 3.8-3.11

@ejolly ejolly closed this as completed Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants