All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core] [PATCH] python3-jsonschema: upgrade 4.7.2 -> 4.9.0
@ 2022-08-03  8:44 Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1 Wang Mingyu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wang Mingyu @ 2022-08-03  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

Changelog:
===========
-Fix relative $ref resolution when the base URI is a URN or other scheme (#544).
-pkgutil.resolve_name is now used to retrieve validators provided on the command
 line. This function is only available on 3.9+, so 3.7 and 3.8 (which are still
 supported) now rely on the pkgutil_resolve_name backport package. Note however
 that the CLI itself is due to be deprecated shortly in favor of check-jsonschema.
-best_match no longer traverses into anyOf and oneOf when all of the errors
 within them seem equally applicable. This should lead to clearer error messages
 in some cases where no branches were matched.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...{python3-jsonschema_4.7.2.bb => python3-jsonschema_4.9.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-jsonschema_4.7.2.bb => python3-jsonschema_4.9.0.bb} (93%)

diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.7.2.bb b/meta/recipes-devtools/python/python3-jsonschema_4.9.0.bb
similarity index 93%
rename from meta/recipes-devtools/python/python3-jsonschema_4.7.2.bb
rename to meta/recipes-devtools/python/python3-jsonschema_4.9.0.bb
index af728ab2d6..66e0affc64 100644
--- a/meta/recipes-devtools/python/python3-jsonschema_4.7.2.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.9.0.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
                     file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
 
-SRC_URI[sha256sum] = "73764f461d61eb97a057c929368610a134d1d1fffd858acfe88864ee94f1f1d3"
+SRC_URI[sha256sum] = "df10e65c8f3687a48e93d0d348ce0ce5f897b5a28e9bbcbbe8f7c7eaf019e850"
 
 inherit pypi python_hatchling
 
-- 
2.25.1



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

* [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1
  2022-08-03  8:44 [OE-core] [PATCH] python3-jsonschema: upgrade 4.7.2 -> 4.9.0 Wang Mingyu
@ 2022-08-03  8:44 ` Wang Mingyu
  2022-08-03  9:08   ` Alexander Kanavin
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-scons: upgrade 4.3.0 -> 4.4.0 Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-setuptools: upgrade 63.2.0 -> 63.3.0 Wang Mingyu
  2 siblings, 1 reply; 5+ messages in thread
From: Wang Mingyu @ 2022-08-03  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

reproducible.patch
refreshed for new version.

0001-change-shebang-to-python3.patch
removed since it's not available in new version.

License-Update:
 src/pip/_vendor/html5lib/LICENSE: removed since it's not it new version
 src/pip/_vendor/chardet/LICENSE: file format modified, change St to Street
 src/pip/_vendor/pygments/LICENSE: Copyright year updated to 2022

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/python3-pip/reproducible.patch     | 71 +++++++++++--------
 ...n3-pip_22.1.2.bb => python3-pip_22.2.1.bb} |  8 +--
 2 files changed, 43 insertions(+), 36 deletions(-)
 rename meta/recipes-devtools/python/{python3-pip_22.1.2.bb => python3-pip_22.2.1.bb} (88%)

diff --git a/meta/recipes-devtools/python/python3-pip/reproducible.patch b/meta/recipes-devtools/python/python3-pip/reproducible.patch
index 538bb94f7a..0ed0c9177f 100644
--- a/meta/recipes-devtools/python/python3-pip/reproducible.patch
+++ b/meta/recipes-devtools/python/python3-pip/reproducible.patch
@@ -14,34 +14,17 @@ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
 
 Upstream-Status: Pending
 
-Index: pip-22.0.3/src/pip/_internal/req/req_install.py
-===================================================================
---- pip-22.0.3.orig/src/pip/_internal/req/req_install.py
-+++ pip-22.0.3/src/pip/_internal/req/req_install.py
-@@ -758,7 +758,9 @@ class InstallRequirement:
-         if self.is_wheel:
-             assert self.local_file_path
-             direct_url = None
--            if self.editable:
-+            if '_PYTHON_SYSCONFIGDATA_NAME' in os.environ:
-+                direct_url = None
-+            elif self.editable:
-                 direct_url = direct_url_for_editable(self.unpacked_source_directory)
-             elif self.original_link:
-                 direct_url = direct_url_from_link(
-@@ -775,6 +777,7 @@ class InstallRequirement:
-                 warn_script_location=warn_script_location,
-                 direct_url=direct_url,
-                 requested=self.user_supplied,
-+                root=root,
-             )
-             self.install_succeeded = True
-             return
-Index: pip-22.0.3/src/pip/_internal/operations/install/wheel.py
-===================================================================
---- pip-22.0.3.orig/src/pip/_internal/operations/install/wheel.py
-+++ pip-22.0.3/src/pip/_internal/operations/install/wheel.py
-@@ -436,6 +436,7 @@ def _install_wheel(
+Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
+---
+ src/pip/_internal/operations/install/wheel.py | 5 ++++-
+ src/pip/_internal/req/req_install.py          | 5 ++++-
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/pip/_internal/operations/install/wheel.py b/src/pip/_internal/operations/install/wheel.py
+index 1af8978..3e48f9b 100644
+--- a/src/pip/_internal/operations/install/wheel.py
++++ b/src/pip/_internal/operations/install/wheel.py
+@@ -434,6 +434,7 @@ def _install_wheel(
      warn_script_location: bool = True,
      direct_url: Optional[DirectUrl] = None,
      requested: bool = False,
@@ -49,7 +32,7 @@ Index: pip-22.0.3/src/pip/_internal/operations/install/wheel.py
  ) -> None:
      """Install a wheel.
  
-@@ -612,7 +613,7 @@ def _install_wheel(
+@@ -610,7 +611,7 @@ def _install_wheel(
              with warnings.catch_warnings():
                  warnings.filterwarnings("ignore")
                  for path in pyc_source_file_paths():
@@ -58,7 +41,7 @@ Index: pip-22.0.3/src/pip/_internal/operations/install/wheel.py
                      if success:
                          pyc_path = pyc_output_path(path)
                          assert os.path.exists(pyc_path)
-@@ -723,6 +724,7 @@ def install_wheel(
+@@ -721,6 +722,7 @@ def install_wheel(
      warn_script_location: bool = True,
      direct_url: Optional[DirectUrl] = None,
      requested: bool = False,
@@ -66,9 +49,35 @@ Index: pip-22.0.3/src/pip/_internal/operations/install/wheel.py
  ) -> None:
      with ZipFile(wheel_path, allowZip64=True) as z:
          with req_error_context(req_description):
-@@ -735,4 +737,5 @@ def install_wheel(
+@@ -733,4 +735,5 @@ def install_wheel(
                  warn_script_location=warn_script_location,
                  direct_url=direct_url,
                  requested=requested,
 +                root=root,
              )
+diff --git a/src/pip/_internal/req/req_install.py b/src/pip/_internal/req/req_install.py
+index a1e376c..4c3f1bb 100644
+--- a/src/pip/_internal/req/req_install.py
++++ b/src/pip/_internal/req/req_install.py
+@@ -779,7 +779,9 @@ class InstallRequirement:
+             assert self.local_file_path
+             direct_url = None
+             # TODO this can be refactored to direct_url = self.download_info
+-            if self.editable:
++            if '_PYTHON_SYSCONFIGDATA_NAME' in os.environ:
++                direct_url = None
++            elif self.editable:
+                 direct_url = direct_url_for_editable(self.unpacked_source_directory)
+             elif self.original_link:
+                 direct_url = direct_url_from_link(
+@@ -796,6 +798,7 @@ class InstallRequirement:
+                 warn_script_location=warn_script_location,
+                 direct_url=direct_url,
+                 requested=self.user_supplied,
++                root=root,
+             )
+             self.install_succeeded = True
+             return
+-- 
+2.25.1
+
diff --git a/meta/recipes-devtools/python/python3-pip_22.1.2.bb b/meta/recipes-devtools/python/python3-pip_22.2.1.bb
similarity index 88%
rename from meta/recipes-devtools/python/python3-pip_22.1.2.bb
rename to meta/recipes-devtools/python/python3-pip_22.2.1.bb
index 5fe59a4762..39349b6026 100644
--- a/meta/recipes-devtools/python/python3-pip_22.1.2.bb
+++ b/meta/recipes-devtools/python/python3-pip_22.2.1.bb
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "\
   file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
   file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
   file://src/pip/_vendor/certifi/LICENSE;md5=67da0714c3f9471067b729eca6c9fbe8 \
-  file://src/pip/_vendor/chardet/LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343 \
+  file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \
   file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
   file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
   file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
-  file://src/pip/_vendor/html5lib/LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c \
   file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \
   file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
   file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
@@ -18,7 +17,7 @@ LIC_FILES_CHKSUM = "\
   file://src/pip/_vendor/pep517/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
   file://src/pip/_vendor/pkg_resources/LICENSE;md5=9a33897f1bca1160d7aad3835152e158 \
   file://src/pip/_vendor/platformdirs/LICENSE.txt;md5=282c970bb844954c8535dd6e9733db7f \
-  file://src/pip/_vendor/pygments/LICENSE;md5=98419e351433ac106a24e3ad435930bc \
+  file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \
   file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
   file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
   file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
@@ -33,11 +32,10 @@ LIC_FILES_CHKSUM = "\
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI += "file://0001-change-shebang-to-python3.patch"
 SRC_URI += "file://no_shebang_mangling.patch"
 SRC_URI += "file://reproducible.patch"
 
-SRC_URI[sha256sum] = "6d55b27e10f506312894a87ccc59f280136bad9061719fac9101bdad5a6bce69"
+SRC_URI[sha256sum] = "50516e47a2b79e77446f0d05649f0d53772c192571486236b1905492bfc24bac"
 
 do_install:append() {
     rm -f ${D}/${bindir}/pip
-- 
2.25.1



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

* [OE-core] [PATCH] python3-scons: upgrade 4.3.0 -> 4.4.0
  2022-08-03  8:44 [OE-core] [PATCH] python3-jsonschema: upgrade 4.7.2 -> 4.9.0 Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1 Wang Mingyu
@ 2022-08-03  8:44 ` Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-setuptools: upgrade 63.2.0 -> 63.3.0 Wang Mingyu
  2 siblings, 0 replies; 5+ messages in thread
From: Wang Mingyu @ 2022-08-03  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-scons_4.3.0.bb => python3-scons_4.4.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-scons_4.3.0.bb => python3-scons_4.4.0.bb} (90%)

diff --git a/meta/recipes-devtools/python/python3-scons_4.3.0.bb b/meta/recipes-devtools/python/python3-scons_4.4.0.bb
similarity index 90%
rename from meta/recipes-devtools/python/python3-scons_4.3.0.bb
rename to meta/recipes-devtools/python/python3-scons_4.4.0.bb
index ae91d980fe..ad1149597f 100644
--- a/meta/recipes-devtools/python/python3-scons_4.3.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.4.0.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
 
 SRC_URI += " file://0001-Fix-man-page-installation.patch"
-SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879"
+SRC_URI[sha256sum] = "7703c4e9d2200b4854a31800c1dbd4587e1fa86e75f58795c740bcfa7eca7eaa"
 
 PYPI_PACKAGE = "SCons"
 
-- 
2.25.1



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

* [OE-core] [PATCH] python3-setuptools: upgrade 63.2.0 -> 63.3.0
  2022-08-03  8:44 [OE-core] [PATCH] python3-jsonschema: upgrade 4.7.2 -> 4.9.0 Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1 Wang Mingyu
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-scons: upgrade 4.3.0 -> 4.4.0 Wang Mingyu
@ 2022-08-03  8:44 ` Wang Mingyu
  2 siblings, 0 replies; 5+ messages in thread
From: Wang Mingyu @ 2022-08-03  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

Merge with pypa/distutils@129480b, including substantial delinting and cleanup,
some refactoring around compiler logic, better messaging in cygwincompiler (pypa/distutils#161).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...ython3-setuptools_63.2.0.bb => python3-setuptools_63.3.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools_63.2.0.bb => python3-setuptools_63.3.0.bb} (95%)

diff --git a/meta/recipes-devtools/python/python3-setuptools_63.2.0.bb b/meta/recipes-devtools/python/python3-setuptools_63.3.0.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-setuptools_63.2.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_63.3.0.bb
index 15c171b846..da7e7892fd 100644
--- a/meta/recipes-devtools/python/python3-setuptools_63.2.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_63.3.0.bb
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
 SRC_URI += "file://0001-change-shebang-to-python3.patch \
             file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
 
-SRC_URI[sha256sum] = "c04b44a57a6265fe34a4a444e965884716d34bae963119a76353434d6f18e450"
+SRC_URI[sha256sum] = "273b6847ae61f7829c1affcdd9a32f67aa65233be508f4fbaab866c5faa4e408"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.25.1



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

* Re: [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1
  2022-08-03  8:44 ` [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1 Wang Mingyu
@ 2022-08-03  9:08   ` Alexander Kanavin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-08-03  9:08 UTC (permalink / raw)
  To: wangmy; +Cc: OE-core

On Wed, 3 Aug 2022 at 10:44, wangmy <wangmy@fujitsu.com> wrote:
> -SRC_URI += "file://0001-change-shebang-to-python3.patch"

The patch file needs to be deleted as well, and explanation in commit
message added.

Alex


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

end of thread, other threads:[~2022-08-03  9:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-03  8:44 [OE-core] [PATCH] python3-jsonschema: upgrade 4.7.2 -> 4.9.0 Wang Mingyu
2022-08-03  8:44 ` [OE-core] [PATCH] python3-pip: upgrade 22.1.2 -> 22.2.1 Wang Mingyu
2022-08-03  9:08   ` Alexander Kanavin
2022-08-03  8:44 ` [OE-core] [PATCH] python3-scons: upgrade 4.3.0 -> 4.4.0 Wang Mingyu
2022-08-03  8:44 ` [OE-core] [PATCH] python3-setuptools: upgrade 63.2.0 -> 63.3.0 Wang Mingyu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.