From f21d7c787dde7802110c76ee2c6aabbebd509d3c Mon Sep 17 00:00:00 2001 From: matthew-lidar Date: Wed, 23 Oct 2024 14:06:00 -0700 Subject: [PATCH] Build mac CI on python 3.12 (#623) Build Mac on Python 3.12 in actions to fix build It upgraded to Python 3.13 by default which is not yet supported by our dependencies. --- .github/workflows/build_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 2f0fd06b..07275e7f 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -106,10 +106,10 @@ jobs: - name: install deps run: brew install cmake pkg-config jsoncpp eigen curl libtins glfw glew spdlog flatbuffers - name: install python-deps - run: pip3 install pytest pytest-xdist --break-system-packages + run: python3.12 -m pip install pytest pytest-xdist --break-system-packages - name: build python - run: cd python && python3 -m pip install -e .[test] --break-system-packages + run: cd python && python3.12 -m pip install -e .[test] --break-system-packages - name: set netparams run: sudo sysctl -w net.inet.udp.maxdgram=65535 - name: run tests - run: cd python/tests && pytest -n3 + run: cd python/tests && python3.12 -m pytest -n3