All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0"
@ 2022-06-15 21:29 Romain Naour
  2022-06-15 22:49 ` James Hilliard
  2022-06-15 23:19 ` James Hilliard
  0 siblings, 2 replies; 3+ messages in thread
From: Romain Naour @ 2022-06-15 21:29 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, James Hilliard

This reverts commit 16bfb1a3c45656da85aca892125b032befbbdbe4 since
python-flask-expects-json >= 1.6.0 requires at least
python-jsonschema 3.0.0 (v3.0.0a1) to be able to use the following
import introcuded by commit [1]:

  from jsonschema.validators import _LATEST_VERSION as LATEST_VALIDATOR

Indeed, python-jsonschema package still at 2.5.1 version.

Revert this commit instead of trying updating python-jsonschema
and introduce other runtime issue.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2580341645

[1] https://github.com/Fischerfredl/flask-expects-json/commit/e1d2898ab1ca7bf02ae60885f9be92b31fa8a62a

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
---
 .../python-flask-expects-json/python-flask-expects-json.hash  | 4 ++--
 .../python-flask-expects-json/python-flask-expects-json.mk    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/python-flask-expects-json/python-flask-expects-json.hash b/package/python-flask-expects-json/python-flask-expects-json.hash
index e465bcb56a..c023222fd7 100644
--- a/package/python-flask-expects-json/python-flask-expects-json.hash
+++ b/package/python-flask-expects-json/python-flask-expects-json.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/flask-expects-json/json
-md5  3a77c4059f21e6e37e652c9dbbdc2e7c  flask-expects-json-1.7.0.tar.gz
-sha256  4ef186a86f10572a21af82e549546deda024326628b4a96cd14d3a0f71754d62  flask-expects-json-1.7.0.tar.gz
+md5  c1fb8ede58db312d7923212dc97b8ab4  flask-expects-json-1.5.0.tar.gz
+sha256  0087dc3d089f1ac75a1fc0f259f4dbd02bbb9c356e92e1a080f2309e2f75d053  flask-expects-json-1.5.0.tar.gz
 # Locally computed sha256 checksums
 sha256  06154a99fdc664107294a0a5e7e68f776078d075408dd32bbeaa7340fdd39e73  LICENSE.txt
diff --git a/package/python-flask-expects-json/python-flask-expects-json.mk b/package/python-flask-expects-json/python-flask-expects-json.mk
index 55c9bc9571..487f15d4e5 100644
--- a/package/python-flask-expects-json/python-flask-expects-json.mk
+++ b/package/python-flask-expects-json/python-flask-expects-json.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.7.0
+PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.5.0
 PYTHON_FLASK_EXPECTS_JSON_SOURCE = flask-expects-json-$(PYTHON_FLASK_EXPECTS_JSON_VERSION).tar.gz
-PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/12/a5/b27cf21d62c2b5a0a32e2f92bde9658e74c34fcc2e004bb0d591f1bf7627
+PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/4c/4a/9d9d050af700fb3feebd1f8466e73d65ce8b4709f27773e07100b0993451
 PYTHON_FLASK_EXPECTS_JSON_SETUP_TYPE = setuptools
 PYTHON_FLASK_EXPECTS_JSON_LICENSE = MIT
 PYTHON_FLASK_EXPECTS_JSON_LICENSE_FILES = LICENSE.txt
