[Python-modules-team] Bug#895553: sphinx: please make the set object description reproducible

2018-04-12 Thread Chris Lamb
Hi,

> sphinx: please make the set object description reproducible

Please note that I have now updated the patch on my pull request to
address some test failures and rebase it against the latest version
(which may make it suitable for experimental).


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#895553: sphinx: please make the set object description reproducible

2018-04-12 Thread Chris Lamb
forwarded 895553 https://github.com/sphinx-doc/sphinx/pull/4834
thanks

I've forwarded this upstream here:

  https://github.com/sphinx-doc/sphinx/pull/4834


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#895553: sphinx: please make the set object description reproducible

2018-04-12 Thread Chris Lamb
Source: sphinx
Version: 1.6.7-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that sphinx could generates output that is not reproducible.

In particular, the rendering of `set` objects in default arguments
and elsewhere is currently non-determinstic. For example:

class A_Class(object):
a_set = {'a', 'b', 'c'}

Might be rendered as any of:

 {'a', 'b', 'c'}
 {'a', 'c', 'b'}
 {'b', 'a', 'c'}
 {'b', 'c', 'a'}
 {'c', 'a', 'b'}
 {'c', 'b', 'a'}

Patch attached that sorts the contents of sets whilst rendering.
This is parallel to the 'dict' key sorting.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py
index 7042253..774d21a 100644
--- a/sphinx/util/inspect.py
+++ b/sphinx/util/inspect.py
@@ -211,6 +211,10 @@ def object_description(object):
 else:
 items = ("%r: %r" % (key, object[key]) for key in sorted_keys)
 return "{%s}" % ", ".join(items)
+if isinstance(object, set):
+# Sort set contents
+template = "{%s}" if PY3 else "set([%s])"
+return template % ", ".join(repr(x) for x in sorted(object))
 try:
 s = repr(object)
 except Exception:
diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py
index a463f4f..fe85419 100644
--- a/tests/test_util_inspect.py
+++ b/tests/test_util_inspect.py
@@ -138,6 +138,14 @@ class TestObjectDescription(TestCase):
 description = inspect.object_description(dictionary)
 assert description == "{'a': 1, 'b': 4, 'c': 3, 'd': 2}"
 
+def test_set_sorting(self):
+set_ = set("gfedcba")
+description = inspect.object_description(set_)
+if PY3:
+assert description == "{'a', 'b', 'c', 'd', 'e', 'f', 'g'}"
+else:
+assert description == "set(['a', 'b', 'c', 'd', 'e', 'f', 'g'])"
+
 def test_dict_customtype(self):
 class CustomType(object):
 def __init__(self, value):
___
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#895269: vcr.py: please make the build reproducible

2018-04-09 Thread Chris Lamb
forwarded 895269 https://github.com/kevin1024/vcrpy/pull/350
thanks

I've forwarded this upstream here:

  https://github.com/kevin1024/vcrpy/pull/350


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#895269: vcr.py: please make the build reproducible

2018-04-09 Thread Chris Lamb
Source: vcr.py
Version: 1.11.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that vcr.py could not be built reproducibly. This is due to the
documentation containing the current absolute buildpath via Python
default arguments.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible-build.patch   2018-04-09 09:07:23.797126437 
+0100
@@ -0,0 +1,23 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2018-04-09
+
+--- vcr.py-1.11.1.orig/vcr/cassette.py
 vcr.py-1.11.1/vcr/cassette.py
+@@ -174,13 +174,13 @@ class Cassette(object):
+ def use(cls, **kwargs):
+ return CassetteContextDecorator.from_args(cls, **kwargs)
+ 
+-def __init__(self, path, serializer=yamlserializer, 
persister=FilesystemPersister, record_mode='once',
++def __init__(self, path, serializer=None, persister=None, 
record_mode='once',
+  match_on=(uri, method), before_record_request=None,
+  before_record_response=None, custom_patches=(),
+  inject=False):
+-self._persister = persister
++self._persister = persister or FilesystemPersister
+ self._path = path
+-self._serializer = serializer
++self._serializer = serializer or yamlserializer
+ self._match_on = match_on
+ self._before_record_request = before_record_request or (lambda x: x)
+ self._before_record_response = before_record_response or (lambda x: x)
--- a/debian/patches/series 2018-04-09 08:37:27.191583589 +0100
--- b/debian/patches/series 2018-04-09 09:07:22.725120692 +0100
@@ -1 +1,2 @@
 remove-privacy-breach-urls.patch
+reproducible-build.patch
___
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] Accepted python-django 2:2.0.4-1 (source all) into experimental

2018-04-03 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 03 Apr 2018 09:29:46 +0100
Source: python-django
Binary: python3-django python-django-doc
Built-For-Profiles: nocheck
Architecture: source all
Version: 2:2.0.4-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (2:2.0.4-1) experimental; urgency=medium
 .
   * New upstream bugfix release
 <https://docs.djangoproject.com/en/2.0/releases/2.0.4/>.
   * Update Vcs-Git and Vcs-Browser to salsa.
   * Bump debhelper compatibility level to 11.
   * Drop debian/python-django-doc.examples.
Checksums-Sha1:
 1ef34ca1e8595087a7d3cfd964bbefc107e7a8e5 2692 python-django_2.0.4-1.dsc
 a90956b79d4412820d20ee0e50b255b8fceac8ec 8017145 
python-django_2.0.4.orig.tar.gz
 64ddb8b14395758df5830baaa2e5b154a0f2d61e 23088 
python-django_2.0.4-1.debian.tar.xz
 184163f50e04cfee227f8b5e19a75b04b04eb086 2600764 
python-django-doc_2.0.4-1_all.deb
 0257cfa15e6faf5be2444ce390ecb7492c1c5643 7380 
python-django_2.0.4-1_amd64.buildinfo
 e867eb2b5de108709280fb7902b25430dbf87ebd 2473096 python3-django_2.0.4-1_all.deb
Checksums-Sha256:
 e23606c317f7ed070bbbd9b0704fa197531a05c128da093a204bdb5e2e9697b8 2692 
python-django_2.0.4-1.dsc
 d81a1652963c81488e709729a80b510394050e312f386037f26b54912a3a10d0 8017145 
python-django_2.0.4.orig.tar.gz
 ec082860a781c3fe30976dc6376588954f981c3f7155245c3daf6da2fe3ef8f6 23088 
python-django_2.0.4-1.debian.tar.xz
 3a00d6180d33a9f79444a4a17bcd3547abe9af6ea032324910d0c5a1299d3112 2600764 
python-django-doc_2.0.4-1_all.deb
 4a1870e220059d9353e93ef95b7a98d83afbb1da018c883fff61fa6404e57f47 7380 
python-django_2.0.4-1_amd64.buildinfo
 cc69c80392ac8e542ff924791ef976f408d3a67e119852fcd9a4630cb87ba51b 2473096 
python3-django_2.0.4-1_all.deb
Files:
 674e9eec46d96130a14eec73089945aa 2692 python optional python-django_2.0.4-1.dsc
 9d4c555b798406361521dcf282f6638a 8017145 python optional 
python-django_2.0.4.orig.tar.gz
 63b1f7bd65a210e8a6875d93511cfbfc 23088 python optional 
python-django_2.0.4-1.debian.tar.xz
 322f6492866dcffbc84596fed22d5d4c 2600764 doc optional 
python-django-doc_2.0.4-1_all.deb
 b9f2beb66b01563e0a09e14708ad98b1 7380 python optional 
python-django_2.0.4-1_amd64.buildinfo
 e6c08a9750a084f1f67816d2133f43ff 2473096 python optional 
python3-django_2.0.4-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlrDPUwACgkQHpU+J9Qx
HlgfGA/9HUoH52jPO4pFc6on8Wt0za0E4Ufmvi+iOeXVTY3XAWZ6iljZAawf/xNI
wEAylfABANweq6mJ8YWziBNfk29E6tcQ2ZTWlmRmJbY00M5RJsJWJNAEIMQXg3pp
VoYp9DtWbaB2qGggf34B+FGtMfr0e0mDRPNUZgMyyDGf+IIFDvvSdql/ofyLq9bw
Mr8MzZJLEf9NbPdCMouHEPTJbkdt/2p9vzVxaTdajxJ194PKJDNcZcaPdE86Zkpe
2y/97eF/ij2UpUOpJBvmVmmIUdrx1FFGkR6HoM14R2JBOUpaw8Gjm5K31zAnlQ40
yAhaXZEm4I73omiqjZ8Bf9HNO5b13h0bBWSibTvzHDUcgSAYTqKcoMTK+kEeiHhH
rIOD5HneSCb7mi8uzwzLY/vignUwyHTKUzGT/lryP8uWh6pF/EU7647N7lVkAqOl
mOtoeNamCTjSEhZNu+BoyFtesmic/AejzZy0BPaSwO+VGDh56Ks3KfItSjYlsWLo
/g6qGSuVJetbxE1zwjMsTJgtUUab2/igI959CXnpIW2WbFbvAxRCKfz6qGuvJAAr
97hURs6UKe71NMpoyrYxFiY8VhpwENURVQ9ALfOFcp2525sDl5wo1t17tSVPrMss
8hDkaNTuhYMzh3Grsyuk8gftOeLPnXw/p3/8CDeAlji69Faun5s=
=wvWR
-END 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] Accepted python-django 1:1.11.12-1 (source all) into unstable

2018-04-03 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 03 Apr 2018 09:51:51 +0100
Source: python-django
Binary: python-django python-django-common python-django-doc python3-django
Built-For-Profiles: nocheck
Architecture: source all
Version: 1:1.11.12-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django - High-level Python web development framework (Python 2 version)
 python-django-common - High-level Python web development framework (common)
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (1:1.11.12-1) unstable; urgency=medium
 .
   * New upstream bugfix release
 <https://docs.djangoproject.com/en/2.0/releases/1.11.12/>.
   * Bump debhelper compatibility level to 11.
   * Drop debian/python-django-doc.examples.
   * python-django-doc.doc-base: Update locations of documentation files as they
 are installed to /usr/share/doc/python-django, not [...]/python-django-doc.
Checksums-Sha1:
 d128ad68fc1c731f65ea3b04b54104f7c7f4aeab 3160 python-django_1.11.12-1.dsc
 2267e052b1be81a61421d2f607a164ad486b56c9 7882396 
python-django_1.11.12.orig.tar.gz
 d09e3b37268023920e35964bb165794071dd9115 24208 
python-django_1.11.12-1.debian.tar.xz
 522a39a78b2e214423910f4082bf8104a18e1863 1535540 
python-django-common_1.11.12-1_all.deb
 9061be9204576bfa3e6f6a47357a802b2225d3e0 2605660 
python-django-doc_1.11.12-1_all.deb
 78a8f1c8cd25016a891fe67b0c239af1fef44dbb 914140 python-django_1.11.12-1_all.deb
 3fbeb5388f5864f35d4e2f1ee82e610bed269de5 8191 
python-django_1.11.12-1_amd64.buildinfo
 7d059ed29688a1b783f5012c698bc20abe7a85cd 913712 
python3-django_1.11.12-1_all.deb
Checksums-Sha256:
 a59dec278ee8eb1adc16b2481a494081d899f0aced9a7be5bf9261de5be56cac 3160 
python-django_1.11.12-1.dsc
 4d398c7b02761e234bbde490aea13ea94cb539ceeb72805b72303f348682f2eb 7882396 
python-django_1.11.12.orig.tar.gz
 461af0698e85296411f37ec6c16ead5c8dcd67aaf2d43a6d261d097a51f680ed 24208 
python-django_1.11.12-1.debian.tar.xz
 7880661944bef49af72444be37515a7c66c70172373a4c4bedb269890ba3b5f4 1535540 
python-django-common_1.11.12-1_all.deb
 862618e6823a895aa40ea164918fe089fb8d35a072af0d3aa9b69861c8b5d5e3 2605660 
python-django-doc_1.11.12-1_all.deb
 d633065467ef23eda987c0dbccc43fecebee41b600fbb90ad6a36b4d90be27a4 914140 
python-django_1.11.12-1_all.deb
 6db86c15074c56e13f1b1e558c971566454533222eae8531e08d923cca08c60f 8191 
python-django_1.11.12-1_amd64.buildinfo
 1ffa89496f4a8f2dda20ce124298be74f1b511a9f483fd1c13b422542ac4ff10 913712 
python3-django_1.11.12-1_all.deb
Files:
 e20aa4af66a2eeed6d1afdb58774080c 3160 python optional 
python-django_1.11.12-1.dsc
 af669c68c00382780c05d0e7a77b0d48 7882396 python optional 
python-django_1.11.12.orig.tar.gz
 71db96c2d8b8af7447cac16115102ae1 24208 python optional 
python-django_1.11.12-1.debian.tar.xz
 8370090fbd675360649abc5e1a4e8fdf 1535540 python optional 
python-django-common_1.11.12-1_all.deb
 3e463b355200b0d253ddf519c6621640 2605660 doc optional 
python-django-doc_1.11.12-1_all.deb
 6d70044635b401466fe3aef9f0a1ccd1 914140 python optional 
python-django_1.11.12-1_all.deb
 b4a35004a0a451e4b5293f9bf8216559 8191 python optional 
python-django_1.11.12-1_amd64.buildinfo
 13be26aeba221f12dd7030e7f7fa35ff 913712 python optional 
python3-django_1.11.12-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlrDQesACgkQHpU+J9Qx
HljL9A//U4S1sAzroVnUEqmgrFwls0Zil38ma0hO5Sn91MP/38eWFZ1cKmStAVWQ
lcDX+8I3sKS0TfemKjDxDRGoxdWlnKFi2LP4VIKdAgC3RIToebnyPe8B1ptweGpp
j2tLSKZyQjwiF4Ex4mbbFLI+Waw75OXOB6qB3gpu6bjAKerQY7qHJtnGTepVkbVX
ttE4SVS4NGCPwyWqLi5I1TcbCjViAYRih4VihioOo9T6UszkIih36m+/918ME/oM
Xi0dfUJ+iALyvchCGSYMAfylDmC5598GEy6NTPyP42t2c375oWLxWZlgwQuyslzI
2qSL1igfKU3MdjosJY8cLxuHKsISEK7WBvwxB0uX/wWYqSv62CIqOp5OP6UbGdR/
Vyqhnfs5dfMF/BzswapXkYDmy8rsBYkhO7+VKi4c9Kg3SKoyrWwSFDWwJc/3M2cu
th4IXecZvRj+CyuMcPoH6QfrT8tnUF1Ir1xuJymdxl9JQL3YCxAxLZnGTzeFRkRK
GUD27ztK7DIkWJTAdq5eanbCiYw132lgO3Y+8KOSxbKwBeyWq89wiXCRVOgfCvXn
XxEhN2U5WSmbd3ikYNrGCkHkSV0BaIxZ+wfSK+VY6HWwn6kknCAc51jmj+A5NRL4
yT7i39yLMpf6SUdLrL/l5ic30wgJgM3crWfoa+khJmHEiHkb3ws=
=56WL
-END 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#894466: python-fisx: please make the build reproducible

