Bug#858841: unblock: spyder/3.1.3+dfsg1-3 (pre-approval)

2017-03-27 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package spyder

Since the migration of spyder version 3.1.2 in Stretch, upstream has
released a newer bugfix release (3.1.3) which they consider should be
the one supported long term [1]. The list of changes are comprehensively
recorded in the change log [2] and include a large list of fixes for
various crashes and segfaults.

Another issue is the broken code completion feature due to the update of
jedi from 0.9.x to 0.10.x in the archive. Code completion was working in
Jessie and is no longer working in Stretch, so I consider this important
for our users. I was able to cherry-pick the upstream fix on top of
3.1.3 [3], but the latter does not apply cleanly on top of 3.1.2.

To sum-up, I am requesting your approval for updating spyder to version
3.1.3 by migrating the package currently sitting in experimental to
unstable and then Stretch.

[1] https://github.com/spyder-ide/spyder/pull/4121#issuecomment-288244364
[2] 
https://github.com/spyder-ide/spyder/blob/master/CHANGELOG.md#version-313-2017-02-20
[3] 
https://anonscm.debian.org/cgit/debian-science/packages/spyder.git/commit/?h=experimental=8ef2a2db2040bfd6eabed96a02f90cad0a34ef71

Best regards,
Ghis

unblock spyder/3.1.3+dfsg1-3

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

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



Bug#858838: unblock: python-qtawesome/0.4.4+ds1-1 (pre-approval)

2017-03-27 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package python-qtawesome