-- 
2.35.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0"
  2022-06-15 21:29 [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0" Romain Naour
@ 2022-06-15 22:49 ` James Hilliard
  2022-06-15 23:19 ` James Hilliard
  1 sibling, 0 replies; 3+ messages in thread
From: James Hilliard @ 2022-06-15 22:49 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On Wed, Jun 15, 2022 at 3:29 PM Romain Naour <romain.naour@gmail.com> wrote:
>
> This reverts commit 16bfb1a3c45656da85aca892125b032befbbdbe4 since
> python-flask-expects-json >= 1.6.0 requires at least
> python-jsonschema 3.0.0 (v3.0.0a1) to be able to use the following
> import introcuded by commit [1]:
>
>   from jsonschema.validators import _LATEST_VERSION as LATEST_VALIDATOR
>
> Indeed, python-jsonschema package still at 2.5.1 version.
>
> Revert this commit instead of trying updating python-jsonschema
> and introduce other runtime issue.

Probably best to just update python-jsonschema I'm thinking.

I'll see what's needed for that.

>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2580341645
>
> [1] https://github.com/Fischerfredl/flask-expects-json/commit/e1d2898ab1ca7bf02ae60885f9be92b31fa8a62a
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> ---
>  .../python-flask-expects-json/python-flask-expects-json.hash  | 4 ++--
>  .../python-flask-expects-json/python-flask-expects-json.mk    | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/python-flask-expects-json/python-flask-expects-json.hash b/package/python-flask-expects-json/python-flask-expects-json.hash
> index e465bcb56a..c023222fd7 100644
> --- a/package/python-flask-expects-json/python-flask-expects-json.hash
> +++ b/package/python-flask-expects-json/python-flask-expects-json.hash
> @@ -1,5 +1,5 @@
>  # md5, sha256 from https://pypi.org/pypi/flask-expects-json/json
> -md5  3a77c4059f21e6e37e652c9dbbdc2e7c  flask-expects-json-1.7.0.tar.gz
> -sha256  4ef186a86f10572a21af82e549546deda024326628b4a96cd14d3a0f71754d62  flask-expects-json-1.7.0.tar.gz
> +md5  c1fb8ede58db312d7923212dc97b8ab4  flask-expects-json-1.5.0.tar.gz
> +sha256  0087dc3d089f1ac75a1fc0f259f4dbd02bbb9c356e92e1a080f2309e2f75d053  flask-expects-json-1.5.0.tar.gz
>  # Locally computed sha256 checksums
>  sha256  06154a99fdc664107294a0a5e7e68f776078d075408dd32bbeaa7340fdd39e73  LICENSE.txt
> diff --git a/package/python-flask-expects-json/python-flask-expects-json.mk b/package/python-flask-expects-json/python-flask-expects-json.mk
> index 55c9bc9571..487f15d4e5 100644
> --- a/package/python-flask-expects-json/python-flask-expects-json.mk
> +++ b/package/python-flask-expects-json/python-flask-expects-json.mk
> @@ -4,9 +4,9 @@
>  #
>  ################################################################################
>
> -PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.7.0
> +PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.5.0
>  PYTHON_FLASK_EXPECTS_JSON_SOURCE = flask-expects-json-$(PYTHON_FLASK_EXPECTS_JSON_VERSION).tar.gz
> -PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/12/a5/b27cf21d62c2b5a0a32e2f92bde9658e74c34fcc2e004bb0d591f1bf7627
> +PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/4c/4a/9d9d050af700fb3feebd1f8466e73d65ce8b4709f27773e07100b0993451
>  PYTHON_FLASK_EXPECTS_JSON_SETUP_TYPE = setuptools
>  PYTHON_FLASK_EXPECTS_JSON_LICENSE = MIT
>  PYTHON_FLASK_EXPECTS_JSON_LICENSE_FILES = LICENSE.txt
> --
> 2.35.3
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0"
  2022-06-15 21:29 [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0" Romain Naour
  2022-06-15 22:49 ` James Hilliard
@ 2022-06-15 23:19 ` James Hilliard
  1 sibling, 0 replies; 3+ messages in thread
From: James Hilliard @ 2022-06-15 23:19 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On Wed, Jun 15, 2022 at 3:29 PM Romain Naour <romain.naour@gmail.com> wrote:
>
> This reverts commit 16bfb1a3c45656da85aca892125b032befbbdbe4 since
> python-flask-expects-json >= 1.6.0 requires at least
> python-jsonschema 3.0.0 (v3.0.0a1) to be able to use the following
> import introcuded by commit [1]:
>
>   from jsonschema.validators import _LATEST_VERSION as LATEST_VALIDATOR
>
> Indeed, python-jsonschema package still at 2.5.1 version.

Updated to 4.5.1 here:
https://patchwork.ozlabs.org/project/buildroot/list/?series=305011

>
> Revert this commit instead of trying updating python-jsonschema
> and introduce other runtime issue.
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2580341645
>
> [1] https://github.com/Fischerfredl/flask-expects-json/commit/e1d2898ab1ca7bf02ae60885f9be92b31fa8a62a
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> ---
>  .../python-flask-expects-json/python-flask-expects-json.hash  | 4 ++--
>  .../python-flask-expects-json/python-flask-expects-json.mk    | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/python-flask-expects-json/python-flask-expects-json.hash b/package/python-flask-expects-json/python-flask-expects-json.hash
> index e465bcb56a..c023222fd7 100644
> --- a/package/python-flask-expects-json/python-flask-expects-json.hash
> +++ b/package/python-flask-expects-json/python-flask-expects-json.hash
> @@ -1,5 +1,5 @@
>  # md5, sha256 from https://pypi.org/pypi/flask-expects-json/json
> -md5  3a77c4059f21e6e37e652c9dbbdc2e7c  flask-expects-json-1.7.0.tar.gz
> -sha256  4ef186a86f10572a21af82e549546deda024326628b4a96cd14d3a0f71754d62  flask-expects-json-1.7.0.tar.gz
> +md5  c1fb8ede58db312d7923212dc97b8ab4  flask-expects-json-1.5.0.tar.gz
> +sha256  0087dc3d089f1ac75a1fc0f259f4dbd02bbb9c356e92e1a080f2309e2f75d053  flask-expects-json-1.5.0.tar.gz
>  # Locally computed sha256 checksums
>  sha256  06154a99fdc664107294a0a5e7e68f776078d075408dd32bbeaa7340fdd39e73  LICENSE.txt
> diff --git a/package/python-flask-expects-json/python-flask-expects-json.mk b/package/python-flask-expects-json/python-flask-expects-json.mk
> index 55c9bc9571..487f15d4e5 100644
> --- a/package/python-flask-expects-json/python-flask-expects-json.mk
> +++ b/package/python-flask-expects-json/python-flask-expects-json.mk
> @@ -4,9 +4,9 @@
>  #
>  ################################################################################
>
> -PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.7.0
> +PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.5.0
>  PYTHON_FLASK_EXPECTS_JSON_SOURCE = flask-expects-json-$(PYTHON_FLASK_EXPECTS_JSON_VERSION).tar.gz
> -PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/12/a5/b27cf21d62c2b5a0a32e2f92bde9658e74c34fcc2e004bb0d591f1bf7627
> +PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/4c/4a/9d9d050af700fb3feebd1f8466e73d65ce8b4709f27773e07100b0993451
>  PYTHON_FLASK_EXPECTS_JSON_SETUP_TYPE = setuptools
>  PYTHON_FLASK_EXPECTS_JSON_LICENSE = MIT
>  PYTHON_FLASK_EXPECTS_JSON_LICENSE_FILES = LICENSE.txt
> --
> 2.35.3
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-06-15 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 21:29 [Buildroot] [PATCH] Revert "package/python-flask-expects-json: bump to version 1.7.0" Romain Naour
2022-06-15 22:49 ` James Hilliard
2022-06-15 23:19 ` James Hilliard

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.