Skip to content

Commit

Permalink
DRAFT: GitHub Actions: Test on Python 3.13 beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 30, 2024
1 parent 976e385 commit fee0797
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
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

0 comments on commit fee0797

Please sign in to comment.