Skip to contentSkip to conversation

package/python-webpy: bump to version 0.76

PATCH New yegorslists--- via buildroot 1 participant 1 message Jun 8

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-webpy: bump to version 0.76

From: Yegor Yefremov <[email protected]>

The repository doesn't provide a git tag so use git commit to specify the version.

Change log:

99e5eed Fix session.py to allow suppression of the cookie (#737) c962428 Document development setup (#823)
2598dfe Allow python v3.14.x (#822)
7853e70 Bump actions/checkout from 5 to 6 (#817)
3e05bc6 refactor: remove python2 compatible import usages (#728) c888e19 Remove required Python version limit (#805)
dc561bc Bump actions/setup-python from 5 to 6 (#814)
1444393 Bump actions/checkout from 4 to 5 (#812)
efcad93 Fix query for #807 and #808 (#809)
19da0b8 pre-commit run --all-files, fix SQLQuery (#808)
3ba1b40 Address CVE-2025-3818 (#807)
9aeaf55 Fix: disable accessing special variables from template (#803) 25dc267 Automate PyPI release on new tag push (#797)
952d1fd Propagate field notes (#790)
d364932 Fix: enable Python 3.12 to parse templates (#785)
5709b1f Bump actions/setup-python from 4 to 5 (#788)
9913d80 Keep GitHub Actions up to date with Dependabot (#787) cab78cf Fix: update deprecated sqlite3 datetime and timestamp adapters (#786) ed3e92c Fix storify and multipart (#778)

Remove the upstreamed patch.

---
 .../0001-Address-CVE-2025-3818.patch          | 42 -------------------
 package/python-webpy/python-webpy.hash        |  2 +-
 package/python-webpy/python-webpy.mk          |  4 +-
 3 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 package/python-webpy/0001-Address-CVE-2025-3818.patch
package/python-webpy/0001-Address-CVE-2025-3818.patch deleted +0 -42
deleted file mode 100644
index d8373cbac6..0000000000
@@ -1,42 +0,0 @@
-From 3ba1b40e5a828a26a1df1b49cdc87395f3274c81 Mon Sep 17 00:00:00 2001
-From: Mek <[email protected]>
-Date: Wed, 7 May 2025 15:14:44 -0400
-Subject: [PATCH] Address CVE-2025-3818 (#807)
-
-* Address CVE-2025-3818
-
-Co-authored-by: Scott Barnes <[email protected]>
-
-Upstream: https://github.com/webpy/webpy/commit/3ba1b40e5a828a26a1df1b49cdc87395f3274c81
-
-Fixes CVE-2025-3818: https://github.com/advisories/GHSA-9g47-36rw-gjh2
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- web/db.py | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/web/db.py b/web/db.py
-index 5284f8d0..ba3e12c5 100644
---- a/web/db.py
-+++ b/web/db.py
-@@ -1198,10 +1198,18 @@ def _process_insert_query(self, query, tablename, seqname):
-                 seqname = None
- 
-         if seqname:
--            query += "; SELECT currval('%s')" % seqname
-+            query += self.get_sequence_query(seqname)
- 
-         return query
- 
-+    def get_sequence_query(self, seqname):
-+        import re
-+        # Ensure the sequence name is valid
-+        if not re.match(r'^[a-zA-Z_][a-zA-Z0-9_$]*$', seqname):
-+            raise ValueError(f"Invalid sequence name: {seqname}")
-+        return SQLQuery("; SELECT currval(%s)", seqname)
-+
-+
-     def _get_all_sequences(self):
-         """Query postgres to find names of all sequences used in this database."""
-         if self._sequences is None:
package/python-webpy/python-webpy.hash +1 -1
index 0fb39170c7..25ee53242a 100644
@@ -1,2 +1,2 @@
 # Locally computed
-sha256  eee36e423b5e85463145159d94735e3c3a4c1c8078555042d8139348350b0022  python-webpy-0.70.tar.gz
+sha256  ed23999eb7dfa35bfd1ce75c5a828b9cf92e62891147ec6942e644b967137ad3  python-webpy-0.70-19-g99e5eed8e3a210b4951ca1ed5cb5575479a25c99.tar.gz
package/python-webpy/python-webpy.mk +2 -2
index 62b2331c08..dafdc3d17c 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-PYTHON_WEBPY_VERSION = 0.70
-PYTHON_WEBPY_SITE = $(call github,webpy,webpy,webpy-$(PYTHON_WEBPY_VERSION))
+PYTHON_WEBPY_VERSION = 0.70-19-g99e5eed8e3a210b4951ca1ed5cb5575479a25c99
+PYTHON_WEBPY_SITE = $(call github,webpy,webpy,$(PYTHON_WEBPY_VERSION))
 PYTHON_WEBPY_SETUP_TYPE = setuptools
 PYTHON_WEBPY_LICENSE = Public Domain
 
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot