[Python-modules-team] Bug#865588: Bug#865588: Bug#865588: djangorestframework FTBFS with Django 1.11: ERROR collecting tests/test_fields.py

2018-01-10 Thread Antonio Terceiro
On Wed, Jan 10, 2018 at 05:38:02PM +1100, Brian May wrote:
> Thijs Kinkhorst  writes:
> 
> > We're half a year on, so has this now changed? (I tried to check out the
> > git repo and build it, but that had several problems so I might be missing
> > one or two pieces to quickly verify it).
> 
> I believe Antonio has been looking at fixing the dependancies. I CCed him.

Yes. I fixed python-mkdocs, but then we need a new upstream version of
DRF that is fixed to build against that, which dependends on new
upstream version of django-filters but also on coreapi which is not
packaged yet. coreapi and has its own dependency chain that needs to go
through NEW as well (coreschema, itypes). I have all that packaged
locally, pending the proper metadata (debian/copyright mainly).

But then itypes is missing a proper license, so I am waiting on that to
get solved as it's at the base of the dependency chain.

https://github.com/tomchristie/itypes/pull/10

So yes, I am on it, but it will still take a few trips through NEW.


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#785647: closed by Stephan Sürken (Bug#785647: fixed in cherrypy3 8.9.1-1)

2017-11-28 Thread Antonio Terceiro
Hi,

On Mon, Nov 27, 2017 at 11:03:10AM +, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the src:cherrypy3 package:
> 
> #785647: cherrypy3: test suite times out on ci.debian.net
> 
> It has been closed by Stephan Sürken .
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Stephan Sürken 
>  by
> replying to this email.
[...]
>  - Add 0003-disable-test_antistampede.patch to skip a test which would run
>for a long time if it fails. Either this or upstream changes make the
>test suite run quickly now (Closes: #785647).

I noticed this is fixed in experimental only. If you are interested in
having cherrypy3 being tested on ci.debian.net again, please ping me
when this package goes into unstable so I can remove it from the
blacklist.


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#855877: python3-django-celery: management commands broken with Django 1.10

2017-02-22 Thread Antonio Terceiro
Package: python3-django-celery
Version: 3.1.17-3.1
Severity: grave
Forwarded: https://github.com/celery/django-celery/pull/458
Justification: renders package unusable

$ ./manage.py celery worker
Traceback (most recent call last):
  File "./manage.py", line 22, in 
execute_from_command_line(sys.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 367, in execute_from_command_line
utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 208, in fetch_command
klass = load_command_class(app_name, subcommand)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 40, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 986, in _gcd_import
  File "", line 969, in _find_and_load
  File "", line 958, in _find_and_load_unlocked
  File "", line 673, in _load_unlocked
  File "", line 673, in exec_module
  File "", line 222, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/djcelery/management/commands/celery.py", 
line 6, in 
from djcelery.management.base import CeleryCommand
  File "/usr/lib/python3/dist-packages/djcelery/management/base.py", line 59, 
in 
class CeleryCommand(BaseCommand):
  File "/usr/lib/python3/dist-packages/djcelery/management/base.py", line 60, 
in CeleryCommand
options = BaseCommand.option_list
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

Fix:
https://github.com/celery/django-celery/pull/458
https://patch-diff.githubusercontent.com/raw/celery/django-celery/pull/458.patch

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-django-celery depends on:
ii  python3-anyjson0.3.3-1
ii  python3-celery 3.1.23-5
ii  python3-django 1:1.10.5-1
ii  python3-pkg-resources  33.1.1-1
ii  python3-tz 2016.7-0.2
pn  python3:any

python3-django-celery recommends no packages.

python3-django-celery suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#848230: /usr/bin/pynvim: crashes on startup ("Cannot add child handler")

2016-12-15 Thread Antonio Terceiro
Package: python3-neovim-gui
Version: 0.1.3-1
Severity: grave

$ pynvim
Traceback (most recent call last):
  File "/usr/bin/pynvim", line 9, in 
load_entry_point('neovim-gui==0.1.3', 'console_scripts', 'pynvim')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in 
new_func
return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/neovim_gui/cli.py", line 61, in main
nvim = attach('child', argv=nvim_argv)
  File "/usr/lib/python3/dist-packages/neovim/__init__.py", line 85, in attach
child_session(argv) if session_type == 'child' else
  File "/usr/lib/python3/dist-packages/neovim/msgpack_rpc/__init__.py", line 
42, in child_session
return session('child', argv)
  File "/usr/lib/python3/dist-packages/neovim/msgpack_rpc/__init__.py", line 
18, in session
loop = EventLoop(transport_type, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/neovim/msgpack_rpc/event_loop/base.py", 
line 88, in __init__
getattr(self, '_connect_{0}'.format(transport_type))(*args)
  File 
"/usr/lib/python3/dist-packages/neovim/msgpack_rpc/event_loop/asyncio.py", line 
97, in _connect_child
self._loop.run_until_complete(coroutine)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in 
run_until_complete
return future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
  File "/usr/lib/python3.5/asyncio/base_events.py", line 1189, in 
subprocess_exec
bufsize, **kwargs)
  File "/usr/lib/python3.5/asyncio/unix_events.py", line 194, in 
_make_subprocess_transport
self._child_watcher_callback, transp)
  File "/usr/lib/python3.5/asyncio/unix_events.py", line 856, in 
add_child_handler
"Cannot add child handler, "
RuntimeError: Cannot add child handler, the child watcher does not have a loop 
attached




-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-neovim-gui depends on:
ii  gir1.2-gtk-3.03.22.5-1
ii  libc6 2.24-8
ii  neovim0.1.7-1
ii  python-neovim 0.1.9-1
ii  python3   3.5.1-4
ii  python3-cairo 1.10.0+dfsg-5+b1
ii  python3-click 6.6-1
ii  python3-gi3.22.0-2
ii  python3-gi-cairo  3.22.0-2

python3-neovim-gui recommends no packages.

python3-neovim-gui suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#843673: python3-pycodestyle: makes flake8 emit warnings on stdout

2016-11-08 Thread Antonio Terceiro
Control: severity -1 grave

On Tue, Nov 08, 2016 at 03:29:31PM -0200, Antonio Terceiro wrote:
> Package: python3-pycodestyle
> Version: 2.1.0-1
> Severity: normal
> 
> after upgrading to version of python3-pycodestyle recently uploaded to
> unstable, flake8 now omits some warnings. to reproduce I downgraded only
> python3-pycodestyle:
> 
> $ flake8
> $ sudo apt install python3-pycodestyle/unstable >/dev/null 2>&1
> $ flake8
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
> no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
> no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
> no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
> no attribute 'previous_unindented_logical_line'

actually this breaks flake8, so I am raising the severity:

$ flake8
./squad/api/views.py:21:1: E302 expected 2 blank lines, found 0

$ sudo apt install python3-pycodestyle/unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.1.0-1' (Debian:unstable [all]) for 'python3-pycodestyle'
The following packages will be upgraded:
  python3-pycodestyle
1 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Need to get 0 B/39,7 kB of archives.
After this operation, 6.144 B of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 466636 files and directories currently installed.)
Preparing to unpack .../python3-pycodestyle_2.1.0-1_all.deb ...
Unpacking python3-pycodestyle (2.1.0-1) over (2.0.0-1) ...
Setting up python3-pycodestyle (2.1.0-1) ...
==  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ==

