Skip to content

Commit ace1984

Browse files
committed
DRAFT: GitHub Actions: Test on Python 3.12
Repeats TheAlgorithms#8777 * TheAlgorithms#8777 Some of our dependencies will not be ready yet.
1 parent f964dcb commit ace1984

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: .github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- uses: actions/setup-python@v4
1414
with:
15-
python-version: 3.11
15+
python-version: 3.12
16+
allow-prereleases: true
1617
- uses: actions/cache@v3
1718
with:
1819
path: ~/.cache/pip

Diff for: requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ opencv-python
99
pandas
1010
pillow
1111
projectq
12-
qiskit
13-
qiskit-aer
12+
qiskit ; python_version < '3.12'
13+
qiskit-aer ; python_version < '3.12'
1414
requests
1515
rich
1616
scikit-fuzzy
1717
scikit-learn
1818
statsmodels
1919
sympy
20-
tensorflow
20+
tensorflow ; python_version < '3.12'
2121
texttable
2222
tweepy
2323
xgboost

0 commit comments

Comments
 (0)