Skip to contentSkip to conversation

package/python-flask: bump to version 2.1.2

PATCH In review James Hilliard 4 participants 10 messages May 17, 2022 – Jun 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-flask: bump to version 2.1.2

License hash change due to license title syntax change:
https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

---
 package/python-flask/python-flask.hash | 13 ++++++-------
 package/python-flask/python-flask.mk   |  4 ++--
 2 files changed, 8 insertions(+), 9 deletions(-)
package/python-flask/python-flask.hash +6 -7
index c6ccd633f8..5f19a450a1 100644
@@ -1,7 +1,6 @@
-# From https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980
-md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
-sha256	4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060  Flask-1.1.2.tar.gz
-
-# License files
-sha256	489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
-sha256	0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150  docs/license.rst
+# md5, sha256 from https://pypi.org/pypi/flask/json
+md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
+sha256  315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477  Flask-2.1.2.tar.gz
+# Locally computed sha256 checksums
+sha256  489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
+sha256  7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d  docs/license.rst
package/python-flask/python-flask.mk +2 -2
index 077aa600b8..b684aff480 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_FLASK_VERSION = 1.1.2
+PYTHON_FLASK_VERSION = 2.1.2
 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
-PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d
+PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b
 PYTHON_FLASK_SETUP_TYPE = setuptools
 PYTHON_FLASK_LICENSE = BSD-3-Clause
 PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Tested-by on v1 1/1
#1 lore raw

Hello James,

Le 17/05/2022 à 22:09, James Hilliard a écrit :

Quoted 2 lines

License hash change due to license title syntax change:
https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

This patch along with python-werkzeug version bump [1] fixes the tests.package.test_python_flask.TestPythonPy3Flask build issue in gitlab-ci [2].

This test fail since the python-jinja2 version bump 3.1.2 [3].

Do you know if bumping python-flash and python-werkzeug may introduce other runtime issue? Is any followup version bump required?
Is reverting python-jinja2 safe?

[1]
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291
[3] http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html

Best regards,
Romain

Quoted 31 lines
---
 package/python-flask/python-flask.hash | 13 ++++++-------
 package/python-flask/python-flask.mk   |  4 ++--
 2 files changed, 8 insertions(+), 9 deletions(-)
package/python-flask/python-flask.hash +6 -7
index c6ccd633f8..5f19a450a1 100644
@@ -1,7 +1,6 @@
-# From https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980
-md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
-sha256	4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060  Flask-1.1.2.tar.gz
-
-# License files
-sha256	489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
-sha256	0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150  docs/license.rst
+# md5, sha256 from https://pypi.org/pypi/flask/json
+md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
+sha256  315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477  Flask-2.1.2.tar.gz
+# Locally computed sha256 checksums
+sha256  489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
+sha256  7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d  docs/license.rst
package/python-flask/python-flask.mk +0 -0
index 077aa600b8..b684aff480 100644
@@ -4,9 +4,9 @@
 #

package/python-flask/python-flask.mk line 12

Quoted 10 lines
package/python-flask/python-flask.mk +2 -2
 ################################################################################
 
-PYTHON_FLASK_VERSION = 1.1.2
+PYTHON_FLASK_VERSION = 2.1.2
 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
-PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d
+PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b
 PYTHON_FLASK_SETUP_TYPE = setuptools
 PYTHON_FLASK_LICENSE = BSD-3-Clause
 PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst

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

#2 lore raw
Quoted 7 lines · Romain Naour

Hello James,

Quoted 2 lines · James Hilliard

License hash change due to license title syntax change:

https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

Quoted 9 lines

This patch along with python-werkzeug version bump [1] fixes the tests.package.test_python_flask.TestPythonPy3Flask build issue in gitlab-ci [2].

This test fail since the python-jinja2 version bump 3.1.2 [3].

Do you know if bumping python-flash and python-werkzeug may introduce other runtime issue? Is any followup version bump required?

I sent a few python package bumps that should fix it.

Quoted 2 lines

Is reverting python-jinja2 safe?

It's used by stuff other than flask so best to apply my patches bumping the flask deps think.

Quoted 61 lines

[1]

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291
[3] http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html

Best regards,
Romain

Review

Quoted 8 lines
---
 package/python-flask/python-flask.hash | 13 ++++++-------
 package/python-flask/python-flask.mk   |  4 ++--
 2 files changed, 8 insertions(+), 9 deletions(-)
(quoted diff) +0 -0

b/package/python-flask/python-flask.hash

package/python-flask/python-flask.hash line 1

