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

Add Python 3.12 to testing #41

Merged
merged 3 commits into from
Mar 21, 2024
Merged
Changes from all commits
Commits
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
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,11 @@ on:
branches: [ "master" ]
workflow_dispatch:

permissions:
contents: read
actions: read
checks: write

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
@@ -23,6 +28,9 @@ jobs:
- py-version: '3.11'
c-compiler: 'gcc'
cxx-compiler: 'g++'
- py-version: '3.12'
c-compiler: 'gcc'
cxx-compiler: 'g++'
- py-version: '3.10'
c-compiler: 'clang'
cxx-compiler: 'clang++'
@@ -74,7 +82,7 @@ jobs:

- name: Install
if: always()
run: python -m pip install wheel && python -m pip list && make install PIP_INSTALL_FLAGS="--no-use-pep517 -vvv"
run: python -m pip list && make install PIP_INSTALL_FLAGS="--no-use-pep517 -vvv"

- name: Remove ccache cache
if: ${{ steps.ccache-restore.outputs.cache-hit }}
2 changes: 1 addition & 1 deletion .github/workflows/documentation-ci.yml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ jobs:
sudo apt-get install mpi-default-bin mpi-default-dev libmetis-dev libparmetis-dev libsuitesparse-dev ccache
- name: Install Python dependencies
run: make prereq && make prereq-extra && python -m pip install wheel
run: make prereq && make prereq-extra

- name: Install
run: make dev
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:
sudo apt-get install mpi-default-bin mpi-default-dev libmetis-dev libparmetis-dev libsuitesparse-dev ccache
- name: Install Python dependencies
run: make prereq && make prereq-extra && python -m pip install wheel
run: make prereq && make prereq-extra

- name: Install
run: make dev
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ tests:
$(PYTHON) -m pytest -rA --html=$(TEST_RESULTS) --self-contained-html tests/

prereq:
$(PYTHON) -m pip install $(PIP_FLAGS) $(PIP_INSTALL_FLAGS) wheel Cython cython numpy scipy matplotlib pyyaml h5py pybind11 MeshPy tabulate modepy mpi4py pyamg meshio
$(PYTHON) -m pip install $(PIP_FLAGS) $(PIP_INSTALL_FLAGS) setuptools wheel Cython cython numpy scipy matplotlib pyyaml h5py pybind11 MeshPy tabulate modepy mpi4py pyamg meshio
$(PYTHON) -m pip install $(PIP_FLAGS) $(PIP_INSTALL_FLAGS) scikit-sparse

prereq-extra: