[Python-modules-team] Processed: your mail

2014-12-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 585291 patch
Bug #585291 [python-forgetsql] python-forgetsql: Python string exceptions no 
more allowed in Python 2.6
Added tag(s) patch.

End of message, stopping processing here.

Please contact me if you need assistance.
-- 
585291: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
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] Processed: Re: python3-django-assets: fails to install: SyntaxError: Missing parentheses in call to 'print'

2014-12-07 Thread Debian Bug Tracking System
Processing control commands:

 forwarded -1 https://github.com/miracle2k/django-assets/pull/47
Bug #767826 [python3-django-assets] python3-django-assets: fails to install: 
SyntaxError: Missing parentheses in call to 'print'
Set Bug forwarded-to-address to 
'https://github.com/miracle2k/django-assets/pull/47'.
 tags -1 fixed-upstream
Bug #767826 [python3-django-assets] python3-django-assets: fails to install: 
SyntaxError: Missing parentheses in call to 'print'
Added tag(s) fixed-upstream.

-- 
767826: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767826
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
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#767826: python3-django-assets: fails to install: SyntaxError: Missing parentheses in call to 'print'

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Control: forwarded -1 https://github.com/miracle2k/django-assets/pull/47
Control: tags -1 fixed-upstream

Patch was merged upstream, but not released there yet.
Attached is a version with the meta information updated.
Description: python3 compat for pytest_plugin.py
 Trivial change to make the print statement compatible with python3 in the
 django_assets/pytest_plugin.py
Author: Jason Pleau ja...@jpleau.ca
Bug-Debian: https://bugs.debian.org/767826
Forwarded: https://github.com/miracle2k/django-assets/pull/47
Applied-Upstream: commit:9db6e5fdc40b4fc58dcf5b34eeb7cc9a60983f28
Last-Update: 2014-12-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/django_assets/pytest_plugin.py
+++ b/django_assets/pytest_plugin.py
@@ -3,5 +3,5 @@
 
 @pytest.fixture(autouse=True)
 def set_django_assets_env():
-print Set django assets environment
+print(Set django assets environment)
 django_assets.env.get_env() # initialise django-assets settings


signature.asc
Description: OpenPGP 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] Processed: Re: pytimechart fails to start

2014-12-07 Thread Debian Bug Tracking System
Processing control commands:

 reassign -1 python-enable
Bug #761140 [pytimechart] pytimechart fails to start
Bug reassigned from package 'pytimechart' to 'python-enable'.
No longer marked as found in versions pytimechart/1.0.0~rc1-3.
Ignoring request to alter fixed versions of bug #761140 to the same values 
previously set
 forwarded -1 https://github.com/enthought/enable/pull/154
Bug #761140 [python-enable] pytimechart fails to start
Set Bug forwarded-to-address to 'https://github.com/enthought/enable/pull/154'.
 affects -1 pytimechart
Bug #761140 [python-enable] pytimechart fails to start
Added indication that 761140 affects pytimechart
 tags -1 patch
Bug #761140 [python-enable] pytimechart fails to start
Added tag(s) patch.

-- 
761140: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761140
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
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] Processing of python-ghost_0.1b6-1_amd64.changes

2014-12-07 Thread Debian FTP Masters
python-ghost_0.1b6-1_amd64.changes uploaded successfully to localhost
along with the files:
  python-ghost_0.1b6-1.dsc
  python-ghost_0.1b6.orig.tar.gz
  python-ghost_0.1b6-1.debian.tar.xz
  python-ghost_0.1b6-1_all.deb
  python3-ghost_0.1b6-1_all.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)

___
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#772506: python-requests: importing requests takes ages on Python 2

2014-12-07 Thread David Douard
Package: python-requests
Version: 2.4.3-4
Severity: important

Hi,

the following results have been executed in docker containers on the same 
machine, just after having installed python-requests and paython3-requests. The 
reported results are the third of 3 consecutive runs.

  root@jessie:/# time python -c import requests

  real0m0.720s
  user0m0.684s
  sys 0m0.032s

  root@jessie:/# time python3 -c import requests

  real0m0.138s
  user0m0.120s
  sys 0m0.012s
 
  root@wheezy:/# time python -c import requests

  real0m0.060s
  user0m0.048s
  sys 0m0.008s

  root@wheezy:/# time python3 -c import requests

  real0m0.087s
  user0m0.064s
  sys 0m0.020s


Thus, as you may see, importing requests on Python2 on jessie is very slow.

This is really painfull since it make any python2 app usig requests very slow 
to start, 
for example I have a mercurial extension that uses python-requests, 
and in jessie, if I activate it, every hg call takes at least one second.


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-requests depends on:
ii  ca-certificates  20141019
ii  python-chardet   2.3.0-1
ii  python-urllib3   1.9.1-3
pn  python:any   none