-  Show old opportunities as well as new ones: how-can-i-help --old  -

$ flake8
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'

(i.e. flake8 no longer finds the style issue in place)


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#843673: python3-pycodestyle: makes flake8 emit warnings on stdout

2016-11-08 Thread Antonio Terceiro
Package: python3-pycodestyle
Version: 2.1.0-1
Severity: normal

after upgrading to version of python3-pycodestyle recently uploaded to
unstable, flake8 now omits some warnings. to reproduce I downgraded only
python3-pycodestyle:

$ flake8
$ sudo apt install python3-pycodestyle/unstable >/dev/null 2>&1
$ flake8
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has 
no attribute 'previous_unindented_logical_line'


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-pycodestyle depends on:
pn  python3:any  

python3-pycodestyle recommends no packages.

python3-pycodestyle suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#785647: cherrypy3: test suite times out on ci.debian.net

2015-05-18 Thread Antonio Terceiro
Source: cherrypy3
Severity: important
User: autopkgtest-de...@lists.alioth.debian.org
Usertags: autopkgtest

Hello,

The cherrypy3 test suite is currently timing out on ci.debian.net. I'm
not sure if it just takes time, or if it's actually hanging.

Can you please check?

I am blacklisting cherrypy3 for now, and will revisit that when this bug
is closed.

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Antonio Terceiro 


signature.asc
Description: Digital signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#743244: python-cffi: DEP8 test suite generates huge amounts of log

2014-03-31 Thread Antonio Terceiro
Source: python-cffi
Version: 0.8.1-1
Severity: normal
User: autopkgtest-de...@lists.alioth.debian.org
Usertags: autopkgtest

Hello,

At the moment python-cffi uses 75% of the storage on ci.debian.net.  The other
25% is occupied by other 280 packages, plus global index data files.

$ sudo du -sh /var/lib/debci/data
6.6G/var/lib/debci/data
$ sudo du -sh /var/lib/debci/data/unstable-amd64/packages/p/python-cffi
5.0G/var/lib/debci/data/unstable-amd64/packages/p/python-cffi

In the beginning, it was generating ~160MB of log for each test run, but in the
last run it generated a log file that was almost 3GB!

$ du -sh *.log | sort -h | tail
164M2014-02-12.log
164M2014-02-17.log
164M2014-02-21.log
164M2014-02-23.log
164M2014-03-20.log
164M2014-03-23.log
165M2014-02-25.log
165M2014-02-26.log
165M2014-03-07.log
2.8G2014-03-30.log

For this reason, I am blacklisting python-cffi from ci.debian.net.  I
will remove its data from there in 1 week (the tests have never passed
anyway), please let me know you plan to download it but need more time.

For your reference, I am attaching the history data file.

Please make sure the test suite generates a reasonable amount of output,
while still being useful for someone who is reading the log.

-- 
Antonio Terceiro 


history.json.gz
Description: Binary data


signature.asc
Description: Digital signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team