From b31939c858a92f1405963940eda287367238308a Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 08:20:44 +0200 Subject: [PATCH 01/32] DRAFT: GitHub Actions: Test on Python 3.13 beta release https://www.python.org/downloads/release/python-3130b1/ Like: * #9306 * #8777 * #6591 * #5992 * #4396 * #3926 * #2279 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a113b4608678..5cfd8c5d087f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 allow-prereleases: true - uses: actions/cache@v4 with: From 3e84b90a851b495393e4ae42cb89443a1fb8afc1 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 08:25:36 +0200 Subject: [PATCH 02/32] requirements.txt: lxml ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bb3d671393b9..df1556b11293 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ beautifulsoup4 fake_useragent imageio keras ; python_version < '3.12' -lxml +lxml ; python_version < '3.13' matplotlib numpy opencv-python From cfbec8810c1ba7f85eb56469d20dee51f32047a5 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 09:37:39 +0200 Subject: [PATCH 03/32] requirements.txt: pillow ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index df1556b11293..eccc44dd9fd5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ matplotlib numpy opencv-python pandas -pillow +pillow ; python_version < '3.13' # projectq # uncomment once quantum/quantum_random.py is fixed qiskit ; python_version < '3.12' qiskit-aer ; python_version < '3.12' From 3f46d29130fdc94284f683b33262359f04a3467d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 10:07:50 +0200 Subject: [PATCH 04/32] Update requirements.txt: scikit-learn ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index eccc44dd9fd5..62fa5877519e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ qiskit-aer ; python_version < '3.12' requests rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed -scikit-learn +scikit-learn ; python_version < '3.13' statsmodels sympy tensorflow From 9d857e4b8f64f0bf15573c98a6f37213a1525c08 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 10:20:04 +0200 Subject: [PATCH 05/32] requirements.txt: statsmodels ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 62fa5877519e..de05ca91ef90 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ requests rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed scikit-learn ; python_version < '3.13' -statsmodels +statsmodels ; python_version < '3.13' sympy tensorflow tweepy From 75de761572859f593f36147f1f835ff26acbc429 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 17:28:44 +0200 Subject: [PATCH 06/32] requirements.txt: tensorflow ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index de05ca91ef90..920ac7eac0fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ rich scikit-learn ; python_version < '3.13' statsmodels ; python_version < '3.13' sympy -tensorflow +tensorflow ; python_version < '3.13' tweepy # yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed typing_extensions From 0cc6b1c4c6a2acadd0b2c7f0160ff59ec7388d57 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 21:18:39 +0200 Subject: [PATCH 07/32] requirements.txt: imageio ; python_version < '3.13' --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 920ac7eac0fd..705c539bf2cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ beautifulsoup4 fake_useragent -imageio +imageio ; python_version < '3.13' keras ; python_version < '3.12' lxml ; python_version < '3.13' matplotlib From 67b1769dee28a902948f46bf7d756570001ff1e0 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 21:30:04 +0200 Subject: [PATCH 08/32] requirements.txt: matplotlib ; python_version < '3.13' numpy --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 705c539bf2cf..212fd05b30ef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ fake_useragent imageio ; python_version < '3.13' keras ; python_version < '3.12' lxml ; python_version < '3.13' -matplotlib +matplotlib ; python_version < '3.13' numpy opencv-python pandas From 51aca03a724041787896b37646aad3552fcf530d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 10 May 2024 21:49:31 +0200 Subject: [PATCH 09/32] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 212fd05b30ef..94c8198fae45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,4 +21,4 @@ tensorflow ; python_version < '3.13' tweepy # yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed typing_extensions -xgboost +xgboost ; python_version < '3.13' From 4e8a1a33e507c4835e6973df0700549252fe083e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 14:28:26 +0200 Subject: [PATCH 10/32] lxml works now! --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 94c8198fae45..8def15dfd56d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ beautifulsoup4 fake_useragent imageio ; python_version < '3.13' keras ; python_version < '3.12' -lxml ; python_version < '3.13' +lxml matplotlib ; python_version < '3.13' numpy opencv-python From fe4c05cf67ba159f14b44e859450192bb1bc2a94 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 14:51:00 +0200 Subject: [PATCH 11/32] sudo apt-get install --yes libxml2 libxslt --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cfd8c5d087f..61588fe0c1ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,9 @@ jobs: with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} + - run: | + sudo apt-get update -qq + sudo apt-get install --yes libxml2 libxslt - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From 230f26bdd901f672570bd228265a1af2d38ed18b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 14:58:47 +0200 Subject: [PATCH 12/32] sudo apt-get install --yes libxml2 libxslt1-dev libxslt1.1 xsltproc --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61588fe0c1ee..0b003644cd6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} - run: | sudo apt-get update -qq - sudo apt-get install --yes libxml2 libxslt + sudo apt-get install --yes libxml2 libxslt1-dev libxslt1.1 xsltproc - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From aced69b0f75341a2833befbb8b858be3d0306400 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 17:02:46 +0200 Subject: [PATCH 13/32] Update requirements.txt --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 8def15dfd56d..f2f235b8e64c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,8 @@ numpy opencv-python pandas pillow ; python_version < '3.13' +git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' +succeed # projectq # uncomment once quantum/quantum_random.py is fixed qiskit ; python_version < '3.12' qiskit-aer ; python_version < '3.12' From 72c16a1861ba30a87d79514a1901ab974c5ca44c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 12 May 2024 15:03:06 +0000 Subject: [PATCH 14/32] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index f2f235b8e64c..bc0c90ae3df8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ beautifulsoup4 fake_useragent +git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio ; python_version < '3.13' keras ; python_version < '3.12' lxml @@ -8,8 +9,6 @@ numpy opencv-python pandas pillow ; python_version < '3.13' -git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' -succeed # projectq # uncomment once quantum/quantum_random.py is fixed qiskit ; python_version < '3.12' qiskit-aer ; python_version < '3.12' @@ -18,6 +17,7 @@ rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed scikit-learn ; python_version < '3.13' statsmodels ; python_version < '3.13' +succeed sympy tensorflow ; python_version < '3.13' tweepy From 398dd361b71bb8ed6e7c3aa1c85b0e0cbc9db00e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 17:05:12 +0200 Subject: [PATCH 15/32] Update requirements.txt --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bc0c90ae3df8..5b75c996138e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,6 @@ rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed scikit-learn ; python_version < '3.13' statsmodels ; python_version < '3.13' -succeed sympy tensorflow ; python_version < '3.13' tweepy From 92ac9d18e3ccd94a2dcf5fa3e0bb4dd655c7fa04 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 17:57:14 +0200 Subject: [PATCH 16/32] matplotlib==3.9.0rc2 ; python_version >= '3.13' --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 5b75c996138e..04be0d848feb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ imageio ; python_version < '3.13' keras ; python_version < '3.12' lxml matplotlib ; python_version < '3.13' +matplotlib==3.9.0rc2 ; python_version >= '3.13' numpy opencv-python pandas From e1bb7d4aa3f526292ecb5bb6154970b43e749306 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 18:26:24 +0200 Subject: [PATCH 17/32] Update requirements.txt --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 04be0d848feb..83446391adea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,7 @@ git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio ; python_version < '3.13' keras ; python_version < '3.12' lxml -matplotlib ; python_version < '3.13' -matplotlib==3.9.0rc2 ; python_version >= '3.13' +matplotlib numpy opencv-python pandas From f8e33aab571d1dd0fd264409b83a59b888d6ad31 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 18:41:43 +0200 Subject: [PATCH 18/32] libopenblas-dev --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b003644cd6b..19f12ed45833 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} - run: | sudo apt-get update -qq - sudo apt-get install --yes libxml2 libxslt1-dev libxslt1.1 xsltproc + sudo apt-get install --yes libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From 88d2877a9f0be352ab494c3df88d190e19a415f9 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 18:42:24 +0200 Subject: [PATCH 19/32] Update requirements.txt --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 83446391adea..884ca0d660e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,8 +15,8 @@ qiskit-aer ; python_version < '3.12' requests rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed -scikit-learn ; python_version < '3.13' -statsmodels ; python_version < '3.13' +scikit-learn # ; python_version < '3.13' +statsmodels # ; python_version < '3.13' sympy tensorflow ; python_version < '3.13' tweepy From 2c781628a32a50c99d438364f32c37988d07ff8a Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 12 May 2024 19:23:10 +0200 Subject: [PATCH 20/32] imageio --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 884ca0d660e2..f6efb7a26193 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ beautifulsoup4 fake_useragent git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' -imageio ; python_version < '3.13' +imageio # ; python_version < '3.13' keras ; python_version < '3.12' lxml matplotlib From 8a1b8ee63773d11b6a5caab731177123bc28d73c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 08:20:23 +0200 Subject: [PATCH 21/32] Disable Pillow workaround --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f6efb7a26193..00b16049e21e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ beautifulsoup4 fake_useragent -git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' +# git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio # ; python_version < '3.13' keras ; python_version < '3.12' lxml From c6d95c37fd8080bd271e110b3fd1ac8abd6b1afc Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 08:51:52 +0200 Subject: [PATCH 22/32] Reenable the Pillow workaround --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 00b16049e21e..f6efb7a26193 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ beautifulsoup4 fake_useragent -# git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' +git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio # ; python_version < '3.13' keras ; python_version < '3.12' lxml From 760a925c0ae91c7f1a7fba2b16b5fa31a19c8ec8 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 09:55:51 +0200 Subject: [PATCH 23/32] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19f12ed45833..855c234c52b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,8 @@ jobs: with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} + # https://github.com/scipy/scipy/issues/16308#issuecomment-1140477372 + # https://lxml.de/installation.html#requirements - run: | sudo apt-get update -qq sudo apt-get install --yes libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc From db59e8fe5137c533720b2b9d4c4b3a604098e42b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 15:22:18 +0200 Subject: [PATCH 24/32] xgboost uses SciPy --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f6efb7a26193..63709b088da8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,4 +22,4 @@ tensorflow ; python_version < '3.13' tweepy # yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed typing_extensions -xgboost ; python_version < '3.13' +xgboost From 041bd4a10ee0fd3c4be263d062c1d6c11c3e458b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 18:01:21 +0200 Subject: [PATCH 25/32] Update requirements.txt --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 63709b088da8..ed5c099887f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ beautifulsoup4 fake_useragent git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' -imageio # ; python_version < '3.13' +imageio keras ; python_version < '3.12' lxml matplotlib @@ -15,8 +15,8 @@ qiskit-aer ; python_version < '3.12' requests rich # scikit-fuzzy # uncomment once fuzzy_logic/fuzzy_operations.py is fixed -scikit-learn # ; python_version < '3.13' -statsmodels # ; python_version < '3.13' +scikit-learn +statsmodels sympy tensorflow ; python_version < '3.13' tweepy From 71291bf32a5977eb9e8b1f0bb42dc15ecd054bf9 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 18:39:49 +0200 Subject: [PATCH 26/32] keras --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ed5c099887f7..58fb659a6839 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ beautifulsoup4 fake_useragent git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio -keras ; python_version < '3.12' +keras lxml matplotlib numpy From c8f7884c315a73b1b7730520a700686421e2f829 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 13 May 2024 19:39:41 +0200 Subject: [PATCH 27/32] libhdf5 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 855c234c52b0..8292563137bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: # https://lxml.de/installation.html#requirements - run: | sudo apt-get update -qq - sudo apt-get install --yes libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc + sudo apt-get install --yes libhdf5 libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From cc7742e82e2b561485f41604fd9e3403e64af183 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 14 May 2024 08:43:40 +0200 Subject: [PATCH 28/32] libhdf5-dev --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8292563137bf..8a3a6bd4da58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: # https://lxml.de/installation.html#requirements - run: | sudo apt-get update -qq - sudo apt-get install --yes libhdf5 libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc + sudo apt-get install --yes libhdf5-dev libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From e40d54ef8d23e23454221a33d41bb13ef4e2a4e4 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 14 May 2024 13:16:15 +0200 Subject: [PATCH 29/32] git+https://github.com/cclauss/tweepy.git@patch-1 --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 58fb659a6839..8234edcae9cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ beautifulsoup4 fake_useragent +git+https://github.com/cclauss/tweepy.git@patch-1 ; python_version >= '3.13' git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' imageio keras @@ -19,7 +20,7 @@ scikit-learn statsmodels sympy tensorflow ; python_version < '3.13' -tweepy +tweepy ; python_version < '3.13' # yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed typing_extensions xgboost From 5301f9bd7342a4272916d3b7f10b91d6566372bb Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 14 May 2024 13:58:00 +0200 Subject: [PATCH 30/32] Update build.yml --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a3a6bd4da58..547ece29fee0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,11 @@ jobs: # https://lxml.de/installation.html#requirements - run: | sudo apt-get update -qq - sudo apt-get install --yes libhdf5-dev libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc + # libgmp-dev for qiskit + # libhdf5-dev for keras + # libopenblas-dev for scipy + # libxml2 for lxml + sudo apt-get install --yes libgmp-dev libhdf5-dev libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc - name: Install dependencies run: | python -m pip install --upgrade pip setuptools six wheel From c8e634d0e3ac7253870ced54e4b26add31bdf506 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 21 May 2024 14:36:53 +0200 Subject: [PATCH 31/32] Use the `main` branch of python-pillow/Pillow --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8234edcae9cc..0c78755d37e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ beautifulsoup4 fake_useragent git+https://github.com/cclauss/tweepy.git@patch-1 ; python_version >= '3.13' -git+https://github.com/radarhere/Pillow.git@exec ; python_version >= '3.13' +git+https://github.com/python-pillow/Pillow.git ; python_version >= '3.13' imageio keras lxml From ad5d1caba65c88bd65938a4f47347b6570d349da Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 28 Jun 2024 20:27:35 +0200 Subject: [PATCH 32/32] Update requirements.txt --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 0c78755d37e8..608f3b59acb0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ beautifulsoup4 fake_useragent git+https://github.com/cclauss/tweepy.git@patch-1 ; python_version >= '3.13' -git+https://github.com/python-pillow/Pillow.git ; python_version >= '3.13' imageio keras lxml @@ -9,7 +8,7 @@ matplotlib numpy opencv-python pandas -pillow ; python_version < '3.13' +pillow # projectq # uncomment once quantum/quantum_random.py is fixed qiskit ; python_version < '3.12' qiskit-aer ; python_version < '3.12'