cellpy icon indicating copy to clipboard operation
cellpy copied to clipboard

Fix conda package

Open jepegit opened this issue 8 months ago • 1 comments

Installing mamba/conda package of cellpy 1.0.2 for python 3.12 must be checked and fixed.

jepegit avatar Apr 24 '25 10:04 jepegit

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

jepegit avatar May 05 '25 14:05 jepegit

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

jepegit avatar May 08 '25 21:05 jepegit

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.

jepegit avatar May 14 '25 17:05 jepegit