Re: Bug#959631: hy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

2020-05-05 Thread Tianon Gravi
On Sun, 3 May 2020 at 06:12, Lucas Nussbaum  wrote:
> > ...
> > === warnings summary 
> > ===
> > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_fors[sfor]
> >   /<>/hy/models.py:133: RuntimeWarning: coroutine '' 
> > was never awaited
> > return super(HySymbol, cls).__new__(cls, s)
> >
> > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_fors[gfor]
> >   /usr/lib/python3/dist-packages/funcparserlib/parser.py:232: 
> > RuntimeWarning: coroutine '' was never awaited
> > self.pos = pos
> >
> > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_empty_for
> >   /usr/lib/python3/dist-packages/_pytest/nodes.py:192: RuntimeWarning: 
> > coroutine '' was never awaited
> > return (x[1] for x in self.iter_markers_with_node(name=name))
> >
> > .pybuild/cpython3_3.8_hy/build/tests/native_tests/core.hy::test_parse_args
> >   /usr/lib/python3/dist-packages/funcparserlib/parser.py:322: 
> > RuntimeWarning: coroutine '' was never awaited
> > raise NoParseError('got unexpected token', s)
> >
> > -- Docs: https://docs.pytest.org/en/latest/warnings.html
> > === 5 failed, 547 passed, 54 deselected, 4 warnings in 8.47 seconds 
> > 
> > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> > /<>/.pybuild/cpython3_3.8_hy/build; python3.8 -m pytest -k 
> > '-test_bin -test_hy2py'
> > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 
> > returned exit code 13
>
> ...

Oh, fun times.

I was definitely over my head with this one, so I reached out to the
Hy community and was pointed to https://bugs.python.org/issue39562,
which does seem quite related from my own limited understanding, so
this might technically be a bug in the Python package?

I'm including the Debian Python list on CC to hopefully see if someone
there can provide some assistance figuring out what's necessary here.
O:)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



Bug#959778: ITP: pybdsf -- Python Blob Detection and Source Finder

2020-05-05 Thread Ole Streicher
Package: wnpp
Severity: wishlist
Owner: Ole Streicher 
X-Debbugs-Cc: debian-python@lists.debian.org, debian-de...@lists.debian.org, 
debian-as...@lists.debian.org

* Package name: pybdfs
  Version : 1.9.2-1
  Upstream Author : LOFAR/Astron
* URL : https://www.astron.nl/citt/pybdsf/
* License : GPLv2
  Programming Lang: Python
  Description : Python Blob Detection and Source Finder

PyBDSF (the Python Blob Detection and Source Finder)
is a tool designed to decompose radio interferometry images into source
and make available their properties for further use. PyBDSF can
decompose an image into a set of Gaussians, shapelets, or wavelets as
well as calculate spectral indices and polarization properties of
sources and measure the psf variation across an image. PyBDSF uses an
interactive environment based on CASA that will be familiar to most
radio astronomers. Additionally, PyBDSF may also be used in Python
scripts.

The packages will be maintained under Debian Astro team maintainance,
with the repository at

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

Best regards

Ole



Re: pybuild and setup.py in unusual place

2020-05-05 Thread Peter Pentchev
On Fri, Apr 17, 2020 at 08:10:34AM +, PICCA Frederic-Emmanuel wrote:
> I found this
> 
>  --sourcedirectory=src
> 
> is it equivalent to -D
> 
> 
> subsidiary question is it possible to run a command before  all the 
> dh_auto_xxx without overrideing eveythings ?
> 
> I need to run a command whcih generate the setup.py file so I need to do
> 
> override_dh_auto_:
>do_something
>dh_auto_xxx

If you can depend on a recent enough version of pybuild (and Debian
unstable, testing, stable, and oldstable should all be okay - I only ran
across this when trying to backport stuff to Ubuntu 16.04, yeah, yeah,
I know, but customers, right?), you can set the PYBUILD_DIR variable in
the environment; take a look at
https://sources.debian.org/src/confget/2.3.4-1/debian/rules/#L33

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@debian.org p...@storpool.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13


signature.asc
Description: PGP signature


Re: python 3.7 for Debian 9

2020-05-05 Thread Simon McVittie
On Tue, 05 May 2020 at 07:45:55 +0200, Vimanyu Jain wrote:
> I have my python application written in version 3.7 and would like to run the
> application on Debian. I would like to know of there is a plan to upgrade
> python to version 3.7 from 3.5 in Debian 9. 

The version of Python in Debian 9 will not change. However, Debian 10 is
the current stable release and has Python 3.7 as its default.

smcv



python 3.7 for Debian 9

2020-05-05 Thread Vimanyu Jain
Dear Administrator,

I have my python application written in version 3.7 and would like to run
the application on Debian. I would like to know of there is a plan to
upgrade python to version 3.7 from 3.5 in Debian 9.

Best regards,
Vimanyu