All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-flask-babel: update to 1.0.0 and consolidate
@ 2020-07-09  4:08 akuster
  2020-07-12 18:16 ` [oe] " Trevor Gamblin
  0 siblings, 1 reply; 2+ messages in thread
From: akuster @ 2020-07-09  4:08 UTC (permalink / raw)
  To: openembedded-devel

The python3-werkzeug 1.0.0 requires this package to be updated.
Fixes:
File "/usr/lib/python3.8/site-packages/flask_babel/__init__.py", line 19, in <module>
    from werkzeug import ImmutableDict
ImportError: cannot import name 'ImmutableDict' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)

https://github.com/python-babel/flask-babel/issues/162

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../recipes-devtools/python/python3-flask-babel_0.12.2.bb    | 2 --
 .../{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} | 5 ++---
 2 files changed, 2 insertions(+), 5 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
 rename meta-python/recipes-devtools/python/{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} (66%)

diff --git a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb b/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
deleted file mode 100644
index 104e7c28f1..0000000000
--- a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit pypi setuptools3
-require python-flask-babel.inc
diff --git a/meta-python/recipes-devtools/python/python-flask-babel.inc b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
similarity index 66%
rename from meta-python/recipes-devtools/python/python-flask-babel.inc
rename to meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
index 0e507f3372..d968be3ee2 100644
--- a/meta-python/recipes-devtools/python/python-flask-babel.inc
+++ b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
@@ -2,12 +2,11 @@ DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9"
 
-SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72"
-SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86"
+SRC_URI[sha256sum] = "d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e"
 
 PYPI_PACKAGE = "Flask-Babel"
 
-inherit pypi
+inherit pypi setuptools3
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-speaklater \
-- 
2.17.1


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

* Re: [oe] [meta-python][PATCH] python3-flask-babel: update to 1.0.0 and consolidate
  2020-07-09  4:08 [meta-python][PATCH] python3-flask-babel: update to 1.0.0 and consolidate akuster
@ 2020-07-12 18:16 ` Trevor Gamblin
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Gamblin @ 2020-07-12 18:16 UTC (permalink / raw)
  To: akuster, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2457 bytes --]


On 7/9/20 12:08 AM, akuster wrote:
> The python3-werkzeug 1.0.0 requires this package to be updated.
> Fixes:
> File "/usr/lib/python3.8/site-packages/flask_babel/__init__.py", line 19, in <module>
>      from werkzeug import ImmutableDict
> ImportError: cannot import name 'ImmutableDict' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
>
> https://github.com/python-babel/flask-babel/issues/162
>
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../recipes-devtools/python/python3-flask-babel_0.12.2.bb    | 2 --
>   .../{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} | 5 ++---
>   2 files changed, 2 insertions(+), 5 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
>   rename meta-python/recipes-devtools/python/{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} (66%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb b/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
> deleted file mode 100644
> index 104e7c28f1..0000000000
> --- a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -inherit pypi setuptools3
> -require python-flask-babel.inc
> diff --git a/meta-python/recipes-devtools/python/python-flask-babel.inc b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
> similarity index 66%
> rename from meta-python/recipes-devtools/python/python-flask-babel.inc
> rename to meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
> index 0e507f3372..d968be3ee2 100644
> --- a/meta-python/recipes-devtools/python/python-flask-babel.inc
> +++ b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb
> @@ -2,12 +2,11 @@ DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz"
>   LICENSE = "BSD-3-Clause"
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9"
>   
> -SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72"
> -SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86"
> +SRC_URI[sha256sum] = "d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e"
>   
>   PYPI_PACKAGE = "Flask-Babel"
>   
> -inherit pypi
> +inherit pypi setuptools3
>   
>   RDEPENDS_${PN} += "\
>       ${PYTHON_PN}-speaklater \
>
> 

[-- Attachment #2: Type: text/html, Size: 3485 bytes --]

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

end of thread, other threads:[~2020-07-12 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09  4:08 [meta-python][PATCH] python3-flask-babel: update to 1.0.0 and consolidate akuster
2020-07-12 18:16 ` [oe] " Trevor Gamblin

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.