Update for Switch 2.0.4 (Python 3 compatible)
-{% set version = "2.0.3.1" %}
+# {% set version = "2.0.4" %}
package:
name: switch_model
- version: {{ version }}
+ version: 2.0.4
source:
- url: https://pypi.io/packages/source/s/switch_model/switch_model-{{ version }}.tar.gz
- sha256: 44eb49d7ba39a56d8a784d7debbc24369ef19e14347fd905435b120d57b7e22e
+ # url: https://pypi.io/packages/source/s/switch_model/switch_model-{{ version }}.tar.gz
+ url: https://files.pythonhosted.org/packages/6e/d6/d0dcf440eb86c8585962e133bbbc3c761548c70022289dd9d0af110c6ddb/switch_model-2.0.4.tar.gz
+ sha256: 5cd6abe2926e39a9a89d178ad316f45d9da681e0f0f110ffbd52a7bf9498c103
build:
noarch: python
@@ -18,10 +19,10 @@ build:
requirements:
build:
host:
- - python <3 # see https://github.com/conda-forge/conda-forge.github.io/issues/486
+ - python
- pip
run:
- - python <3
+ - python
- pyomo
- pint
- testfixtures
