Re: Mass filing on Python 3.7 async module import?
On 07/10/2018 03:50 PM, Thomas Goirand wrote: > On 07/09/2018 11:03 PM, Adrian Bunk wrote: >> On Mon, Jul 09, 2018 at 02:33:18PM +0200, Thomas Goirand wrote: >>> On 07/08/2018 12:36 PM, Emilio Pozuelo Monfort wrote: 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 >>> >>> There's more than this. What you're reporting doesn't seem to include >>> packages defining the async function, for example gevent. I also saw >>> more than this list, just by trying to rebuild neutron-fwaas: >>> python3-oslo.db (we just fixed that one), python3-kafka, python3-pika, >>> python3-dogpile.cache (bug with fix already filled, we'll fix soon). >>> >>> I would anyway very much welcome a mass bug filling, but best would be >>> to try not to forget any package. Note that tenacity is already fixed. >> >> Note that "already fixed in unstable" is only part of the story. >> >> Most important will be Breaks for all affected packages in *stretch*, >> since there might otherwise be nasty problems in stretch->buster >> upgrades depending on the undefined order of package upgrades. > > Do you mean that the interpreter will have to declare Breaks: for the > affected packages? > Yes. Cheers, Julien
Re: Mass filing on Python 3.7 async module import?
On 07/09/2018 11:03 PM, Adrian Bunk wrote: > On Mon, Jul 09, 2018 at 02:33:18PM +0200, Thomas Goirand wrote: >> On 07/08/2018 12:36 PM, Emilio Pozuelo Monfort wrote: >>> 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 >> >> There's more than this. What you're reporting doesn't seem to include >> packages defining the async function, for example gevent. I also saw >> more than this list, just by trying to rebuild neutron-fwaas: >> python3-oslo.db (we just fixed that one), python3-kafka, python3-pika, >> python3-dogpile.cache (bug with fix already filled, we'll fix soon). >> >> I would anyway very much welcome a mass bug filling, but best would be >> to try not to forget any package. Note that tenacity is already fixed. > > Note that "already fixed in unstable" is only part of the story. > > Most important will be Breaks for all affected packages in *stretch*, > since there might otherwise be nasty problems in stretch->buster > upgrades depending on the undefined order of package upgrades. Do you mean that the interpreter will have to declare Breaks: for the affected packages? Cheers, Thomas Goirand (zigo)
Re: Mass filing on Python 3.7 async module import?
On Mon, Jul 09, 2018 at 02:33:18PM +0200, Thomas Goirand wrote: > On 07/08/2018 12:36 PM, Emilio Pozuelo Monfort wrote: > > 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 > > There's more than this. What you're reporting doesn't seem to include > packages defining the async function, for example gevent. I also saw > more than this list, just by trying to rebuild neutron-fwaas: > python3-oslo.db (we just fixed that one), python3-kafka, python3-pika, > python3-dogpile.cache (bug with fix already filled, we'll fix soon). > > I would anyway very much welcome a mass bug filling, but best would be > to try not to forget any package. Note that tenacity is already fixed. Note that "already fixed in unstable" is only part of the story. Most important will be Breaks for all affected packages in *stretch*, since there might otherwise be nasty problems in stretch->buster upgrades depending on the undefined order of package upgrades. > Cheers, > > Thomas Goirand (zigo) cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Re: Mass filing on Python 3.7 async module import?
On 07/08/2018 12:36 PM, Emilio Pozuelo Monfort wrote: > 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 There's more than this. What you're reporting doesn't seem to include packages defining the async function, for example gevent. I also saw more than this list, just by trying to rebuild neutron-fwaas: python3-oslo.db (we just fixed that one), python3-kafka, python3-pika, python3-dogpile.cache (bug with fix already filled, we'll fix soon). I would anyway very much welcome a mass bug filling, but best would be to try not to forget any package. Note that tenacity is already fixed. Cheers, Thomas Goirand (zigo)
Re: Mass filing on Python 3.7 async module import?
I'll add these as breaks in the next python3.7 upload. Please mention these in #902788. On 08.07.2018 12:36, Emilio Pozuelo Monfort wrote: 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 "", line 1, in 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 "", 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 salt (U) Anja Boskovic visidata Bas Couwenberg mapproxy (U) Benjamin Drung salt (U) Brian May celery (U) Carl Suster rpyc (U) ChangZhuo Chen (陳昌倬) pylama (U) Chris Lamb gunicorn Debian Astro Team astroquery Debian GIS Project mapproxy Debian Python Modules Team celery pexpect pylama pymodbus pyopengl python-dropbox python-ldap python-raven (U) python-tenacity rpyc Debian Salt Team salt Debian Security Tools openscap-daemon Franklin G Mendoza salt (U) Joe Healy salt (U) Maximiliano Curia pymodbus (U) Michael Fladischer celery (U) python-dropbox (U) Ondřej Kobližek python-tenacity (U) Ondřej Nový python-tenacity (U) salt (U) Philippe Thierry openscap-daemon (U) Python Applications Packaging Team pylint (U) Sandro Tosi pylint Thomas Goirand python-tenacity (U) Tobias Hansen pexpect (U) Torsten Marek pyopengl (U) Vincent Bernat exabgp python-raven Vincent Prat astroquery (U) W. Martin Borgert pymodbus (U) Willem van den Akker python-ldap (U) Wolodja Wentland salt (U) Cheers, Emilio
Re: Mass filing on Python 3.7 async module import?
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 "", line 1, in > 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 "", 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 salt (U) Anja Boskovic visidata Bas Couwenberg mapproxy (U) Benjamin Drung salt (U) Brian May celery (U) Carl Suster rpyc (U) ChangZhuo Chen (陳昌倬) pylama (U) Chris Lamb gunicorn Debian Astro Team astroquery Debian GIS Project mapproxy Debian Python Modules Team celery pexpect pylama pymodbus pyopengl python-dropbox python-ldap python-raven (U) python-tenacity rpyc Debian Salt Team salt Debian Security Tools openscap-daemon Franklin G Mendoza salt (U) Joe Healy salt (U) Maximiliano Curia pymodbus (U) Michael Fladischer celery (U) python-dropbox (U) Ondřej Kobližek python-tenacity (U) Ondřej Nový python-tenacity (U) salt (U) Philippe Thierry openscap-daemon (U) Python Applications Packaging Team pylint (U) Sandro Tosi pylint Thomas Goirand python-tenacity (U) Tobias Hansen pexpect (U) Torsten Marek pyopengl (U) Vincent Bernat exabgp python-raven Vincent Prat astroquery (U) W. Martin Borgert pymodbus (U) Willem van den Akker python-ldap (U) Wolodja Wentland salt (U) Cheers, Emilio
Mass filing on Python 3.7 async module import?
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 "", line 1, in 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 "", 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`? Paul