Quoted 5 lines

index c6ccd633f8..5f19a450a1 100644

package/python-flask/python-flask.hash +0 -1
@@ -1,7 +1,6 @@
-# From

https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980

package/python-flask/python-flask.hash line 3

Quoted 2 lines
package/python-flask/python-flask.hash +0 -2
-md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
-sha256

4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060
Flask-1.1.2.tar.gz

package/python-flask/python-flask.hash

Quoted 3 lines
package/python-flask/python-flask.hash +0 -3
-
-# License files
-sha256

489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea
LICENSE.rst

package/python-flask/python-flask.hash line 7

Quoted 1 line
package/python-flask/python-flask.hash +0 -1
-sha256

0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150
docs/license.rst

package/python-flask/python-flask.hash

Quoted 3 lines
package/python-flask/python-flask.hash +3 -0
+# md5, sha256 from https://pypi.org/pypi/flask/json
+md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
+sha256

315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477 Flask-2.1.2.tar.gz

package/python-flask/python-flask.hash line 5

Quoted 2 lines
package/python-flask/python-flask.hash +2 -0
+# Locally computed sha256 checksums
+sha256

489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea LICENSE.rst

package/python-flask/python-flask.hash line 6

Quoted 1 line
package/python-flask/python-flask.hash +1 -0
+sha256

7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d docs/license.rst

Review

Quoted 1 line
(quoted diff) +0 -0

b/package/python-flask/python-flask.mk

package/python-flask/python-flask.mk line 5

Quoted 6 lines

index 077aa600b8..b684aff480 100644

package/python-flask/python-flask.mk +0 -0
@@ -4,9 +4,9 @@
 #
 

################################################################################

Quoted 1 line
Quoted 12 lines

package/python-flask/python-flask.mk

Quoted 4 lines
package/python-flask/python-flask.mk +1 -2
-PYTHON_FLASK_VERSION = 1.1.2
+PYTHON_FLASK_VERSION = 2.1.2
 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
-PYTHON_FLASK_SITE =

https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d

Quoted 1 line

+PYTHON_FLASK_SITE =

https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b

Quoted 3 lines

PYTHON_FLASK_SETUP_TYPE = setuptools PYTHON_FLASK_LICENSE = BSD-3-Clause PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst

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

#3 lore raw

Le 29/05/2022 à 21:41, James Hilliard a écrit :

Quoted 16 lines

On Sun, May 29, 2022, 1:29 PM Romain Naour <[email protected] <mailto:[email protected]>> wrote:

Hello James,

Le 17/05/2022 à 22:09, James Hilliard a écrit :
> License hash change due to license title syntax change:
>
https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189
<https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189>

This patch along with python-werkzeug version bump [1] fixes the tests.package.test_python_flask.TestPythonPy3Flask build issue in gitlab-ci [2].

Quoted 6 lines

This test fail since the python-jinja2 version bump 3.1.2 [3].

Do you know if bumping python-flash and python-werkzeug may introduce other runtime issue? Is any followup version bump required?

I sent a few python package bumps that should fix it.

Ok, but it's not explicitly stated if it's intended for master (upcoming 2022.05) or next branch.
Can you list which patch must be merged in master?

Quoted 5 lines

Is reverting python-jinja2 safe?

It's used by stuff other than flask so best to apply my patches bumping the flask deps think.

ok, I'm agree on the principle but as you noticed, any python package version bump may trigger a runtime issue in another python package.

This should fixes two remaining gitlab-ci issues:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321292
https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291

Best regards,
Romain

