Bug#1015324: ITP: synphot -- Simulate photometric data ans spectra in astronomy

2022-07-19 Thread Ole Streicher
Package: wnpp
Severity: wishlist
Owner: Ole Streicher 
X-Debbugs-Cc: debian-de...@lists.debian.org, debian-as...@lists.debian.org, 
debian-python@lists.debian.org
Control: block 1012441 by -1

* Package name: synphot
  Version : 1.1.2
  Upstream Author : Space Telescope Science Institute
* URL : https://github.com/spacetelescope/synphot_refactor
* License : BSD-3-Clause
  Programming Lang: Python 3
  Description : Simulate photometric data ans spectra in astronomy

synphot simulates photometric data and spectra, observed or otherwise.
It can incorporate external filters, spectra, and data. One can also use
a pre-defined standard star (Vega), bandpass, or extinction law.
Furthermore, it allows one to:

 * Construct complicated composite spectra using different models.
 * Simulate observations.
 * Compute photometric properties such as count rate, effective
   wavelength, and effective stimulus.
 * Manipulate a spectrum; e.g., applying redshift or normalize it to a
   given flux value in a given bandpass.
 * Sample a spectrum at given wavelengths.
 * Plot a quick-view of a spectrum.
 * Perform repetitive operations such as simulating the observations of
   multiple type of sources through multiple bandpasses.

This is a dependency of the upcoming specreduce package (ITP #1012441).

I will maintain the package within the Debian Astro team in Salsa:

https://salsa.debian.org/debian-astro-team/synphot

Best regards

Ole



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Andreas Tille
Am Tue, Jul 19, 2022 at 08:35:55AM -0400 schrieb Sandro Tosi:
> > It does help a lot. Thanks a lot for this.
> 
> please be aware there is an almost complete solution (+Antonio in CC)
> to automatically have autopkgtests based on debian/rules and pybuild
> setup of tests (same way cli switches/skips/etc during build applied
> to autpkgtests). So if a package is currently missing autopkgtests i'd
> refrain from start add them in bulk as they may get it "for free" in
> the imminent future.

For sure this would be better.  As far as I understood the *current*
autopkgtest-pkg-python is just a superflous test - better than nothing
but not helpful for fast paced testing migration.  I'd love to see this
to be enhanced.

Kind regards

Andreas.

-- 
http://fam-tille.de



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Sandro Tosi
On Tue, Jul 19, 2022 at 4:27 AM Thomas Goirand  wrote:
>
> On 7/19/22 07:59, Andreas Tille wrote:
> > Hi Zigo,
> >
> > you asked me for a list of packages without autopkgtest sorted by popcon
> > value as we create it for Debian Med team also for Python team.  I've
> > simply added it to the Debian Med dir for simplicity - feel free to take
> > over the code (or suggest some better place).  Here ist the list
> >
> >  
> > https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/python-team-tests.txt
> >
> > which is created by the script I'm using for Debian Med and Debian
> > Science[1].  It will be refreshed by a daily cron job.
> >
> > Hope this helps
>
> It does help a lot. Thanks a lot for this.

please be aware there is an almost complete solution (+Antonio in CC)
to automatically have autopkgtests based on debian/rules and pybuild
setup of tests (same way cli switches/skips/etc during build applied
to autpkgtests). So if a package is currently missing autopkgtests i'd
refrain from start add them in bulk as they may get it "for free" in
the imminent future.

regards,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Andreas Tille
Hi Neil,

Am Tue, Jul 19, 2022 at 08:00:49AM +0100 schrieb Neil Williams:
> It seems to be a list of source packages, yet it contains duplicates
> (pelican appears twice, for example, as does python-git).

I confirm that I noticed this.

> autopkgtest
> is source-package based, so can this be fixed?

I'm 100% sure this can be fixed. ;-P

> Maybe take the highest
> popcon of all binaries from each single source package?

I confirm that I don't like the situation but I can't spent more time
into this for the moment.  I'd recommend writing autopkgtest for the
duplicated packages first ... than these will vanish promptly. ;-P

Sorry for no better help at the moment - patches are always welcome

  Andreas.

-- 
http://fam-tille.de



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Andreas Tille
Hi,

Am Tue, Jul 19, 2022 at 10:26:55AM +0200 schrieb Thomas Goirand:
> > [1] 
> > https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/missing-autopkgtest
> 
> It does help a lot. Thanks a lot for this.

:-)
 
> We're really missing you in Prizren, btw.

Miss you all too.  There were really complex circumstances at my side
and the last reason that came up recently has proven my hard decision to
cancel DebConf22 the right thing to do. 

Wish you all a lot of fun and see you next year

  Andreas.

-- 
http://fam-tille.de



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Thomas Goirand

On 7/19/22 07:59, Andreas Tille wrote:

Hi Zigo,

you asked me for a list of packages without autopkgtest sorted by popcon
value as we create it for Debian Med team also for Python team.  I've
simply added it to the Debian Med dir for simplicity - feel free to take
over the code (or suggest some better place).  Here ist the list

 
https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/python-team-tests.txt

which is created by the script I'm using for Debian Med and Debian
Science[1].  It will be refreshed by a daily cron job.

Hope this helps

   Andreas.


[1] 
https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/missing-autopkgtest



Hi Andreas,

It does help a lot. Thanks a lot for this.

We're really missing you in Prizren, btw.

Cheers,

Thomas Goirand (zigo)



Re: List of packages of Python team that have no autopkgtest

2022-07-19 Thread Neil Williams
On Tue, 19 Jul 2022 07:59:12 +0200
Andreas Tille  wrote:

> Hi Zigo,
> 
> you asked me for a list of packages without autopkgtest sorted by
> popcon value as we create it for Debian Med team also for Python
> team.  I've simply added it to the Debian Med dir for simplicity -
> feel free to take over the code (or suggest some better place).  Here
> ist the list
> 
> 
> https://salsa.debian.org/med-team/community/helper-scripts/-/blob/master/python-team-tests.txt
> 
> which is created by the script I'm using for Debian Med and Debian
> Science[1].  It will be refreshed by a daily cron job.

It seems to be a list of source packages, yet it contains duplicates
(pelican appears twice, for example, as does python-git). autopkgtest
is source-package based, so can this be fixed? Maybe take the highest
popcon of all binaries from each single source package?

-- 
Neil Williams
li...@codehelp.co.uk
https://linux.codehelp.co.uk


pgpYRfN0O26zZ.pgp
Description: OpenPGP digital signature