Skip to contentSkip to conversation

Revert "package/python-flask-expects-json: bump to version 1.7.0"

PATCH In review Romain Naour 2 participants 3 messages Jun 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "package/python-flask-expects-json: bump to version 1.7.0"

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

Cc James Hilliard <[email protected]>
---
 .../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(-)
package/python-flask-expects-json/python-flask-expects-json.hash +2 -2
index e465bcb56a..c023222fd7 100644
@@ -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
package/python-flask-expects-json/python-flask-expects-json.mk +2 -2
index 55c9bc9571..487f15d4e5 100644
@@ -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
Signature · 6 lines
2.35.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Romain Naour

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]:

Quoted 6 lines

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.

Quoted 42 lines

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

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

Cc James Hilliard <[email protected]>
---
 .../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(-)
package/python-flask-expects-json/python-flask-expects-json.hash +2 -2
index e465bcb56a..c023222fd7 100644
@@ -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
package/python-flask-expects-json/python-flask-expects-json.mk +2 -3
index 55c9bc9571..487f15d4e5 100644
@@ -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
--
Quoted 2 lines

2.35.3

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

#2 lore raw
In reply to Romain Naour
Quoted 9 lines · Romain Naour

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

Quoted 45 lines

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

Cc James Hilliard <[email protected]>
---
 .../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(-)
package/python-flask-expects-json/python-flask-expects-json.hash +2 -2
index e465bcb56a..c023222fd7 100644
@@ -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
package/python-flask-expects-json/python-flask-expects-json.mk +2 -3
index 55c9bc9571..487f15d4e5 100644
@@ -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
--
Quoted 2 lines

2.35.3

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