Your message dated Sun, 18 Feb 2018 04:04:56 +0000
with message-id <[email protected]>
and subject line Bug#887816: fixed in isort 4.3.4+ds1-1
has caused the Debian Bug report #887816,
regarding isort: Please don't install test_isort.py to global Python namespace
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
887816: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887816
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: isort
Version: 4.2.5+ds1-3
Severity: important

Hi!

src:isort installs:

 * usr/lib/python2.7/dist-packages/test_isort.py
 * usr/lib/python3/dist-packages/test_isort.py

... as it moves them for testing. We houldn't pollute the global Python
namespaces with such files.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 279ae8f..8118c43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 export PYBUILD_NAME=isort
-export PYBUILD_BEFORE_TEST=cp {dir}/test_isort.py {build_dir}
+export PYBUILD_BEFORE_TEST=mkdir -p {build_dir}/tests && cp 
{dir}/test_isort.py {build_dir}
+export PYBUILD_TEST_ARGS={build_dir}/tests/
 
 %:
        dh $@ --with python2,python3 --buildsystem=pybuild

--- End Message ---
--- Begin Message ---
Source: isort
Source-Version: 4.3.4+ds1-1

We believe that the bug you reported is fixed in the latest version of
isort, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tristan Seligmann <[email protected]> (supplier of updated isort package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 18 Feb 2018 05:40:19 +0200
Source: isort
Binary: isort python-isort python3-isort
Architecture: source
Version: 4.3.4+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: Tristan Seligmann <[email protected]>
Description:
 isort      - utility for sorting Python imports
 python-isort - library for sorting Python imports (Python 2)
 python3-isort - library for sorting Python imports (Python 3)
Closes: 887816
Changes:
 isort (4.3.4+ds1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Stop installing test_isort.py (closes: #887816); thanks to Chris Lamb
     for the patch.
   * Update lintian override name: debian-watch-does-not-check-gpg-signature
   * Bump Standards-Version to 4.1.3 (no changes).
   * Use https for copyright format URL.
Checksums-Sha1:
 f07fe233686b268a67d26539f026b6d98b732f35 2048 isort_4.3.4+ds1-1.dsc
 098a33058ef59594fd2e7ad930c5ed899717872f 147867 isort_4.3.4+ds1.orig.tar.gz
 fffbb912f3aa4ca7d935d4b8487c1c851276ad8c 4432 isort_4.3.4+ds1-1.debian.tar.xz
 05db1cd35128e371d32161e6ae3b0e79e8361d99 6914 
isort_4.3.4+ds1-1_source.buildinfo
Checksums-Sha256:
 b12a4431f8360f307fec392852345c58f5173eb29ab06c0c4951890af2ba5c72 2048 
isort_4.3.4+ds1-1.dsc
 7683f6f38a567cf0bca038581cdc8e57024e543c180333c2484d797bd547ed31 147867 
isort_4.3.4+ds1.orig.tar.gz
 db97bc12d2a9b4024dab6391f18d429f0231f08cef528bee679787eaf4277a56 4432 
isort_4.3.4+ds1-1.debian.tar.xz
 da23eaf101a2aea12711b7c8194db1edb7ffabf1e7ff563cbb67110f424ecd90 6914 
isort_4.3.4+ds1-1_source.buildinfo
Files:
 23abeb73c637148dc1858e3772e05556 2048 python optional isort_4.3.4+ds1-1.dsc
 0f37a561d9aeb0245c95461c92891c8e 147867 python optional 
isort_4.3.4+ds1.orig.tar.gz
 0fd2e6397366589073b839202517db11 4432 python optional 
isort_4.3.4+ds1-1.debian.tar.xz
 b7e8f63565d76ae502bb498398a83c55 6914 python optional 
isort_4.3.4+ds1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQGpBAEBCgCTFiEEXAZWhXVRbQoz/6ejwImQ+x9jeJMFAlqI+FtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVD
MDY1Njg1NzU1MTZEMEEzM0ZGQTdBM0MwODk5MEZCMUY2Mzc4OTMVHG1pdGhyYW5k
aUBkZWJpYW4ub3JnAAoJEMCJkPsfY3iTks0IAJ8vF1nGqB8QDndbbrAZ2OuyMTXi
aQA4TXTxKHsKqhh0ixosmU72cskOKopOkWZzzcfmC94yy/RAU4Frqrj8dJAv/1E3
mC1/8hG81I1cX7hApnuFQK0Ss++q3/gOtw3oLMUv2BzuidYrwwu3FGaKrOuvOXtC
HtilxumQ2gzjJtoCI1DET6DuAcH/4x4HK3yvgkZaOSNE6yoNw+sjs4Sd9RM0iX7p
sWKG3xcqNNQXANmD7O51DZnVBND6lfWgsZTwD9+CkzEhpT/HJEhaWYEy0WT8Nbee
sC2uIw4CgOcMi/bILYvFA4sAuMCzs1URP32EwaNeVE+qEJEmNLIQ7nMyO6Q=
=LxQi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to