Quoted 67 lines

    Tested-by: Romain Naour <[email protected] <mailto:[email protected]>>

    [1]
    http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
    <http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/>
    [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291
    <https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291>
    [3] http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html
    <http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html>

    Best regards,
    Romain

    >
    > Signed-off-by: James Hilliard <[email protected]
    <mailto:[email protected]>>
    > ---
    >  package/python-flask/python-flask.hash | 13 ++++++-------
    >  package/python-flask/python-flask.mk <http://python-flask.mk>   |  4 ++--
    >  2 files changed, 8 insertions(+), 9 deletions(-)
    >
    > diff --git a/package/python-flask/python-flask.hash
    b/package/python-flask/python-flask.hash
    > index c6ccd633f8..5f19a450a1 100644
    > --- a/package/python-flask/python-flask.hash
    > +++ b/package/python-flask/python-flask.hash
    > @@ -1,7 +1,6 @@
    > -# From
    https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980
    <https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980>
    > -md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
    > -sha256     
     4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060 
    Flask-1.1.2.tar.gz
    > -
    > -# License files
    > -sha256     
     489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
    > -sha256     
     0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150 
    docs/license.rst
    > +# md5, sha256 from https://pypi.org/pypi/flask/json
    <https://pypi.org/pypi/flask/json>
    > +md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
    > +sha256  315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477 
    Flask-2.1.2.tar.gz
    > +# Locally computed sha256 checksums
    > +sha256  489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea 
    LICENSE.rst
    > +sha256  7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d 
    docs/license.rst
    > diff --git a/package/python-flask/python-flask.mk <http://python-flask.mk>
    b/package/python-flask/python-flask.mk <http://python-flask.mk>
    > index 077aa600b8..b684aff480 100644
    > --- a/package/python-flask/python-flask.mk <http://python-flask.mk>
    > +++ b/package/python-flask/python-flask.mk <http://python-flask.mk>
    > @@ -4,9 +4,9 @@
    >  #
    > 
    ################################################################################
    > 
    > -PYTHON_FLASK_VERSION = 1.1.2
    > +PYTHON_FLASK_VERSION = 2.1.2
    >  PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
    > -PYTHON_FLASK_SITE =
Quoted 9 lines
    https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d
    <https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d>
    > +PYTHON_FLASK_SITE =
    https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b
    <https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b>
    >  PYTHON_FLASK_SETUP_TYPE = setuptools
    >  PYTHON_FLASK_LICENSE = BSD-3-Clause
    >  PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst

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

#4 lore raw
Quoted 24 lines · Romain Naour
Quoted 11 lines · James Hilliard

On Sun, May 29, 2022, 1:29 PM Romain Naour <[email protected] <mailto:[email protected]>> wrote:

    Hello James,

    Le 17/05/2022 à 22:09, James Hilliard a écrit :
    > License hash change due to license title syntax change:
    >

https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

Quoted 1 line
    <

https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

Quoted 4 lines

This patch along with python-werkzeug version bump [1] fixes the tests.package.test_python_flask.TestPythonPy3Flask build issue in

gitlab-ci [2].

Quoted 4 lines

This test fail since the python-jinja2 version bump 3.1.2 [3].

Do you know if bumping python-flash and python-werkzeug may

Quoted 9 lines

introduce other

Quoted 3 lines

runtime issue? Is any followup version bump required?

I sent a few python package bumps that should fix it.

Ok, but it's not explicitly stated if it's intended for master (upcoming 2022.05) or next branch.
Can you list which patch must be merged in master?

I think all my python patches that were sent in the 17th:
https://patchwork.ozlabs.org/project/buildroot/list/?submitter=66301

Quoted 106 lines
Quoted 5 lines

Is reverting python-jinja2 safe?

It's used by stuff other than flask so best to apply my patches bumping

the

Quoted 1 line

flask deps think.

ok, I'm agree on the principle but as you noticed, any python package version
bump may trigger a runtime issue in another python package.

This should fixes two remaining gitlab-ci issues:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321292
https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291

Best regards,
Romain

Quoted 3 lines

[email protected]>>

Quoted 3 lines
    [1]

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 1 line
    <

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 4 lines
    [2] https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291
    <https://gitlab.com/buildroot.org/buildroot/-/jobs/2491321291>
    [3]

http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html

Quoted 11 lines
    <http://lists.busybox.net/pipermail/buildroot/2022-May/642942.html>

    Best regards,
    Romain

    >
    > Signed-off-by: James Hilliard <[email protected]
    <mailto:[email protected]>>
    > ---
    >  package/python-flask/python-flask.hash | 13 ++++++-------
    >  package/python-flask/python-flask.mk <http://python-flask.mk>

| 4 ++--

Quoted 10 lines

Review

Quoted 3 lines
 2 files changed, 8 insertions(+), 9 deletions(-)
(quoted diff) +0 -0
    b/package/python-flask/python-flask.hash
    > index c6ccd633f8..5f19a450a1 100644
    > --- a/package/python-flask/python-flask.hash
    > +++ b/package/python-flask/python-flask.hash
    > @@ -1,7 +1,6 @@
    > -# From

https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980

Quoted 1 line
    <

https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980

Quoted 9 lines

Review

Quoted 3 lines
(quoted diff) +0 -2
-md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
-sha256
     4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060
    Flask-1.1.2.tar.gz
    > -
    > -# License files
    > -sha256
     489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea

LICENSE.rst

Quoted 7 lines
Quoted 1 line

-sha256

     0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150
    docs/license.rst
    > +# md5, sha256 from https://pypi.org/pypi/flask/json
    <https://pypi.org/pypi/flask/json>
    > +md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
    > +sha256

315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477

Quoted 3 lines
    Flask-2.1.2.tar.gz
    > +# Locally computed sha256 checksums
    > +sha256

489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea

Quoted 2 lines
    LICENSE.rst
    > +sha256

7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d

Quoted 2 lines
    docs/license.rst
    > diff --git a/package/python-flask/python-flask.mk <

http://python-flask.mk>

Quoted 10 lines
    b/package/python-flask/python-flask.mk <http://python-flask.mk>
    > index 077aa600b8..b684aff480 100644
    > --- a/package/python-flask/python-flask.mk <http://python-flask.mk

    > +++ b/package/python-flask/python-flask.mk <http://python-flask.mk

    > @@ -4,9 +4,9 @@
    >  #
    >

################################################################################

Quoted 6 lines

package/python-flask/python-flask.mk

Quoted 5 lines
package/python-flask/python-flask.mk +1 -2
-PYTHON_FLASK_VERSION = 1.1.2
+PYTHON_FLASK_VERSION = 2.1.2
 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
-PYTHON_FLASK_SITE =

https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d

Quoted 15 lines
Quoted 1 line
    <

https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d

Quoted 3 lines
Quoted 2 lines

+PYTHON_FLASK_SITE =

https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b

Quoted 1 line
    <

https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b

Quoted 5 lines
Quoted 4 lines

PYTHON_FLASK_SETUP_TYPE = setuptools PYTHON_FLASK_LICENSE = BSD-3-Clause PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst

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

#5 lore raw

James, All,

On 2022-05-29 14:17 -0600, James Hilliard spake thusly:

Quoted 4 lines · Romain Naour

Le 29/05/2022 à 21:41, James Hilliard a écrit :

Quoted 2 lines

On Sun, May 29, 2022, 1:29 PM Romain Naour < [2][email protected] <mailto: [3][email protected]>> wrote:

[--SNIP--]

Quoted 8 lines
Quoted 3 lines

     Do you know if bumping python-flash and python-werkzeug may introduce other runtime issue? Is any followup version bump required?
I sent a few python package bumps that should fix it.

Ok, but it's not explicitly stated if it's intended for master (upcoming 2022.05) or next branch.
Can you list which patch must be merged in master?
I think all my python patches that were sent in the 17th:
[6]https://patchwork.ozlabs.org/project/buildroot/list/?submitter=66301

We were really late in this cycle, but rc1 was tagged on the 18th, just a day after you sent your python bumps, so they could not all be applied, except for python-flask and python-werkzeug which do fix a runtime test.

If the rest are related to the flask and werkzeug and need to be updated together in lock-step, then they should have been grouped in a series together.

Anyway, let's see what our gitlab-ci pipeline shows with just flask and werkzeug.

Regards,
Yann E. MORIN.

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw
Quoted 18 lines · Yann E. MORIN

James, All,

On 2022-05-29 14:17 -0600, James Hilliard spake thusly:

Quoted 4 lines · Romain Naour
Quoted 2 lines · James Hilliard

On Sun, May 29, 2022, 1:29 PM Romain Naour < [2][email protected] <mailto: [3][email protected]>> wrote:

[--SNIP--]

Quoted 8 lines
Quoted 3 lines

Do you know if bumping python-flash and python-werkzeug may introduce other runtime issue? Is any followup version bump required?
I sent a few python package bumps that should fix it.

Ok, but it's not explicitly stated if it's intended for master (upcoming 2022.05) or next branch.
Can you list which patch must be merged in master?
I think all my python patches that were sent in the 17th:
[6]https://patchwork.ozlabs.org/project/buildroot/list/?submitter=66301

Quoted 8 lines

We were really late in this cycle, but rc1 was tagged on the 18th, just a day after you sent your python bumps, so they could not all be applied, except for python-flask and python-werkzeug which do fix a runtime test.

If the rest are related to the flask and werkzeug and need to be updated together in lock-step, then they should have been grouped in a series together.

Yeah, the individual bumps were for stuff that was broken already due to pyyaml breakage so was a little too late by that point to do a proper series since everything flask related was kinda already broken.

I did a series for python-flask-jsonrpc which fixes compatibility with the newer flask version:
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745

These are reverse dep bumps needed for compatibility with latest python-flask:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I think these are all part of the python-flask update dependency tree and should be applied as well to prevent potential compatibility issues:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 7 lines

Anyway, let's see what our gitlab-ci pipeline shows with just flask and werkzeug.

Regards,
Yann E. MORIN.

Quoted 7 lines

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

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

#7 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Hi,

Quoted 24 lines
Quoted 8 lines

We were really late in this cycle, but rc1 was tagged on the 18th, just a day after you sent your python bumps, so they could not all be applied, except for python-flask and python-werkzeug which do fix a runtime test.

If the rest are related to the flask and werkzeug and need to be updated together in lock-step, then they should have been grouped in a series together.

Yeah, the individual bumps were for stuff that was broken already due to pyyaml breakage so was a little too late by that point to do a proper series since everything flask related was kinda already broken.

I did a series for python-flask-jsonrpc which fixes compatibility with the newer flask version:
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745

These are reverse dep bumps needed for compatibility with latest python-flask:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 4 lines

I think these are all part of the python-flask update dependency tree and should be applied as well to prevent potential compatibility issues:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Is any of this needed for 2022.02.x as well?

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw
Quoted 29 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"James" == James Hilliard <[email protected]> writes:

Hi,

Quoted 23 lines
Quoted 8 lines

We were really late in this cycle, but rc1 was tagged on the 18th, just a day after you sent your python bumps, so they could not all be applied, except for python-flask and python-werkzeug which do fix a runtime test.

If the rest are related to the flask and werkzeug and need to be updated together in lock-step, then they should have been grouped in a series together.

Yeah, the individual bumps were for stuff that was broken already due to pyyaml breakage so was a little too late by that point to do a proper series since everything flask related was kinda already broken.

I did a series for python-flask-jsonrpc which fixes compatibility with the newer flask version:
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745

These are reverse dep bumps needed for compatibility with latest python-flask:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 6 lines
Quoted 4 lines

I think these are all part of the python-flask update dependency tree and should be applied as well to prevent potential compatibility issues:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Is any of this needed for 2022.02.x as well?

Yeah, I think all the flask updates are needed there since pre-2.x flask is apparently incompatible with jinja >3:
https://github.com/buildroot/buildroot/blob/2022.02.2/package/python-jinja2/python-jinja2.mk#L7
https://github.com/buildroot/buildroot/blob/2022.02.2/package/python-flask/python-flask.mk#L7
https://github.com/pallets/flask/commit/6d8b4ce9d037937ef8694067ab5754666240d097

Quoted 3 lines

--
Bye, Peter Korsgaard

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

#9 lore raw
In reply to James Hilliard

James, All,

On 2022-05-17 14:09 -0600, James Hilliard spake thusly:

Quoted 4 lines

License hash change due to license title syntax change:
https://github.com/pallets/flask/commit/9e7d3a6b694b27f997266889ae463e06dd83a189

Since this version bump fixes a runtime test, I applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 46 lines
---
 package/python-flask/python-flask.hash | 13 ++++++-------
 package/python-flask/python-flask.mk   |  4 ++--
 2 files changed, 8 insertions(+), 9 deletions(-)
package/python-flask/python-flask.hash +6 -7
index c6ccd633f8..5f19a450a1 100644
@@ -1,7 +1,6 @@
-# From https://pypi.org/project/Flask/#copy-hash-modal-911ffb67-fe84-4e25-a1a9-f4c745a0a980
-md5  0da4145d172993cd28a6c619630cc19c  Flask-1.1.2.tar.gz
-sha256	4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060  Flask-1.1.2.tar.gz
-
-# License files
-sha256	489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
-sha256	0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150  docs/license.rst
+# md5, sha256 from https://pypi.org/pypi/flask/json
+md5  93f1832e5be704ef6ff2a4124579cd85  Flask-2.1.2.tar.gz
+sha256  315ded2ddf8a6281567edb27393010fe3406188bafbfe65a3339d5787d89e477  Flask-2.1.2.tar.gz
+# Locally computed sha256 checksums
+sha256  489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea  LICENSE.rst
+sha256  7535eac513edd12fb8e33f203c6a403549629e34b363418cdbd6c6ea5464515d  docs/license.rst
package/python-flask/python-flask.mk +2 -2
index 077aa600b8..b684aff480 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_FLASK_VERSION = 1.1.2
+PYTHON_FLASK_VERSION = 2.1.2
 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
-PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d
+PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/d3/3c/94f38d4db919a9326a706ad56f05a7e6f0c8f7b7d93e2997cca54d3bc14b
 PYTHON_FLASK_SETUP_TYPE = setuptools
 PYTHON_FLASK_LICENSE = BSD-3-Clause
 PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot