* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency
@ 2020-03-10 11:41 yegorslists at googlemail.com
2020-03-10 18:53 ` Asaf Kahlon
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: yegorslists at googlemail.com @ 2020-03-10 11:41 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
The latest version has dropped Python 2 support.
Fixes:
http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/python-markdown/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in
index 6706684142..454c2729bd 100644
--- a/package/python-markdown/Config.in
+++ b/package/python-markdown/Config.in
@@ -1,8 +1,8 @@
config BR2_PACKAGE_PYTHON_MARKDOWN
bool "python-markdown"
+ depends on BR2_PACKAGE_PYTHON3
# runtime dependency on Python's xml module
- select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
- select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON3_PYEXPAT
help
This is a Python implementation of John Gruber's Markdown
--
2.17.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-10 11:41 [Buildroot] [PATCH] package/python-markdown: fix Python version dependency yegorslists at googlemail.com @ 2020-03-10 18:53 ` Asaf Kahlon 2020-03-11 9:13 ` Yegor Yefremov 2020-03-15 15:33 ` Thomas Petazzoni ` (2 subsequent siblings) 3 siblings, 1 reply; 10+ messages in thread From: Asaf Kahlon @ 2020-03-10 18:53 UTC (permalink / raw) To: buildroot On Tue, Mar 10, 2020 at 1:41 PM <yegorslists@googlemail.com> wrote: > > From: Yegor Yefremov <yegorslists@googlemail.com> > > The latest version has dropped Python 2 support. > > Fixes: > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > --- > package/python-markdown/Config.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in > index 6706684142..454c2729bd 100644 > --- a/package/python-markdown/Config.in > +++ b/package/python-markdown/Config.in > @@ -1,8 +1,8 @@ > config BR2_PACKAGE_PYTHON_MARKDOWN > bool "python-markdown" > + depends on BR2_PACKAGE_PYTHON3 > # runtime dependency on Python's xml module > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > + select BR2_PACKAGE_PYTHON3_PYEXPAT > help > This is a Python implementation of John Gruber's Markdown > > -- > 2.17.0 > Reviewed-by: Asaf Kahlon <asafka7@gmail.com> Regards, Asaf. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-10 18:53 ` Asaf Kahlon @ 2020-03-11 9:13 ` Yegor Yefremov 2020-03-11 9:28 ` Fabrice Fontaine 0 siblings, 1 reply; 10+ messages in thread From: Yegor Yefremov @ 2020-03-11 9:13 UTC (permalink / raw) To: buildroot Hi all, On Tue, Mar 10, 2020 at 7:53 PM Asaf Kahlon <asafka7@gmail.com> wrote: > > On Tue, Mar 10, 2020 at 1:41 PM <yegorslists@googlemail.com> wrote: > > > > From: Yegor Yefremov <yegorslists@googlemail.com> > > > > The latest version has dropped Python 2 support. > > > > Fixes: > > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > > --- > > package/python-markdown/Config.in | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in > > index 6706684142..454c2729bd 100644 > > --- a/package/python-markdown/Config.in > > +++ b/package/python-markdown/Config.in > > @@ -1,8 +1,8 @@ > > config BR2_PACKAGE_PYTHON_MARKDOWN > > bool "python-markdown" > > + depends on BR2_PACKAGE_PYTHON3 > > # runtime dependency on Python's xml module > > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > > + select BR2_PACKAGE_PYTHON3_PYEXPAT > > help > > This is a Python implementation of John Gruber's Markdown > > > > -- > > 2.17.0 > > > > Reviewed-by: Asaf Kahlon <asafka7@gmail.com> The issue is more complicated than I thought at the beginning. First of all, python-cheetah package that depends on python-markdown was abandoned. The new fork is Cheetah3 [1]. What should we do? Just replace the download location? Though the project is Py2/Py3 compatible because of python-markdown we would restrict it to Py3 only? mongodb and gr-osmosdr both depend on python-cheetah. So they must be touched as well. Fabrice and Gwenhael could you take care of this? Because of this dependencies hell, a CI test for at least mongodb would be very welcome. [1] https://pypi.org/project/Cheetah3/ Thanks. Yegor ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-11 9:13 ` Yegor Yefremov @ 2020-03-11 9:28 ` Fabrice Fontaine 2020-03-11 10:14 ` Yegor Yefremov 0 siblings, 1 reply; 10+ messages in thread From: Fabrice Fontaine @ 2020-03-11 9:28 UTC (permalink / raw) To: buildroot Hi Yegor, Le mer. 11 mars 2020 ? 10:14, Yegor Yefremov <yegorslists@googlemail.com> a ?crit : > > Hi all, > > On Tue, Mar 10, 2020 at 7:53 PM Asaf Kahlon <asafka7@gmail.com> wrote: > > > > On Tue, Mar 10, 2020 at 1:41 PM <yegorslists@googlemail.com> wrote: > > > > > > From: Yegor Yefremov <yegorslists@googlemail.com> > > > > > > The latest version has dropped Python 2 support. > > > > > > Fixes: > > > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > > > > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > > > --- > > > package/python-markdown/Config.in | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in > > > index 6706684142..454c2729bd 100644 > > > --- a/package/python-markdown/Config.in > > > +++ b/package/python-markdown/Config.in > > > @@ -1,8 +1,8 @@ > > > config BR2_PACKAGE_PYTHON_MARKDOWN > > > bool "python-markdown" > > > + depends on BR2_PACKAGE_PYTHON3 > > > # runtime dependency on Python's xml module > > > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > > > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > > > + select BR2_PACKAGE_PYTHON3_PYEXPAT > > > help > > > This is a Python implementation of John Gruber's Markdown > > > > > > -- > > > 2.17.0 > > > > > > > Reviewed-by: Asaf Kahlon <asafka7@gmail.com> > > The issue is more complicated than I thought at the beginning. > > First of all, python-cheetah package that depends on python-markdown > was abandoned. The new fork is Cheetah3 [1]. What should we do? Just > replace the download location? Though the project is Py2/Py3 > compatible because of python-markdown we would restrict it to Py3 > only? I sent a python-cheetah3 package nearly one year ago and Titouan sent a v2 6 months ago: https://patchwork.ozlabs.org/patch/1184747. > > mongodb and gr-osmosdr both depend on python-cheetah. So they must be > touched as well. Fabrice and Gwenhael could you take care of this? Again, a patch to bump mongodb and switch dependency to cheetah3 is waiting in patchwork: https://patchwork.ozlabs.org/project/buildroot/list/?series=138894 Thomas wanted your feedback on the third patch of this serie about making python3-pyyaml and python3-psutil packages. > > Because of this dependencies hell, a CI test for at least mongodb > would be very welcome. > > [1] https://pypi.org/project/Cheetah3/ > > Thanks. > > Yegor Best Regards, Fabrice ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-11 9:28 ` Fabrice Fontaine @ 2020-03-11 10:14 ` Yegor Yefremov 0 siblings, 0 replies; 10+ messages in thread From: Yegor Yefremov @ 2020-03-11 10:14 UTC (permalink / raw) To: buildroot On Wed, Mar 11, 2020 at 10:29 AM Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: > > Hi Yegor, > > Le mer. 11 mars 2020 ? 10:14, Yegor Yefremov > <yegorslists@googlemail.com> a ?crit : > > > > Hi all, > > > > On Tue, Mar 10, 2020 at 7:53 PM Asaf Kahlon <asafka7@gmail.com> wrote: > > > > > > On Tue, Mar 10, 2020 at 1:41 PM <yegorslists@googlemail.com> wrote: > > > > > > > > From: Yegor Yefremov <yegorslists@googlemail.com> > > > > > > > > The latest version has dropped Python 2 support. > > > > > > > > Fixes: > > > > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > > > > > > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > > > > --- > > > > package/python-markdown/Config.in | 4 ++-- > > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > > > diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in > > > > index 6706684142..454c2729bd 100644 > > > > --- a/package/python-markdown/Config.in > > > > +++ b/package/python-markdown/Config.in > > > > @@ -1,8 +1,8 @@ > > > > config BR2_PACKAGE_PYTHON_MARKDOWN > > > > bool "python-markdown" > > > > + depends on BR2_PACKAGE_PYTHON3 > > > > # runtime dependency on Python's xml module > > > > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > > > > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > > > > + select BR2_PACKAGE_PYTHON3_PYEXPAT > > > > help > > > > This is a Python implementation of John Gruber's Markdown > > > > > > > > -- > > > > 2.17.0 > > > > > > > > > > Reviewed-by: Asaf Kahlon <asafka7@gmail.com> > > > > The issue is more complicated than I thought at the beginning. > > > > First of all, python-cheetah package that depends on python-markdown > > was abandoned. The new fork is Cheetah3 [1]. What should we do? Just > > replace the download location? Though the project is Py2/Py3 > > compatible because of python-markdown we would restrict it to Py3 > > only? > I sent a python-cheetah3 package nearly one year ago and Titouan sent > a v2 6 months ago: https://patchwork.ozlabs.org/patch/1184747. > > > > mongodb and gr-osmosdr both depend on python-cheetah. So they must be > > touched as well. Fabrice and Gwenhael could you take care of this? > Again, a patch to bump mongodb and switch dependency to cheetah3 is > waiting in patchwork: > https://patchwork.ozlabs.org/project/buildroot/list/?series=138894 > Thomas wanted your feedback on the third patch of this serie about > making python3-pyyaml and python3-psutil packages. I have responded to those e-mails. Oops! Sorry for delay. Yegor > > > > Because of this dependencies hell, a CI test for at least mongodb > > would be very welcome. > > > > [1] https://pypi.org/project/Cheetah3/ > > > > Thanks. > > > > Yegor > Best Regards, > > Fabrice ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-10 11:41 [Buildroot] [PATCH] package/python-markdown: fix Python version dependency yegorslists at googlemail.com 2020-03-10 18:53 ` Asaf Kahlon @ 2020-03-15 15:33 ` Thomas Petazzoni 2020-03-15 16:23 ` Yegor Yefremov 2020-03-25 15:53 ` Gwenhael Goavec-Merou 2020-04-21 21:17 ` Thomas Petazzoni 3 siblings, 1 reply; 10+ messages in thread From: Thomas Petazzoni @ 2020-03-15 15:33 UTC (permalink / raw) To: buildroot On Tue, 10 Mar 2020 12:41:01 +0100 yegorslists at googlemail.com wrote: > From: Yegor Yefremov <yegorslists@googlemail.com> > > The latest version has dropped Python 2 support. > > Fixes: > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> So, should this patch be marked as Rejected ? Thanks, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-15 15:33 ` Thomas Petazzoni @ 2020-03-15 16:23 ` Yegor Yefremov 0 siblings, 0 replies; 10+ messages in thread From: Yegor Yefremov @ 2020-03-15 16:23 UTC (permalink / raw) To: buildroot Hi Thomas, On Sun, Mar 15, 2020 at 4:33 PM Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote: > > On Tue, 10 Mar 2020 12:41:01 +0100 > yegorslists at googlemail.com wrote: > > > From: Yegor Yefremov <yegorslists@googlemail.com> > > > > The latest version has dropped Python 2 support. > > > > Fixes: > > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > > So, should this patch be marked as Rejected ? Basically, the patch is eligible as is. But it depends on the above mentioned patch series that also touches python-cheetah. As soon as it is reworked and merged, python-markdown is only an optional dependency of the python-cheetah package and can be applied. Yegor ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-10 11:41 [Buildroot] [PATCH] package/python-markdown: fix Python version dependency yegorslists at googlemail.com 2020-03-10 18:53 ` Asaf Kahlon 2020-03-15 15:33 ` Thomas Petazzoni @ 2020-03-25 15:53 ` Gwenhael Goavec-Merou 2020-03-28 6:10 ` Yegor Yefremov 2020-04-21 21:17 ` Thomas Petazzoni 3 siblings, 1 reply; 10+ messages in thread From: Gwenhael Goavec-Merou @ 2020-03-25 15:53 UTC (permalink / raw) To: buildroot Hi, On Tue, 10 Mar 2020 12:41:01 +0100 yegorslists at googlemail.com wrote: > From: Yegor Yefremov <yegorslists@googlemail.com> > > The latest version has dropped Python 2 support. > > Fixes: > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > --- > package/python-markdown/Config.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/python-markdown/Config.in > b/package/python-markdown/Config.in index 6706684142..454c2729bd 100644 > --- a/package/python-markdown/Config.in > +++ b/package/python-markdown/Config.in > @@ -1,8 +1,8 @@ > config BR2_PACKAGE_PYTHON_MARKDOWN > bool "python-markdown" > + depends on BR2_PACKAGE_PYTHON3 > # runtime dependency on Python's xml module > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > + select BR2_PACKAGE_PYTHON3_PYEXPAT > help > This is a Python implementation of John Gruber's Markdown > > -- > 2.17.0 > Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Gwen ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-25 15:53 ` Gwenhael Goavec-Merou @ 2020-03-28 6:10 ` Yegor Yefremov 0 siblings, 0 replies; 10+ messages in thread From: Yegor Yefremov @ 2020-03-28 6:10 UTC (permalink / raw) To: buildroot Hi Thomas, On Wed, Mar 25, 2020 at 4:54 PM Gwenhael Goavec-Merou <gwenj@trabucayre.com> wrote: > > Hi, > On Tue, 10 Mar 2020 12:41:01 +0100 > yegorslists at googlemail.com wrote: > > > From: Yegor Yefremov <yegorslists@googlemail.com> > > > > The latest version has dropped Python 2 support. > > > > Fixes: > > http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe > > > > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> > > --- > > package/python-markdown/Config.in | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/package/python-markdown/Config.in > > b/package/python-markdown/Config.in index 6706684142..454c2729bd 100644 > > --- a/package/python-markdown/Config.in > > +++ b/package/python-markdown/Config.in > > @@ -1,8 +1,8 @@ > > config BR2_PACKAGE_PYTHON_MARKDOWN > > bool "python-markdown" > > + depends on BR2_PACKAGE_PYTHON3 > > # runtime dependency on Python's xml module > > - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON > > - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 > > + select BR2_PACKAGE_PYTHON3_PYEXPAT > > help > > This is a Python implementation of John Gruber's Markdown > > > > -- > > 2.17.0 > > > > Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> It is now safe to merge this patch as python-cheetah doesn't depend on it anymore and also supports both Py2 and Py3. Yegor ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] package/python-markdown: fix Python version dependency 2020-03-10 11:41 [Buildroot] [PATCH] package/python-markdown: fix Python version dependency yegorslists at googlemail.com ` (2 preceding siblings ...) 2020-03-25 15:53 ` Gwenhael Goavec-Merou @ 2020-04-21 21:17 ` Thomas Petazzoni 3 siblings, 0 replies; 10+ messages in thread From: Thomas Petazzoni @ 2020-04-21 21:17 UTC (permalink / raw) To: buildroot On Tue, 10 Mar 2020 12:41:01 +0100 yegorslists at googlemail.com wrote: > From: Yegor Yefremov <yegorslists@googlemail.com> > > The latest version has dropped Python 2 support. "The latest version" is very vague. Read this statement in 6 months, and it no longer makes sense. I've extended the commit log quite a bit: https://git.buildroot.org/buildroot/commit/?id=1e5723ee589e8d205883c15ca863c01f94b8854f and applied to master. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-04-21 21:17 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-03-10 11:41 [Buildroot] [PATCH] package/python-markdown: fix Python version dependency yegorslists at googlemail.com 2020-03-10 18:53 ` Asaf Kahlon 2020-03-11 9:13 ` Yegor Yefremov 2020-03-11 9:28 ` Fabrice Fontaine 2020-03-11 10:14 ` Yegor Yefremov 2020-03-15 15:33 ` Thomas Petazzoni 2020-03-15 16:23 ` Yegor Yefremov 2020-03-25 15:53 ` Gwenhael Goavec-Merou 2020-03-28 6:10 ` Yegor Yefremov 2020-04-21 21:17 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox