From 41ab7acfe510e8e3069e0ea512f8506c175b0a77 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Mon, 19 Jun 2023 15:55:14 +0200 Subject: [PATCH] Restrict pyparsing version --- .github/workflows/tests.yml | 2 +- environment.yml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6ad79aa63a66..438bf9708162 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -192,7 +192,7 @@ jobs: # Install dependencies from PyPI. python -m pip install --upgrade $PRE \ 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \ - numpy packaging pillow pyparsing python-dateutil setuptools-scm \ + numpy packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \ -r requirements/testing/all.txt \ ${{ matrix.extra-requirements }} diff --git a/environment.yml b/environment.yml index 7a609a76adaf..cd043239472e 100644 --- a/environment.yml +++ b/environment.yml @@ -19,7 +19,7 @@ dependencies: - pillow>=6.2 - pybind11>=2.6.0 - pygobject - - pyparsing + - pyparsing!=3.1.0 - pyqt - python-dateutil>=2.1 - setuptools diff --git a/setup.py b/setup.py index 6d16fe3fac6b..cbde74384717 100644 --- a/setup.py +++ b/setup.py @@ -327,7 +327,7 @@ def make_release_tree(self, base_dir, files): "numpy>=1.21", "packaging>=20.0", "pillow>=6.2.0", - "pyparsing>=2.3.1", + "pyparsing>=2.3.1,<3.1", "python-dateutil>=2.7", ] + ( # Installing from a git checkout that is not producing a wheel.