Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: GitHub Actions: Test on Python 3.13 #11397

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b31939c
DRAFT: GitHub Actions: Test on Python 3.13 beta release
cclauss May 10, 2024
3e84b90
requirements.txt: lxml ; python_version < '3.13'
cclauss May 10, 2024
cfbec88
requirements.txt: pillow ; python_version < '3.13'
cclauss May 10, 2024
3f46d29
Update requirements.txt: scikit-learn ; python_version < '3.13'
cclauss May 10, 2024
9d857e4
requirements.txt: statsmodels ; python_version < '3.13'
cclauss May 10, 2024
75de761
requirements.txt: tensorflow ; python_version < '3.13'
cclauss May 10, 2024
0cc6b1c
requirements.txt: imageio ; python_version < '3.13'
cclauss May 10, 2024
67b1769
requirements.txt: matplotlib ; python_version < '3.13' numpy
cclauss May 10, 2024
51aca03
Update requirements.txt
cclauss May 10, 2024
4e8a1a3
lxml works now!
cclauss May 12, 2024
fe4c05c
sudo apt-get install --yes libxml2 libxslt
cclauss May 12, 2024
230f26b
sudo apt-get install --yes libxml2 libxslt1-dev libxslt1.1 xsltproc
cclauss May 12, 2024
aced69b
Update requirements.txt
cclauss May 12, 2024
72c16a1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 12, 2024
398dd36
Update requirements.txt
cclauss May 12, 2024
92ac9d1
matplotlib==3.9.0rc2 ; python_version >= '3.13'
cclauss May 12, 2024
e1bb7d4
Update requirements.txt
cclauss May 12, 2024
f8e33aa
libopenblas-dev
cclauss May 12, 2024
88d2877
Update requirements.txt
cclauss May 12, 2024
2c78162
imageio
cclauss May 12, 2024
8a1b8ee
Disable Pillow workaround
cclauss May 13, 2024
c6d95c3
Reenable the Pillow workaround
cclauss May 13, 2024
760a925
Update build.yml
cclauss May 13, 2024
db59e8f
xgboost uses SciPy
cclauss May 13, 2024
041bd4a
Update requirements.txt
cclauss May 13, 2024
71291bf
keras
cclauss May 13, 2024
c8f7884
libhdf5
cclauss May 13, 2024
cc7742e
libhdf5-dev
cclauss May 14, 2024
e40d54e
git+https://github.com/cclauss/tweepy.git@patch-1
cclauss May 14, 2024
5301f9b
Update build.yml
cclauss May 14, 2024
c8e634d
Use the `main` branch of python-pillow/Pillow
cclauss May 21, 2024
ad5d1ca
Update requirements.txt
cclauss Jun 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ 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:
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
# 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
Expand Down
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
beautifulsoup4
fake_useragent
git+https://github.com/cclauss/tweepy.git@patch-1 ; python_version >= '3.13'
imageio
keras ; python_version < '3.12'
keras
lxml
matplotlib
numpy
Expand All @@ -17,8 +18,8 @@ rich
scikit-learn
statsmodels
sympy
tensorflow
tweepy
tensorflow ; python_version < '3.13'
tweepy ; python_version < '3.13'
# yulewalker # uncomment once audio_filters/equal_loudness_filter.py is fixed
typing_extensions
xgboost