2018-03-30 Thread Chris Lamb
Source: python-fisx
Version: 1.1.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-fisx could not be built reproducibly as it includes
the build path in the definition of FISX_DOC_DIR in DataDir.py:

│ │ │ ├── ./usr/lib/python2.7/dist-packages/fisx/DataDir.py
│ │ │ │ @@ -25,15 +25,15 @@
│ │ │ │  # THE SOFTWARE.
│ │ │ │  #
│ │ │ │  
#*/
│ │ │ │  import os
│ │ │ │  # this will be filled by the setup
│ │ │ │  FISX_DATA_DIR = r'/usr/share/fisx/'
│ │ │ │  # this is to be filled by the setup
│ │ │ │ -FISX_DOC_DIR = 
r'/build/1st/python-fisx-1.1.4/debian/python-fisx/usr/lib/python2.7/dist-packages/fisx/fisx_data'
│ │ │ │ +FISX_DOC_DIR = 
r'/build/python-fisx-1.1.4/2nd/debian/python-fisx/usr/lib/python2.7/dist-packages/fisx/fisx_data'


Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2018-03-30 15:56:57.061589875 +0100
--- b/debian/rules  2018-03-30 17:59:24.106202503 +0100
@@ -4,7 +4,8 @@
 export PYBUILD_VERBOSE=1
 
 export WITH_CYTHON=1
-export FISX_DATA_DIR=/usr/share/fisx/
+export FISX_DATA_DIR=/usr/share/fisx
+export FISX_DOC_DIR=/usr/share/doc/python-fisx-common
 export PKGCOMMON=$(CURDIR)/debian/python-fisx-common/
 
 export PYBUILD_NAME=fisx
@@ -27,4 +28,4 @@
rm -f $(PKGCOMMON)/$(FISX_DATA_DIR)/LICENSE
 
 override_dh_auto_test:
-   FISX_DATA_DIR=$(CURDIR)/fisx_data dh_auto_test
+   FISX_DATA_DIR=$(CURDIR)/fisx_data FISX_DOC_DIR=$(CURDIR)/fisx_data 
dh_auto_test
___
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#893611: rpyc: please make the build reproducible

2018-03-20 Thread Chris Lamb
Source: rpyc
Version: 3.4.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that rpyc could not be built reproducibly as it renders documentation
based on non-determinstic dict/set ordering.

Patch attached.


 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0006-reproducible-build.patch  1969-12-31 
19:00:00.0 -0500
--- b/debian/patches/0006-reproducible-build.patch  2018-03-20 
08:50:04.883372778 -0400
@@ -0,0 +1,30 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2018-03-20
+
+--- rpyc-3.4.4.orig/rpyc/core/protocol.py
 rpyc-3.4.4/rpyc/core/protocol.py
