[v8,0/5] package/python-scipy: new package
mbox series

Message ID 20200407111515.21131-1-jagan@amarulasolutions.com
Headers show
Series
  • package/python-scipy: new package
Related show

Message

Jagan Teki April 7, 2020, 11:15 a.m. UTC
This is v8 changes for python-scipy, here is the previous 
version series[1].

Changes for v8:
- add python-pybind11 tests from Adam
Changes for v7:
- bump 1.181.2 numpy
- drop 'BR2_PACKAGE_HOST_PYTHON_CYTHON' selection from numpy
- drop python2 dependency from gnuradio.mk
- drop python2 dependency from opencv3.mk
- rephrase commit and comments of fixup npymath.ini
- update commit message of pybind11, scipy
- fix sha256 value of pybind11 LICENCE
- drop 'BR2_PACKAGE_HOST_PYTHON_PYBIND11' selection from scipy 
Changes for v6:
- bump to numpy latest version
- drop python2 dependecy on numpy seelcted packages
- update numpy cross compilation changes
- add pybind11 package
- add latest python-scipy

[1] https://patchwork.ozlabs.org/cover/1259531/

Any inputs?
Jagan.

Adam Duskett (1):
  support/testing: add python-pybind11 test

Esben Haabendal (1):
  package/python-numpy: fixup npymath.ini for numpy extensions

Jagan Teki (3):
  package/python-numpy: Bump to version 1.18.2
  package/python-pybind11: new host package
  package/python-scipy: new package

 .gitlab-ci.yml                                |  2 +
 DEVELOPERS                                    |  4 +
 package/Config.in                             |  1 +
 package/Config.in.host                        |  1 +
 package/gnuradio/Config.in                    |  2 +-
 package/gnuradio/gnuradio.mk                  |  4 +-
 package/opencv3/Config.in                     |  2 +-
 package/opencv3/opencv3.mk                    | 14 ----
 package/python-numpy/Config.in                |  1 +
 package/python-numpy/python-numpy.hash        | 14 ++--
 package/python-numpy/python-numpy.mk          | 19 ++++-
 package/python-pybind11/Config.in.host        |  7 ++
 package/python-pybind11/python-pybind11.hash  |  5 ++
 package/python-pybind11/python-pybind11.mk    | 14 ++++
 package/python-scipy/Config.in                | 22 ++++++
 package/python-scipy/python-scipy.hash        |  9 +++
 package/python-scipy/python-scipy.mk          | 46 +++++++++++
 .../br2-external/python-pybind11/Config.in    |  1 +
 .../python-pybind11/external.desc             |  1 +
 .../br2-external/python-pybind11/external.mk  |  1 +
 .../Config.in                                 |  5 ++
 .../pybind11_addition_example.cpp             |  9 +++
 .../python-pybind11-addition-example.mk       | 39 ++++++++++
 .../sample_python_pybind11.py                 |  4 +
 .../tests/package/test_python_pybind11.py     | 76 +++++++++++++++++++
 25 files changed, 277 insertions(+), 26 deletions(-)
 create mode 100644 package/python-pybind11/Config.in.host
 create mode 100644 package/python-pybind11/python-pybind11.hash
 create mode 100644 package/python-pybind11/python-pybind11.mk
 create mode 100644 package/python-scipy/Config.in
 create mode 100644 package/python-scipy/python-scipy.hash
 create mode 100644 package/python-scipy/python-scipy.mk
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/Config.in
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/external.desc
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/external.mk
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/package/python-pybind11-addition-example/Config.in
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/package/python-pybind11-addition-example/pybind11_addition_example.cpp
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/package/python-pybind11-addition-example/python-pybind11-addition-example.mk
 create mode 100644 support/testing/tests/package/br2-external/python-pybind11/package/python-pybind11-addition-example/sample_python_pybind11.py
 create mode 100644 support/testing/tests/package/test_python_pybind11.py

Comments

Thomas Petazzoni April 7, 2020, 11:49 a.m. UTC | #1
Hello Jagan,

On Tue,  7 Apr 2020 16:45:10 +0530
Jagan Teki <jagan@amarulasolutions.com> wrote:

> This is v8 changes for python-scipy, here is the previous 
> version series[1].

Thanks for this new iteration. Could you have a look at the backlog of
patches at http://patchwork.ozlabs.org/project/buildroot/list/ and
update any patch that is no longer relevant due to this new iteration
to the state "Superseded" ? You can do that yourself for the patches
that you have sent (provided that you have a patchwork account matching
the e-mail used to send the patches). For the other patches, you can
simply let us know, and we'll update the patch status.

This helps us keep a patchwork backlog that makes sense.

Thanks!

Thomas
Jagan Teki April 7, 2020, 1:43 p.m. UTC | #2
Hi Thomas,

On Tue, Apr 7, 2020 at 5:19 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Jagan,
>
> On Tue,  7 Apr 2020 16:45:10 +0530
> Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> > This is v8 changes for python-scipy, here is the previous
> > version series[1].
>
> Thanks for this new iteration. Could you have a look at the backlog of
> patches at http://patchwork.ozlabs.org/project/buildroot/list/ and
> update any patch that is no longer relevant due to this new iteration
> to the state "Superseded" ? You can do that yourself for the patches
> that you have sent (provided that you have a patchwork account matching
> the e-mail used to send the patches). For the other patches, you can
> simply let us know, and we'll update the patch status.
>
> This helps us keep a patchwork backlog that makes sense.

