{% set name = "linear_operator" %}
{% set version = "0.1.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 81adc1aea9e98f3c4f07f5608eb77b689bc61793e9beebfea82155e9237bf1be

build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - python >=3.8
    - pip
  run:
    - python >=3.8
    - pytorch
    - scipy

test:
  imports:
    - linear_operator
    - linear_operator.functions
    - linear_operator.operators
    - linear_operator.test
    - linear_operator.utils
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/cornellius-gp/linear_operator
  summary: A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch
  license: MIT
  license_family: MIT
  license_file: LICENSE
  dev_url: https://github.com/cornellius-gp/linear_operator

extra:
  recipe-maintainers:
    - AdrianSosic
    - ngam

{% set name = "linear_operator" %}
{% set version = "0.1.1" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 81adc1aea9e98f3c4f07f5608eb77b689bc61793e9beebfea82155e9237bf1be

build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - python >=3.8
    - pip
  run:
    - python >=3.8
    - pytorch >=1.11
    - scipy

test:
  imports:
    - linear_operator
    - linear_operator.functions
    - linear_operator.operators
    - linear_operator.test
    - linear_operator.utils
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/cornellius-gp/linear_operator
  summary: A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch
  license: MIT
  license_family: MIT
  license_file: LICENSE
  dev_url: https://github.com/cornellius-gp/linear_operator

extra:
  recipe-maintainers:
    - AdrianSosic
    - ngam

Revert "Remove pytorch version spec"
Revert "Remove pytorch version spec"

This reverts commit a159f0f70573675483f581527cb312001eacd101.