+@@ -7,6 +7,7 @@ import itertools
+ import socket
+ import time
+ import gc
++import collections
+ 
+ from threading import Lock, RLock, Event, Thread
+ from rpyc.lib.compat import pickle, next, is_py3k, maxint, select_error
+@@ -18,13 +19,13 @@ class PingError(Exception):
+ """The exception raised should :func:`Connection.ping` fail"""
+ pass
+ 
+-DEFAULT_CONFIG = dict(
++DEFAULT_CONFIG = collections.OrderedDict(
+ # ATTRIBUTES
+ allow_safe_attrs = True,
+ allow_exposed_attrs = True,
+ allow_public_attrs = False,
+ allow_all_attrs = False,
+-safe_attrs = set(['__abs__', '__add__', '__and__', '__bool__', '__cmp__', 
'__contains__',
++safe_attrs = (['__abs__', '__add__', '__and__', '__bool__', '__cmp__', 
'__contains__',
+ '__delitem__', '__delslice__', '__div__', '__divmod__', '__doc__',
+ '__eq__', '__float__', '__floordiv__', '__ge__', '__getitem__',
+ '__getslice__', '__gt__', '__hash__', '__hex__', '__iadd__', 
'__iand__',
--- a/debian/patches/series 2018-03-20 08:37:44.615218463 -0400
--- b/debian/patches/series 2018-03-20 08:44:06.650721192 -0400
@@ -1,2 +1,3 @@
 0002-skip-SSH-tests-Test_Ssh-and-Test_Deploy.patch
 0005-connect-client-and-server-IP-in-TestUdpRegistry.patch
+0006-reproducible-build.patch
___
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#892565: codespell: please make the build reproducible

2018-03-10 Thread Chris Lamb
Source: codespell
Version: 1.11.0-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that codespell could not be built reproducibly as it includes the
absolute build path in the "default dictionary" part of the
generated manpage:

│ │ │ │ │  .TP
│ │ │ │ │  \fB\-D\fR FILE, \fB\-\-dictionary\fR=\fI\,FILE\/\fR
│ │ │ │ │  Custom dictionary file that contains spelling
│ │ │ │ │  corrections. If this flag is not specified or equals
│ │ │ │ │ -"\-" then default dictionary "/build/1st/codespell\-1.12
│ │ │ │ │ -\&.0/codespell_lib/data/dictionary.txt" is used. This
│ │ │ │ │ +"\-" then default dictionary "/build/codespell\-1.12.0/2
│ │ │ │ │ +nd/codespell_lib/data/dictionary.txt" is used. This
│ │ │ │ │  option can be specified multiple times.
│ │ │ │ │  .TP

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1969-12-31 16:00:00.0 
-0800
--- b/debian/patches/reproducible-build.patch   2018-03-10 09:43:10.436994091 
-0800
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2018-03-10
+
+--- codespell-1.11.0.orig/codespell_lib/_codespell.py
 codespell-1.11.0/codespell_lib/_codespell.py
+@@ -220,9 +220,8 @@ def parse_options(args):
+   action='append', metavar='FILE',
+   help='Custom dictionary file that contains spelling '
+'corrections. If this flag is not specified or '
+-   'equals "-" then default dictionary "%s" is used. '
+-   'This option can be specified multiple times.' %
+-  default_dictionary)
++   'equals "-" then the default dictionary is used. '
++   'This option can be specified multiple times.')
+ parser.add_option('-I', '--ignore-words',
+   action='append', metavar='FILE',
+   help='File that contains words which will be ignored '
--- a/debian/patches/series 2018-03-10 09:37:33.683246368 -0800
--- b/debian/patches/series 2018-03-10 09:43:08.340983180 -0800
@@ -0,0 +1 @@
+reproducible-build.patch
___
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] Accepted python-django 2:2.0.3-1 (source all) into experimental

2018-03-09 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 06 Mar 2018 22:19:24 -0800
Source: python-django
Binary: python3-django python-django-doc
Built-For-Profiles: nocheck
Architecture: source all
Version: 2:2.0.3-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (2:2.0.3-1) experimental; urgency=medium
 .
   * New upstream security release:
 - CVE-2018-7536: Denial-of-service possibility in urlize and urlizetrunc
   template filters.
 - CVE-2018-7537: Denial-of-service possibility in truncatechars_html and
   truncatewords_html template filters
Checksums-Sha1:
 5ff351d28d312853c425f8d433caa407dfe4ef0b 2716 python-django_2.0.3-1.dsc
 52e0d317a5dcc8fa89f1ae143eff093d83b98d1d 8114604 
python-django_2.0.3.orig.tar.gz
 62d6e9609f7ae21f927dd72d874f3b581fe9899d 23092 
python-django_2.0.3-1.debian.tar.xz
 7eda8df8105faeeaa85b4aeede71eebe7201f9c6 2598656 
python-django-doc_2.0.3-1_all.deb
 eb6e6efc7b03e70a4a6d4e0b13e7ade5ff4f 7372 
python-django_2.0.3-1_amd64.buildinfo
 8e95b5b3992c733adbf231c595d962467ffb4c88 2473696 python3-django_2.0.3-1_all.deb
Checksums-Sha256:
 07bfb564c89a4c5b47ab33b890f49f13c910d9c265ef8564cc7181dfc0b2a332 2716 
python-django_2.0.3-1.dsc
 769f212ffd5762f72c764fa648fca3b7f7dd4ec27407198b68e7c4abf4609fd0 8114604 
python-django_2.0.3.orig.tar.gz
 3614f4f4c6bee13fafc145213bdd9d6299d7f7ac4b4141c8d8e87b8ebd5013bb 23092 
python-django_2.0.3-1.debian.tar.xz
 266c7420b0bb9bb79ce53e03602befdf6477af4d253f8ca5be1ee5b1940a51f6 2598656 
python-django-doc_2.0.3-1_all.deb
 3f7c948e98cb54ea17b9396d820f2ee57a17158df39ba7daaf66b138500024e2 7372 
python-django_2.0.3-1_amd64.buildinfo
 72804a8d63ae7bace29dce6ad585ebe5b5e1b3cd643e7be6072d69946cef4b96 2473696 
python3-django_2.0.3-1_all.deb
Files:
 a49edb47a135f2a90ad177d1c04f289f 2716 python optional python-django_2.0.3-1.dsc
 ef1a31d367cfe0a26af351c7ebbe 8114604 python optional 
python-django_2.0.3.orig.tar.gz
 99632dc29cfe3f3b84716b0b492400d1 23092 python optional 
python-django_2.0.3-1.debian.tar.xz
 4f3231bd9931f70b6f18b20a99f697e9 2598656 doc optional 
python-django-doc_2.0.3-1_all.deb
 a3dec95c21f0d5ef2e3a2655e8cac12e 7372 python optional 
python-django_2.0.3-1_amd64.buildinfo
 1772afea85c77d03d4ec9f4fb9611083 2473696 python optional 
python3-django_2.0.3-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlqfhnYACgkQHpU+J9Qx
HlgQNw//VT+U1Qjk8UqYqlNtT3O29k4nEilmuQETJuNIFNLEicG1meVZIK6WZzaf
YQnznNsCCZmh7ymzYqlWNOja6wRUhlDzPt3GnilgKK+0WITJaCRHmIteV0tIebI4
KirCtReo4yRxly0SvWMOy4JJgBEbZfsKhkbiOobfAkI6MAYoWoIZRx4IrEuTfsvL
2BC79qL086YV02gs2AeALSkGmhGowLn5R9UvIui8yrPIYdFmrhv95QMgFCQ2MesD
+PokKum+NkGC7InDypyBNvKKrtViIAM64GrV8yfKpI294M6CsLfKNpK6XNRIi1gj
2n6Ooc9stCfUcCxu3G/SCS7eh2veZLDOoXPfdv1B+btAEMyZTGiHw4La1RrKfY9P
mlsNLfTFJDu7V6fVlVgGK3kJ9BMe4xqzpGJutkb3yqJ1nJx3ei1nJfgLVZyC3eo1
1G4OFV9eXVR3OfJIfwak2iqtWSw7f8Dy9pLeE4bfeVKRY1XN5v4WGjhm2x2izcwV
rA68ObHZA1FpogXcqakagKnkcB6wDJnAoUveLVnYFmrEQnc1wIctW6V12OryQkyX
chEJAeuC/sl5JBg/C/tPoj3D3N4ZVzC7Oe6AEmWYHkoFmi9rsniqFabhS2JOOzK3
jqnTwxPLeZIk/x0NsJng5Woz+Z6w3mRMCm5nGMwfaZHMCs2LrDI=
=lrNb
-END 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] Accepted python-django 1:1.11.11-1 (source all) into unstable

2018-03-09 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Tue, 06 Mar 2018 22:44:12 -0800
Source: python-django
Binary: python-django python-django-common python-django-doc python3-django
Built-For-Profiles: nocheck
Architecture: source all
Version: 1:1.11.11-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django - High-level Python web development framework (Python 2 version)
 python-django-common - High-level Python web development framework (common)
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (1:1.11.11-1) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * New upstream security release:
 - CVE-2018-7536: Denial-of-service possibility in urlize and urlizetrunc
   template filters.
 - CVE-2018-7537: Denial-of-service possibility in truncatechars_html and
   truncatewords_html template filters
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
Checksums-Sha1:
 822723a2e2b241025f95a36b861fe00ffa2a74f2 3159 python-django_1.11.11-1.dsc
 f46c6bb21bc03766eae54206a3c1109a18174351 7961491 
python-django_1.11.11.orig.tar.gz
 0392d4ca8db7412ffa5de2c39fd6487c56ecb1f1 24152 
python-django_1.11.11-1.debian.tar.xz
 81ee7f791098cb401003a7a2a4dc5f71689b0535 1534856 
python-django-common_1.11.11-1_all.deb
 cd80fa16d2a416a12da28d5653cedc15e446cbaa 2604024 
python-django-doc_1.11.11-1_all.deb
 eceee35a5f6ffa3c772cc5f2c9d7065876e0d164 913740 python-django_1.11.11-1_all.deb
 29848c22ea71a6a0ab32538fc12e7f594006744f 8183 
python-django_1.11.11-1_amd64.buildinfo
 95e41239b0c5fb47ca6e82a58af112343fc628fc 913700 
python3-django_1.11.11-1_all.deb
Checksums-Sha256:
 602c58075d52df445f7f6898232cc5e34a286587a47a080088c742df271faae9 3159 
python-django_1.11.11-1.dsc
 74077d7309b48b97dacdac2dfb35c968028becf00a7a684e7f29b2af1b980edc 7961491 
python-django_1.11.11.orig.tar.gz
 8a566fe857ce4555b28045153699f500100bdd04c1b7c8b7dc8bbb1c16477534 24152 
python-django_1.11.11-1.debian.tar.xz
 f667eefe659385394ed1fd1e70e7ed4b902ecff982b5aeaeacfe459ac3b86b06 1534856 
python-django-common_1.11.11-1_all.deb
 a7a826325ad886dbbe4934f33de61a654b6a98076e1380ea678f406c483ac98e 2604024 
python-django-doc_1.11.11-1_all.deb
 087ea63f2ecc0c3c2723ea5f56b4effa9fc58b46054159917fdd372b47d6558d 913740 
python-django_1.11.11-1_all.deb
 d17d9d84a9f0d4ffcfb36099cd56b0faa21a9d4c2ff402e73e7405ae0e34416c 8183 
python-django_1.11.11-1_amd64.buildinfo
 c958496dd4cfee1fe6af15526936e9876ec0404683ff0530449b837822d3ae3a 913700 
python3-django_1.11.11-1_all.deb
Files:
 423b0ab4fe5a726c7a9ff85f53ff4c91 3159 python optional 
python-django_1.11.11-1.dsc
 f57c1946db67fe15a5c35166235d0c37 7961491 python optional 
python-django_1.11.11.orig.tar.gz
 bea23e3bf71a4bf7fab4df53e73a3b84 24152 python optional 
python-django_1.11.11-1.debian.tar.xz
 41a11d63952c6ab4abc380b8edf341ca 1534856 python optional 
python-django-common_1.11.11-1_all.deb
 ebccc712634d88be09b8a0a56c69f578 2604024 doc optional 
python-django-doc_1.11.11-1_all.deb
 0884b0b0807e0c5a00b5368dcaed401a 913740 python optional 
python-django_1.11.11-1_all.deb
 a7198875bf4156d721f69d2fe927eacf 8183 python optional 
python-django_1.11.11-1_amd64.buildinfo
 a704f04ee7190a040dd7778fdb91b242 913700 python optional 
python3-django_1.11.11-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlqfkD8ACgkQHpU+J9Qx
Hli+Ww/9HPjjQHSTkEsmMhnnPikIsHRiysH2WefC42Jxzp2O5nGv5XsYoYEaU5QT
sJf/6uUthCeG3Y8I63omHMuIcqKyQOLjm+xHtI2SpJhAGTbZeDL67159EKS670kN
Ls4TRyvojpGd+ClBpC8c0IyMJBjnpCy8QffTdBvtjQNuHeQO5oYSigTNuY0mSv4d
hY7MoyDgOE1+uYwK2q/P/N4nbQebrHXo/FYifFsHRFBbn6bvRzMoXuIWad68bSQD
Fe6hTr/2RusF1ebewNTRE1tCo7EgKisjX6F8kb4gARVLt/1RelnEq9whpHsjzwm7
bYC7PQw0V2njBPToxI+NAhmrD70zQbMlASW+cV+rMSLC9dYWclLsVFPIlfVndZRa
Smrj5BHxOtHJAqH1RrnShZREfCCDwBys25SwUBIrLY7cvYAhTZ4OVeRbNyLdnqKh
tLzQSGxjy8yaFTjvmeMDx1TlKKUvgjiLlw7Y5Qi5hvzxZaKR1KIGuxBLEz/khjW8
WujxpBz4lbxWsSZcuS3CEpSOdQxFE+sBiSaCFz61pM3GjONNtS9ylrdQ8oEIRZ5V
JmWiFnioh21ffb0qHCVPr5LmZKQHXy4beEWptH2X9or397j6MjKgO+NkX49OX6Dz
mnyWLUrzWH/NY6sGCcSd+viU8YhvqiCHWfLawA0uGzY6jjcOUs4=
=FHS6
-END 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#890738: pydispatcher: please make the build reproducible

2018-02-18 Thread Chris Lamb
Source: pydispatcher
Version: 2.0.5-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that pydispatcher could not be built reproducibly.

This is because the docs contain absolute build paths. A hacky
patch is attached; pydoc seems so ancient/weird it seems a little
pointless to fix itself..

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2018-02-18 08:53:16.027137593 +
--- b/debian/rules  2018-02-18 09:30:30.594838706 +
@@ -7,6 +7,7 @@
 
 override_dh_installdocs:
cd docs/pydoc && PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=../.. 
./builddocs.py
+   find docs/pydoc -type f -name '*.html' -print0 | xargs -0r sed -i -e 
's@.*__file__.*@@g' -e 's@.*__path__.*@@g' -e 's@http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Accepted sleekxmpp 1.3.3-3 (source all) into unstable

2018-02-12 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Sun, 11 Feb 2018 21:48:17 +
Source: sleekxmpp
Binary: python-sleekxmpp python3-sleekxmpp
Architecture: source all
Version: 1.3.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-sleekxmpp - XMPP (Jabber) Library Implementing Everything as a Plugin 
(Python
 python3-sleekxmpp - XMPP (Jabber) Library Implementing Everything as a Plugin 
(Python
Closes: 890193
Changes:
 sleekxmpp (1.3.3-3) unstable; urgency=medium
 .
   * Add patch to make the build reproducible. (Closes: #890193)
   * Refresh patches with pq import -> pq export.
   * Add myself to Uploaders.
   * debian/control:
 - Update Homepage in debian/control.
 - Make the short and long descriptions unique.
   * debian/copyright:
 - Remove reference to sleekxmpp/thirdparty/ordereddict.py (and associated
   "License:" paragraph) in debian/copyright as we remove this file.
 - Use HTTPS "Format:" URI in debian/copyright.
   * Move to debhelper compat level 11.
Checksums-Sha1:
 39dc83aed2001dc247b8734e35f8ad54697116b6 2279 sleekxmpp_1.3.3-3.dsc
 835ba93cc28402744c91e50fac71439ee12ab4c5 23444 sleekxmpp_1.3.3-3.debian.tar.xz
 fb73c17f182456b9cb7fbb3d18d7e551ace0e952 902904 
python-sleekxmpp_1.3.3-3_all.deb
 0584c3eefef94b741d6dafb1de9ac852f43b6440 902992 
python3-sleekxmpp_1.3.3-3_all.deb
 640a960f7574893929b0173f14d0262f617ea2d7 8316 sleekxmpp_1.3.3-3_amd64.buildinfo
Checksums-Sha256:
 93a13d9c6be986952381fe22deeb490311da1ae01bc9198875640e4abe40eee6 2279 
sleekxmpp_1.3.3-3.dsc
 069c5df920dd69098824236bf1a3a6331d5babb3b9a3a01faa60572a6e829aa0 23444 
sleekxmpp_1.3.3-3.debian.tar.xz
 6d78d0a21ce53f30f4d84a70b41b54c10525a173378ce2728699be0d1596a780 902904 
python-sleekxmpp_1.3.3-3_all.deb
 68d19274ea53014c0f2e4f6294b1347760ec0938a8d759b7f9464d915d58e53f 902992 
python3-sleekxmpp_1.3.3-3_all.deb
 8e1b2186d7eb0074b20144feefa73bd69e4eced8856da6a6aa362b19d1b2e395 8316 
sleekxmpp_1.3.3-3_amd64.buildinfo
Files:
 eaac6e7eed57e9331e6add2f99589f51 2279 python optional sleekxmpp_1.3.3-3.dsc
 388489c7f9dfe11b43f4a6b3a9111764 23444 python optional 
sleekxmpp_1.3.3-3.debian.tar.xz
 608c9305e3aa5015f37d0d24e44beac0 902904 python optional 
python-sleekxmpp_1.3.3-3_all.deb
 7741e83ff55bd95eb0e6c1a5337d36ba 902992 python optional 
python3-sleekxmpp_1.3.3-3_all.deb
 1426970a5bc4d6ee3cc6272b6ffd3919 8316 python optional 
sleekxmpp_1.3.3-3_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlqAvFMACgkQHpU+J9Qx
Hlhcog/7BkqP5FfiKZkR1yHLzM0fooZxATYh80Qi1Zg5KoNHMzKg7ErruLCEcpa7
1dVU0WUUQN2MvSP9YFPZ1qeXuNcf8682HjU8R4aHMc3NGFdTgeXi7OD4IcDOHWlO
s2k6jWOU7h5GIB7wuw7/viksrsb8n/fk9qnTJvfiYwPs06gIwq38uowrlwZc0MB7
4bjaO87aT3CtKyNSjuJpVW3Z0VZs/fvXAuxRAtod8d6j4t4OYN2/W19bb4y6+0wW
6ZPzesUOWyRkx6nvS3law4VwZTMuL5TXFGRA/0KT7Vdeg2ErpiOjQhHwIWU6ceRD
bTV8SaaTcF0ULy3cWMQKq6D3mP67+pyzh34pXm4TFbKZe51BMEluPrBfEv2rtLPU
2wgVgL3DUWQh+9n2WqDmP1x5lwme9eebYxyqgqmUqqA0YjswqIL6I9fwtj9x7tDZ
HeR3FZ1LSWog4m1aLjMAgff5/xOzVrqcfV5fvBD/NswL+heLsH1MSO6ATzuib7L8
LN7jCUpZiiM7lDXaFvIhOIgzJ3GUC7AMMvbq9Rl4m7gN3KPOlCf2igH3KZbpKpkm
9eNyKSm7fli8NF1Doep+woAAk1248adwfT0uLzCj6AFoLWvvXeGTm6TOnno+sytz
05LcbHztx3YiAVke+OuTrBzhJr7sOG+mOA5qTBK5xmwrRorB9uE=
=dbn5
-END 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#890193: sleekxmpp: please make the build reproducible

2018-02-12 Thread Chris Lamb
Hi Martin,

> > Ah, of course. Pushed … and uploaded :)
> 
> And you even did some more of house-keeping! Thanks!

Pleasure :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#890193: sleekxmpp: please make the build reproducible

2018-02-11 Thread Chris Lamb
tags 890193 + pending
thanks

Hi Martin,

> Thanks! Please feel free to commit directly in:
> https://salsa.debian.org/python-team/modules/sleekxmpp

Ah, of course. Pushed … and uploaded :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#890193: sleekxmpp: please make the build reproducible

2018-02-11 Thread Chris Lamb
Source: sleekxmpp
Version: 1.3.3-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that sleekxmpp could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible_build.patch   2018-02-11 18:37:46.173221589 
+
@@ -0,0 +1,45 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2018-02-11
+
+--- sleekxmpp-1.3.3.orig/sleekxmpp/xmlstream/stanzabase.py
 sleekxmpp-1.3.3/sleekxmpp/xmlstream/stanzabase.py
+@@ -316,7 +316,7 @@ class ElementBase(object):
+ #: manipulating the underlying XML object. This set may be augmented
+ #: with the :attr:`plugin_attrib` value of any registered
+ #: stanza plugins.
+-interfaces = set(('type', 'to', 'from', 'id', 'payload'))
++interfaces = None
+ 
+ #: A subset of :attr:`interfaces` which maps interfaces to direct
+ #: subelements of the underlying XML object. Using this set, the text
+@@ -404,6 +404,9 @@ class ElementBase(object):
+ def __init__(self, xml=None, parent=None):
+ self._index = 0
+ 
++if self.interfaces is None:
++self.interfaces = set(('type', 'to', 'from', 'id', 'payload'))
++
+ #: The underlying XML object for the stanza. It is a standard
+ #: :class:`xml.etree.cElementTree` object.
+ self.xml = xml
+@@ -1462,13 +1465,17 @@ class StanzaBase(ElementBase):
+ #: There is a small set of attributes which apply to all XMPP stanzas:
+ #: the stanza type, the to and from JIDs, the stanza ID, and, especially
+ #: in the case of an Iq stanza, a payload.
+-interfaces = set(('type', 'to', 'from', 'id', 'payload'))
++interfaces = None
+ 
+ #: A basic set of allowed values for the ``'type'`` interface.
+-types = set(('get', 'set', 'error', None, 'unavailable', 'normal', 
'chat'))
++types = None
+ 
+ def __init__(self, stream=None, xml=None, stype=None,
+  sto=None, sfrom=None, sid=None, parent=None):
++if self.interfaces is None:
++self.interfaces = set(('type', 'to', 'from', 'id', 'payload'))
++if self.types is None:
++self.types = set(('get', 'set', 'error', None, 'unavailable', 
'normal', 'chat'))
+ self.stream = stream
+ if stream is not None:
+ self.namespace = stream.default_ns
--- a/debian/patches/series 2018-02-11 18:13:22.360900812 +
--- b/debian/patches/series 2018-02-11 18:37:44.733213465 +
@@ -1,3 +1,4 @@
 fix_pyasn1_4_compat.patch
 fix_tls_date_check.patch
 get-rid-of-embedded-copies-dateutil-gnupg-ordereddic.patch
+reproducible_build.patch
___
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] Accepted python-django 1:1.11.10-1 (source all) into unstable

2018-02-05 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 01 Feb 2018 17:42:06 +
Source: python-django
Binary: python-django python-django-common python-django-doc python3-django
Built-For-Profiles: nocheck
Architecture: source all
Version: 1:1.11.10-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django - High-level Python web development framework (Python 2 version)
 python-django-common - High-level Python web development framework (common)
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (1:1.11.10-1) unstable; urgency=medium
 .
   * New upstream security release:
 - CVE-2018-6188: A regression in Django 1.11.8 made
   django.contrib.auth.forms.AuthenticationForm run its
   confirm_login_allowed() method even if an incorrect password is entered.
   This can leak information about a user, depending on what messages
   confirm_login_allowed() raises. If confirm_login_allowed() isn't
   overridden, an attacker enter an arbitrary username and see if that user
   has been set to is_active=False. If confirm_login_allowed() is
   overridden, more sensitive details could be leaked.
   * Use HTTPS "Format" URI in debian/copyright.
Checksums-Sha1:
 e4bd338af815c5e4b00fa305a09220b15a6e92d5 3184 python-django_1.11.10-1.dsc
 69485a3f6f9d0fcc15e5d50788bcae1f82216028 7881348 
python-django_1.11.10.orig.tar.gz
 d9471f0b5a11c9940db967675953bce93c7af912 24080 
python-django_1.11.10-1.debian.tar.xz
 5b63dc8c22ae0a2dced8ba442d80b68f2ff18f01 1534788 
python-django-common_1.11.10-1_all.deb
 9534701535df4633504de4ebaba99041a04cd0d6 2603500 
python-django-doc_1.11.10-1_all.deb
 043d5010fd316eb114f09aeca6365dc5232ac957 913744 python-django_1.11.10-1_all.deb
 4adcd1e2e954d8f0bfd894fa1c295b09093ed6ea 8083 
python-django_1.11.10-1_amd64.buildinfo
 5edf988d67bf40c519974226e0ab3e40e34e357a 913544 
python3-django_1.11.10-1_all.deb
Checksums-Sha256:
 b82f0597620fcc5b8d24463af01ce6cdd7b90e31fddf0417e3697855d4060345 3184 
python-django_1.11.10-1.dsc
 22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9 7881348 
python-django_1.11.10.orig.tar.gz
 c03e91ce5069b6c383fe32702e75ded2b880ad739300e20784fb14dae7ecbf62 24080 
python-django_1.11.10-1.debian.tar.xz
 9c037b52002b5b11c559ce233933c1cb8d2b46feffd63ec3f095d8da1f453ed8 1534788 
python-django-common_1.11.10-1_all.deb
 268d0010a2fd92a7ede01e157763ca6d94015c32a5f361bfb1305cf873c509f5 2603500 
python-django-doc_1.11.10-1_all.deb
 9a546e83a0af1ee6f63e50cb310f763851fe8dc9ce754a93cc7fdf5b3b0fbbdd 913744 
python-django_1.11.10-1_all.deb
 e1bc34998e75c69369f86b9891d0df2bba9e3e1167a3a0dc026fad192e95e132 8083 
python-django_1.11.10-1_amd64.buildinfo
 cd0a1672e190c0b8857932b844ebf1e6c56055c65ec86f33a6bfa64f3e7074fa 913544 
python3-django_1.11.10-1_all.deb
Files:
 259c55d574f7e617deb43d9ff144de11 3184 python optional 
python-django_1.11.10-1.dsc
 f306015e16a8d5024dbac923ac34fffb 7881348 python optional 
python-django_1.11.10.orig.tar.gz
 616f39b76e357ff44c3e87ef5c120898 24080 python optional 
python-django_1.11.10-1.debian.tar.xz
 08c5f0d9d0492ba009231c093a411e37 1534788 python optional 
python-django-common_1.11.10-1_all.deb
 e0fa5de10f97ef0511b875553a2e86a1 2603500 doc optional 
python-django-doc_1.11.10-1_all.deb
 7448ead40bd93cde02aa7e3f254079d4 913744 python optional 
python-django_1.11.10-1_all.deb
 ae13b8d6146b8de3c8817e634935d601 8083 python optional 
python-django_1.11.10-1_amd64.buildinfo
 c1c47b9abfe29d9f4a6952094392e52f 913544 python optional 
python3-django_1.11.10-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlpzUwcACgkQHpU+J9Qx
Hlh31xAAm6quQ/u8/6B3ewj9yiU/Y7xRPtlWhdZDp0+qLqMyguEmcIyiVxp1prYK
3gzC87rTwSlCIwE1zxhb+1FAXW6IXFDqbpBiPrBI/we12DQ7TZHnvRKa6ZO0ZpMo
CS4xK7pK15KMMvybxpYVEMSA4nc+BMuDRl6si7GHrftO4bdVf7mZLa68GlLhVVyc
uuQFQbAtHwq9BgVKK8iYw42+Arb1UAi+DlJ8UEML+xRxpogxfF9i0DCxca5HpPh8
g+0XijxiBxw0SoQCPtag1EPZ35U9ViA/a45ddo4EnhJIFRLDMWWxzXND7A+pGr5E
hniU7W0NDccmG3WXlhsJ1snl0L4YaQaKvDxbmApkVRtjNf4iJ9YYHQODIA8HBhWu
Zc997Iy5EsRKq/WsZTQvg74JRwt71FYfy4MVnwPyp0giKFJ2jnSH54U5kfbU4Sif
Ae7AI3RouYszxcAippltOzR+ejnRwoFJYTykfcPxIBoqANY39qZRUHUcm6oIiXx5
5ss01zp1bbCUcj0XmKhqFgFBG0QypuSfFxBtUOBix447ZDqfgMc+X6v3BIc4J8eZ
P6CW1+0jRlznGt1rIjaKOCnsZXy8c3b3zAa49r0SJQiHhxDu4sTrvpCPmj+Wop1B
aVPI1yo+yYOwNWeUC0rXTvTCsRIzH+WKeU9FHv2x98HuvVszDvY=
=lFUF
-END 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] Accepted python-django 2:2.0.2-1 (source all) into experimental

2018-02-05 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 01 Feb 2018 17:57:13 +
Source: python-django
Binary: python3-django python-django-doc
Built-For-Profiles: nocheck
Architecture: source all
Version: 2:2.0.2-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (2:2.0.2-1) experimental; urgency=medium
 .
   * New upstream security release:
 - CVE-2018-6188: A regression in Django 1.11.8 made
   django.contrib.auth.forms.AuthenticationForm run its
   confirm_login_allowed() method even if an incorrect password is entered.
   This can leak information about a user, depending on what messages
   confirm_login_allowed() raises. If confirm_login_allowed() isn't
   overridden, an attacker enter an arbitrary username and see if that user
   has been set to is_active=False. If confirm_login_allowed() is
   overridden, more sensitive details could be leaked.
   * Use HTTPS Format: URI in debian/copyright.
Checksums-Sha1:
 9a732dc1ec444b360ba0ee39b99c3e49c08d454b 2716 python-django_2.0.2-1.dsc
 036c521f6984312f34a5f656ec29c0a56ab24ac6 8002374 
python-django_2.0.2.orig.tar.gz
 a79b563070d276ba521dbc4fc292cd8c008c 23036 
python-django_2.0.2-1.debian.tar.xz
 4afff864fa5c21cbc1f8034597a43ca1ee7fcf4b 2597180 
python-django-doc_2.0.2-1_all.deb
 2168a52bf461a4f64a9c954a219a11a272947fd6 7272 
python-django_2.0.2-1_amd64.buildinfo
 0376477ac24fa53a51c6f176cbd30b99dee1939e 2466592 python3-django_2.0.2-1_all.deb
Checksums-Sha256:
 51018a4019f1405007e9a0e0bcc534c23afedbc56143b084665aaf5bf227243b 2716 
python-django_2.0.2-1.dsc
 dc3b61d054f1bced64628c62025d480f655303aea9f408e5996c339a543b45f0 8002374 
python-django_2.0.2.orig.tar.gz
 5f570bdc798bf2a3430df564759af74450a3043c67ef953692a1cff5ce475384 23036 
python-django_2.0.2-1.debian.tar.xz
 3a00b8d1d97ceeba930740b0d0d7d68956a212bfc46d2a89e85c5b0b4ab8f2ba 2597180 
python-django-doc_2.0.2-1_all.deb
 114286ae56cbd832954b6aa20554210ad9c0f037ccf2fda80f6efcca468e7b7d 7272 
python-django_2.0.2-1_amd64.buildinfo
 b911ac32a949cd5d5cd39bd0053749a5be7a7fbad87450b009f63bf904950730 2466592 
python3-django_2.0.2-1_all.deb
Files:
 ef19bf1ad8160800e7d7e03f9f29b98e 2716 python optional python-django_2.0.2-1.dsc
 9d4ae0d4193bad0c6af751e54f3a4690 8002374 python optional 
python-django_2.0.2.orig.tar.gz
 0603ccff1def6755df687635ef839956 23036 python optional 
python-django_2.0.2-1.debian.tar.xz
 7a272a9aa6075738b8cac6d2062b2dfd 2597180 doc optional 
python-django-doc_2.0.2-1_all.deb
 c3727ef1cfdd72dd005e775b66bf6dfd 7272 python optional 
python-django_2.0.2-1_amd64.buildinfo
 3c9cf04e27303a7f1edf6d9bb73aeb3c 2466592 python optional 
python3-django_2.0.2-1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlpzVmAACgkQHpU+J9Qx
HljOSg/6AuUzI40pDhkp7CdoKIerWAL9XeBfzzqFdBVX85lVrgXmlkDUt2Ev8UR1
oSwji3csiSAmEp9+sVQoclmYDRRjmWpW32KUlLP5AWXPApNaA4f5nR6OBKmpEEJq
pMLtSbtgAe2HcQWDR9ebbby5sXKqnn9KEhwZVspKPsAraFxSfI2LKDLI4d0zUn0K
SPSGCB1ko5WZb6qDRi9QXeDeU3ka0Y5IDNRkWzIP5wnOK5YwEKRJojiEItkG+1i5
A0UmzrM93bycPplU70jHus8ehZvlgPPOGZKhNQdgyYrRK/wTdr6cvhVg7FCsR1va
XcUvV+nMSBovyO9COkydApSpuzykTcSWfPsOhMW2N9N32wRnnLHMhLXtwjCTNQaZ
AFchWeSc4OPVFBwI9X/mSSCIWow8GkXAZzMIy+wJOrdnnAYt4ro8cYwZgtiMr/lD
DdlCTTahbYmIZcjcsgGg3obmtskXXnEpKaw4t6MMUl5l+uOwJLiCjBFp/mvdXN8z
BbAD2Z5WD4DVmGzlCAWpaRZB49OtJL+0/EAp2nB4bUsBwQRY/4vG/mKOnG+ly9CB
HoQLoewZB797LbPamUBzXuZNraZkcdFHw0r0Tt5735tZFdFUAlnYaz3jBvnEkFAB
CVn+n1ZoibNzGgZHW/J9fwv/qVRAPIMaGMW4SEsrNdZ0/H6aqi8=
=8547
-END 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] Accepted python-django 1:1.11.10-1~bpo9+1 (source all) into stretch-backports

2018-02-05 Thread Chris Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 01 Feb 2018 18:10:22 +
Source: python-django
Binary: python-django python-django-common python-django-doc python3-django
Built-For-Profiles: nocheck
Architecture: source all
Version: 1:1.11.10-1~bpo9+1
Distribution: stretch-backports
Urgency: medium
Maintainer: Debian Python Modules Team 

Changed-By: Chris Lamb 
Description:
 python-django - High-level Python web development framework (Python 2 version)
 python-django-common - High-level Python web development framework (common)
 python-django-doc - High-level Python web development framework (documentation)
 python3-django - High-level Python web development framework (Python 3 version)
Changes:
 python-django (1:1.11.10-1~bpo9+1) stretch-backports; urgency=medium
 .
   * Rebuild for stretch-backports.
 .
 python-django (1:1.11.10-1) unstable; urgency=medium
 .
   * New upstream security release:
 - CVE-2018-6188: A regression in Django 1.11.8 made
   django.contrib.auth.forms.AuthenticationForm run its
   confirm_login_allowed() method even if an incorrect password is entered.
   This can leak information about a user, depending on what messages
   confirm_login_allowed() raises. If confirm_login_allowed() isn't
   overridden, an attacker enter an arbitrary username and see if that user
   has been set to is_active=False. If confirm_login_allowed() is
   overridden, more sensitive details could be leaked.
   * Use HTTPS "Format" URI in debian/copyright.
 .
 python-django (1:1.11.9-1) unstable; urgency=medium
 .
   * New upstream bugfix release.
 <https://docs.djangoproject.com/en/2.0/releases/1.11.9/>
   * Bump Standards-Version to 4.1.3.
   * Update debian/python-django-common.lintian-overrides for updated Lintian
 output.
Checksums-Sha1:
 fd0057ecd590b683767b19a2f6ffe47bf63ad8d4 3187 
python-django_1.11.10-1~bpo9+1.dsc
 89bfa46eab1d594742d07e51fc0a9da569aedb24 24224 
python-django_1.11.10-1~bpo9+1.debian.tar.xz
 fb2fac42196141470494406025048beeb10d5d79 1544618 
python-django-common_1.11.10-1~bpo9+1_all.deb
 5d0531491f888ff13a21f26610bb54fe49d636b0 2571442 
python-django-doc_1.11.10-1~bpo9+1_all.deb
 7325d2535bff4f182f06abcb9fc545968a74a5b0 916534 
python-django_1.11.10-1~bpo9+1_all.deb
 020b2a0d374c51fd952c792542a324d39ff5d50f 8299 
python-django_1.11.10-1~bpo9+1_amd64.buildinfo
 b039c9385784f5def2de1369837a6b81cc2cb0f9 916260 
python3-django_1.11.10-1~bpo9+1_all.deb
Checksums-Sha256:
 6e21a40241105a5899243f60fdcc020eee17f81c3fca997ddb2aef4844826615 3187 
python-django_1.11.10-1~bpo9+1.dsc
 cc6ef1816d97c188ce401f5aad282df0c3bd72f8addea7b3b8a128e7ea229e5f 24224 
python-django_1.11.10-1~bpo9+1.debian.tar.xz
 7cf7d2186b836ba8215129a7b12bcd4fac396c2ef10490c3d37f565f2964f089 1544618 
python-django-common_1.11.10-1~bpo9+1_all.deb
 8c1fb0aff3d7488e2ad8a80760d419ff4ba95e26b91570640e4ebe555d5e3725 2571442 
python-django-doc_1.11.10-1~bpo9+1_all.deb
 c47b43c2b7f5fb4ebda2ca5b798ea6d20d94575ffe02ff2043f9313f064ba245 916534 
python-django_1.11.10-1~bpo9+1_all.deb
 1aa52071bab5a1c01e9a6fcf34b0286ba2cab20aa31d2ad513dc3290621dc5b4 8299 
python-django_1.11.10-1~bpo9+1_amd64.buildinfo
 902a93d676d91c48513c65871f0102be59751fad4f3d9a59413fac45524d820e 916260 
python3-django_1.11.10-1~bpo9+1_all.deb
Files:
 8d0dcfd619b014f15867e6f94a9e9080 3187 python optional 
python-django_1.11.10-1~bpo9+1.dsc
 ab0786f66a2df8efb415a320f68b2521 24224 python optional 
python-django_1.11.10-1~bpo9+1.debian.tar.xz
 6864a7f4e37aae30c6b83e5e59174143 1544618 python optional 
python-django-common_1.11.10-1~bpo9+1_all.deb
 6c2adf4f62d06730b4fa4b3abd26ef8b 2571442 doc optional 
python-django-doc_1.11.10-1~bpo9+1_all.deb
 ff3238cd62fd69228867bde48948a477 916534 python optional 
python-django_1.11.10-1~bpo9+1_all.deb
 b3560865218d9f0cddceae6d50fd9943 8299 python optional 
python-django_1.11.10-1~bpo9+1_amd64.buildinfo
 4bb3806d9d98ebd73a21735b9b96dc93 916260 python optional 
python3-django_1.11.10-1~bpo9+1_all.deb

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlpzWcQACgkQHpU+J9Qx
HlhdiBAAr78Fu7zrA+uwtFB+6H4fUUWj65ampGGGanMBeZC6QPu+wOwD+m2QW8oP
CsyLTvDHloEmk88X9EOTs82vg9sleMSozobgrdDlodOTxZbq8B0aXEZv1wL6hbQ2
7aph6fa0YLe5xGER2Hrx4X3yeY4oy6vljFanFmlFirtFsovZgSrh+Rd88Ge2jj2i
+8VAxPEstFofTLFJCyywLECg+VoF6L30ItP8hCfxBClmP5zYNyPg0Dc7t1aajjZz
Rlc8HVDDQwtuV+mja2SeP9Qc5qSW7wXujeL7AT47cEm6uUHDhrUGjkQpt/0zsTDf
nDou0r+x+mlvtRUL5VjcKxMViocs0UDK+tsO/FwEYHok43P395Vja2pWwxLu4JYp
Azi1gzbfKrsPooiViNrwdIC4XeZS2R7pXN/ij9cLMzwR+091UNn260xdDXIT4t5A
PWdfA9zmuL/85vuuqTOigXslxgdZCOS1nwykJmVtAHKpq+RR8AHtjADzSZoRNk6G
L7oQK4Y3NXPK1pN1cU8qW5VuLXTNZfxK7fUav2lhsO3eIFl1Eodz2w2ODEkl16y+
+I8sBIgMq3G1R4ZYlvWqtJz3Q2Lig+3uH7XrGhkUUp9ns6limiMPJXZBFr2IH1Up
Tsk2U9iXW9FiGkPt08+MMOUxejQQwESHC8rrBHOcVGA+3a54l18=
=oGa5
-END PGP SIGNATURE-


___
Python-modules-team mailing list
Python-modules-team@lists.a

[Python-modules-team] Bug#888758: fpylll: Incomplete debian/copyright?

2018-01-29 Thread Chris Lamb
Source: fpylll
Version: 0.3.0+ds1-1
Severity: serious
Justication: Policy 12.5
X-Debbugs-CC: Jerome Benoit 

Hi,

I just ACCEPTed fpylll from NEW but noticed it was missing 
attribution in debian/copyright for at least the PYX files
under src/fpylll/gmp.

You "Files-Exclude" some other pyx files, so perhaps you
missed these?

(This is not exhaustive so please check over the entire package 
carefully and address these on your next upload.)


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] coreschema_0.0.4-1_amd64.changes REJECTED

2018-01-24 Thread Chris Lamb

Hi,

Contains parts of jsonschema that's unattributed/unmentioned in d/copyright.
(Please check over your entire package, I stopped looking there.)

 -- Chris Lamb   Wed, 24 Jan 2018 10:12:45 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#888252: py-radix: Incomplete debian/copyright?

2018-01-24 Thread Chris Lamb
Source: py-radix
Version: 0.10.0-1
Severity: serious
Justication: Policy 12.5
X-Debbugs-CC: Aggelos Avgerinos 

Hi,

I just ACCEPTed py-radix from NEW but noticed it was missing 
attribution in debian/copyright for at least Michael J. Schultz

(This is not exhaustive so please check over the entire package 
carefully and address these on your next upload.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] Comments regarding flask-security_1.7.5-1_amd64.changes

2018-01-02 Thread Chris Lamb
Hi,

Please clarify copyright of debian/ on next upload :)

 -- Chris Lamb   Tue, 02 Jan 2018 21:37:25 +



