From 156bd753f98eb23649bb9c3d8f83bd9f1e974e2b Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Tue, 8 Aug 2023 10:16:06 -0600 Subject: [PATCH 1/9] Update version and sha256 --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index df03bf5..d6e75df 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "altair" %} -{% set version = "5.0.1" %} +{% set version = "4.2.2" %} package: @@ -8,7 +8,7 @@ package: source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/altair-{{ version }}.tar.gz - sha256: 087d7033cb2d6c228493a053e12613058a5d47faf6a36aea3ff60305fd8b4cb0 + sha256: 39399a267c49b30d102c10411e67ab26374156a84b1aeb9fcd15140429ba49c5 build: number: 0 From 1b275cbeb2d0aa7a59b6f7f4fd8b62daaed1477c Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Tue, 8 Aug 2023 10:16:32 -0600 Subject: [PATCH 2/9] Remove hatchling from host --- recipe/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d6e75df..bae7acf 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -18,7 +18,6 @@ requirements: host: - python - pip - - hatchling - wheel run: - python From 8ee43eae0aacaee3f76a41350e809848bfb64c0b Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Tue, 8 Aug 2023 10:17:05 -0600 Subject: [PATCH 3/9] Update run dependencies --- recipe/meta.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index bae7acf..5bc1ec2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -21,13 +21,12 @@ requirements: - wheel run: - python - - importlib-metadata # [py<38] - jinja2 - - jsonschema >=3.0 + - jsonschema >=3.0,<4.17 - numpy - pandas >=0.18 - toolz - - typing-extensions >=4.0.1 # [py<311] + - entrypoints test: imports: From 4a46f9718b4f312234a2f719ef4cfa2a5828388b Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Tue, 8 Aug 2023 10:18:25 -0600 Subject: [PATCH 4/9] Update test block --- recipe/meta.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5bc1ec2..e810af5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -31,14 +31,27 @@ requirements: test: imports: - altair + - altair.examples - altair.expr + - altair.sphinxext + - altair.tests - altair.utils + - altair.vega + - altair.vega.v5 + - altair.vega.v5.schema - altair.vegalite + - altair.vegalite.v3 + - altair.vegalite.v3.schema + - altair.vegalite.v4 + - altair.vegalite.v4.schema source_files: - altair requires: - pytest - - vega_datasets + - sphinx + - docutils + - vega_datasets >=0.8 + - recommonmark - ipython - pip commands: From 085823486d715e158055d436dd824846c177663e Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Tue, 8 Aug 2023 10:57:34 -0600 Subject: [PATCH 5/9] Remove excess whitespace --- recipe/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e810af5..6722592 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,7 +1,6 @@ {% set name = "altair" %} {% set version = "4.2.2" %} - package: name: {{ name|lower }} version: {{ version }} From 7d6c1104d53ffe942eb3e652d710350dc2f101a7 Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Thu, 17 Aug 2023 10:01:55 -0600 Subject: [PATCH 6/9] Skip tests on Windows temporarily --- recipe/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 6722592..679740a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -55,7 +55,9 @@ test: - pip commands: - pip check - - python -m pytest --pyargs --doctest-modules altair + # Temporarily skipping tests that use openSSL on Windows. + - python -m pytest --pyargs --doctest-modules altair # [not win] + - python -m pytest --pyargs --doctest-modules altair --ignore=altair/examples/tests/test_examples.py # [win] about: home: https://altair-viz.github.io From efe48f25c87b3232b3faf691babc93a10f1e04ec Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Thu, 17 Aug 2023 11:40:51 -0600 Subject: [PATCH 7/9] Add link to openssl PR --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 679740a..38d4049 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -56,6 +56,7 @@ test: commands: - pip check # Temporarily skipping tests that use openSSL on Windows. + # See https://github.com/AnacondaRecipes/openssl-feedstock/pull/21 - python -m pytest --pyargs --doctest-modules altair # [not win] - python -m pytest --pyargs --doctest-modules altair --ignore=altair/examples/tests/test_examples.py # [win] From 04cee28c79dd64e74138b5212acf1349bedfc20d Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Fri, 18 Aug 2023 06:03:10 -0600 Subject: [PATCH 8/9] Drop jsonschema upper bound --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 38d4049..92f2df8 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -21,7 +21,7 @@ requirements: run: - python - jinja2 - - jsonschema >=3.0,<4.17 + - jsonschema >=3.0 - numpy - pandas >=0.18 - toolz From a4ad91c70b2433f6ac90715c3c741d9280852b8b Mon Sep 17 00:00:00 2001 From: ViridianMelody Date: Fri, 18 Aug 2023 06:03:28 -0600 Subject: [PATCH 9/9] Add setuptools --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 92f2df8..03e03c6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -16,6 +16,7 @@ build: requirements: host: - python + - setuptools >=40.6.0 - pip - wheel run: