Skip to content

Commit 24614a7

Browse files

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

Diff for: .github/workflows/build.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,21 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.12
15+
python-version: 3.13
1616
allow-prereleases: true
1717
- uses: actions/cache@v4
1818
with:
1919
path: ~/.cache/pip
2020
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
21+
# https://github.com/scipy/scipy/issues/16308#issuecomment-1140477372
22+
# https://lxml.de/installation.html#requirements
23+
- run: |
24+
sudo apt-get update -qq
25+
# libgmp-dev for qiskit
26+
# libhdf5-dev for keras
27+
# libopenblas-dev for scipy
28+
# libxml2 for lxml
29+
sudo apt-get install --yes libgmp-dev libhdf5-dev libopenblas-dev libxml2 libxslt1-dev libxslt1.1 xsltproc
2130
- name: Install dependencies
2231
run: |
2332
python -m pip install --upgrade pip setuptools six wheel

Diff for: requirements.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
beautifulsoup4
22
fake_useragent
3+
git+https://github.com/cclauss/tweepy.git@patch-1 ; python_version >= '3.13'
34
imageio
4-
keras ; python_version < '3.12'
5+
keras
56
lxml
67
matplotlib
78
numpy
@@ -17,8 +18,8 @@ rich
1718
scikit-learn
1819
statsmodels
1920
sympy
20-
tensorflow
21-
tweepy
21+
tensorflow ; python_version < '3.13'
22+
tweepy ; python_version < '3.13'
2223
# yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed
2324
typing_extensions
2425
xgboost

0 commit comments

Comments
 (0)