mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 0/5] Update to Python3.11
@ 2023-03-28 12:32 Robin van der Gracht
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2 Robin van der Gracht
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

This patchset contains an update for the Python package and several
Python modules for compatibility weith the new Python version.

Was able to update and test several Python modules but not all of them.

v2:
 - Remove the patches in patches/Python-3.10.4/* 

Signed-off-by: Robin van der Gracht <robin@protonic.nl>

Robin van der Gracht (5):
  python3: Version bumb to 3.11.2
  python3-aiofiles: Version bumb to 0.8.0
  python3-frozenlist: Version bumb 1.3.3
  python3-aiohttp: Version bumb to 3.8.4
  python3-yarl: Version bumb to 1.8.2

 ...-leak-host-path-into-target-binaries.patch | 23 ----------
 ...02-python3-prevent-host-path-leakage.patch | 43 -------------------
 patches/Python-3.10.4/series                  |  5 ---
 rules/python3-aiofiles.make                   |  4 +-
 rules/python3-aiohttp.make                    |  4 +-
 rules/python3-frozenlist.make                 |  4 +-
 rules/python3-yarl.make                       |  4 +-
 rules/python3.make                            |  7 +--
 8 files changed, 12 insertions(+), 82 deletions(-)
 delete mode 100644 patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
 delete mode 100644 patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
 delete mode 100644 patches/Python-3.10.4/series

-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2
  2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
@ 2023-03-28 12:32 ` Robin van der Gracht
  2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 2/5] python3-aiofiles: Version bumb to 0.8.0 Robin van der Gracht
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 ...-leak-host-path-into-target-binaries.patch | 23 ----------
 ...02-python3-prevent-host-path-leakage.patch | 43 -------------------
 patches/Python-3.10.4/series                  |  5 ---
 rules/python3.make                            |  7 +--
 4 files changed, 4 insertions(+), 74 deletions(-)
 delete mode 100644 patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
 delete mode 100644 patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
 delete mode 100644 patches/Python-3.10.4/series

diff --git a/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch b/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
deleted file mode 100644
index e59f7c649..000000000
--- a/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Michael Olbrich <m.olbrich@pengutronix.de>
-Date: Sun, 14 Oct 2018 18:51:17 +0200
-Subject: [PATCH] python3: don't leak host path into target binaries
-
-Without this the rpath of the _dbm module contains <sysroot>/usr/lib.
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
- setup.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index bf90600eaad3..9250f5a1b691 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1516,7 +1516,6 @@ class PyBuildExt(build_ext):
-                         if dbm_setup_debug: print("building dbm using bdb")
-                         dbmext = Extension('_dbm', ['_dbmmodule.c'],
-                                            library_dirs=dblib_dir,
--                                           runtime_library_dirs=dblib_dir,
-                                            include_dirs=db_incs,
-                                            define_macros=[
-                                                ('HAVE_BERKDB_H', None),
diff --git a/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch b/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
deleted file mode 100644
index e4d5eed17..000000000
--- a/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Bastian Stender <bst@pengutronix.de>
-Date: Mon, 8 Jan 2018 16:11:23 +0100
-Subject: [PATCH] python3: prevent host path leakage
-
-If cross-compiling and host/target architecture match host paths are
-added to include_dirs and library_dirs in add_multiarch_paths() (e.g.
-/usr/lib/i386-linux-gnu, /usr/include/i386-linux-gnu). This leads to
-build failures for some extensions (at least _ssl and _socket).
-
-ptxdist does not support multiarch, so remove this addition when
-cross-compiling.
-
-Based on a patch by Alexandru Ardelean <ardeleanalex@gmail.com>.
-
-See these patches for reference:
-- https://github.com/openwrt/packages/pull/784
-- https://github.com/openwrt/packages/blob/master/lang/python/python/patches/006-remove-multi-arch-and-local-paths.patch
-- http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/python/python/host_include_contamination.patch
-
-Signed-off-by: Bastian Stender <bst@pengutronix.de>
----
- setup.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 9250f5a1b691..3278aaf6e677 100644
---- a/setup.py
-+++ b/setup.py
-@@ -829,10 +829,12 @@ class PyBuildExt(build_ext):
-         if not CROSS_COMPILING:
-             add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
-             add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
-+
-+            self.add_multiarch_paths()
-+
-         # only change this for cross builds for 3.3, issues on Mageia
-         if CROSS_COMPILING:
-             self.add_cross_compiling_paths()
--        self.add_multiarch_paths()
-         self.add_ldflags_cppflags()
- 
-     def init_inc_lib_dirs(self):
-
diff --git a/patches/Python-3.10.4/series b/patches/Python-3.10.4/series
deleted file mode 100644
index 305ae1d73..000000000
--- a/patches/Python-3.10.4/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-python3-don-t-leak-host-path-into-target-binaries.patch
-0002-python3-prevent-host-path-leakage.patch
-# 9a6f885c0db25c8cff5dd088d9eff6af  - git-ptx-patches magic
diff --git a/rules/python3.make b/rules/python3.make
index b8cffc190..d3f872206 100644
--- a/rules/python3.make
+++ b/rules/python3.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_PYTHON3) += python3
 #
 # Paths and names
 #
-PYTHON3_VERSION		:= 3.10.4
-PYTHON3_MD5		:= 21f2e113e087083a1e8cf10553d93599
+PYTHON3_VERSION		:= 3.11.2
+PYTHON3_MD5		:= a957cffb58a89303b62124896881950b
 PYTHON3_MAJORMINOR	:= $(basename $(PYTHON3_VERSION))
 PYTHON3_SITEPACKAGES	:= /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages
 PYTHON3			:= Python-$(PYTHON3_VERSION)
@@ -76,7 +76,8 @@ PYTHON3_CONF_OPT	:= \
 	--without-dtrace \
 	--with-computed-gotos \
 	--without-ensurepip \
-	--with-openssl=$(SYSROOT)/usr
+	--with-openssl=$(SYSROOT)/usr \
+	--with-build-python=python$(PYTHON3_MAJORMINOR)
 
 # Keep dictionary order in .pyc files stable
 PYTHON3_MAKE_ENV := \
-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ptxdist] [PATCH v2 2/5] python3-aiofiles: Version bumb to 0.8.0
  2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2 Robin van der Gracht
@ 2023-03-28 12:32 ` Robin van der Gracht
  2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 3/5] python3-frozenlist: Version bumb 1.3.3 Robin van der Gracht
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

Current version has no Python3.11 support.

import aiofiles
File "/usr/lib/python3.11/site-packages/aiofiles/__init__.py", line 2, in <module>
File "/usr/lib/python3.11/site-packages/aiofiles/threadpool/__init__.py", line 8, in <module>
File "/usr/lib/python3.11/site-packages/aiofiles/threadpool/binary.py", line 1, in <module>
File "/usr/lib/python3.11/site-packages/aiofiles/base.py", line 7, in <module>
File "/usr/lib/python3.11/site-packages/aiofiles/base.py", line 14, in AsyncBase
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/python3-aiofiles.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/python3-aiofiles.make b/rules/python3-aiofiles.make
index edb5d23e1..7fe76c4de 100644
--- a/rules/python3-aiofiles.make
+++ b/rules/python3-aiofiles.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOFILES) += python3-aiofiles
 #
 # Paths and names
 #
-PYTHON3_AIOFILES_VERSION	:= 0.3.2
-PYTHON3_AIOFILES_MD5		:= 726de778d9e4b1c6d5e4d04994a03505
+PYTHON3_AIOFILES_VERSION	:= 0.8.0
+PYTHON3_AIOFILES_MD5		:= 697deeb4fdcb620c45f114f173ed7c0d
 PYTHON3_AIOFILES		:= aiofiles-$(PYTHON3_AIOFILES_VERSION)
 PYTHON3_AIOFILES_SUFFIX		:= tar.gz
 PYTHON3_AIOFILES_URL		:= $(call ptx/mirror-pypi, aiofiles, $(PYTHON3_AIOFILES).$(PYTHON3_AIOFILES_SUFFIX))
-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ptxdist] [PATCH v2 3/5] python3-frozenlist: Version bumb 1.3.3
  2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2 Robin van der Gracht
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 2/5] python3-aiofiles: Version bumb to 0.8.0 Robin van der Gracht
@ 2023-03-28 12:32 ` Robin van der Gracht
  2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 4/5] python3-aiohttp: Version bumb to 3.8.4 Robin van der Gracht
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 5/5] python3-yarl: Version bumb to 1.8.2 Robin van der Gracht
  4 siblings, 1 reply; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

Current version has no Python3.11 support.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/python3-frozenlist.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/python3-frozenlist.make b/rules/python3-frozenlist.make
index 68367a499..6a7114274 100644
--- a/rules/python3-frozenlist.make
+++ b/rules/python3-frozenlist.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_FROZENLIST) += python3-frozenlist
 #
 # Paths and names
 #
-PYTHON3_FROZENLIST_VERSION	:= 1.3.0
-PYTHON3_FROZENLIST_MD5		:= e65d870bd189ba3c21ab7eb10eab22b7
+PYTHON3_FROZENLIST_VERSION	:= 1.3.3
+PYTHON3_FROZENLIST_MD5		:= 14e9ffd849c6a1dfa3c6b1fb1ff77b14
 PYTHON3_FROZENLIST		:= frozenlist-$(PYTHON3_FROZENLIST_VERSION)
 PYTHON3_FROZENLIST_SUFFIX	:= tar.gz
 PYTHON3_FROZENLIST_URL		:= $(call ptx/mirror-pypi, frozenlist, $(PYTHON3_FROZENLIST).$(PYTHON3_FROZENLIST_SUFFIX))
-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ptxdist] [PATCH v2 4/5] python3-aiohttp: Version bumb to 3.8.4
  2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
                   ` (2 preceding siblings ...)
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 3/5] python3-frozenlist: Version bumb 1.3.3 Robin van der Gracht
@ 2023-03-28 12:32 ` Robin van der Gracht
  2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 5/5] python3-yarl: Version bumb to 1.8.2 Robin van der Gracht
  4 siblings, 1 reply; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

Current version has no Python3.11 support.

aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: No such file or directory
  198 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/python3-aiohttp.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/python3-aiohttp.make b/rules/python3-aiohttp.make
index 64bd6b0e8..a49f8f3cc 100644
--- a/rules/python3-aiohttp.make
+++ b/rules/python3-aiohttp.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOHTTP) += python3-aiohttp
 #
 # Paths and names
 #
-PYTHON3_AIOHTTP_VERSION	:= 3.8.1
-PYTHON3_AIOHTTP_MD5	:= faf7726dc65a940272874c0f441e8ec6
+PYTHON3_AIOHTTP_VERSION	:= 3.8.4
+PYTHON3_AIOHTTP_MD5	:= 8208bc4b519ac4520720577f93561855
 PYTHON3_AIOHTTP		:= aiohttp-$(PYTHON3_AIOHTTP_VERSION)
 PYTHON3_AIOHTTP_SUFFIX	:= tar.gz
 PYTHON3_AIOHTTP_URL	:= $(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX))
-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ptxdist] [PATCH v2 5/5] python3-yarl: Version bumb to 1.8.2
  2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
                   ` (3 preceding siblings ...)
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 4/5] python3-aiohttp: Version bumb to 3.8.4 Robin van der Gracht
@ 2023-03-28 12:32 ` Robin van der Gracht
  2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  4 siblings, 1 reply; 11+ messages in thread
From: Robin van der Gracht @ 2023-03-28 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: robin

Current version has no Python3.11 support.

yarl/_quoting_c.c:196:12: fatal error: longintrepr.h: No such file or directory
  196 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/python3-yarl.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/python3-yarl.make b/rules/python3-yarl.make
index d6831493f..0f6f2d8e3 100644
--- a/rules/python3-yarl.make
+++ b/rules/python3-yarl.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_YARL) += python3-yarl
 #
 # Paths and names
 #
-PYTHON3_YARL_VERSION	:= 1.5.1
-PYTHON3_YARL_MD5	:= a9b20bf0b8a6962e1101b28908a67bf8
+PYTHON3_YARL_VERSION	:= 1.8.2
+PYTHON3_YARL_MD5	:= 57c82725b9f4895eecee45faf5e61a54
 PYTHON3_YARL		:= yarl-$(PYTHON3_YARL_VERSION)
 PYTHON3_YARL_SUFFIX	:= tar.gz
 PYTHON3_YARL_URL	:= $(call ptx/mirror-pypi, yarl, $(PYTHON3_YARL).$(PYTHON3_YARL_SUFFIX))
-- 
2.37.2




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] [APPLIED] python3: Version bumb to 3.11.2
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2 Robin van der Gracht
@ 2023-04-12  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2023-04-12  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

Thanks, applied as 2644955b74b7ea4944bacec3b9cfd943aec0b33b.

Michael

[sent from post-receive hook]

On Wed, 12 Apr 2023 08:29:38 +0200, Robin van der Gracht <robin@protonic.nl> wrote:
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Message-Id: <20230328123226.668075-2-robin@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch b/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
> deleted file mode 100644
> index e59f7c64936a..000000000000
> --- a/patches/Python-3.10.4/0001-python3-don-t-leak-host-path-into-target-binaries.patch
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -From: Michael Olbrich <m.olbrich@pengutronix.de>
> -Date: Sun, 14 Oct 2018 18:51:17 +0200
> -Subject: [PATCH] python3: don't leak host path into target binaries
> -
> -Without this the rpath of the _dbm module contains <sysroot>/usr/lib.
> -
> -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> ----
> - setup.py | 1 -
> - 1 file changed, 1 deletion(-)
> -
> -diff --git a/setup.py b/setup.py
> -index bf90600eaad3..9250f5a1b691 100644
> ---- a/setup.py
> -+++ b/setup.py
> -@@ -1516,7 +1516,6 @@ class PyBuildExt(build_ext):
> -                         if dbm_setup_debug: print("building dbm using bdb")
> -                         dbmext = Extension('_dbm', ['_dbmmodule.c'],
> -                                            library_dirs=dblib_dir,
> --                                           runtime_library_dirs=dblib_dir,
> -                                            include_dirs=db_incs,
> -                                            define_macros=[
> -                                                ('HAVE_BERKDB_H', None),
> diff --git a/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch b/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
> deleted file mode 100644
> index e4d5eed17758..000000000000
> --- a/patches/Python-3.10.4/0002-python3-prevent-host-path-leakage.patch
> +++ /dev/null
> @@ -1,43 +0,0 @@
> -From: Bastian Stender <bst@pengutronix.de>
> -Date: Mon, 8 Jan 2018 16:11:23 +0100
> -Subject: [PATCH] python3: prevent host path leakage
> -
> -If cross-compiling and host/target architecture match host paths are
> -added to include_dirs and library_dirs in add_multiarch_paths() (e.g.
> -/usr/lib/i386-linux-gnu, /usr/include/i386-linux-gnu). This leads to
> -build failures for some extensions (at least _ssl and _socket).
> -
> -ptxdist does not support multiarch, so remove this addition when
> -cross-compiling.
> -
> -Based on a patch by Alexandru Ardelean <ardeleanalex@gmail.com>.
> -
> -See these patches for reference:
> -- https://github.com/openwrt/packages/pull/784
> -- https://github.com/openwrt/packages/blob/master/lang/python/python/patches/006-remove-multi-arch-and-local-paths.patch
> -- http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/python/python/host_include_contamination.patch
> -
> -Signed-off-by: Bastian Stender <bst@pengutronix.de>
> ----
> - setup.py | 4 +++-
> - 1 file changed, 3 insertions(+), 1 deletion(-)
> -
> -diff --git a/setup.py b/setup.py
> -index 9250f5a1b691..3278aaf6e677 100644
> ---- a/setup.py
> -+++ b/setup.py
> -@@ -829,10 +829,12 @@ class PyBuildExt(build_ext):
> -         if not CROSS_COMPILING:
> -             add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
> -             add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
> -+
> -+            self.add_multiarch_paths()
> -+
> -         # only change this for cross builds for 3.3, issues on Mageia
> -         if CROSS_COMPILING:
> -             self.add_cross_compiling_paths()
> --        self.add_multiarch_paths()
> -         self.add_ldflags_cppflags()
> - 
> -     def init_inc_lib_dirs(self):
> -
> diff --git a/patches/Python-3.10.4/series b/patches/Python-3.10.4/series
> deleted file mode 100644
> index 305ae1d73d43..000000000000
> --- a/patches/Python-3.10.4/series
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-python3-don-t-leak-host-path-into-target-binaries.patch
> -0002-python3-prevent-host-path-leakage.patch
> -# 9a6f885c0db25c8cff5dd088d9eff6af  - git-ptx-patches magic
> diff --git a/rules/python3.make b/rules/python3.make
> index b8cffc1906db..d3f872206c30 100644
> --- a/rules/python3.make
> +++ b/rules/python3.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_PYTHON3) += python3
>  #
>  # Paths and names
>  #
> -PYTHON3_VERSION		:= 3.10.4
> -PYTHON3_MD5		:= 21f2e113e087083a1e8cf10553d93599
> +PYTHON3_VERSION		:= 3.11.2
> +PYTHON3_MD5		:= a957cffb58a89303b62124896881950b
>  PYTHON3_MAJORMINOR	:= $(basename $(PYTHON3_VERSION))
>  PYTHON3_SITEPACKAGES	:= /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages
>  PYTHON3			:= Python-$(PYTHON3_VERSION)
> @@ -76,7 +76,8 @@ PYTHON3_CONF_OPT	:= \
>  	--without-dtrace \
>  	--with-computed-gotos \
>  	--without-ensurepip \
> -	--with-openssl=$(SYSROOT)/usr
> +	--with-openssl=$(SYSROOT)/usr \
> +	--with-build-python=python$(PYTHON3_MAJORMINOR)
>  
>  # Keep dictionary order in .pyc files stable
>  PYTHON3_MAKE_ENV := \



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] [APPLIED] python3-aiofiles: Version bumb to 0.8.0
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 2/5] python3-aiofiles: Version bumb to 0.8.0 Robin van der Gracht
@ 2023-04-12  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2023-04-12  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

Thanks, applied as e8307a7425824ddc9ef58f0b9200674cf1d860ad.

Michael

[sent from post-receive hook]

On Wed, 12 Apr 2023 08:29:39 +0200, Robin van der Gracht <robin@protonic.nl> wrote:
> Current version has no Python3.11 support.
> 
> import aiofiles
> File "/usr/lib/python3.11/site-packages/aiofiles/__init__.py", line 2, in <module>
> File "/usr/lib/python3.11/site-packages/aiofiles/threadpool/__init__.py", line 8, in <module>
> File "/usr/lib/python3.11/site-packages/aiofiles/threadpool/binary.py", line 1, in <module>
> File "/usr/lib/python3.11/site-packages/aiofiles/base.py", line 7, in <module>
> File "/usr/lib/python3.11/site-packages/aiofiles/base.py", line 14, in AsyncBase
> AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Message-Id: <20230328123226.668075-3-robin@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-aiofiles.make b/rules/python3-aiofiles.make
> index edb5d23e1002..7fe76c4dee59 100644
> --- a/rules/python3-aiofiles.make
> +++ b/rules/python3-aiofiles.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOFILES) += python3-aiofiles
>  #
>  # Paths and names
>  #
> -PYTHON3_AIOFILES_VERSION	:= 0.3.2
> -PYTHON3_AIOFILES_MD5		:= 726de778d9e4b1c6d5e4d04994a03505
> +PYTHON3_AIOFILES_VERSION	:= 0.8.0
> +PYTHON3_AIOFILES_MD5		:= 697deeb4fdcb620c45f114f173ed7c0d
>  PYTHON3_AIOFILES		:= aiofiles-$(PYTHON3_AIOFILES_VERSION)
>  PYTHON3_AIOFILES_SUFFIX		:= tar.gz
>  PYTHON3_AIOFILES_URL		:= $(call ptx/mirror-pypi, aiofiles, $(PYTHON3_AIOFILES).$(PYTHON3_AIOFILES_SUFFIX))



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] [APPLIED] python3-frozenlist: Version bumb 1.3.3
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 3/5] python3-frozenlist: Version bumb 1.3.3 Robin van der Gracht
@ 2023-04-12  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2023-04-12  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

Thanks, applied as 87a628046965604c53fc2281a092b1639a657e19.

Michael

[sent from post-receive hook]

On Wed, 12 Apr 2023 08:29:39 +0200, Robin van der Gracht <robin@protonic.nl> wrote:
> Current version has no Python3.11 support.
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Message-Id: <20230328123226.668075-4-robin@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-frozenlist.make b/rules/python3-frozenlist.make
> index 68367a4993d6..6a7114274518 100644
> --- a/rules/python3-frozenlist.make
> +++ b/rules/python3-frozenlist.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_FROZENLIST) += python3-frozenlist
>  #
>  # Paths and names
>  #
> -PYTHON3_FROZENLIST_VERSION	:= 1.3.0
> -PYTHON3_FROZENLIST_MD5		:= e65d870bd189ba3c21ab7eb10eab22b7
> +PYTHON3_FROZENLIST_VERSION	:= 1.3.3
> +PYTHON3_FROZENLIST_MD5		:= 14e9ffd849c6a1dfa3c6b1fb1ff77b14
>  PYTHON3_FROZENLIST		:= frozenlist-$(PYTHON3_FROZENLIST_VERSION)
>  PYTHON3_FROZENLIST_SUFFIX	:= tar.gz
>  PYTHON3_FROZENLIST_URL		:= $(call ptx/mirror-pypi, frozenlist, $(PYTHON3_FROZENLIST).$(PYTHON3_FROZENLIST_SUFFIX))



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] [APPLIED] python3-aiohttp: Version bumb to 3.8.4
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 4/5] python3-aiohttp: Version bumb to 3.8.4 Robin van der Gracht
@ 2023-04-12  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2023-04-12  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

Thanks, applied as 4c3bbd1248316f033a1c149bdafdd8b5f1a58546.

Michael

[sent from post-receive hook]

On Wed, 12 Apr 2023 08:29:40 +0200, Robin van der Gracht <robin@protonic.nl> wrote:
> Current version has no Python3.11 support.
> 
> aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: No such file or directory
>   198 |   #include "longintrepr.h"
>       |            ^~~~~~~~~~~~~~~
> compilation terminated.
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Message-Id: <20230328123226.668075-5-robin@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-aiohttp.make b/rules/python3-aiohttp.make
> index 64bd6b0e877b..a49f8f3cc133 100644
> --- a/rules/python3-aiohttp.make
> +++ b/rules/python3-aiohttp.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOHTTP) += python3-aiohttp
>  #
>  # Paths and names
>  #
> -PYTHON3_AIOHTTP_VERSION	:= 3.8.1
> -PYTHON3_AIOHTTP_MD5	:= faf7726dc65a940272874c0f441e8ec6
> +PYTHON3_AIOHTTP_VERSION	:= 3.8.4
> +PYTHON3_AIOHTTP_MD5	:= 8208bc4b519ac4520720577f93561855
>  PYTHON3_AIOHTTP		:= aiohttp-$(PYTHON3_AIOHTTP_VERSION)
>  PYTHON3_AIOHTTP_SUFFIX	:= tar.gz
>  PYTHON3_AIOHTTP_URL	:= $(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX))



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [ptxdist] [APPLIED] python3-yarl: Version bumb to 1.8.2
  2023-03-28 12:32 ` [ptxdist] [PATCH v2 5/5] python3-yarl: Version bumb to 1.8.2 Robin van der Gracht
@ 2023-04-12  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Olbrich @ 2023-04-12  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

Thanks, applied as 8ed6cf7c8c771a90b14f0927e0761bbf3590f5d9.

Michael

[sent from post-receive hook]

On Wed, 12 Apr 2023 08:29:41 +0200, Robin van der Gracht <robin@protonic.nl> wrote:
> Current version has no Python3.11 support.
> 
> yarl/_quoting_c.c:196:12: fatal error: longintrepr.h: No such file or directory
>   196 |   #include "longintrepr.h"
>       |            ^~~~~~~~~~~~~~~
> compilation terminated.
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Message-Id: <20230328123226.668075-6-robin@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-yarl.make b/rules/python3-yarl.make
> index d6831493f9e3..0f6f2d8e39d9 100644
> --- a/rules/python3-yarl.make
> +++ b/rules/python3-yarl.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_YARL) += python3-yarl
>  #
>  # Paths and names
>  #
> -PYTHON3_YARL_VERSION	:= 1.5.1
> -PYTHON3_YARL_MD5	:= a9b20bf0b8a6962e1101b28908a67bf8
> +PYTHON3_YARL_VERSION	:= 1.8.2
> +PYTHON3_YARL_MD5	:= 57c82725b9f4895eecee45faf5e61a54
>  PYTHON3_YARL		:= yarl-$(PYTHON3_YARL_VERSION)
>  PYTHON3_YARL_SUFFIX	:= tar.gz
>  PYTHON3_YARL_URL	:= $(call ptx/mirror-pypi, yarl, $(PYTHON3_YARL).$(PYTHON3_YARL_SUFFIX))



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-04-12  6:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 12:32 [ptxdist] [PATCH v2 0/5] Update to Python3.11 Robin van der Gracht
2023-03-28 12:32 ` [ptxdist] [PATCH v2 1/5] python3: Version bumb to 3.11.2 Robin van der Gracht
2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-03-28 12:32 ` [ptxdist] [PATCH v2 2/5] python3-aiofiles: Version bumb to 0.8.0 Robin van der Gracht
2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-03-28 12:32 ` [ptxdist] [PATCH v2 3/5] python3-frozenlist: Version bumb 1.3.3 Robin van der Gracht
2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-03-28 12:32 ` [ptxdist] [PATCH v2 4/5] python3-aiohttp: Version bumb to 3.8.4 Robin van der Gracht
2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-03-28 12:32 ` [ptxdist] [PATCH v2 5/5] python3-yarl: Version bumb to 1.8.2 Robin van der Gracht
2023-04-12  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox