cellpy
cellpy copied to clipboard
Fix conda package
Installing mamba/conda package of cellpy 1.0.2 for python 3.12 must be checked and fixed.
The issue seems to be the conda recipe - it does not automatically update the python restrictions based on the pypi release.
build:
number: 0
skip: true # [py<310 or py>311]
entry_points:
- cellpy=cellpy.cli:cli
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
Change to:
build:
number: 0
skip: true # [py<310 or py>313]
entry_points:
- cellpy=cellpy.cli:cli
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
Did not work 👎
Temporary solution (for python > 3.11):
step 1: install using conda step 2: in the conda environment - use pip to install cellpy version 1.0.2
Output from conda search cellpy --channel conda-forge:
cellpy 1.0.2.post7 py310h5588dad_0 conda-forge
cellpy 1.0.2.post7 py311h1ea47a8_0 conda-forge
cellpy 1.0.2.post7 py312h2e8e312_0 conda-forge
... seems to be fixed now.