Skip to content

Commit 7cb1618

Browse files
committed
Update python version
1 parent c8997fa commit 7cb1618

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/nanobind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ jobs:
2222
- name: Python setup
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: '3.11.9'
25+
python-version: '3.12'
2626
- name: Install Python development dependency
2727
run: |
2828
sudo apt-get update
29-
sudo apt-get install python3.11-dev
29+
sudo apt-get install python3.12-dev
3030
python -m pip install --upgrade pip
3131
pip install robotframework
3232
# pip install -r requirements.txt
3333
- name: Build
3434
run: ./build_nb.sh
3535
- name: Test
3636
working-directory: ${{github.workspace}}
37-
run: python3.11 nob.py
37+
run: python3.12 nob.py
3838
- name: Robot
3939
run: PYTHONPATH=.:robot robot -d logs robot/NobTestSuite.robot

build_nb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ g++ nobnb.cpp -std=c++20 -fvisibility=hidden -DNDEBUG -DNB_COMPACT_ASSERTIONS $P
88

99
g++ ext/nanobind/src/nb_combined.cpp -std=c++20 -fvisibility=hidden -DNDEBUG -DNB_COMPACT_ASSERTIONS $PYTHON_INCLUDE -fPIC -Iext/nanobind/include -Iext/nanobind/ext/robin_map/include -O3 -fno-strict-aliasing -ffunction-sections -fdata-sections -c -o nobuild/libnanobind.o
1010

11-
g++ -shared -Wl,-s -Wl,--gc-sections nobuild/nobnb.o nobuild/libnanobind.o -o nobuild/nob.cpython-311-x86_64-linux-gnu.so
11+
g++ -shared -Wl,-s -Wl,--gc-sections nobuild/nobnb.o nobuild/libnanobind.o -o nobuild/nob.cpython-312-x86_64-linux-gnu.so

0 commit comments

Comments
 (0)