From 25a67e41b251ef1c86bd2efacea51068093a0edf Mon Sep 17 00:00:00 2001 From: William Ayd Date: Wed, 13 Apr 2022 17:00:29 -0700 Subject: [PATCH] Pinned tableauhyperapi. Updated release (#157) --- .github/workflows/pythonpackage.yml | 12 ++++++------ .github/workflows/pythonpublish.yml | 6 +++--- doc/source/conf.py | 4 ++-- doc/source/index.rst | 4 ++++ pantab/__init__.py | 2 +- setup.py | 4 ++-- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 72cac7a7..213438c8 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pandas tableauhyperapi + python -m pip install pandas "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace @@ -59,7 +59,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pandas tableauhyperapi + python -m pip install pandas "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace @@ -85,7 +85,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pandas tableauhyperapi + python -m pip install pandas "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace @@ -106,7 +106,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install "pandas<1.3.0" tableauhyperapi + python -m pip install "pandas<1.3.0" "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace @@ -128,7 +128,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install "pandas<1.3.0" tableauhyperapi + python -m pip install "pandas<1.3.0" "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace @@ -149,7 +149,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install "pandas<1.3.0" tableauhyperapi + python -m pip install "pandas<1.3.0" "tableauhyperapi<0.0.14567" - name: Build extensions run: | python setup.py build_ext --inplace diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index ee052345..6069f03f 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -26,7 +26,7 @@ jobs: mkdir temp cd temp python -m pip install --upgrade pip - python -m pip install numpy pandas tableauhyperapi pytest # TODO: only pytest + python -m pip install numpy pandas "tableauhyperapi<0.0.14567" pytest # TODO: only pytest python -m pip install pantab --no-index -f ../wheelhouse python -c "import pantab; pantab.test()" cd .. @@ -50,7 +50,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install setuptools wheel tableauhyperapi numpy + python -m pip install setuptools wheel "tableauhyperapi<0.0.14567" numpy - name: Build wheels run: | python setup.py bdist_wheel @@ -82,7 +82,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install setuptools wheel tableauhyperapi numpy + python -m pip install setuptools wheel "tableauhyperapi<0.0.14567" numpy - name: Build wheels run: | python setup.py bdist_wheel diff --git a/doc/source/conf.py b/doc/source/conf.py index bb648543..ec22e967 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -3,9 +3,9 @@ # -- Project information ----------------------------------------------------- project = "pantab" -copyright = "2019-2021, Will Ayd, innobi, LLC" +copyright = "2019-2022, Will Ayd, innobi, LLC" author = "Will Ayd, innobi, LLC" -release = "2.1.0" +release = "2.1.1" # -- General configuration --------------------------------------------------- diff --git a/doc/source/index.rst b/doc/source/index.rst index cb692d55..831705b5 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -10,6 +10,10 @@ pantab changelog support +.. important:: + + pantab is currently incompatible with tableauhyperapi>=0.0.14567. For details and status updates see `GitHub issue #145 `_ + What is it? ----------- diff --git a/pantab/__init__.py b/pantab/__init__.py index 922b74fc..b02f816a 100644 --- a/pantab/__init__.py +++ b/pantab/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.0.0" +__version__ = "2.1.1." import libpantab # type: ignore diff --git a/setup.py b/setup.py index db13567e..99c483a2 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( name="pantab", - version="2.1.0", + version="2.1.1", description="Converts pandas DataFrames into Tableau Hyper Extracts and back", long_description=long_description, long_description_content_type="text/markdown", @@ -56,7 +56,7 @@ package_data={"": ["*.h"], "pantab.tests": ["data/*"]}, data_files=[("", ["LICENSE.txt", "README.md"])], python_requires=">=3.8", - install_requires=["pandas>=1.0.0", "tableauhyperapi", "numpy"], + install_requires=["pandas>=1.0.0", "tableauhyperapi<0.0.14567", "numpy"], extras_require={"dev": ["pytest"]}, ext_modules=[pantab_module], )