Skip to content

Commit

Permalink
Merge pull request #234 from robotpy/2025-dev
Browse files Browse the repository at this point in the history
Update pybind11, add Python 3.13 to CI
  • Loading branch information
virtuald authored Oct 12, 2024
2 parents ddd2033 + 2ebffb2 commit a35592b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
architecture: [x86, x64]
exclude:
- os: macos-12
Expand Down
4 changes: 0 additions & 4 deletions robotpy_build/autowrap/header.cpp.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
using namespace {{ ns }};
{% endfor %}

{% for cls in classes if cls.nodelete %}
PYBIND11_TYPE_CASTER_BASE_HOLDER(typename {{ cls.full_cpp_name }}, std::unique_ptr<typename {{ cls.full_cpp_name }}, py::nodelete>);
{% endfor %}


struct rpybuild_{{ hname }}_initializer {

Expand Down
2 changes: 1 addition & 1 deletion robotpy_build/include/gilsafe_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace py = pybind11;

// Py_IsFinalizing is public API in 3.13
#if PY_VERSION_HEX < 0x03130000
#if PY_VERSION_HEX < 0x030D0000
#define Py_IsFinalizing _Py_IsFinalizing
#endif

Expand Down
2 changes: 1 addition & 1 deletion robotpy_build/pybind11
Submodule pybind11 updated 270 files

0 comments on commit a35592b

Please sign in to comment.