Versions of packages python-requests recommends:
ii  python-ndg-httpsclient  0.3.2-1
ii  python-openssl  0.14-1
ii  python-pyasn1   0.1.7-1

python-requests suggests no packages.

-- no debconf information

___
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] python-ghost_0.1b6-1_amd64.changes ACCEPTED into unstable

2014-12-07 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sun, 07 Dec 2014 20:52:36 +
Source: python-ghost
Binary: python-ghost python3-ghost
Architecture: source all
Version: 0.1b6-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
python-modules-team@lists.alioth.debian.org
Changed-By: W. Martin Borgert deba...@debian.org
Description:
 python-ghost - webkit web client library
 python3-ghost - webkit web client library
Changes:
 python-ghost (0.1b6-1) unstable; urgency=low
 .
   * New upstream release, many bugs fixed.
Checksums-Sha1:
 f23b2bd58eb3b42c38d2a970a6dad359255e6eb4 2131 python-ghost_0.1b6-1.dsc
 2a58656eee72a4b0fd0cae375c8e4e12ebdbba70 69456 python-ghost_0.1b6.orig.tar.gz
 6509de24854a71752798c2d385c2ef5fc7b3f4c5 2568 
python-ghost_0.1b6-1.debian.tar.xz
 f22bb6a0b69e3ade5c456ba933b3d730c3d93dc9 13908 python-ghost_0.1b6-1_all.deb
 271384bced8ee92b69fe29d0ab59d0aea73f2799 13626 python3-ghost_0.1b6-1_all.deb
Checksums-Sha256:
 fd275a5dbfb31c5e938d53e7d2fdd35b3d118f3c8fde97002ee58e367cabfe8f 2131 
python-ghost_0.1b6-1.dsc
 4cb0bbba439ec972179ce33d1d76b27fb12313932d41451f1cfe42f04caf53b8 69456 
python-ghost_0.1b6.orig.tar.gz
 f2a3816bcad3f872996cccef7a90a156233b8ef4461f97d96a99c5474806e265 2568 
python-ghost_0.1b6-1.debian.tar.xz
 e2b76f8a8851d998b181038a9f35fef49159aa19022c9c49a9340f841e4d77b8 13908 
python-ghost_0.1b6-1_all.deb
 bb32514bb3414c37afa3ea6b005e99edf68cdaaf141bad707bb80372aaee717f 13626 
python3-ghost_0.1b6-1_all.deb
Files:
 305a0b9ea7a8d336cd29382e926889b7 2131 python optional python-ghost_0.1b6-1.dsc
 1762b0afc062aa414bd07b6eb2663f47 69456 python optional 
python-ghost_0.1b6.orig.tar.gz
 7e0eff87148412ac12194b91d676d1b0 2568 python optional 
python-ghost_0.1b6-1.debian.tar.xz
 37c001f3b71e047a5224b737ab70abd3 13908 python optional 
python-ghost_0.1b6-1_all.deb
 7157de4cca48cdedbf37459c70f7dd8b 13626 python optional 
python3-ghost_0.1b6-1_all.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUhMkFAAoJEOPgocKGuWPqN/kP/1GVy2Q2W53Ms/NCVuA8h6zd
daaysH/llUgnlXvMQTcmFu7XkMBCaZzAOHDTQD6Xd4JGmrl1GolsBv+cClG7bFCs
KVXrIuqe1SPQqrY1SR2KimbOVSyYpWN4uvd4U0hEkqDb7qElrK29IJCsejlhdetJ
e1MmW2YlzcvbosOYIJg/Xy03eZ9H8lGA/fXP7/L5dfpvi0upgDn47ecaUgelRZ2d
dM7uMF/WDx+lzTXt2JzGeHYbsJfssgxrewQ/ekSSBW+iPr0hhwUFhEU/uXeCJJak
cA5jvgXBWyv+BjUrgRtzDeZDn2hDlaqk3V6IbGpVw5gFD9AHO8Iimi+vkFH3p2il
Xk9QDC1MW+sIlY9MzTENndK6tWVA3Y1Uh7pWPTpDr9ETBnmTDzEkBvYUYpzTHaE6
zC08MvNDd3sTsvNU3aLuobXN93nmMmTuEkm+q1TU+wo8bp4aZvxM2RGzWBEAhkUC
NjggUzAPKUyk7ycxeMp3aP+6L9v3V25BichPFzmm2vba4j5Z7SmhhaXS2wa5h1fa
DvjI6RY5eUqzyP+w53N557cWUYXrC6x5vF7JrjuAE0w9yX1U8Avu4+a49TmuB9vf
b4TLzhLJSTGy9DSb4OtiuaKCuGyH1H3uN1905afLo37QlXQXIP1TMfzqbqfPiW3L
GXhtPUWD7jVHf2f10LJx
=eRhV
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

