From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
Guillaume William Brs <guillaume.bressaix@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/python-pybind: bump to version 3.1.0
Date: Sat, 24 Oct 2026 13:10:07 -0600 [thread overview]
Message-ID: <20261024191007.2101371-1-james.hilliard1@gmail.com> (raw)
Refresh the STAGING_DIR patch for upstream import and helper changes.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
.../0001-pybind11-commands.py-support-STAGING_DIR.patch | 9 +++++----
package/python-pybind/python-pybind.hash | 2 +-
package/python-pybind/python-pybind.mk | 2 +-
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch b/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch
index 255c484099..83892f1ddd 100644
--- a/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch
+++ b/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch
@@ -13,6 +13,7 @@ the current directory, if it is set.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Upstream-Status: N/A, Buildroot specific
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
+Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
pybind11/commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -21,16 +22,16 @@ diff --git a/pybind11/commands.py b/pybind11/commands.py
index a29c8ca..de8a27c 100644
--- a/pybind11/commands.py
+++ b/pybind11/commands.py
-@@ -2,7 +2,8 @@ from __future__ import annotations
-
- import os
+@@ -4,7 +4,8 @@ import os
+ import re
+ import sys
-DIR = os.path.abspath(os.path.dirname(__file__))
+DIR = os.environ.get('STAGING_DIR') or \
+ os.path.abspath(os.path.dirname(__file__))
+ # shlex/sysconfig are imported lazily below to keep `import pybind11` light
- def get_include(user: bool = False) -> str: # noqa: ARG001
--
2.31.1
diff --git a/package/python-pybind/python-pybind.hash b/package/python-pybind/python-pybind.hash
index 1a54a89da0..b7f8025544 100644
--- a/package/python-pybind/python-pybind.hash
+++ b/package/python-pybind/python-pybind.hash
@@ -1,4 +1,4 @@
# Locally calculated
-sha256 741633da746b7c738bb71f1854f957b9da660bcd2dce68d71949037f0969d0ca python-pybind-3.0.1.tar.gz
+sha256 ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 python-pybind-3.1.0.tar.gz
# License files, locally calculated
sha256 83965b843b98f670d3a85bd041ed4b372c8ec50d7b4a5995a83ac697ba675dcb LICENSE
diff --git a/package/python-pybind/python-pybind.mk b/package/python-pybind/python-pybind.mk
index cdafc9d4c0..4d3cde98a1 100644
--- a/package/python-pybind/python-pybind.mk
+++ b/package/python-pybind/python-pybind.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PYTHON_PYBIND_VERSION = 3.0.1
+PYTHON_PYBIND_VERSION = 3.1.0
PYTHON_PYBIND_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND_VERSION))
PYTHON_PYBIND_LICENSE = BSD-3-Clause
PYTHON_PYBIND_LICENSE_FILES = LICENSE
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-10-24 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 19:10 James Hilliard [this message]
2026-10-25 12:00 ` [Buildroot] [PATCH 1/1] package/python-pybind: bump to version 3.1.0 Julien Olivain via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261024191007.2101371-1-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=buildroot@buildroot.org \
--cc=guillaume.bressaix@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox