From cc361d84016f6027f9e3f19409ed9837788db2dd Mon Sep 17 00:00:00 2001 From: Jules BOURDAIS Date: Wed, 22 Oct 2025 18:01:47 +0200 Subject: [PATCH] chore(ci): bump to python 3.12 --- .github/workflows/test_and_release.yml | 8 ++++---- .pre-commit-config.yaml | 2 +- setup-mac.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index 46c6870..e323a39 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.12" # Install and run pre-commit - run: | @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9] + python-version: [3.12] config: - { name: "Linux", @@ -36,7 +36,7 @@ jobs: } # Moose is not working on x86_64 Mac because the following command has # dependency conflicts in the solver between Moose and ParaView: - # micromamba create -n moose python=3.9 moose paraview -y -c https://conda.software.inl.gov/public + # micromamba create -n moose python=3.12 moose paraview -y -c https://conda.software.inl.gov/public # - { # name: "MacOSX", # os: macos-latest @@ -66,7 +66,7 @@ jobs: - name: Install Moose and ParaView run: | - micromamba create -n moose python=3.9 moose paraview -y -c https://conda.software.inl.gov/public + micromamba create -n moose python=3.12 moose paraview -y -c https://conda.software.inl.gov/public - name: Install and Run Tests run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21c6c49..8e92938 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,6 @@ repos: - id: codespell - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 diff --git a/setup-mac.md b/setup-mac.md index b0634c9..24d2893 100644 --- a/setup-mac.md +++ b/setup-mac.md @@ -79,12 +79,12 @@ mkdir peacock-work cd peacock-work git clone --recursive git@github.com:Kitware/peacock.git git clone --recursive https://github.com/idaholab/moose.git -curl -LO https://www.paraview.org/files/v5.11/ParaView-5.11.0-MPI-OSX11.0-Python3.9-arm64.dmg +curl -LO https://www.paraview.org/files/v6.0/ParaView-6.0.1-MPI-OSX11.0-Python3.12-arm64.dmg # Mount and copy ParaView-5.11.0.app/ in the current directory -mamba install python=3.9 -mamba create -p ./venv python=3.9 moose-tools moose-libmesh +mamba install python=3.12 +mamba create -p ./venv python=3.12 moose-tools moose-libmesh mamba activate ./venv pip install ./peacock