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

Pin max Python version to 3.12 on MacOS #74

Merged
merged 2 commits into from
Oct 30, 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
8 changes: 8 additions & 0 deletions .github/workflows/build-neuron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
env:
SDK_ROOT: $(xcrun --sdk macosx --show-sdk-path)
OS_FLAVOUR: ${{matrix.os.flavour}}
# version of Python we will build NEURON with on MacOS
MACOSX_PY_VERSION: 3.12
UNPRIVILEGED_USER: runner # User created+used inside Docker containers
# Extra software collections to be installed and enabled on CentOS7
SOFTWARE_COLLECTIONS_centos_7: devtoolset-9 rh-git218 rh-python38
Expand Down Expand Up @@ -128,6 +130,12 @@ jobs:
env:
FLAVOUR_SCRIPT: scripts/install_${{matrix.os.flavour}}.sh

- if: ${{matrix.os.flavour}} == 'macOS'
name: Set up Python@${{ env.MACOSX_PY_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.MACOSX_PY_VERSION }}

# Checkout the repository; do this before the privilege step so that we
# can chown the result there
- name: Checkout NEURON
Expand Down
Loading