An important bug was found on the QtAwesome Python library but was
wrongly assigned to spyder at the time of the freeze (#844601). Upstream
then released version 0.4.4, which only contains the fix for the said
bug.

I have prepared an update including the new upstream release fixing this
bug, also merged a downstream fix from Ubuntu and improved the DEP-8
tests to cover all supported Python versions. The corresponding debdiff
is attached with this email. I would like to request your approval for
pushing this update to unstable and letting it migrate to Stretch.

Best regards,
Ghis

unblock python-qtawesome/0.4.4+ds1-1

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-qtawesome-0.4.3/CHANGELOG.md 
python-qtawesome-0.4.4+ds1/CHANGELOG.md
--- python-qtawesome-0.4.3/CHANGELOG.md 2017-01-22 13:13:15.0 +
+++ python-qtawesome-0.4.4+ds1/CHANGELOG.md 2017-01-28 22:03:42.0 
+
@@ -1,5 +1,19 @@
 # History of changes
 
+## Version 0.4.4 (2017-01-28)
+
+### Bugs fixed
+
+**Pull requests**
+
+* [PR 70](https://github.com/spyder-ide/qtawesome/pull/70) - PR: Prevent 
segfaults when importing QtAwesome out of a of QApplication
+
+In this release 1 pull request was merged
+
+
+
+
+
 ## Version 0.4.3 (2017-01-22)
 
 ### Bugs fixed
diff -Nru python-qtawesome-0.4.3/debian/changelog 
python-qtawesome-0.4.4+ds1/debian/changelog
--- python-qtawesome-0.4.3/debian/changelog 2017-01-24 00:47:22.0 
+
+++ python-qtawesome-0.4.4+ds1/debian/changelog 2017-03-27 14:50:02.0 
+0100
@@ -1,3 +1,14 @@
+python-qtawesome (0.4.4+ds1-1) unstable; urgency=medium
+
+  * Filter spurious bytecode files from tarball
+  * New upstream release (Closes: #844601)
+  * Call xvfb-run with -a -s "-screen 0 1024x768x24 +extension GLX" to fix
+segfaults on Ubuntu.
+Thanks to Dmitry Shachnev
+  * Run autopkgtests for all supported Python versions
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Mon, 27 Mar 2017 14:50:02 
+0100
+
 python-qtawesome (0.4.3-1) unstable; urgency=medium
 
   * Switch to git-dpm
diff -Nru python-qtawesome-0.4.3/debian/copyright 
python-qtawesome-0.4.4+ds1/debian/copyright
--- python-qtawesome-0.4.3/debian/copyright 2017-01-24 00:47:22.0 
+
+++ python-qtawesome-0.4.4+ds1/debian/copyright 2017-03-27 14:50:02.0 
+0100
@@ -1,6 +1,8 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: qtawesome
 Source: https://github.com/spyder-ide/qtawesome
+Comment: Spurious bytecode files are excluded.
+Files-Excluded: qtawesome/tests/__pycache__/*
 
 Files: *
 Copyright: 2015 The Spyder Development Team
diff -Nru python-qtawesome-0.4.3/debian/.git-dpm 
python-qtawesome-0.4.4+ds1/debian/.git-dpm
--- python-qtawesome-0.4.3/debian/.git-dpm  2017-01-24 00:47:22.0 
+
+++ python-qtawesome-0.4.4+ds1/debian/.git-dpm  2017-03-27 14:50:02.0 
+0100
@@ -1,11 +1,11 @@
 # see git-dpm(1) from git-dpm package
-a699b9288646c00802eaaa95c0d1e353decd6364
-a699b9288646c00802eaaa95c0d1e353decd6364
-503eba56b88b7cb3cd3930dbb13ccc91ce5057ff
-503eba56b88b7cb3cd3930dbb13ccc91ce5057ff
-python-qtawesome_0.4.3.orig.tar.gz
-c03d11d444a1c8ce704c40720e36125d01a3cf6b
-158547
+bd70c9f1881f0a3bede47757db183a7a2ddc7cff
+bd70c9f1881f0a3bede47757db183a7a2ddc7cff
+1852c97f07a08c89330741387f9ea36dee74a8bf
+1852c97f07a08c89330741387f9ea36dee74a8bf
+python-qtawesome_0.4.4+ds1.orig.tar.gz
+528605f1d2ba0e760508b73153d9bd45da88283e
+158896
 debianTag="debian/%e%v"
 patchedTag="patched/%e%v"
 upstreamTag="upstream/%e%u"
diff -Nru 
python-qtawesome-0.4.3/debian/patches/0001-Make-intersphinx-link-with-system-documentation.patch
 
python-qtawesome-0.4.4+ds1/debian/patches/0001-Make-intersphinx-link-with-system-documentation.patch
--- 
python-qtawesome-0.4.3/debian/patches/0001-Make-intersphinx-link-with-system-documentation.patch
2017-01-24 00:47:22.0 +
+++ 
python-qtawesome-0.4.4+ds1/debian/patches/0001-Make-intersphinx-link-with-system-documentation.patch
2017-03-27 14:50:02.0 +0100
@@ -1,4 +1,4 @@
-From 797dd345de78a16bd7cf50b38cbabc4f494554d4 Mon Sep 17 00:00:00 2001
+From f63f0017409f13b480f535e07be54671f2a15048 Mon Sep 17 00:00:00 2001
 From: Ghislain Antony Vaillant <ghisv...@gmail.com>
 Date: Mon, 11 Jul 2016 15:12:19 +0100
 Subject: Make intersphinx link with system documentation
diff -Nru python-qtawesome-0.4.3/debian/patches/0002-Use-system-fonts.patch 
python-qtawesome-0.4.4+ds1/d

Bug#858836: unblock: h5py/2.7.0~rc3-2 or h5py/2.7.0-1 (pre-approval)

2017-03-27 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package h5py

Whilst improving the DEP-8 tests of h5py to cover all supported Python
versions, I discovered that the -dbg packages were missing an install
dependency on Numpy (#858727). Without this fix, using python-h5py-dbg
or python3-h5py-dbg would result in an ImportError.

I have prepared an update providing the more comprehensive DEP-8 tests
and solving the issue with the missing numpy-dbg install dependencies.
The corresponding debdiff is attached with this email. I would like to
request your approval for pushing this update to unstable and letting it
migrate to Stretch.

On a closing note, upstream recently released h5py version 2.7.0. This
version does not differ much from 2.7.0~rc3, and providing it would
allow us to drop the last two patches from the patch queue that had to
be cherry-picked in order to get rc3 to work. Therefore, perhaps
shipping 2.7.0 instead of rc3 would be better from a maintenance
perspective.

Best regards,
Ghis

unblock h5py/2.7.0~rc3-2

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru h5py-2.7.0~rc3/debian/changelog h5py-2.7.0~rc3/debian/changelog
--- h5py-2.7.0~rc3/debian/changelog 2017-01-25 14:13:35.0 +
+++ h5py-2.7.0~rc3/debian/changelog 2017-03-25 15:55:00.0 +
@@ -1,3 +1,10 @@
+h5py (2.7.0~rc3-2) unstable; urgency=medium
+
+  * Run DEP-8 tests for all supported Python versions
+  * Add missing i-deps on python{,3}-numpy-dbg (Closes: #858727)
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Sat, 25 Mar 2017 15:55:00 
+
+
 h5py (2.7.0~rc3-1) unstable; urgency=medium
 
   * New upstream release (Closes: #851162)
diff -Nru h5py-2.7.0~rc3/debian/control h5py-2.7.0~rc3/debian/control
--- h5py-2.7.0~rc3/debian/control   2017-01-25 14:13:35.0 +
+++ h5py-2.7.0~rc3/debian/control   2017-03-25 15:55:00.0 +
@@ -69,7 +69,8 @@
 Depends: ${misc:Depends},
  ${python:Depends},
  ${shlibs:Depends},
- python-h5py (= ${binary:Version})
+ python-h5py (= ${binary:Version}),
+ python-numpy-dbg
 Description: debug extension for h5py (Python 2)
  HDF5 for Python (h5py) is a general-purpose Python interface to the
  Hierarchical Data Format library, version 5. HDF5 is a versatile, mature
@@ -125,7 +126,8 @@
 Depends: ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends},
- python3-h5py (= ${binary:Version})
+ python3-h5py (= ${binary:Version}),
+ python3-numpy-dbg
 Description: debug extension for h5py (Python 3)
  HDF5 for Python (h5py) is a general-purpose Python interface to the
  Hierarchical Data Format library, version 5. HDF5 is a versatile, mature
diff -Nru h5py-2.7.0~rc3/debian/tests/control 
h5py-2.7.0~rc3/debian/tests/control
--- h5py-2.7.0~rc3/debian/tests/control 2017-01-25 14:13:35.0 +
+++ h5py-2.7.0~rc3/debian/tests/control 2017-03-25 15:55:00.0 +
@@ -1,9 +1,27 @@
-Test-Command: cd $AUTOPKGTEST_TMP
- ; python -c "import h5py; h5py.run_tests()"
-Depends: python-h5py
+Test-Command: set -e
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -c "import h5py; h5py.run_tests()"
+ ; echo "Testing with $py-dbg:"
+ ; $py-dbg -c "import h5py; h5py.run_tests()"
+ ; done
+Depends: python-all,
+ python-all-dbg,
+ python-h5py,
+ python-h5py-dbg
 Restrictions: allow-stderr
 
-Test-Command: cd $AUTOPKGTEST_TMP
- ; python3 -c "import h5py; h5py.run_tests()"
-Depends: python3-h5py
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -c "import h5py; h5py.run_tests()"
+ ; echo "Testing with $py-dbg:"
+ ; $py-dbg -c "import h5py; h5py.run_tests()"
+ ; done
+Depends: python3-all,
+ python3-all-dbg,
+ python3-h5py,
+ python3-h5py-dbg
 Restrictions: allow-stderr


Bug#858721: unblock: python-qtpy/1.2.1-2

2017-03-25 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package python-qtpy

Santiago Vila reported intermitent FTBFS issues with python-qtpy in the
reproducible builds [1, 2]. After several failed attempts at finding a
fix for this problem, we agreed to temporarily stop running the tests at
package build time (but leave the DEP-8 tests running).

Please consider allowing this update to migrate to Stretch. The
corresponding debdiff will be attached to this email.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854496
[2] 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-qtpy.html

Cheers,
Ghis

unblock python-qtpy/1.2.1-2

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-qtpy-1.2.1/debian/changelog python-qtpy-1.2.1/debian/changelog
--- python-qtpy-1.2.1/debian/changelog  2017-01-22 08:09:05.0 +
+++ python-qtpy-1.2.1/debian/changelog  2017-03-14 13:45:24.0 +
@@ -1,3 +1,14 @@
+python-qtpy (1.2.1-2) unstable; urgency=medium
+
+  * Run autopkgtests for all supported Python versions
+  * Temporarily disable testing at package build time
+- Drop b-deps required for testing
+- Disable testing stage in pybuild
+- Drop use of dh_auto_test override
+Thanks to Santiago Vila for investigating (Closes: #854496)
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Tue, 14 Mar 2017 13:45:24 
+
+
 python-qtpy (1.2.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru python-qtpy-1.2.1/debian/control python-qtpy-1.2.1/debian/control
--- python-qtpy-1.2.1/debian/control2017-01-22 08:09:05.0 +
+++ python-qtpy-1.2.1/debian/control2017-03-14 13:45:24.0 +
@@ -5,23 +5,10 @@
 Priority: optional
 Build-Depends: debhelper (>= 10),
dh-python,
-   dpkg-dev (>= 1.17.14),
python-all,
-   python-pyqt5 ,
-   python-pyqt5.qtmultimedia ,
-   python-pyqt5.qtsvg ,
-   python-pyqt5.qtwebkit ,
-   python-pytest ,
python-setuptools,
python3-all,
-   python3-pyqt5 ,
-   python3-pyqt5.qtmultimedia ,
-   python3-pyqt5.qtsvg ,
-   python3-pyqt5.qtwebkit ,
-   python3-pytest ,
-   python3-setuptools,
-   xauth ,
-   xvfb 
+   python3-setuptools
 Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/python-modules/packages/python-qtpy.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-qtpy.git
diff -Nru python-qtpy-1.2.1/debian/rules python-qtpy-1.2.1/debian/rules
--- python-qtpy-1.2.1/debian/rules  2017-01-22 08:09:05.0 +
+++ python-qtpy-1.2.1/debian/rules  2017-03-14 13:45:24.0 +
@@ -4,13 +4,8 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME = qtpy
-export PYBUILD_BEFORE_TEST = cp -r {dir}/qtpy/tests {build_dir}
-export PYBUILD_AFTER_TEST = rm -r {build_dir}/tests
+# Testing is temporarily disabled for Stretch, see #854496.
+export PYBUILD_DISABLE = test
 
 %:
dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
-   xvfb-run dh_auto_test
-endif
diff -Nru python-qtpy-1.2.1/debian/tests/control 
python-qtpy-1.2.1/debian/tests/control
--- python-qtpy-1.2.1/debian/tests/control  2017-01-22 08:09:05.0 
+
+++ python-qtpy-1.2.1/debian/tests/control  2017-03-14 13:45:24.0 
+
@@ -1,5 +1,25 @@
-Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; 
xvfb-run py.test
-Depends: python-qtpy, python-pytest, xauth, xvfb
+Test-Command: set -e
+ ; cp -r qtpy/tests "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a $py -m pytest -v
+ ; done
+Depends: python-all,
+ python-qtpy,
+ python-pytest,
+ xauth,
+ xvfb
 
-Test-Command: cp -a ./qtpy/tests $AUTOPKGTEST_TMP ; cd $AUTOPKGTEST_TMP ; 
xvfb-run py.test-3
-Depends: python3-qtpy, python3-pytest, xauth, xvfb
+Test-Command: set -e
+ ; cp -r qtpy/tests "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a $py -m pytest -v
+ ; done
+Depends: python3-all,
+ python3-qtpy,
+ python3-pytest,
+ xauth,
+ xvfb


Bug#857269: unblock: pybind11/2.0.1-3

2017-03-09 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package pybind11

The current packaging of pybind11 available in Stretch suffers an
important deficiency which was brought to me after the freeze dealine.

The -dev package does not ship its corresponding CMake packaging
configuration (#854502), which is a critical component to facilitate
the use of this library by external CMake projects.

I have rectified the problem in subsequent updates in unstable (2.0.1-2,
2.0.1-3). Please consider applying the debdiff between 2.0.1-1 and
2.0.1-3 attached below.

Cheers,
Ghis

unblock pybind11/2.0.1-3

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru pybind11-2.0.1/debian/changelog pybind11-2.0.1/debian/changelog
--- pybind11-2.0.1/debian/changelog 2017-01-07 17:36:51.0 +
+++ pybind11-2.0.1/debian/changelog 2017-02-26 20:43:11.0 +
@@ -1,3 +1,19 @@
+pybind11 (2.0.1-3) unstable; urgency=medium
+
+  * Run autopkgtests for all supported Python versions
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Sat, 25 Feb 2017 12:11:08 
+
+
+pybind11 (2.0.1-2) unstable; urgency=medium
+
+  * Fix missing CMake package configuration in -dev package
+- New patch 0002-Arch-indep-CMake-package-configuration.patch
+- Install the missing CMake package configuration
+- Use CMake to build the autopkgtest example tests
+Thanks to Jason Rhinelander for reporting (Closes: #854502)
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Thu, 23 Feb 2017 13:16:46 
+
+
 pybind11 (2.0.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru pybind11-2.0.1/debian/.git-dpm pybind11-2.0.1/debian/.git-dpm
--- pybind11-2.0.1/debian/.git-dpm  2017-01-07 17:36:51.0 +
+++ pybind11-2.0.1/debian/.git-dpm  2017-02-26 20:43:11.0 +
@@ -1,6 +1,6 @@
 # see git-dpm(1) from git-dpm package
-c2010fb61826c45bdd0ee6f36c17d7bf84d8daaf
-c2010fb61826c45bdd0ee6f36c17d7bf84d8daaf
+c91e0ad75aa42ff3252b14c90a9b77c2309a76be
+c91e0ad75aa42ff3252b14c90a9b77c2309a76be
 72d57df80676e2965c20128f76f00d4ae6fd696d
 72d57df80676e2965c20128f76f00d4ae6fd696d
 pybind11_2.0.1.orig.tar.gz
diff -Nru 
pybind11-2.0.1/debian/patches/0002-Arch-indep-CMake-package-configuration.patch 
pybind11-2.0.1/debian/patches/0002-Arch-indep-CMake-package-configuration.patch
--- 
pybind11-2.0.1/debian/patches/0002-Arch-indep-CMake-package-configuration.patch 
1970-01-01 01:00:00.0 +0100
+++ 
pybind11-2.0.1/debian/patches/0002-Arch-indep-CMake-package-configuration.patch 
2017-02-26 20:43:11.0 +
@@ -0,0 +1,26 @@
+From c91e0ad75aa42ff3252b14c90a9b77c2309a76be Mon Sep 17 00:00:00 2001
+From: Ghislain Antony Vaillant <ghisv...@gmail.com>
+Date: Tue, 7 Feb 2017 20:08:59 +
+Subject: Arch-indep CMake package configuration
+
+---
+ CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 341f845..4757ea4 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -117,9 +117,12 @@ if (PYBIND11_INSTALL)
+   configure_package_config_file(tools/${PROJECT_NAME}Config.cmake.in
+ 
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
+ INSTALL_DESTINATION 
${PYBIND11_CMAKECONFIG_INSTALL_DIR})
++  set(_PYBIND11_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
++  unset(CMAKE_SIZEOF_VOID_P)
+   
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+VERSION ${${PROJECT_NAME}_VERSION}
+COMPATIBILITY AnyNewerVersion)
++  set(CMAKE_SIZEOF_VOID_P ${_PYBIND11_CMAKE_SIZEOF_VOID_P})
+   install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+ tools/FindPythonLibsNew.cmake
diff -Nru pybind11-2.0.1/debian/patches/series 
pybind11-2.0.1/debian/patches/series
--- pybind11-2.0.1/debian/patches/series2017-01-07 17:36:51.0 
+
+++ pybind11-2.0.1/debian/patches/series2017-02-26 20:43:11.0 
+
@@ -1 +1,2 @@
 0001-Use-system-include-path.patch
+0002-Arch-indep-CMake-package-configuration.patch
diff -Nru pybind11-2.0.1/debian/pybind11-dev.install 
pybind11-2.0.1/debian/pybind11-dev.install
--- pybind11-2.0.1/debian/pybind11-dev.install  2017-01-07 17:36:51.0 
+
+++ pybind11-2.0.1/debian/pybind11-dev.install  2017-02-26 20:43:11.0 
+
@@ -1 +1,2 @@
-include/* usr/include
+usr/include
+usr/share/cmake usr/

Bug#857266: unblock: bottleneck/1.2.0-6

2017-03-09 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package bottleneck

The last upload of src:bottleneck which migrated to Stretch (1.2.0-4)
suffers regressions (including a segfault) with the latest release of
Numpy (1.12.x).

These were found later after the freeze deadline when I started
packaging src:python-xarray. Its test suite reveiled the regressions,
which were not caught by the upstream one. The regressions have now been
fixed after iterating with both upstream and Numpy.

I have cherry-picked the relevant fixes onto the packaging in unstable
(1.2.0-5, 1.2.0-6). Please consider applying the debdiff between 1.2.0-4
and 1.2.0-6 attached below.

Cheers,
Ghis

unblock bottleneck/1.2.0-6

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru bottleneck-1.2.0/debian/changelog bottleneck-1.2.0/debian/changelog
--- bottleneck-1.2.0/debian/changelog   2017-01-25 12:24:12.0 +
+++ bottleneck-1.2.0/debian/changelog   2017-02-26 13:58:26.0 +
@@ -1,3 +1,22 @@
+bottleneck (1.2.0-6) unstable; urgency=medium
+
+  * Cherry-pick upstream fix for segfaults happening while running the tests.
+New patch 0003-Fix-segfault-caused-by-bad-refcount.patch (Closes: #856141)
+  * Run autopkgtests for all supported Python versions
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Sun, 26 Feb 2017 13:58:26 
+
+
+bottleneck (1.2.0-5) unstable; urgency=medium
+
+  [ Ghislain Antony Vaillant ]
+  * Cherry-pick upstream fix for Numpy 1.12
+- New patch 0002-Fix-issue-with-relaxed-strides.patch
+
+  [ Pietro Battiston ]
+  * Added Ghislain Antony Vaillant as Uploader
+
+ -- Pietro Battiston <m...@pietrobattiston.it>  Tue, 31 Jan 2017 13:49:00 +0100
+
 bottleneck (1.2.0-4) unstable; urgency=medium
 
   [ Ghislain Antony Vaillant ]
diff -Nru bottleneck-1.2.0/debian/control bottleneck-1.2.0/debian/control
--- bottleneck-1.2.0/debian/control 2017-01-19 20:30:29.0 +
+++ bottleneck-1.2.0/debian/control 2017-02-07 07:39:59.0 +
@@ -1,5 +1,6 @@
 Source: bottleneck
 Maintainer: Pietro Battiston <m...@pietrobattiston.it>
+Uploaders: Ghislain Antony Vaillant <ghisv...@gmail.com>
 Section: python
 Priority: optional
 Build-Depends: dh-python, python-setuptools (>= 0.6b3), python3-setuptools,
diff -Nru 
bottleneck-1.2.0/debian/patches/0002-Fix-issue-with-relaxed-strides.patch 
bottleneck-1.2.0/debian/patches/0002-Fix-issue-with-relaxed-strides.patch
--- bottleneck-1.2.0/debian/patches/0002-Fix-issue-with-relaxed-strides.patch   
1970-01-01 01:00:00.0 +0100
+++ bottleneck-1.2.0/debian/patches/0002-Fix-issue-with-relaxed-strides.patch   
2017-02-07 07:39:59.0 +
@@ -0,0 +1,43 @@
+From: Keith Goodman <kwgood...@gmail.com>
+Date: Sun, 29 Jan 2017 07:19:35 -0800
+Subject: Fix issue with relaxed strides
+
+---
+ bottleneck/src/iterators.h | 6 --
+ bottleneck/tests/util.py   | 1 +
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/bottleneck/src/iterators.h b/bottleneck/src/iterators.h
+index 3ac68cb..5bb88d6 100644
+--- a/bottleneck/src/iterators.h
 b/bottleneck/src/iterators.h
+@@ -81,13 +81,15 @@ init_iter_all(iter *it, PyArrayObject *a, int ravel, int 
anyorder)
+ it->length = 1;
+ it->astride = 0;
+ }
+-else if (C_CONTIGUOUS(a)) {
++/* The &&! in the next two else ifs is to deal with relaxed
++ * stride checking introduced in numpy 1.12.0; see gh #161 */
++else if (C_CONTIGUOUS(a) && !F_CONTIGUOUS(a)) {
+ it->ndim_m2 = -1;
+ it->axis = ndim - 1;
+ it->length = PyArray_SIZE(a);
+ it->astride = strides[ndim - 1];
+ }
+-else if (F_CONTIGUOUS(a)) {
++else if (F_CONTIGUOUS(a) && !C_CONTIGUOUS(a)) {
+ if (anyorder || !ravel) {
+ it->ndim_m2 = -1;
+ it->length = PyArray_SIZE(a);
+diff --git a/bottleneck/tests/util.py b/bottleneck/tests/util.py
+index 7f1f2a7..15e4238 100644
+--- a/bottleneck/tests/util.py
 b/bottleneck/tests/util.py
+@@ -155,6 +155,7 @@ def array_generator(func_name, dtypes):
+ yield a.reshape(shape)
+ 
+ # non-contiguous arrays
++yield np.array([[1, 2], [3, 4]])[:, [1]]  # gh 161
+ for dtype in dtypes:
+ # 1d
+ a = np.arange(12).astype(dtype)
diff -Nru 
bottleneck-1.2.0/debian/patches/0003-Fix-segfaults-caused-by-bad-refcount.patch 
bottleneck-1.2.0/debian/patches/0003-Fix-segfaults-caused-by-bad-refcount.patch
--- 
bottleneck-1.2.0/debian/patches/0003-Fix-segfaults-caused-by-bad-refcount.patch 
1970-01-01

Bug#854506: RM: python-cartopy/0.14.2+dfsg1-1

2017-02-07 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: rm

After discussing it with upstream [1], the version of cartopy currently
packaged in Stretch (0.14.2) should not be released alongside the
packaged matplotlib (2.0) and owslib (0.14), because the codebase is
known to be incompatible with their respective versions.

Since this package does not have any rdepends in testing currently, this
removal should be considered safe.

Cheers,
Ghis


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

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



Bug#851166: nmu: forge_0.9.2-2

2017-01-12 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: binnmu

nmu forge_0.9.2-2 . ANY . unstable . -m "Rebuild with fixed glm"

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)

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



Bug#813019: transition: nfft 3.3

2016-01-28 Thread Ghislain Antony Vaillant
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: transition

Dear Release Team,

I would like to request a transition for the latest version of nfft from
experimental to unstable.

Some API breaking changes were introduced from in version 3.3.0 and current
rdeps of nfft will require appropriate patching. The following bugs have been
filed with severity important:

  * pynfft: #812997
  * yorick-ynfft: #812995

Let me know if further action is required on my end. I intend to fix pynfft,
since I am the personal maintainer and upstream author of the package.

Best regards,
Ghis


Ben file:

title = "nfft";
is_affected = .depends ~ "libnfft3-1" | .depends ~ "libnfft3-2";
is_good = .depends ~ "libnfft3-2";
is_bad = .depends ~ "libnfft3-1";


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

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