Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12669 > unrolled thread

Bug#963506: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be

Started byStephan Lachnit <stephanlachnit@protonmail.com>
First post2020-06-22 19:10 +0200
Last post2020-06-23 21:00 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#963506: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be Stephan Lachnit <stephanlachnit@protonmail.com> - 2020-06-22 19:10 +0200
    Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be Stephan Lachnit <stephanlachnit@protonmail.com> - 2020-06-23 11:50 +0200
      Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be Stephan Lachnit <stephanlachnit@protonmail.com> - 2020-06-23 20:20 +0200
        Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting  as it should be Drew Parsons <dparsons@debian.org> - 2020-06-23 21:00 +0200

#12669 — Bug#963506: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be

FromStephan Lachnit <stephanlachnit@protonmail.com>
Date2020-06-22 19:10 +0200
SubjectBug#963506: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be
Message-ID<Aky7g-45l-17@gated-at.bofh.it>
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package "symfit"

 * Package name    : symfit
   Version         : 0.5.2-1
   Upstream Author : Martin Roelfs <u0114255@kuleuven.be>
 * URL             : https://github.com/tBuLi/symfit
 * License         : GPL-2.0-or-later
 * Vcs             : https://salsa.debian.org/stephanlachnit/symfit
   Section         : python

It builds those binary packages:

  python3-symfit - Symbolic Fitting in Python, fitting as it should be

To access further information about this package, please visit the following URL:

  https://mentors.debian.net/package/symfit

Alternatively, one can download the package with dget using this command:

  dget -x https://mentors.debian.net/debian/pool/main/s/symfit/symfit_0.5.2-1.dsc

Changes since the last upload:

   * Initial release. (Closes: #963503)

Regards,

--
  Stephan Lachnit

[toc] | [next] | [standalone]


#12670 — Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be

FromStephan Lachnit <stephanlachnit@protonmail.com>
Date2020-06-23 11:50 +0200
SubjectRe: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be
Message-ID<AkNIZ-4Ya-9@gated-at.bofh.it>
In reply to#12669
Hi Drew,

> Hi Stephan, you haven't got a doc package in place yet for symfit. But
> the docs build cleanly, the template generated for dh_make gives the
> pattern for python packages like this. Would you like to add this
> before update?
>
> Setting up debian/tests can be useful too. With pytests it shouldn't be
> hard to do. (2 tests currently fail but should be straightforward to fix
> or work around).
>
> debian/tests can be added later, but probably a good idea to add the doc
> package now. Otherwise it'll be waiting in the NEW queue twice.
>
> Drew

I'm looking into the tests right now, but can you give me some hints on the doc package? I don't get it to build, I'm not really familiar with pybuild.

> Nice work. I can sponsor this.

Thanks! Where should I maintain this package? In the DPMT?

Cheers,
Stephan

[toc] | [prev] | [next] | [standalone]


#12671 — Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be

FromStephan Lachnit <stephanlachnit@protonmail.com>
Date2020-06-23 20:20 +0200
SubjectRe: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be
Message-ID<AkVGx-1FP-5@gated-at.bofh.it>
In reply to#12670
> Heh no need for encryption, no secrets here :)
> (not replying encrypted since I'm on webmail which doesn't gave gpg
> configured. I took off cc:debian-python.)

I think protonmail does that even without me doing anything, it wasn't intended anyway.

> You shouldn't need to fiddle (much) with pybuild. Use dh_make to
> generate a debian folder, check what it puts in. It's only a few lines
> needed, you can copy over from the dh_make-generated debian/ to the
> debian/ that you've made.

Using the template gives me:

> dh_sphinxdoc: warning: Sphinx documentation not found

And results in an empty doc package
When rebuilding the documentation as described in the rules template, I get:

> NotImplementedError: Unknown node: CodeAreaNode

The only thing I found regarding that issue was https://github.com/sphinx-doc/sphinx/issues/7816, which isn't really helpful.
If you have an idea and want to point it out in the code, you can comment on my salsa repo: https://salsa.debian.org/stephanlachnit/symfit/-/commit/b75fe5f301dd507994957701f5f46ab5e6e88e84

> Since this is a maths tool, you could place it in the Debian Science
> team. DMPT could work, but probably science developers are more likely
> to be actually using it.

Alright, I put it on their salsa account as soon as it's ready.

Cheers,
Stephan

[toc] | [prev] | [next] | [standalone]


#12672 — Re: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be

FromDrew Parsons <dparsons@debian.org>
Date2020-06-23 21:00 +0200
SubjectRe: RFS: symfit/0.5.2-1 [ITP] -- Symbolic Fitting in Python, fitting as it should be
Message-ID<AkWjg-1SY-7@gated-at.bofh.it>
In reply to#12671
On 2020-06-24 01:57, Stephan Lachnit wrote:
> -----BEGIN PGP MESSAGE-----
> Version: ProtonMail
> 
> wcFMAysU9YM04hChAQ//cTKRX2ovcrbEV2oEgObcf8/pwIk/p6l0K7sqm2Im
> NHnk1mPaSg1VqIdK+QlqGgomxU/oZDSicnjRI1a7dNRvbJuOvMDKMqacQUIc
> zJWXCdOxBw361ut+2LrcbwgaMFcW/fuXPbFFt3k5cWNVv8+qBtSFq/VwsSMs


Heh that's kind of funny if your mail client is automatically encrypting 
to me, but not encrypting to the mailing list. Seems to defeat the point 
of encrypting... still, we should all be using it more.

It looks like you've added --with sphinxdoc to dh, but haven't actually 
triggered the doc build itself (dh --with sphinxdoc doesn't *build* the 
docs, it just manages the installation of them, and the value of 
${sphinxdoc:Depends})

See the commented part of dh_make's debian/rules.  Uncomment to get the 
docs building.
Or you can also do it just with cd docs; make html.  I'm not sure why 
dh_make uses a more complicated method. Maybe not all python modules 
provide a docs/Makefile.

Building man pages fails (with either method), but you don't need a 
manpage for a python module with no binary executable. HTML is enough.

Note the doc-base file in the dh_make templates.  It's nice to use this 
to register the docs (cf. file:///usr/share/doc/HTML/index.html)

Drew

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web