Skip to content

Commit

Permalink
ci: change python version from 3.6 to 3.8
Browse files Browse the repository at this point in the history
Problem: python 3.6 is end of life and is now cauing failures
for the ci pipeline.

Change python version tro 3.8 because 3.7 is end of support.
  • Loading branch information
zekemorton committed Sep 26, 2023
1 parent 6948322 commit fd1dca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.6
python-version: 3.8
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.6
python-version: 3.8
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ endif()
if(DEFINED ENV{PYTHON})
set(Python_EXECUTABLE $ENV{PYTHON} CACHE FILEPATH "")
endif()
find_package(Python 3.6 COMPONENTS Interpreter Development REQUIRED) # 3.6 or higher
find_package(Python 3.8 COMPONENTS Interpreter Development REQUIRED) # 3.8 or higher
execute_process(
COMMAND "${Python_EXECUTABLE}" -c "import sysconfig as sc; print(sc.get_path('purelib', vars={'base':'${CMAKE_INSTALL_PREFIX}'}))"
OUTPUT_VARIABLE PYTHON_INSTALL_SITELIB
Expand Down

0 comments on commit fd1dca1

Please sign in to comment.