___
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#886003: python-pysnmp4: please make the build reproducible

2018-01-01 Thread Chris Lamb
Source: python-pysnmp4
Version: 4.4.3-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-pysnmp4 could not be built reproducibly.

This is because the documentation contains references to non-
deterministic memory addresses.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0002-Reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0002-Reproducible-build.patch  2018-01-01 
12:41:27.160378886 +
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2018-01-01
+
+--- python-pysnmp4-4.4.3.orig/pysnmp/smi/rfc1902.py
 python-pysnmp4-4.4.3/pysnmp/smi/rfc1902.py
+@@ -695,7 +695,9 @@ class ObjectType(object):
+ """
+ stDirty, stClean = 1, 2
+ 
+-def __init__(self, objectIdentity, objectSyntax=rfc1905.unSpecified):
++def __init__(self, objectIdentity, objectSyntax=None):
++if objectSyntax is None:
++objectSyntax = rfc1905.unSpecified
+ if not isinstance(objectIdentity, ObjectIdentity):
+ raise SmiError('initializer should be ObjectIdentity instance, 
not %r' % (objectIdentity,))
+ self.__args = [objectIdentity, objectSyntax]
--- a/debian/patches/series 2018-01-01 12:35:36.370133172 +
--- b/debian/patches/series 2018-01-01 12:41:26.284373268 +
@@ -1 +1,2 @@
 0001-Remove-privacy-breach-badges.patch
+0002-Reproducible-build.patch
___
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] Comments regarding pymediainfo_2.2.0-1_amd64.changes

2017-12-30 Thread Chris Lamb
Please clarify in d/copyright why docs/conf.py also mentions Patrick Altman.

 -- Chris Lamb   Sat, 30 Dec 2017 22:13:36 +



___
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#885702: python-pyramid: Source includes "docs/api/config.rst" listed in Files-Excluded header

2017-12-29 Thread Chris Lamb
Source: python-pyramid
Version: 1.6+dfsg-1
Severity: normal
User: la...@debian.org
Usertags: files-excluded

Dear Maintainer,

python-pyramid lists "docs" in the Files-Excluded field
in debian/copyright but the source tree contains docs/api/config.rst.

This might be a DFSG violation, the referenced files are probably not
attributed in debian/copyright or the upstream tarball was simply not
repacked as intended. Alternatively, the field is simply out of date. :)


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#885326: flask-peewee: please make the build reproducible

2017-12-26 Thread Chris Lamb
Chris Lamb wrote:

> flask-peewee: please make the build reproducible

Updated patch attached that calls dh_auto_clean in the overridden
target (!).


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2017-12-26 08:41:29.306724894 +
--- b/debian/rules  2017-12-26 09:15:50.208246261 +
@@ -6,12 +6,16 @@
 
 override_dh_auto_build:
dh_auto_build
-   PYTHONPATH=. sphinx-build -N -bhtml docs/ docs/build/html # HTML 
generator
-   PYTHONPATH=. sphinx-build -N -bman docs/ docs/build/man # Manpage 
generator
+   PYTHONPATH=. sphinx-build -N -bhtml docs/ -d debian/doctrees 
docs/build/html # HTML generator
+   PYTHONPATH=. sphinx-build -N -bman docs/ -d debian/doctrees 
docs/build/man # Manpage generator
 
 override_dh_auto_test:
# The tarball doesn't contain runtest.py.
 
+override_dh_auto_clean: 
+   dh_auto-clean
+   rm -rf debian/doctrees
+
 override_dh_auto_install: 
dh_auto_install
# We don't install examples in dist-packages
___
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#885326: flask-peewee: please make the build reproducible

2017-12-26 Thread Chris Lamb
Source: flask-peewee
Version: 0.6.7-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that flask-peewee could not be built reproducibly.

This is because it generates Python "doctree" files. These are pickled
caches of the source *.rst documents which are not needed to display
the docs correctly (we only need the contents of the html/ folder or
the manpages themselves) and they contain absolute build paths which
are not reproducible.

Patch attached that does not install the .doctree files, additionally
speeding up the build (!) by actually using them as a cache between the
HTML and manpage generation :)

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2017-12-26 08:41:29.306724894 +
--- b/debian/rules  2017-12-26 09:15:50.208246261 +
@@ -6,12 +6,15 @@
 
 override_dh_auto_build:
dh_auto_build
-   PYTHONPATH=. sphinx-build -N -bhtml docs/ docs/build/html # HTML 
generator
-   PYTHONPATH=. sphinx-build -N -bman docs/ docs/build/man # Manpage 
generator
+   PYTHONPATH=. sphinx-build -N -bhtml docs/ -d debian/doctrees 
docs/build/html # HTML generator
+   PYTHONPATH=. sphinx-build -N -bman docs/ -d debian/doctrees 
docs/build/man # Manpage generator
 
 override_dh_auto_test:
# The tarball doesn't contain runtest.py.
 
+override_dh_auto_clean: 
+   rm -rf debian/doctrees
+
 override_dh_auto_install: 
dh_auto_install
# We don't install examples in dist-packages
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Re: [Python-modules-team] peewee_2.10.2+dfsg-1_amd64.changes REJECTED

2017-12-22 Thread Chris Lamb
Hi Christoph,

> Oh, sorry for that. The original debian/copyright file had so many
> contributors listed that I had not rechecked it before uploading.
> mock and flask are now attributed. Reuploaded as 2.10.2+dfsg-2.

ACCEPTed. :)


Best wishes,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] peewee_2.10.2+dfsg-1_amd64.changes REJECTED

2017-12-20 Thread Chris Lamb

embeds (at least) python-mock without attribution.



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


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


Re: [Python-modules-team] flask-mail_0.9.1-1_amd64.changes REJECTED

2017-12-20 Thread Chris Lamb
Hi Christoph,

> reuploaded without the docs/_themes/ subdirectory

Thanks, accepted. (Please use Files-Excluded, btw!)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] flask-mail_0.9.1-1_amd64.changes REJECTED

2017-12-19 Thread Chris Lamb

Missing reference/attribution for Sphinx theme distributed under docs/_themes/
(stopped looking there; please check over entire package.)

 -- Chris Lamb   Tue, 19 Dec 2017 16:51:40 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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] flask-paranoid_0.2.0-1_amd64.changes REJECTED

2017-12-16 Thread Chris Lamb

Author: Bastian Blank
Version: 0.2.0-1
Timestamp: 2017-12-13 21:14:36.812820+00:00

PROD new python2 packages should not be introduced

(please justify introduction if required)



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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-django-channels_1.1.8-1_amd64.changes REJECTED

2017-12-14 Thread Chris Lamb

Docs are public domain, package references Andrew Godwin (at least.) Please
check over your entire package, thanks!

 -- Chris Lamb   Thu, 14 Dec 2017 09:31:33 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#884079: python-tz: Source includes "pytz/zoneinfo/Africa/Harare, etc." listed in Files-Excluded header

2017-12-11 Thread Chris Lamb
Source: python-tz
Version: 2017.2-2
Severity: important
User: la...@debian.org
Usertags: files-excluded

Dear Maintainer,

python-tz lists "pytz/zoneinfo/*" in the Files-Excluded field
in debian/copyright but the source tree contains pytz/zoneinfo/Africa/Harare,
etc.

This might be a DFSG violation, or at least the upstream tarball was not
repacked as intended. Alternatively, the field is simply out of date.


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#883763: python-social-auth: Includes "site/css/site.css" listed in Files-Excluded header

2017-12-07 Thread Chris Lamb
Source: python-social-auth
Version: 1:0.2.21+dfsg-1
Severity: serious
User: la...@debian.org
Usertags: files-excluded

Dear Maintainer,

python-social-auth lists "site/*" in the Files-Excluded field in
debian/copyright but the source tree containns site/css/site.css.

This is probably a DFSG violation, or at the upstream tarball was not
repacked as intended. Alternatively, the field is simply out of date.


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#881094: nbsphinx: please make the build reproducible

2017-11-07 Thread Chris Lamb
forwarded 881094 https://github.com/spatialaudio/nbsphinx/pull/145
thanks

I've forwarded this upstream here:

  https://github.com/spatialaudio/nbsphinx/pull/145


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#881094: nbsphinx: please make the build reproducible

2017-11-07 Thread Chris Lamb
Source: nbsphinx
Version: 0.2.14+ds-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that nbsphinx could not be built reproducibly.

Patch attached that uses different Javascript to get the sibling
 element instead of generating a (random) UUID and putting
that in the DOM.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible-build.patch   2017-11-07 16:41:02.718541350 
+
@@ -0,0 +1,22 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2017-11-07
+
+--- nbsphinx-0.2.14+ds.orig/nbsphinx.py
 nbsphinx-0.2.14+ds/nbsphinx.py
+@@ -150,13 +150,12 @@ RST_TEMPLATE = """
+ 
+ {{ output.data['text/html'] | indent | indent }}
+ {%- elif datatype == 'application/javascript' %}
+-{% set div_id = uuid4() %}
+ 
+ .. raw:: html
+ 
+-
++
+ 
+-var element = document.getElementById('{{ div_id }}');
++var element = document.currentScript.previousSibling.previousSibling;
+ {{ output.data['application/javascript'] | indent | indent }}
+ 
+ {%- elif datatype.startswith('application') and datatype.endswith('+json') %}
--- a/debian/patches/series 2017-11-07 16:08:32.862051001 +
--- b/debian/patches/series 2017-11-07 16:40:20.470183875 +
@@ -1 +1,2 @@
 debianization-documentation.patch
