Skip to content

Commit 6d17d37

Browse files
committed
[tmp] test in CI
equivalent of RobotLocomotion/pybind11#60
1 parent 69d3294 commit 6d17d37

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tools/workspace/lcm/patches/python-3.11.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- a/lcm-python/module.c
2-
+++ b/lcm-python/module.c
1+
--- lcm-python/module.c
2+
+++ lcm-python/module.c
33
@@ -31,6 +31,18 @@ PyDoc_STRVAR(lcmmod_doc, "LCM python extension modules");
44
#define MOD_DEF(ob, name, doc, methods) ob = Py_InitModule3(name, methods, doc);
55
#endif

tools/workspace/pybind11/repository.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def pybind11_repository(
2424
sha256 = _SHA256,
2525
build_file = ":package.BUILD.bazel",
2626
mirrors = mirrors,
27+
patches = [
28+
":patches/python-3.11.patch",
29+
]
2730
)
2831

2932
def generate_pybind11_version_py_file(name):

0 commit comments

Comments
 (0)