Skip to content

Commit

Permalink
try to pass the conda-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrinive committed Feb 9, 2025
1 parent b8368db commit ab87e59
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{% set name = "qfit" %}
{% set version = "2.0.5" %}
{% set sha256 = "dfdd267742850d7e3a0ddf1ba1cd1ca202307360a3fa7168c3413dedf56834b0" %}
{% set python_min = "3.10" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/qfit-{{ version }}.tar.gz
sha256: {{ sha256 }}
sha256: dfdd267742850d7e3a0ddf1ba1cd1ca202307360a3fa7168c3413dedf56834b0

build:
noarch: python
Expand All @@ -17,31 +17,37 @@ build:

requirements:
host:
- python 3.10
- python {{ python_min }}
- setuptools >=64
- wheel
- setuptools-scm >=8
- pip
run:
- python >=3.10
- python >={{ python_min }}
- numpy >=1.14.2
- scipy >=1.1.0
- matplotlib-base >=3.1.2
- pyside6
- h5py >=2.7.1
- scikit-image
- scqubits >=3.0.0
- scqubits >=3.0.0, <4.3
- matplotlib-label-lines
- ipykernel
- jupyter
- pathos
- dill
# scqubits' build profile is somehow different from the installation profile
# so we need to add extra packages to make sure it passes the pip check
# it may introduce inconsistencies between the pyproject.toml and meta.yaml
- scipy >=1.5, <1.13.1
- cython >=0.29.20

test:
requires:
- pip
imports:
- qfit
commands:
- pip check

about:
home: https://github.com/scqubits/qfit
Expand Down

0 comments on commit ab87e59

Please sign in to comment.