Yes, I've updated all my previous version changes. regarding pybind11,
adam has this series [2]. I already incorporated test patch in my
series as per his request.

[2] http://patchwork.ozlabs.org/project/buildroot/list/?series=145831

Jagan.
Yann E. MORIN April 7, 2020, 3:01 p.m. UTC | #3
Jagan, All,

On 2020-04-07 19:13 +0530, Jagan Teki spake thusly:
> On Tue, Apr 7, 2020 at 5:19 PM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> > On Tue,  7 Apr 2020 16:45:10 +0530
> > Jagan Teki <jagan@amarulasolutions.com> wrote:
> > > This is v8 changes for python-scipy, here is the previous
> > > version series[1].
> > Thanks for this new iteration. Could you have a look at the backlog of
> > patches at http://patchwork.ozlabs.org/project/buildroot/list/ and
> > update any patch that is no longer relevant due to this new iteration
> > to the state "Superseded" ? You can do that yourself for the patches
> > that you have sent (provided that you have a patchwork account matching
> > the e-mail used to send the patches). For the other patches, you can
> > simply let us know, and we'll update the patch status.
> >
> > This helps us keep a patchwork backlog that makes sense.
> 
> Yes, I've updated all my previous version changes. regarding pybind11,
> adam has this series [2]. I already incorporated test patch in my
> series as per his request.
> [2] http://patchwork.ozlabs.org/project/buildroot/list/?series=145831

So I've marked the seriers from Adam as superseded.

However, there was a review of his pybind11 patch: since it installs
only a header, it should be _INSTALL_TARGET = NO

Regards,
Yann E. MORIN.
Jagan Teki April 7, 2020, 4:18 p.m. UTC | #4
Hi Yann,

On Tue, Apr 7, 2020 at 8:31 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> Jagan, All,
>
> On 2020-04-07 19:13 +0530, Jagan Teki spake thusly:
> > On Tue, Apr 7, 2020 at 5:19 PM Thomas Petazzoni
> > <thomas.petazzoni@bootlin.com> wrote:
> > > On Tue,  7 Apr 2020 16:45:10 +0530
> > > Jagan Teki <jagan@amarulasolutions.com> wrote:
> > > > This is v8 changes for python-scipy, here is the previous
> > > > version series[1].
> > > Thanks for this new iteration. Could you have a look at the backlog of
> > > patches at http://patchwork.ozlabs.org/project/buildroot/list/ and
> > > update any patch that is no longer relevant due to this new iteration
> > > to the state "Superseded" ? You can do that yourself for the patches
> > > that you have sent (provided that you have a patchwork account matching
> > > the e-mail used to send the patches). For the other patches, you can
> > > simply let us know, and we'll update the patch status.
> > >
> > > This helps us keep a patchwork backlog that makes sense.
> >
> > Yes, I've updated all my previous version changes. regarding pybind11,
> > adam has this series [2]. I already incorporated test patch in my
> > series as per his request.
> > [2] http://patchwork.ozlabs.org/project/buildroot/list/?series=145831
>
> So I've marked the seriers from Adam as superseded.
>
> However, there was a review of his pybind11 patch: since it installs
> only a header, it should be _INSTALL_TARGET = NO

The main difference between Adam vs my patch is I'm trying to build
pybind11 as a host package as it has dependency with scipy. If Adam is
required to use even for target, maybe he can add a patch on top of
this to support the target package. Let me know if it makes sense or
any other thoughts?

Jagan.
Jagan Teki July 3, 2020, 8:09 a.m. UTC | #5
Hi Yann,

On Tue, Apr 7, 2020 at 9:48 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Hi Yann,
>
> On Tue, Apr 7, 2020 at 8:31 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> >
> > Jagan, All,
> >
> > On 2020-04-07 19:13 +0530, Jagan Teki spake thusly:
> > > On Tue, Apr 7, 2020 at 5:19 PM Thomas Petazzoni
> > > <thomas.petazzoni@bootlin.com> wrote:
> > > > On Tue,  7 Apr 2020 16:45:10 +0530
> > > > Jagan Teki <jagan@amarulasolutions.com> wrote:
> > > > > This is v8 changes for python-scipy, here is the previous
> > > > > version series[1].
> > > > Thanks for this new iteration. Could you have a look at the backlog of
> > > > patches at http://patchwork.ozlabs.org/project/buildroot/list/ and
> > > > update any patch that is no longer relevant due to this new iteration
> > > > to the state "Superseded" ? You can do that yourself for the patches
> > > > that you have sent (provided that you have a patchwork account matching
> > > > the e-mail used to send the patches). For the other patches, you can
> > > > simply let us know, and we'll update the patch status.
> > > >
> > > > This helps us keep a patchwork backlog that makes sense.
> > >
> > > Yes, I've updated all my previous version changes. regarding pybind11,
> > > adam has this series [2]. I already incorporated test patch in my
> > > series as per his request.
> > > [2] http://patchwork.ozlabs.org/project/buildroot/list/?series=145831
> >
> > So I've marked the seriers from Adam as superseded.
> >
> > However, there was a review of his pybind11 patch: since it installs
> > only a header, it should be _INSTALL_TARGET = NO
>
> The main difference between Adam vs my patch is I'm trying to build
> pybind11 as a host package as it has dependency with scipy. If Adam is
> required to use even for target, maybe he can add a patch on top of
> this to support the target package. Let me know if it makes sense or
> any other thoughts?

Any update on this?

Jagan.