___
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#772506: time spent in ffi (via OpenSSL)

2014-12-07 Thread David Douard
After a bit more investigation, the culprit is OpenSSL, in which there is the 
following code 
(in _utils.py which is imported from OpenSSL/__init__.py):

  
  from cryptography.hazmat.bindings.openssl.binding import Binding
  binding = Binding()

and this later Binding() instanciation is the one that takes almost 700ms.


And if we step forward, running:

  import cProfile
  cProfile.run('import OpenSSL', OSSLstats)
  import pstats
  p=pstats.Stats('OSSLstats')
  p.sort_stats('cumulative').print_stats(20)

  Sun Dec  7 23:37:08 2014OSSLstats

 982856 function calls (963898 primitive calls) in 0.927 seconds

   Ordered by: cumulative time
   List reduced from 655 to 20 due to restriction 20

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
10.0000.0000.9270.927 string:1(module)
10.0010.0010.9270.927 __init__.py:6(module)
10.0010.0010.9250.925 rand.py:5(module)
10.0010.0010.9220.922 _util.py:1(module)
10.0000.0000.9200.920 binding.py:88(__init__)
10.0000.0000.9200.920 
binding.py:91(_ensure_ffi_initialized)
10.0000.0000.9200.920 utils.py:23(build_ffi)
10.0000.0000.8620.862 api.py:90(cdef)
10.0000.0000.8620.862 cparser.py:160(parse)
10.0020.0020.8620.862 cparser.py:171(_internal_parse)
10.0000.0000.7880.788 cparser.py:105(_parse)
10.0000.0000.7470.747 c_parser.py:118(parse)
10.0000.0000.7470.747 yacc.py:261(parse)
10.2180.2180.7470.747 yacc.py:873(parseopt_notrack)
150980.0120.0000.1790.000 c_lexer.py:76(token)
150980.0730.0000.1670.000 lex.py:311(token)
 16030.0050.0000.0690.000 cparser.py:238(_parse_decl)
542510.0650.0000.0650.000 {method 'match' of 
'_sre.SRE_Pattern' objects}
 20740.0460.0000.0580.000 c_parser.py:1035(p_pointer)
728960.0380.0000.0580.000 yacc.py:197(__getitem__)


So the time is spent by the _ensure_ffi_initialized class method (of the 
Binding class) which 
ends up by calling parseopt_notrack which is the slow stuff.

It seems that the time is spent parsing C code when executing  

  ffi.cdef(\n.join(cdef_sources)) (in cryptography/hazmat/bindings/utils.py 
+57)




-- 

David DOUARD LOGILAB
Directeur du département Outils  Systèmes

+33 1 45 32 03 12david.dou...@logilab.fr
+33 1 83 64 25 26http://www.logilab.fr/id/david.douard

Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/
attachment: david_douard.vcf

signature.asc
Description: OpenPGP 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] python-chaco is marked for autoremoval from testing

2014-12-07 Thread Debian testing autoremoval watch
python-chaco 4.4.1-1.2 is marked for autoremoval from testing on 2015-01-07

It (build-)depends on packages with these RC bugs:
761140: python-enable: pytimechart fails to start


___
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] python-enable is marked for autoremoval from testing

2014-12-07 Thread Debian testing autoremoval watch
python-enable 4.3.0-1.2 is marked for autoremoval from testing on 2015-01-07

It is affected by these RC bugs:
761140: python-enable: pytimechart fails to start


___
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#767554: python-persistent and python-zodb: error when trying to install together

2014-12-07 Thread Arnaud Fontaine
Hi,

 Arnaud Fontaine wrote (26 Nov 2014 09:03:09 GMT) :
 Really sorry about  that. FTR, I have not uploaded  anything yet because
 the release  team would prefer  to avoid  the Conflicts if  possible and
 make python-zodb depends upon  python-persistent instead. AFAIK, it does
 not seem to be an issue but I have just sent an email to upstream author
 to confirm it's not going to be an issue...

 Any answer from them?

Yes, sorry about  the lag. The upstream said there  should be no problem
for  python-zodb  to  Depends  on  python-persistent  (and  thus  remove
persistent module from python-zodb). Barry:  if that's ok, I will upload
python-persistent  with  the   Breaks/Replaces  and  upload  python-zodb
without persistent module?

Cheers,
-- 
Arnaud Fontaine


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