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

GitHub Actions: Test on Python 3.12 release candidate 2 #8777

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6762bb8
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
329ac71
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
9c4368b
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
9973e64
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
4948504
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
db20f8d
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
9ec8f5b
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
4cf2476
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
c7c793e
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
1e37702
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
4939897
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
05b91e4
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
7ee6387
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
b8cadfc
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
e08238d
GitHub Actions: Test on Python 3.12 beta 1
cclauss May 27, 2023
849d8b3
python -m pip install Cython https://github.com/numpy/numpy@main
cclauss May 28, 2023
3363f2c
Update build.yml
cclauss May 28, 2023
7b0bffd
Update build.yml
cclauss May 28, 2023
3341111
git+https://github.com/numpy/numpy.git@main
cclauss May 28, 2023
e43de87
git+https://github.com/cclauss/numpy.git@patch-1
cclauss May 28, 2023
f43bc38
Update requirements.txt
cclauss May 28, 2023
93edcc1
Update requirements.txt
cclauss May 28, 2023
e07fa31
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 28, 2023
28dc56b
New numpy
cclauss Jun 18, 2023
f249236
numpy v1.25
cclauss Jun 25, 2023
2abd284
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 25, 2023
2a02f41
git+https://github.com/numpy/numpy.git@main
cclauss Jun 25, 2023
948e808
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 25, 2023
a12fe4d
Merge branch 'master' into try-Py3.12-beta-1
cclauss Jul 30, 2023
22ef9ac
Merge branch 'master' into try-Py3.12-beta-1
cclauss Sep 7, 2023
4de3d47
updating DIRECTORY.md
Sep 7, 2023
3346e1f
Upgrade GitHub Actions
cclauss Sep 7, 2023
08b4566
requirements.txt: matplotlib ; python_version < '3.12'
cclauss Sep 7, 2023
6733e75
project_euler.yml: allow-prereleases: true
cclauss Sep 7, 2023
729a107
directory_writer.yml: allow-prereleases: true
cclauss Sep 7, 2023
89e9b14
requirements.txt: numpy==v1.26.0rc1
cclauss Sep 7, 2023
ba3cf26
requirements.txt: pandas ; python_version < '3.12'
cclauss Sep 7, 2023
2295f22
requirements.txt: qiskit-aer ; python_version < '3.12'
cclauss Sep 7, 2023
92b8c43
requirements.txt: scikit-learn: ; python_version < '3.12'
cclauss Sep 7, 2023
1c9ab20
requirements.txt: statsmodels ; python_version < '3.12'
cclauss Sep 7, 2023
1ab2a80
requirements.txt: tensorflow ; python_version < '3.12'
cclauss Sep 7, 2023
ef4678f
requirements.txt: projectq ; python_version < '3.12'
cclauss Sep 7, 2023
937fde5
Update requirements.txt
cclauss Sep 7, 2023
ed17be4
Use new matplotlib
cclauss Sep 12, 2023
8e7bef6
requirements.txt: pandas ; python_version < '3.12'
cclauss Sep 12, 2023
4c7c6c8
numpy==v1.26.0rc1 opencv-python
cclauss Sep 12, 2023
6f8b6af
Merge branch 'master' into try-Py3.12-beta-1
cclauss Sep 12, 2023
a2bf156
scikit-learn ; python_version < '3.12'
cclauss Sep 12, 2023
4a5f6fd
statsmodels ; python_version < '3.12'
cclauss Sep 12, 2023
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: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12
allow-prereleases: true
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
# - if: "contains(matrix.python-version, '-dev')"
- run: |
sudo apt-get update
# https://lxml.de/installation.html#requirements
sudo apt-get install -y libxml2 libxslt-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools six wheel
# python -m pip install Cython git+https://github.com/cclauss/numpy.git@patch-1
python -m pip install pytest-cov -r requirements.txt
- name: Run tests
# TODO: #8818 Re-enable quantum tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/directory_writer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.12
allow-prereleases: true
- name: Write DIRECTORY.md
run: |
scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/project_euler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,25 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.12
allow-prereleases: true
- name: Install pytest and pytest-cov
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade numpy pytest pytest-cov
python -m pip install --upgrade numpy==v1.26.0rc1 pytest pytest-cov
- run: pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
validate-solutions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.12
allow-prereleases: true
- name: Install pytest and requests
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade numpy pytest requests
python -m pip install --upgrade numpy==v1.26.0rc1 pytest requests
- run: pytest scripts/validate_solutions.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ imageio
keras
lxml
matplotlib
numpy
numpy==v1.26.0rc1
opencv-python
pandas
pandas ; python_version < '3.12'
pillow
projectq
qiskit
qiskit-aer
projectq ; python_version < '3.12'
qiskit ; python_version < '3.12'
qiskit-aer ; python_version < '3.12'
requests
rich
scikit-fuzzy
scikit-learn
statsmodels
scikit-learn ; python_version < '3.12'
statsmodels ; python_version < '3.12'
sympy
tensorflow
tensorflow ; python_version < '3.12'
texttable
tweepy
xgboost
Expand Down