On 08/07/18 00:17, Paul R. Tagliamonte wrote:
> Hey DPMT (BCC'ing -devel, let's keep conversaion on DPMT),
> 
> I see that Python 3.7 now raises a syntax error when you try to import
> a module that is named `async`.
> 
> ```
> $ python3.6
> Python 3.6.6 (default, Jun 27 2018, 14:44:17)
> [GCC 8.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import foo.async
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ModuleNotFoundError: No module named 'foo'
>>>>
> ```
> 
> With Python 3.7:
> 
> ```
> $ python3.7
> Python 3.7.0 (default, Jun 27 2018, 14:40:03)
> [GCC 8.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import foo.async
>   File "<stdin>", line 1
>     import foo.async
>                    ^
> SyntaxError: invalid syntax
>>>>
> ```
> 
> Quickly checking codesearch, there are a bunch of packages that have
> import lines that look like they'd fail.
> 
> Anyone mind if I do a MBF on libraries that are providing anything
> named `async.py`?

List of affected packages:

openscap-daemon: /usr/lib/python3/dist-packages/openscap_daemon/async.py
pylint3: /usr/lib/python3/dist-packages/pylint/checkers/async.py
python3-astroquery: 
/usr/lib/python3/dist-packages/astroquery/vo_conesearch/async.py
python3-celery: /usr/lib/python3/dist-packages/celery/backends/async.py
python3-dropbox: /usr/lib/python3/dist-packages/dropbox/async.py
python3-exabgp: /usr/lib/python3/dist-packages/exabgp/reactor/async.py
python3-gunicorn: /usr/lib/python3/dist-packages/gunicorn/workers/async.py
python3-ldap: /usr/lib/python3/dist-packages/ldap/async.py
python3-mapproxy: /usr/lib/python3/dist-packages/mapproxy/util/async.py
python3-opengl: /usr/lib/python3/dist-packages/OpenGL/GL/SGIX/async.py
python3-opengl: /usr/lib/python3/dist-packages/OpenGL/raw/GL/SGIX/async.py
python3-pexpect: /usr/lib/python3/dist-packages/pexpect/async.py
python3-pylama: /usr/lib/python3/dist-packages/pylama/async.py
python3-pymodbus: /usr/lib/python3/dist-packages/pymodbus/client/async.py
python3-pymodbus: /usr/lib/python3/dist-packages/pymodbus/server/async.py
python3-raven: /usr/lib/python3/dist-packages/raven/contrib/async.py
python3-rpyc: /usr/lib/python3/dist-packages/rpyc/core/async.py
python3-tenacity: /usr/lib/python3/dist-packages/tenacity/async.py
salt-common: /usr/lib/python3/dist-packages/salt/utils/async.py
visidata: /usr/lib/python3/dist-packages/visidata/async.py

and the dd-list:

Andriy Senkovych <jolly_ro...@itblog.org.ua>
   salt (U)

Anja Boskovic <anja.kef...@gmail.com>
   visidata

Bas Couwenberg <sebas...@debian.org>
   mapproxy (U)

Benjamin Drung <benjamin.dr...@profitbricks.com>
   salt (U)

Brian May <b...@debian.org>
   celery (U)

Carl Suster <c...@contraflo.ws>
   rpyc (U)

ChangZhuo Chen (陳昌倬) <czc...@debian.org>
   pylama (U)

Chris Lamb <la...@debian.org>
   gunicorn

Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
   astroquery

Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org>
   mapproxy

Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
   celery
   pexpect
   pylama
   pymodbus
   pyopengl
   python-dropbox
   python-ldap
   python-raven (U)
   python-tenacity
   rpyc

Debian Salt Team <pkg-salt-t...@lists.alioth.debian.org>
   salt

Debian Security Tools <team+pkg-secur...@tracker.debian.org>
   openscap-daemon

Franklin G Mendoza <franklin.g.mend...@gmail.com>
   salt (U)

Joe Healy <joehe...@gmail.com>
   salt (U)

Maximiliano Curia <m...@debian.org>
   pymodbus (U)

Michael Fladischer <fl...@debian.org>
   celery (U)
   python-dropbox (U)

Ondřej Kobližek <kobliz...@gmail.com>
   python-tenacity (U)

Ondřej Nový <on...@debian.org>
   python-tenacity (U)
   salt (U)

Philippe Thierry <p...@reseau-libre.net>
   openscap-daemon (U)

Python Applications Packaging Team <python-apps-t...@lists.alioth.debian.org>
   pylint (U)

Sandro Tosi <mo...@debian.org>
   pylint

Thomas Goirand <z...@debian.org>
   python-tenacity (U)

Tobias Hansen <than...@debian.org>
   pexpect (U)

Torsten Marek <shlo...@debian.org>
   pyopengl (U)

Vincent Bernat <ber...@debian.org>
   exabgp
   python-raven

Vincent Prat <vincep...@free.fr>
   astroquery (U)

W. Martin Borgert <deba...@debian.org>
   pymodbus (U)

Willem van den Akker <wvdak...@wilsoft.nl>
   python-ldap (U)

Wolodja Wentland <deb...@babilen5.org>
   salt (U)

Cheers,
Emilio

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to