+reproducible-build.patch
___
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#881089: stardicter: please make the build reproducible

2017-11-07 Thread Chris Lamb
forwarded 881089 https://github.com/nijel/stardicter/pull/2
thanks

I've forwarded this upstream here:

  https://github.com/nijel/stardicter/pull/2


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#881089: stardicter: please make the build reproducible

2017-11-07 Thread Chris Lamb
Source: stardicter
Version: 1.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that stardicter generates non-deterministic output in .ifo files.

In particular, it adds the current date and time.

Patch attached that uses SOURCE_DATE_EPOCH[1] if available.

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/stardicter/base.py b/stardicter/base.py
index 64dd17f..3d2a8a0 100644
--- a/stardicter/base.py
+++ b/stardicter/base.py
@@ -30,6 +30,7 @@ from operator import attrgetter
 import os
 import re
 import struct
+import time
 
 from six.moves.urllib.request import urlopen
 from six import BytesIO
@@ -386,7 +387,9 @@ class StardictWriter(object):
 handle.write(self.convert('website={0}\n'.format(URL), False))
 # we're using pango markup for all entries
 handle.write('sametypesequence=g\n')
-handle.write(datetime.date.today().strftime('date=%Y.%m.%d\n'))
+now = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
+today = datetime.datetime.utcfromtimestamp(now)
+handle.write(today.strftime('date=%Y.%m.%d\n'))
 
 def write_dict(self, directory):
 '''
___
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#880834: python-lti: Please run the upstream testsuite

2017-11-04 Thread Chris Lamb
Package: python-lti
Version: 0.9.2-1
Severity: wishlist

Hi,

python-lti ships with a Tox-based testsuite. It would be great if you
could run it during package build; it would help detect regressions when
updating the Django toolchain (eg. Django 2.x).


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#880558: djangorestframework: New upstream release

2017-11-02 Thread Chris Lamb
Source: djangorestframework
Version: 3.4.0-2
Severity: wishlist

Hi,

New upstream 3.7 release is available at:

  http://www.django-rest-framework.org/topics/3.7-announcement/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#880409: python-django: add Breaks: openstack-dashboard (<< 3:12)

2017-10-31 Thread Chris Lamb
Hi Andreas,

> Please add a
> 
> Breaks: openstack-dashboard (<< 3:12)

This seems like the wrong way around - can't openstack-dashboard (or
something on "that" side, I'm avoiding the detials…) be changed instead? :)

Kinda smells wrong to me to add the exception here.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#878707: python-amqp: please make the build reproducible

2017-10-15 Thread Chris Lamb
Source: python-amqp
Version: 1.4.9-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-amqp could not be built reproducibly.

This is due to the generated documentation non-deterministically
orders the skip_attrs set.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/amqp/five.py  2017-10-15 20:30:33.599193127 -0400
--- b/amqp/five.py  2017-10-15 20:33:07.841817590 -0400
@@ -116,7 +116,7 @@
 BytesIO = WhateverIO = StringIO # noqa
 
 
-def with_metaclass(Type, skip_attrs=set(['__dict__', '__weakref__'])):
+def with_metaclass(Type, skip_attrs=None):
 """Class decorator to set metaclass.
 
 Works with both Python 3 and Python 3 and it does not add
@@ -125,6 +125,9 @@
 
 """
 
+if skip_attrs is None:
+skip_attrs = set(['__dict__', '__weakref__'])
+
 def _clone_with_metaclass(Class):
 attrs = dict((key, value) for key, value in items(vars(Class))
  if key not in skip_attrs)
___
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-rstr_2.2.6-1_amd64.changes REJECTED

2017-10-07 Thread Chris Lamb

Missing references to, for example, Leapfrog Direct Response LLC. Please check
over your entire package.

 -- Chris Lamb   Sat, 07 Oct 2017 17:58:15 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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-rebulk_0.9.0-1_amd64.changes REJECTED

2017-10-07 Thread Chris Lamb

Hi,

Embedded toposort (and testcases) are not referenced in debian/copyright.
Please check over your entire packge :)

 -- Chris Lamb   Sat, 07 Oct 2017 17:59:11 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#876816: python-django: Can't defer() fields from super- and sub-class at the same time

2017-10-02 Thread Chris Lamb
Hi Andrew,

> We're currently using plain old stretch as we're still on 1.10, but 
> we're planning on moving to 1.11 at some point very shortly, so yes, 
> stretch-backports would be helpful.

Done :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#876816: python-django: Can't defer() fields from super- and sub-class at the same time

2017-10-02 Thread Chris Lamb
Hi Andrew

> Can't defer() fields from super- and sub-class at the same time

Are you using stretch-backports? ie. Would you like this change also
uploaded there too?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] Comments regarding django-paintstore_0.2-2_amd64.changes

2017-09-30 Thread Chris Lamb
On your next upload please attribution for The Dojo Foundation.

 -- Chris Lamb   Sat, 30 Sep 2017 15:07:13 +



___
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#877321: django-sitetree: Should not mask test failures

2017-09-30 Thread Chris Lamb
forwarded 877321 https://github.com/idlesign/django-sitetree/pull/240
thanks

I've forwarded this upstream here:

  https://github.com/idlesign/django-sitetree/pull/240


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#877321: django-sitetree: Should not mask test failures

2017-09-30 Thread Chris Lamb
Source: django-sitetree
Version: 1.8.0+dfsg-1
Severity: important
Tags: patch

Hi,

Failing tests in django-sitetree do not currently cause the package to fail
to build.

Patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/sitetree/runtests.py b/sitetree/runtests.py
index be464ba..0ff3aff 100755
--- a/sitetree/runtests.py
+++ b/sitetree/runtests.py
@@ -1,5 +1,7 @@
 #! /usr/bin/env python
 
+import sys
+
 if __name__ == '__main__':
 from pytest import main as pytest_main
-pytest_main()
+sys.exit(pytest_main())
___
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] django-paintstore_0.2-2_amd64.changes REJECTED

2017-09-17 Thread Chris Lamb

Hi,

Your package has an embedded jquery without attribution/license.

 -- Chris Lamb   Sun, 17 Sep 2017 18:01:19 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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] django-paintstore_0.2-1_amd64.changes REJECTED

2017-09-16 Thread Chris Lamb

Embeds jquery without attribution. Thanks. :)

 -- Chris Lamb   Sat, 16 Sep 2017 18:27:37 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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] wifi-python_0.8.0~rc1-1_amd64.changes REJECTED

2017-09-04 Thread Chris Lamb

Missing attribution for (at least) tests/test_schemes.py.

 -- Chris Lamb   Mon, 04 Sep 2017 21:11:58 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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] pyjokes_0.5.0-1_amd64.changes REJECTED

2017-08-27 Thread Chris Lamb

Hi:

> Comment: See the following stack overflow question for individual attribution
>  for the programmer jokes:
>  http://stackoverflow.com/questions/234075/what-is-your-best-programmer-joke

Please quote the relevant section inline instead of just linking; not only does
it require internet access, it requires SO to available "forever". (Also, given
SO is editable, linking to it seems especially problematic...)

 -- Chris Lamb   Sun, 27 Aug 2017 20:13:06 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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] Comments regarding pythonqt_3.2-1~exp1_amd64.changes

2017-08-23 Thread Chris Lamb
Hi NEWvoltage,

Can you update/tidy the headers in debian/patches/fix-string-literals in your
next upload please? :)


 -- Chris Lamb   Wed, 23 Aug 2017 21:37:18 +



___
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#857122: python-gdata: please make the build reproducible

2017-08-18 Thread Chris Lamb
Hi,

> Sent upstream here:
>
>  https://github.com/google/gdata-python-client/pull/56

Have pinged upstream.



Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] wikipedia_1.4.0-1_amd64.changes REJECTED

2017-08-07 Thread Chris Lamb

Hi,

Although I did review this package, I am actually going to reject it here
because I think the source package name is somewhat misleading.

Please add some sort of "Python" reference to the source package.


 -- Chris Lamb   Mon, 07 Aug 2017 12:49:17 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#856614: dask.distributed: please make the build reproducible

2017-08-01 Thread Chris Lamb
Hi Diane,

> The code you marked as being not reproducible was altered in 1.18.0 in
> a way that I think removes the non-determinism.

Ah, great; feel free to close this bug when it lands naturally :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#836004: python-gflags: please make the build reproducible

2017-08-01 Thread Chris Lamb
tags 836004 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/python-modules/packages/python-gflags/commit/?id=c4259f521483460aa1d37ba066ceb104e352febf


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#778419: fedmsg: please make the build reproducible

2017-08-01 Thread Chris Lamb
tags 778419 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/python-modules/packages/fedmsg/commit/?id=a6bac54783fabe56b6b95bef33c85aa789db4989

Not uploading due to other bugs.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#866702: python-django: Fix git tags for git deborig

2017-07-01 Thread Chris Lamb
Dear Jochen,

> could you please fix the tags in your git repo such that
> git deborig (from devscirpts) works?

No problem. Sorry about that:

  * [new tag] upstream/1.11.2 -> upstream/1.11.2


Best wishes,

-- 
  ,''`.
     : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#852512: marked as pending

2017-06-24 Thread Chris Lamb
Brian May wrote:

> > Is the "" restriction correct? We generate the documentation
> > regardless of whether we are running the testsuite or not.
> 
> Oops. I meant to check this before doing the git push. I have not seen
> this "" before, and have no idea what it means. Can you
> provide me a reference?

Sure. I can provide a joke reference [0] and a real one [1] :)

  [0] https://en.wikipedia.org/wiki/Cargo_cult_programming
  [1] https://wiki.debian.org/BuildProfileSpec


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#852512: marked as pending

2017-06-24 Thread Chris Lamb
Brian May wrote:
> 
> Bug #852512 reported by you has been fixed in the Git repository. You can
> see the changelog below, and you can check the diff of the fix at:
> 
> 
> https://anonscm.debian.org/cgit/python-modules/packages/python-django.git/commit/?id=249c143

--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,11 @@ Build-Depends:
  python3-tblib ,
  python3-tz ,
  python3-yaml  ,
+ python-doc ,
+ sphinx-doc ,
+ python-six-doc ,
+ python-django-formtools-doc ,
+ python-psycopg2-doc ,


Is the "" restriction correct? We generate the documentation
regardless of whether we are running the testsuite or not.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#865053: python-django: python3.6 compatibility

2017-06-18 Thread Chris Lamb
Hi,

> Attached is a patch which cherry-picks the python3.6 compatibility commits
> from upstream.
[…]
> fix the python3.6 compatibility some other way, such as uploading a newer
> upstream release

The 1.11.2 LTS release is in experimental right now. I will upload it to
unstable soon which — as I understand it — will resolve this bug. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#864337: python-blessed: Non-determistically FTBFS due to unreliable timing in tests

2017-06-07 Thread Chris Lamb
Source: python-blessed
Version: 1.14.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

python-blessed's testsuite appears to use method timing/benchmarking in such 
a way that it will non-deterministically FTBFS:

  […]
   test_esc_delay_cbreak_timout_0 

  
  def test_esc_delay_cbreak_timout_0():
  """esc_delay still in effect with timeout of 0 ("nonblocking")."""
  pid, master_fd = pty.fork()
  if pid == 0:  # child
  cov = init_subproc_coverage('test_esc_delay_cbreak_timout_0')
  term = TestTerminal()
  os.write(sys.__stdout__.fileno(), SEMAPHORE)
  with term.cbreak():
  stime = time.time()
  inp = term.inkey(timeout=0)
  measured_time = (time.time() - stime) * 100
  os.write(sys.__stdout__.fileno(), (
  '%s %i' % (inp.name, measured_time,)).encode('ascii'))
  sys.stdout.flush()
  if cov is not None:
  cov.stop()
  cov.save()
  os._exit(0)
  
  with echo_off(master_fd):
  os.write(master_fd, u'\x1b'.encode('ascii'))
  read_until_semaphore(master_fd)
  stime = time.time()
  key_name, duration_ms = read_until_eof(master_fd).split()
  
  pid, status = os.waitpid(pid, 0)
  assert key_name == u'KEY_ESCAPE'
  assert os.WEXITSTATUS(status) == 0
  assert math.floor(time.time() - stime) == 0.0
  >   assert 34 <= int(duration_ms) <= 45, int(duration_ms)
  E   AssertionError: 71
  E   assert 71 <= 45
  E+  where 71 = int('71')
  
  blessed/tests/test_keyboard.py:528: AssertionError
   1 failed, 305 passed in 75.27 seconds 
=
  E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-blessed-1.14.1/.pybuild/pythonX.Y_3.5/build; python3.5 -m 
pytest 
  dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned 
exit code 13
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  I: copying local configuration
  E: Failed autobuilding of package

  […]

The full build log is attached or can be viewed here:


https://tests.reproducible-builds.org/debian/logs/unstable/amd64/python-blessed_1.14.1-1.build1.log.gz


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


python-blessed.1.14.1-1.logs.unstable.log.txt.gz
Description: Binary data
___
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#816435: TestStartProjectSettings fails on DebCI

2017-05-30 Thread Chris Lamb
Hi,

> TestStartProjectSettings fails on DebCI

I've sent a patch upstream:

  https://code.djangoproject.com/ticket/26755#comment:2


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860656: python-biplist: FTBFS on i386: dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13

2017-05-22 Thread Chris Lamb
tags 860656 - patch
thanks

Hans-Christoph Steiner wrote:

> The tests don't need fixing, they are pointing out a real issue, check
> the bug report to upstream for more info.

Sorry it looked like it was just a test representation issue. Untagging
"patch"...


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860656: python-biplist: FTBFS on i386: dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13

2017-05-21 Thread Chris Lamb
tags 860656 + patch
thanks

Patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/tests/test_write.py b/tests/test_write.py
index 83c6419..fabd2be 100644
--- a/tests/test_write.py
+++ b/tests/test_write.py
@@ -12,6 +12,7 @@ try:
 unicodeStr = lambda x: x.decode('utf-8')
 toUnicode = lambda x: x.decode('unicode-escape')
 except NameError:
+long = int
 unicode = str
 unicodeStr = lambda x: x
 toUnicode = lambda x: x
@@ -20,6 +21,12 @@ try:
 except NameError:
 xrange = range
 
+# Ensure integers are always shown as '1L' regardless of size on Python 2
+def repr_(x):
+if isinstance(x, int):
+x = long(x)
+return repr(x)
+
 class TestWritePlist(unittest.TestCase):
 
 def roundTrip(self, case, xml=False, expected=None, reprTest=True):
@@ -38,7 +45,7 @@ class TestWritePlist(unittest.TestCase):
 
 # test equality
 if reprTest is True:
-self.assertEqual(repr(case if expected is None else expected), 
repr(readResult))
+self.assertEqual(repr_(case if expected is None else expected), 
repr_(readResult))
 else:
 self.assertEqual((case if expected is None else expected), 
readResult)
 
___
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-parse-type_0.3.4-1_i386.changes REJECTED

2017-05-17 Thread Chris Lamb

Hi,

Unfortunately you are missing a lot of references in debian/copyright (eg.
Richard Jones, eKit.com, etc., but I stopped looking there)

Please check over your entire package and re-upload :)

 -- Chris Lamb   Wed, 17 May 2017 13:52:15 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#862741: python3-iptables: rule.create_match() raises MemoryError

2017-05-17 Thread Chris Lamb
Hi,

> python3-iptables: rule.create_match() raises MemoryError

I can reproduce this:

$ sudo apt-get install python3-iptables
[…]
Setting up python3-iptables (0.11.0-3) ...
[…]

$ python3 
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import iptc
>>> iptc.Rule().create_match('udp')
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/iptc/ip4tc.py", line 959, in create_match
match = Match(self, name=name, revision=revision)
  File "/usr/lib/python3/dist-packages/iptc/ip4tc.py", line 558, in __init__
self.reset()
  File "/usr/lib/python3/dist-packages/iptc/ip4tc.py", line 635, in reset
udata_buf = (ct.c_ubyte * udata_size)()
MemoryError
>>> 

$ uname -a
Linux keyboardcat.chris-lamb.co.uk 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 
(2017-02-27) x86_64 GNU/Linux



Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860986: python-iptables library did not work

2017-04-24 Thread Chris Lamb
retitle 860986 python-iptables: import raises AttributeError: 'NoneType' object 
has no attribute 'throw_exception'
thanks


I think the problem is actually deeper. Even after I "fix" the custom
library loading code with something like:

--- a/iptc/util.py
+++ b/iptc/util.py
@@ -78,7 +78,8 @@ def _find_library(*names):
 if version_info > (3, ):
 ext = get_config_var("EXT_SUFFIX")
 else:
-ext = get_config_var('SO')
+import imp
+ext = [x for x, y, z in imp.get_suffixes() if z == 
imp.C_EXTENSION][0]
 for name in names:
 libnames = [name, "lib" + name, name + ext, "lib" + name + ext]
 libdir = os.environ.get('IPTABLES_LIBDIR', None)

… then I end up with:

 Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.7/dist-packages/iptc/__init__.py", line 10, in 
from iptc.ip4tc import (is_table_available, Table, Chain, Rule, Match, 
Target,
  File "/usr/lib/python2.7/dist-packages/iptc/ip4tc.py", line 36, in 
xtables(NFPROTO_IPV4)
  File "/usr/lib/python2.7/dist-packages/iptc/xtables.py", line 814, in __new__
obj._xtinit(proto)
  File "/usr/lib/python2.7/dist-packages/iptc/xtables.py", line 829, in _xtinit
(xtables_version))
iptc.xtables.XTablesError: unknown xtables version 12



Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/iptc/util.py b/iptc/util.py
index a587e7e..43f5ca8 100644
--- a/iptc/util.py
+++ b/iptc/util.py
@@ -78,7 +78,8 @@ def _find_library(*names):
 if version_info > (3, ):
 ext = get_config_var("EXT_SUFFIX")
 else:
-ext = get_config_var('SO')
+import imp
+ext = [x for x, y, z in imp.get_suffixes() if z == imp.C_EXTENSION][0]
 for name in names:
 libnames = [name, "lib" + name, name + ext, "lib" + name + ext]
 libdir = os.environ.get('IPTABLES_LIBDIR', None)
___
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#860673: python-django: FTBFS on i386: E: Build killed with signal TERM after 150 minutes of inactivity

2017-04-19 Thread Chris Lamb
Lucas Nussbaum wrote:

> That's a build log for amd64, not i386.

D'oh!

> python2.7[39117]: segfault at ffc2cffc ip f61a8170 sp 
> ffc2d000 error 6 in libsqlite3.so.0.8.6[f6135000+115000]

I don't have stretch/i386 within reach atm but this looks like it has
narrowed it down. Any chance of getting a backtrace with symbols?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860673: python-django: FTBFS on i386: E: Build killed with signal TERM after 150 minutes of inactivity

2017-04-19 Thread Chris Lamb
Hi Lucas,

> I tried again and still can; maybe diff your build log with mine to see
> if something comes up?

Good idea; mine is at:

  https://gist.github.com/lamby/e2152b47a6d3d69d29e34975059c6be7/raw

(Testsuite runs in parallel so this might be difficult...)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860673: python-django: FTBFS on i386: E: Build killed with signal TERM after 150 minutes of inactivity

2017-04-19 Thread Chris Lamb
Lucas Nussbaum wrote:

> > test_output_verbose (test_runner.test_debug_sql.TestDebugSQL) ... ok
> > E: Build killed with signal TERM after 150 minutes of inactivity

Can't reproduce this locally alas...


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#860390: unblock: django-assets/0.12-2

2017-04-15 Thread Chris Lamb
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: python-modules-team@lists.alioth.debian.org

Dear release team,

Please consider unblocking django-assets/0.12-2 for stretch. The
relevant debian/changelog entry is:

django-assets (0.12-2) unstable; urgency=medium

  * Patch pytest plugin to check whether we are running in a Django context,
otherwise we can break unrelated testsuites. (Closes: #859916)
  * Add myself to uploaders.

diffstat is:

 .git-dpm|4 
-
 changelog   |8 
+++
 control |2 
 patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch |   24 
++
 patches/series  |1 
 5 files changed, 36 insertions(+), 3 deletions(-)


Debdiff attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diffstat for django-assets-0.12 django-assets-0.12

 .git-dpm|4 
-
 changelog   |8 
+++
 control |2 
 patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch |   24 
++
 patches/series  |1 
 5 files changed, 36 insertions(+), 3 deletions(-)

diff -Nru django-assets-0.12/debian/changelog 
django-assets-0.12/debian/changelog
--- django-assets-0.12/debian/changelog 2016-08-29 11:12:46.0 +0100
+++ django-assets-0.12/debian/changelog 2017-04-15 17:25:04.0 +0100
@@ -1,3 +1,11 @@
+django-assets (0.12-2) unstable; urgency=medium
+
+  * Patch pytest plugin to check whether we are running in a Django context,
+otherwise we can break unrelated testsuites. (Closes: #859916)
+  * Add myself to uploaders.
+
+ -- Chris Lamb   Sat, 15 Apr 2017 17:25:04 +0100
+
 django-assets (0.12-1) unstable; urgency=low
 
   [ Ondřej Nový ]
diff -Nru django-assets-0.12/debian/control django-assets-0.12/debian/control
--- django-assets-0.12/debian/control   2016-08-29 11:12:46.0 +0100
+++ django-assets-0.12/debian/control   2017-04-15 17:25:04.0 +0100
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team 

-Uploaders: Michael Fladischer ,
+Uploaders: Michael Fladischer , Chris Lamb 
 Build-Depends: debhelper (>= 9),
dh-python,
python-all,
diff -Nru django-assets-0.12/debian/.git-dpm django-assets-0.12/debian/.git-dpm
--- django-assets-0.12/debian/.git-dpm  2016-08-29 11:12:46.0 +0100
+++ django-assets-0.12/debian/.git-dpm  2017-04-15 17:25:04.0 +0100
@@ -1,6 +1,6 @@
 # see git-dpm(1) from git-dpm package
-e2a0303b2786633d25c2010766a5ae8c0c6aaf64
-e2a0303b2786633d25c2010766a5ae8c0c6aaf64
+67d288aa950f9eeefe7b02c4143cde80a569d24a
+67d288aa950f9eeefe7b02c4143cde80a569d24a
 60ed4cc3289f12435e7dd78cbf4c67f01735bb17
 60ed4cc3289f12435e7dd78cbf4c67f01735bb17
 django-assets_0.12.orig.tar.gz
diff -Nru 
django-assets-0.12/debian/patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch
 
django-assets-0.12/debian/patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch
--- 
django-assets-0.12/debian/patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch
   1970-01-01 01:00:00.0 +0100
+++ 
django-assets-0.12/debian/patches/0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch
   2017-04-15 17:25:04.0 +0100
@@ -0,0 +1,24 @@
+From 67d288aa950f9eeefe7b02c4143cde80a569d24a Mon Sep 17 00:00:00 2001
+From: Chris Lamb 
+Date: Sat, 15 Apr 2017 17:22:59 +0100
+Subject: Patch pytest plugin to check whether we are running in a Django
+ context, otherwise we can break unrelated testsuites. (Closes: #859916)
+
+---
+ django_assets/pytest_plugin.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/django_assets/pytest_plugin.py b/django_assets/pytest_plugin.py
+index 7736a6f..847f357 100644
+--- a/django_assets/pytest_plugin.py
 b/django_assets/pytest_plugin.py
+@@ -1,6 +1,8 @@
++import os
+ import pytest
+ import django_assets.env
+ 
+ @pytest.fixture(autouse=True)
+ def set_django_assets_env():
+-django_assets.env.get_env() # initialise django-assets settings
++if 'DJANGO_SETTINGS_MODULE' in os.environ:
++django_assets.env.get_env() # initialise django-assets settings
diff -Nru django-assets-0.12/debian/patches/series 
django-assets-0.12/debian/patches/series
--- django-assets-0.12/debian/patches/series2016-08-29 11:12:46.0 
+0100
+++ django-assets-0.12/debian/patches/series2017-04-15 17:25:04.000

[Python-modules-team] Bug#859916: django-assets: installed pytest plugin can break unrelated software

2017-04-15 Thread Chris Lamb
tags 859916 + pending
thanks

Uploaded.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#859916: Fails on simple test from documentation

2017-04-15 Thread Chris Lamb
tags 859916 + patch
retitle 859916 django-assets: installed pytest plugin can break unrelated 
software
thanks

Patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/django_assets/pytest_plugin.py b/django_assets/pytest_plugin.py
index 7736a6f..847f357 100644
--- a/django_assets/pytest_plugin.py
+++ b/django_assets/pytest_plugin.py
@@ -1,6 +1,8 @@
+import os
 import pytest
 import django_assets.env
 
 @pytest.fixture(autouse=True)
 def set_django_assets_env():
-django_assets.env.get_env() # initialise django-assets settings
+if 'DJANGO_SETTINGS_MODULE' in os.environ:
+django_assets.env.get_env() # initialise django-assets settings
___
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#860218: templayer: please make the build reproducible

2017-04-12 Thread Chris Lamb
Source: templayer
Version: 1.5.1-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that templayer could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/docgen_tutorial.py2017-04-12 22:16:48.315687328 +0100
--- b/docgen_tutorial.py2017-04-12 22:35:44.818256044 +0100
@@ -30,7 +30,9 @@
 
 from __future__ import nested_scopes
 
+import datetime
 import sys
+import time
 import os
 
 import templayer
@@ -75,6 +77,11 @@
 
 """
 
+try:
+date = 
datetime.datetime.utcfromtimestamp(int(os.environ['SOURCE_DATE_EPOCH'])).strftime('%a
 %b %d %H:%M:%S %Y')
+except KeyError:
+date = time.asctime()
+
 examples["lawn2"] = ["example_lawn2"]
 def example_lawn2():
import templayer
@@ -118,7 +125,7 @@
tmpl = templayer.HTMLTemplate("lawn3.html")
file_writer = tmpl.start_file()
file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
file_writer.close()
 
 template["lawn4"] = """
@@ -151,7 +158,7 @@
tmpl = templayer.HTMLTemplate("lawn4.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
main_layer.write_layer('report', day="Sunday", happenings=[
"We've got a groundhog.  I will have to stay alert.",
"I lost half a tomato plant to that furry guy."])
@@ -175,7 +182,7 @@
tmpl = templayer.HTMLTemplate("lawn4.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
main_layer.write_layer('report', day=d, happenings=h)
file_writer.close()
@@ -196,7 +203,7 @@
tmpl = templayer.HTMLTemplate("lawn4.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
main_layer.write_layer('report', day=d, happenings=h)
file_writer.close()
@@ -240,7 +247,7 @@
tmpl = templayer.HTMLTemplate("lawn5.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
happening_list = []
for w in h:
@@ -288,7 +295,7 @@
tmpl = templayer.HTMLTemplate("lawn6.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
report_layer = main_layer.open_layer('report', day=d)
for happening in h:
@@ -311,7 +318,7 @@
tmpl = templayer.HTMLTemplate("lawn6.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
report_layer = main_layer.open_layer('report', day=d)
for happening in h:
@@ -335,7 +342,7 @@
tmpl = templayer.HTMLTemplate("lawn6.html")
file_writer = tmpl.start_file()
main_layer = file_writer.open(title="Gordon's Lawn Happenings",
-   date=time.asctime())
+   date=date)
for d, h in reports:
report_layer = main_layer.open_layer('report', day=d)
for happening in h:
___
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#859517: unblock: python-django/1.10.7-1

2017-04-04 Thread Chris Lamb
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: python-modules-team@lists.alioth.debian.org

Dear release team,

Please consider unblocking python-django 1.10.7-1 for stretch. The
relevant debian/changelog entry is:

python-django (1:1.10.7-1) unstable; urgency=medium

  * New upstream security release:

- CVE-2017-7233: Open redirect and possible XSS attack via user-supplied
  numeric redirect URLs.

  Django relies on user input in some cases (e.g.
  django.contrib.auth.views.login() and i18n) to redirect the user to an
  "on success" URL. The security check for these redirects (namely
  django.utils.http.is_safe_url()) considered some numeric URLs (e.g.
  http:9) "safe" when they shouldn't be.

  Also, if a developer relies on is_safe_url() to provide safe redirect
  targets and puts such a URL into a link, they could suffer from an XSS
  attack. (Closes: #859515)

- CVE-2017-7234: Open redirect vulnerability in django.views.static.serve().

  A maliciously crafted URL to a Django site using the
  django.views.static.serve() view could redirect to any other domain. The
  view no longer does any redirects as they don't provide any known,
  useful functionality.

  Note, however, that this view has always carried a warning that it is
  not hardened for production use and should be used only as a development
  aid. Thanks Phithon Gong for reporting this issue. (Closes: #859516)

Debdiff attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -Nru python-django-1.10.6/AUTHORS python-django-1.10.7/AUTHORS
--- python-django-1.10.6/AUTHORS2017-03-01 14:28:15.0 +0100
+++ python-django-1.10.7/AUTHORS2017-04-04 16:16:56.0 +0200
@@ -692,6 +692,7 @@
 Stanislaus Madueke
 starrynight 
 Stefane Fermgier 
+Stefano Rivera 
 Stéphane Raimbault 
 Stephan Jaekel 
 Stephen Burrows 
diff -Nru python-django-1.10.6/debian/changelog 
python-django-1.10.7/debian/changelog
--- python-django-1.10.6/debian/changelog   2017-03-01 21:27:22.0 
+0100
+++ python-django-1.10.7/debian/changelog   2017-04-04 17:53:30.0 
+0200
@@ -1,3 +1,33 @@
+python-django (1:1.10.7-1) unstable; urgency=medium
+
+  * New upstream security release:
+
+- CVE-2017-7233: Open redirect and possible XSS attack via user-supplied
+  numeric redirect URLs.
+
+  Django relies on user input in some cases (e.g.
+  django.contrib.auth.views.login() and i18n) to redirect the user to an
+  "on success" URL. The security check for these redirects (namely
+  django.utils.http.is_safe_url()) considered some numeric URLs (e.g.
+  http:9) "safe" when they shouldn't be.
+
+  Also, if a developer relies on is_safe_url() to provide safe redirect
+  targets and puts such a URL into a link, they could suffer from an XSS
+  attack. (Closes: #859515)
+
+- CVE-2017-7234: Open redirect vulnerability in 
django.views.static.serve().
+
+  A maliciously crafted URL to a Django site using the
+  django.views.static.serve() view could redirect to any other domain. The
+  view no longer does any redirects as they don't provide any known,
+  useful functionality.
+
+  Note, however, that this view has always carried a warning that it is
+  not hardened for production use and should be used only as a development
+  aid. Thanks Phithon Gong for reporting this issue. (Closes: #859516)
+
+ -- Chris Lamb   Tue, 04 Apr 2017 17:53:30 +0200
+
 python-django (1:1.10.6-1) unstable; urgency=medium
 
   * New upstream bugfix release:
diff -Nru python-django-1.10.6/debian/.git-dpm 
python-django-1.10.7/debian/.git-dpm
--- python-django-1.10.6/debian/.git-dpm2017-03-01 21:27:22.0 
+0100
+++ python-django-1.10.7/debian/.git-dpm2017-04-04 17:53:30.0 
+0200
@@ -1,11 +1,11 @@
 # see git-dpm(1) from git-dpm package
-9e1c5de966ec84bda893f71e4d24080bfb53134e
-9e1c5de966ec84bda893f71e4d24080bfb53134e
-6af4842fcd60f750ff0cca6d0265854bd0910160
-6af4842fcd60f750ff0cca6d0265854bd0910160
-python-django_1.10.6.orig.tar.gz
-fd39b2134bafbd5b4af4500a948158abf3961e2b
-7734864
+0e464e28dd41c3a8d8fc0f3317650ec4e029b8c5
+0e464e28dd41c3a8d8fc0f3317650ec4e029b8c5
+f18dfc589f0b4a909be9e0cdcf48b70b4f3a7e4e
+f18dfc589f0b4a909be9e0cdcf48b70b4f3a7e4e
+python-django_1.10.7.orig.tar.gz
+5edd13a642460c33cdaf8e8166eccf6b2a2555df
+7737654
 debianTag="debian/%e%%%v"
 patchedTag="debian/patches/%e%%%v"
 upstreamTag="upstream/%e%%%u"
diff -Nru 
python-django-1.10.6/debian/patches/02_disable-sources-in-sphinxdoc.diff 
python-django-1.10.7/debian/patches/02_disable-sources-in-sphinxdoc.diff
--- python-django-1.10.6/debian/patche

[Python-modules-team] Bug#858926: vine: please make the build reproducible

2017-03-28 Thread Chris Lamb
forwarded 858926 https://github.com/celery/vine/pull/12
thanks

I've filed this upstream here:

  https://github.com/celery/vine/pull/12


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#858926: vine: please make the build reproducible

2017-03-28 Thread Chris Lamb
Source: vine
Version: 1.1.3+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that vine could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0002-Reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0002-Reproducible-build.patch  2017-03-28 
19:34:19.772697779 +0100
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2017-03-28
+
+--- vine-1.1.3+dfsg.orig/vine/five.py
 vine-1.1.3+dfsg/vine/five.py
+@@ -236,7 +236,7 @@ else:
+ exec_("""def reraise(tp, value, tb=None): raise tp, value, tb""")
+ 
+ 
+-def with_metaclass(Type, skip_attrs={'__dict__', '__weakref__'}):
++def with_metaclass(Type, skip_attrs=None):
+ """Class decorator to set metaclass.
+ 
+ Works with both Python 2 and Python 3 and it does not add
+@@ -244,6 +244,8 @@ def with_metaclass(Type, skip_attrs={'__
+ (that is -- it copies the original class instead of using inheritance).
+ 
+ """
++if skip_attrs is None:
++skip_attrs = {'__dict__', '__weakref__'}
+ def _clone_with_metaclass(Class):
+ attrs = {key: value for key, value in items(vars(Class))
+  if key not in skip_attrs}
--- a/debian/patches/series 2017-03-28 19:30:13.971932688 +0100
--- b/debian/patches/series 2017-03-28 19:34:18.320693227 +0100
@@ -1 +1,2 @@
 0001-Remove-image-from-remote-donation-site-privacy-issue.patch
+0002-Reproducible-build.patch
___
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#858629: ipywidgets: accesses the internet during build

2017-03-24 Thread Chris Lamb
Source: ipywidgets
Version: 5.2.2-3
Severity: important
Justification: Policy 4.9
User: la...@debian.org
Usertags: network-access

Dear Maintainer,

Whilst ipywidgets builds successfully on unstable/amd64, according to
Debian Policy 4.9 packages may not attempt network access during
a build.

   00:00:00.00 IP c820c8056d11.53928 > OpenWrt.lan.domain: 46291+ A? 
ipython.org. (29)
   00:00:00.49 IP c820c8056d11.53928 > OpenWrt.lan.domain: 4002+ ? 
ipython.org. (29)
   00:00:00.054637 IP OpenWrt.lan.domain > c820c8056d11.53928: 46291 2/0/0 A 
104.28.12.70, A 104.28.13.70 (61)
   00:00:00.062243 IP OpenWrt.lan.domain > c820c8056d11.53928: 4002 2/0/0  
2400:cb00:2048:1::681c:c46,  2400:cb00:2048:1::681c:d46 (85)
   00:00:00.062838 IP c820c8056d11.52778 > 104.28.12.70.http: Flags [S], seq 
742429850, win 29200, options [mss 1460,sackOK,TS val 127038798 ecr 
0,nop,wscale 7], length 0
   00:00:00.080468 IP 104.28.12.70.http > c820c8056d11.52778: Flags [S.], seq 
3948783084, ack 742429851, win 29200, options [mss 
1400,nop,nop,sackOK,nop,wscale 10], length 0
   00:00:00.080502 IP c820c8056d11.52778 > 104.28.12.70.http: Flags [.], ack 1, 
win 229, length 0
   00:00:00.080606 IP c820c8056d11.52778 > 104.28.12.70.http: Flags [P.], seq 
1:142, ack 1, win 229, length 141: HTTP: GET /ipython-doc/dev/objects.inv 
HTTP/1.1
   00:00:00.089580 IP 104.28.12.70.http > c820c8056d11.52778: Flags [.], ack 
142, win 30, length 0
   00:00:00.262054 IP 104.28.12.70.http > c820c8056d11.52778: Flags [.], seq 
1:1401, ack 142, win 30, length 1400: HTTP: HTTP/1.1 200 OK

  [..]

The full build log (including tcpdump output) is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


ipywidgets.5.2.2-3.unstable.amd64.log.txt.gz
Description: Binary data
___
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#858540: barbican: FTBFS: ImportError: No module named vine.five

2017-03-24 Thread Chris Lamb
retitle 858540 python-kombu: Missing build-depends on python-vine?
affects 858540 + neutron-fwaas
thanks

(Some bug admin...)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#858540: barbican: FTBFS: ImportError: No module named vine.five

2017-03-23 Thread Chris Lamb
Brian May wrote:

> Just for the record, this does *not* affect the version in testing.

Oh, did I mark it as such? Apologies if so :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] Comments regarding django-auth-ldap_1.2.10+dfsg-1~exp1_amd64.changes

2017-03-20 Thread Chris Lamb
Might be worth mentioning the Sphinx copyrights (eg.
docs/archive/versions/1.0.19/_static/*.css) or excluding them entirely.

 -- Chris Lamb   Mon, 20 Mar 2017 22:00:28 +



___
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#857122: python-gdata: please make the build reproducible

2017-03-08 Thread Chris Lamb
forwarded 857122 https://github.com/google/gdata-python-client/pull/56
thanks

Sent upstream here:

  https://github.com/google/gdata-python-client/pull/56


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#857122: python-gdata: please make the build reproducible

2017-03-08 Thread Chris Lamb
Source: python-gdata
Version: 2.0.18+dfsg1-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-gdata could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible_build.patch   2017-03-08 09:03:25.366050749 
+
@@ -0,0 +1,12 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2017-03-08
+
+--- python-gdata-2.0.18+dfsg1.orig/pydocs/generate_docs
 python-gdata-2.0.18+dfsg1/pydocs/generate_docs
+@@ -11,4 +11,4 @@
+ 
+ export GOOGLE_APPENGINE=/usr/local/google_appengine/
+ export PYTHONPATH=`pwd`/../src:$GOOGLE_APPENGINE
+-find ../src/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed 
"s#^\.\.\/src\/##" | sed "s#/#.#g" | xargs pydoc -w
++find ../src/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed 
"s#^\.\.\/src\/##" | sed "s#/#.#g" | LC_ALL=C sort | xargs pydoc -w
--- a/debian/patches/series 2017-03-08 08:58:41.153087234 +
--- b/debian/patches/series 2017-03-08 09:03:23.514044242 +
@@ -4,3 +4,4 @@
 disable_network_test.patch
 handle_redirects.patch
 use_system_crypto.patch
+reproducible_build.patch
___
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#834553: pyicu: please make the build reproducible

2017-03-05 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#856614: dask.distributed: please make the build reproducible

2017-03-02 Thread Chris Lamb
Source: dask.distributed
Version: 1.14.3+ds.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that dask.distributed could not be built reproducibly.

This is due to the documentation including the amount of physical
memory on the build machine.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible-build.patch   2017-03-02 22:15:34.581127710 
+
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2017-03-02
+
+--- dask.distributed-1.14.3+ds.1.orig/distributed/core.py
 dask.distributed-1.14.3+ds.1/distributed/core.py
+@@ -87,8 +87,10 @@ class Server(TCPServer):
+ """
+ default_port = 0
+ 
+-def __init__(self, handlers, max_buffer_size=MAX_BUFFER_SIZE,
++def __init__(self, handlers, max_buffer_size=None,
+ connection_limit=512, deserialize=True, **kwargs):
++if max_buffer_size is None:
++max_buffer_size = MAX_BUFFER_SIZE
+ self.handlers = assoc(handlers, 'identity', self.identity)
+ self.id = str(uuid.uuid1())
+ self._port = None
--- a/debian/patches/series 1970-01-01 01:00:00.0 +0100
--- b/debian/patches/series 2017-03-02 22:15:31.345106534 +
@@ -0,0 +1 @@
+reproducible-build.patch
___
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#856517: unblock: python-django/1.10.6-1

2017-03-01 Thread Chris Lamb
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: python-modules-team@lists.alioth.debian.org

Dear release team,

Please consider unblocking 1.10.6-1 for stretch:

 * It is a bugfix release from 1.10.5-1. The release notes are here:
   <https://docs.djangoproject.com/en/1.10/releases/1.10.6/>

 * Upstream have a good reputation for being stable/sensible wrt release
   processes.


The relevant debian/changelog entry is

python-django (1:1.10.6-1) unstable; urgency=medium

  * New upstream bugfix release:
- Fixed ClearableFileInput’s “Clear” checkbox on model form fields where
  the model field has a default (#27805).
- Fixed RequestDataTooBig and TooManyFieldsSent exceptions crashing rather
  than generating a bad request response (#27820).
- Fixed a crash on Oracle and PostgreSQL when subtracting DurationField or
  IntegerField from DateField (#27828).
- Fixed query expression date subtraction accuracy on PostgreSQL for
  differences larger than a month (#27856).
- Fixed a GDALException raised by GDALClose on GDAL ≥ 2.0 (#27479).

debdiff is attached, most of which is updating the documentation/tests rather
than code itself.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -Nru python-django-1.10.5/debian/changelog 
python-django-1.10.6/debian/changelog
--- python-django-1.10.5/debian/changelog   2017-01-05 09:34:42.0 
+
+++ python-django-1.10.6/debian/changelog   2017-03-01 20:27:22.0 
+
@@ -1,3 +1,18 @@
+python-django (1:1.10.6-1) unstable; urgency=medium
+
+  * New upstream bugfix release:
+- Fixed ClearableFileInput’s “Clear” checkbox on model form fields 
where
+  the model field has a default (#27805).
+- Fixed RequestDataTooBig and TooManyFieldsSent exceptions crashing rather
+  than generating a bad request response (#27820).
+- Fixed a crash on Oracle and PostgreSQL when subtracting DurationField or
+  IntegerField from DateField (#27828).
+- Fixed query expression date subtraction accuracy on PostgreSQL for
+  differences larger than a month (#27856).
+- Fixed a GDALException raised by GDALClose on GDAL ≥ 2.0 (#27479).
+
+ -- Chris Lamb   Wed, 01 Mar 2017 20:27:22 +
+
 python-django (1:1.10.5-1) unstable; urgency=medium
 
   * New upstream bugfix release.
diff -Nru python-django-1.10.5/debian/.git-dpm 
python-django-1.10.6/debian/.git-dpm
--- python-django-1.10.5/debian/.git-dpm2017-01-05 09:34:42.0 
+
+++ python-django-1.10.6/debian/.git-dpm2017-03-01 20:27:22.0 
+
@@ -1,11 +1,11 @@
 # see git-dpm(1) from git-dpm package
-6df8d6595a73ce176293504812907794267ea833
-6df8d6595a73ce176293504812907794267ea833
-ff948890704131513a97bcb09beef9ce22aa01e9
-ff948890704131513a97bcb09beef9ce22aa01e9
-python-django_1.10.5.orig.tar.gz
-07b638e6039ef9b04bd59f0e94f000b3889dde91
-7734715
+9e1c5de966ec84bda893f71e4d24080bfb53134e
+9e1c5de966ec84bda893f71e4d24080bfb53134e
+6af4842fcd60f750ff0cca6d0265854bd0910160
+6af4842fcd60f750ff0cca6d0265854bd0910160
+python-django_1.10.6.orig.tar.gz
+fd39b2134bafbd5b4af4500a948158abf3961e2b
+7734864
 debianTag="debian/%e%%%v"
 patchedTag="debian/patches/%e%%%v"
 upstreamTag="upstream/%e%%%u"
diff -Nru 
python-django-1.10.5/debian/patches/02_disable-sources-in-sphinxdoc.diff 
python-django-1.10.6/debian/patches/02_disable-sources-in-sphinxdoc.diff
--- python-django-1.10.5/debian/patches/02_disable-sources-in-sphinxdoc.diff
2017-01-05 09:34:42.0 +
+++ python-django-1.10.6/debian/patches/02_disable-sources-in-sphinxdoc.diff
2017-03-01 20:27:22.0 +
@@ -1,4 +1,4 @@
-From 15805219b8a4a50aaa4b47e953a42735ef9dfb59 Mon Sep 17 00:00:00 2001
+From 6b7a6fd2d8bd46eaee2f9d59269fab42178ea231 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= 
 Date: Sun, 11 Oct 2015 11:43:19 +1100
 Subject: Disable creation of _sources directory by Sphinx
diff -Nru 
python-django-1.10.5/debian/patches/06_use_debian_geoip_database_as_default.diff
 
python-django-1.10.6/debian/patches/06_use_debian_geoip_database_as_default.diff
--- 
python-django-1.10.5/debian/patches/06_use_debian_geoip_database_as_default.diff
2017-01-05 09:34:42.0 +
+++ 
python-django-1.10.6/debian/patches/06_use_debian_geoip_database_as_default.diff
2017-03-01 20:27:22.0 +
@@ -1,4 +1,4 @@
-From 6df8d6595a73ce176293504812907794267ea833 Mon Sep 17 00:00:00 2001
+From 9e1c5de966ec84bda893f71e4d24080bfb53134e Mon Sep 17 00:00:00 2001
 From: Tapio Rantala 
 Date: Sun, 11 Oct 2015 11:43:20 +1100
 Subject: Use Debian GeoIP database path as default
diff -Nru python-django-1.10.5/django/contrib/gis/gdal/prototypes/raster.py 
python-django-1.10.6/django/contrib/gis/gdal/prototypes/raster.py
--- python-django-1.10.5/django/c

[Python-modules-team] Bug#855908: hiro: FTBFS: test_segment_not_complete_error [...] AssertionError: False is not true

2017-02-23 Thread Chris Lamb
--
  Ran 18 tests in 10.016s
  
  FAILED (failures=1)
  E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
«BUILDDIR»/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13
  debian/rules:5: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


hiro.0.2-2.unstable.amd64.log.txt.gz
Description: Binary data
___
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#778419: fedmsg: please make the build reproducible

2017-02-18 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#852482: flask-limiter: please make the build reproducible

2017-02-18 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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] pygame_1.9.3+dfsg-1_i386.changes REJECTED

2017-02-11 Thread Chris Lamb

Quite a few missing references, including at least src/freetype/ft_layout.c etc
(I stopped looking there).

 -- Chris Lamb   Sat, 11 Feb 2017 21:13:55 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


___
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#854716: python3-django-cors-headers: Does not work with Django 1.10

2017-02-09 Thread Chris Lamb
severity 854716 serious
thanks

Given stretch has 1.10.5, this seems RC :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#854549: python-hypothesis: please make the build reproducible

2017-02-09 Thread Chris Lamb
tags 854549 + fixed-upstream
thanks

Fixed upstream:

  
https://github.com/HypothesisWorks/hypothesis-python/pull/440#ref-issue-111976063


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#854332: cloud-sptheme: please make the build reproducible

2017-02-08 Thread Chris Lamb
tags 854332 + fixed-upstream
thanks

Fixed upstream in 1.8.3:

  
https://bitbucket.org/ecollins/cloud_sptheme/pull-requests/22/please-make-the-build-reproducible/diff#comment-31148412


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
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#854549: python-hypothesis: please make the build reproducible

2017-02-08 Thread Chris Lamb
forwarded 854549 https://github.com/HypothesisWorks/hypothesis-python/pull/440
thanks

FYI I've forwarded this upstream.


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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


  1   2   3   4   >