Skip to content

Commit

Permalink
[MAIN] add Python 3.12 (#611)
Browse files Browse the repository at this point in the history
* add python 3.12 to CI workflow

* add python 3.12 to installation guide

* update cibuildwheel action to get python 3.12 wheels

* update setup python and checkout action
  • Loading branch information
Moritz-Alexander-Kern authored Mar 19, 2024
1 parent e2df1b9 commit dcd57e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# python versions for elephant: [3.8, 3.9, "3.10", 3.11]
python-version: [3.8, 3.9, "3.10", 3.11]
# python versions for elephant: [3.8, 3.9, "3.10", 3.11, 3.12]
python-version: [3.9, "3.10", 3.11, 3.12]
# OS [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
# do not cancel all in-progress jobs if any matrix job fails
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ jobs:
os: [ubuntu-20.04, windows-2019]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Used to host cibuildwheel
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install cibuildwheel
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel==2.13.1
python -m pip install cibuildwheel==2.16.2
- name: Install libomp
if: runner.os == 'macOS'
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Below is the explanation of how to proceed with these two steps.
Prerequisites
*************

Elephant requires `Python <http://python.org/>`_ 3.8, 3.9, 3.10 or 3.11.
Elephant requires `Python <http://python.org/>`_ 3.8, 3.9, 3.10, 3.11 or 3.12.

.. tabs::

Expand Down

0 comments on commit dcd57e5

Please sign in to comment.