Skip to content

Commit 4e74b7a

Browse files
committed
Macos: use setup-python action instead of conda
1 parent b312670 commit 4e74b7a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/mac.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ jobs:
2929
- uses: maxim-lobanov/setup-xcode@v1
3030
with:
3131
xcode-version: latest-stable
32-
- uses: conda-incubator/setup-miniconda@v3
32+
- uses: actions/setup-python@v5
3333
with:
34-
activate-environment: oe-python-plugin
35-
python-version: "3.10"
36-
auto-activate-base: false
34+
python-version: '3.10'
3735
- name: setup
3836
run: |
3937
cd ../..

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ endforeach()
9999
option(COPY_PYTHON_DL "Creates a directory and copies the python dynamic library for packaging" OFF)
100100

101101
# Find and link python and pybind11
102-
find_package(Python 3.8 COMPONENTS Interpreter Development REQUIRED)
102+
find_package(Python 3.10 COMPONENTS Interpreter Development REQUIRED)
103103
add_subdirectory(extern/pybind11)
104104
target_link_libraries(${PLUGIN_NAME} PRIVATE pybind11::embed)
105105

0 commit comments

Comments
 (0)