From 21ddca439bc0eb1e640477b5dcf36b910a52a792 Mon Sep 17 00:00:00 2001 From: Florian Jetter Date: Mon, 28 Sep 2020 18:04:38 +0200 Subject: [PATCH] Missing typing_extensions requirements (#350) --- .github/workflows/ci.yml | 20 ++++++++++++++++---- CHANGES.rst | 5 +++++ conda-requirements.txt | 1 + requirements.txt | 1 + 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc31120e..636f2cf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,15 +76,27 @@ jobs: # nightlies and the latest release would otherwise work together. run: conda install -c arrow-nightlies arrow-cpp pyarrow if: matrix.pyarrow == 'nightly' - - name: Conda Install conda-requirements.txt + conda-test-requirements.txt + - name: Conda Install conda-requirements.txt # run this AFTER pyarrow, since this is less restrictive (so conda doesn't spend too much time downgrading) - run: conda install --file=conda-requirements.txt --file=conda-test-requirements.txt + run: conda install --file=conda-requirements.txt + - name: Pip Install kartothek + run: pip install --no-deps . + - name: Test import + run: | + python -c "import kartothek" + python -c "import kartothek.api" + python -c "import kartothek.cli" + python -c "import kartothek.core" + python -c "import kartothek.io" + python -c "import kartothek.io_components" + python -c "import kartothek.serialization" + python -c "import kartothek.utils" + - name: Conda install test requirements + run: conda install --file=conda-test-requirements.txt - name: Pip Instal NumFOCUS nightly # NumFOCUS nightly wheels, contains numpy and pandas run: env PRE_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple" pip install --pre --upgrade --timeout=60 -f $PRE_WHEELS pandas numpy if: matrix.numfocus_nightly - - name: Pip Install kartothek - run: pip install --no-deps -e . - name: Conda Export run: conda list --export diff --git a/CHANGES.rst b/CHANGES.rst index a333331b..134d54e0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,11 @@ Changelog ========= +Version 3.15.1 (2020-09-28) +=========================== +* Fix a packaging issue where `typing_extensions` was not properly specified as + a requirement for python versions below 3.8 + Version 3.15.0 (2020-09-28) =========================== diff --git a/conda-requirements.txt b/conda-requirements.txt index 44cd8ed2..3cc153d5 100644 --- a/conda-requirements.txt +++ b/conda-requirements.txt @@ -9,6 +9,7 @@ simplejson simplekv storefact toolz +typing_extensions # Some backports of the py3.8 typing module urlquote>=1.1.3 zstandard attrs diff --git a/requirements.txt b/requirements.txt index 0cdece7c..581bb17a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,7 @@ simplejson simplekv storefact toolz +typing_extensions; python_version<"3.8" # Some backports of the py3.8 typing module urlquote>=1.1.3 zstandard attrs