Skip to content

Commit bbb52f7

Browse files
committed
[SymForce] Python 3.13 tests/wheels
Relative: sf-upgrade Topic: py313
1 parent cb863e2 commit bbb52f7

File tree

7 files changed

+346
-10
lines changed

7 files changed

+346
-10
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
arch: x86_64
4343
- runner: macos-13
4444
arch: arm64
45-
python-version: [cp38, cp39, cp310, cp311, cp312]
45+
python-version: [cp38, cp39, cp310, cp311, cp312, cp313]
4646

4747
steps:
4848
- name: Checkout
@@ -77,7 +77,7 @@ jobs:
7777
fail-fast: false
7878
matrix:
7979
os: [ubuntu-latest]
80-
python-version: [cp38, cp39, cp310, cp311, cp312]
80+
python-version: [cp38, cp39, cp310, cp311, cp312, cp313]
8181

8282
steps:
8383
- name: Checkout

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-24.04]
19-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2020
compiler:
2121
# Newest gcc on 24.04
2222
- C: gcc-14
@@ -37,7 +37,7 @@ jobs:
3737
warning_options: "-Wall;-Wextra;-Werror"
3838
# gcc 14 (Newest gcc available on Ubuntu 24.04)
3939
- os: ubuntu-24.04
40-
python: "3.12"
40+
python: "3.13"
4141
compiler:
4242
C: gcc-14
4343
CXX: g++-14
@@ -54,7 +54,7 @@ jobs:
5454
warning_options: "-Wall;-Wextra;-Werror"
5555
# Clang 19 (Newest clang available on Ubuntu 24.04)
5656
- os: ubuntu-24.04
57-
python: "3.12"
57+
python: "3.13"
5858
compiler:
5959
C: clang-19
6060
CXX: clang++-19

.github/workflows/test_editable_pip_install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Set up user-managed python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.11'
29+
python-version: '3.13'
3030

3131
- name: Upgrade versions
3232
run: |
@@ -67,9 +67,9 @@ jobs:
6767
- name: Set expected install locations for macos
6868
if: ${{ matrix.os == 'macos-latest' }}
6969
run: |
70-
echo CC_SYM_LOCATION=/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/cc_sym.cpython-311-darwin.so >> $GITHUB_ENV
71-
echo SYM_LOCATION=/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sym/__init__.py >> $GITHUB_ENV
72-
echo SKYMARSHAL_LOCATION=/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/skymarshal/__init__.py >> $GITHUB_ENV
70+
echo CC_SYM_LOCATION=/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/cc_sym.cpython-313-darwin.so >> $GITHUB_ENV
71+
echo SYM_LOCATION=/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.11/site-packages/sym/__init__.py >> $GITHUB_ENV
72+
echo SKYMARSHAL_LOCATION=/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.11/site-packages/skymarshal/__init__.py >> $GITHUB_ENV
7373
echo SYMENGINE_LOCATION=/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/third_party/symenginepy/symengine/__init__.py >> $GITHUB_ENV
7474
echo LCMTYPES_SYM_LOCATION=/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/lcmtypes_build/lcmtypes/sym/__init__.py >> $GITHUB_ENV
7575
echo LCMTYPES_EIGEN_LCM_LOCATION=/Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/lcmtypes_build/lcmtypes/eigen_lcm/__init__.py >> $GITHUB_ENV

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="https://symforce.org"><img alt="Documentation" src="https://img.shields.io/badge/api-docs-blue" /></a>
1212
<a href="https://github.com/symforce-org/symforce"><img alt="Source Code" src="https://img.shields.io/badge/source-code-blue" /></a>
1313
<a href="https://github.com/symforce-org/symforce/issues"><img alt="Issues" src="https://img.shields.io/badge/issue-tracker-blue" /></a>
14-
<img alt="Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12" src="https://img.shields.io/pypi/pyversions/symforce" />
14+
<img alt="Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13" src="https://img.shields.io/pypi/pyversions/symforce" />
1515
<img alt="C++14" src="https://img.shields.io/badge/c++-14-blue" />
1616
<a href="https://pypi.org/project/symforce/"><img alt="PyPI" src="https://img.shields.io/pypi/v/symforce" /></a>
1717
<a href="https://github.com/symforce-org/symforce/tree/main/LICENSE"><img alt="Apache License" src="https://img.shields.io/pypi/l/symforce" /></a>

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
3738
"Programming Language :: Python :: 3 :: Only",
3839
"Programming Language :: C++",
3940
"License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)