Your message dated Mon, 16 Dec 2019 11:20:02 +0000
with message-id <e1igopy-0009ug...@fasolo.debian.org>
and subject line Bug#946040: fixed in pytest-pylint 0.14.1-3
has caused the Debian Bug report #946040,
regarding Build fails with the new pylint version
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 ow...@bugs.debian.org
immediately.)


-- 
946040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946040
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pytest-pylint
Version: 0.14.1-2

The build is failing with pylint 2.4.4, log example from an Ubuntu build
https://launchpadlibrarian.net/454058807/buildlog_ubuntu-focal-amd64.pytest-pylint_0.14.1-2_BUILDING.txt.gz

I've reported the issue upstream
https://github.com/carsongee/pytest-pylint/issues/105

The debdiff attached should fix the issue

Cheers,

diff -Nru pytest-pylint-0.14.1/debian/changelog 
pytest-pylint-0.14.1/debian/changelog
--- pytest-pylint-0.14.1/debian/changelog       2019-11-19 08:01:18.000000000 
+0100
+++ pytest-pylint-0.14.1/debian/changelog       2019-12-03 11:06:41.000000000 
+0100
@@ -1,3 +1,10 @@
+pytest-pylint (0.14.1-3) unstable; urgency=medium
+
+  * debian/patches/import_warning_fix.patch:
+    - reorder imports to fix pylint import-outside-toplevel warnings
+
+ -- Sebastien Bacher <seb...@ubuntu.com>  Tue, 03 Dec 2019 10:58:36 +0100
+
 pytest-pylint (0.14.1-2) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru pytest-pylint-0.14.1/debian/patches/import_warning_fix.patch 
pytest-pylint-0.14.1/debian/patches/import_warning_fix.patch
--- pytest-pylint-0.14.1/debian/patches/import_warning_fix.patch        
1970-01-01 01:00:00.000000000 +0100
+++ pytest-pylint-0.14.1/debian/patches/import_warning_fix.patch        
2019-12-03 11:02:18.000000000 +0100
@@ -0,0 +1,39 @@
+# Description: build was failing on pylint import-outside-toplevel tests
+# Upstream: https://github.com/carsongee/pytest-pylint/issues/105
+#
+--- test-pytest/test_pytest_pylint.py  2019-01-15 14:10:38.000000000 +0100
++++ test-pytest/test_pytest_pylint.py.new      2019-12-03 10:57:27.668814673 
+0100
+@@ -3,7 +3,8 @@
+ Unit testing module for pytest-pylint plugin
+ """
+ import mock
+-
++from pytest_pylint import get_rel_path
++from pytest_pylint import include_file
+ 
+ pytest_plugins = ('pytester',)  # pylint: disable=invalid-name
+ 
+@@ -128,7 +129,6 @@
+     """
+     Verify our relative path function.
+     """
+-    from pytest_pylint import get_rel_path
+     correct_rel_path = 'How/Are/You/blah.py'
+     path = '/Hi/How/Are/You/blah.py'
+     parent_path = '/Hi/'
+@@ -168,7 +168,6 @@
+     Files should only be included in the list if none of the directories on
+     it's path, of the filename, match an entry in the ignore list.
+     """
+-    from pytest_pylint import include_file
+     ignore_list = [
+         "first", "second", "third", "part", "base.py"
+     ]
+@@ -191,7 +190,6 @@
+ 
+ def test_pylint_ignore_patterns():
+     """Test if the ignore-patterns is working"""
+-    from pytest_pylint import include_file
+     ignore_patterns = [
+         "first.*",
+         ".*second",
diff -Nru pytest-pylint-0.14.1/debian/patches/series 
pytest-pylint-0.14.1/debian/patches/series
--- pytest-pylint-0.14.1/debian/patches/series  2019-07-25 14:03:35.000000000 
+0200
+++ pytest-pylint-0.14.1/debian/patches/series  2019-12-03 10:59:16.000000000 
+0100
@@ -1,2 +1,3 @@
 0001-Removed-PEP8-py.test-plugin.patch
 0002-Disable-abstract-method-pylint-check.patch
+import_warning_fix.patch

--- End Message ---
--- Begin Message ---
Source: pytest-pylint
Source-Version: 0.14.1-3

We believe that the bug you reported is fixed in the latest version of
pytest-pylint, 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 946...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Nový <on...@debian.org> (supplier of updated pytest-pylint 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 16 Dec 2019 11:54:52 +0100
Source: pytest-pylint
Architecture: source
Version: 0.14.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Ondřej Nový <on...@debian.org>
Closes: 946040
Changes:
 pytest-pylint (0.14.1-3) unstable; urgency=medium
 .
   [ Sebastien Bacher ]
   * debian/patches/import_warning_fix.patch:
     - reorder imports to fix pylint import-outside-toplevel warnings
     (Closes: #946040)
Checksums-Sha1:
 7a8f149cc42a34a980edde9252be3ec2c03743a7 2275 pytest-pylint_0.14.1-3.dsc
 10c3dc1a1b0a9582c396ba05f0d4cca5d5439073 11232 
pytest-pylint_0.14.1-3.debian.tar.xz
 06a11c0e72b4fa6d8400c9f4d4b88da26bc248ba 6955 
pytest-pylint_0.14.1-3_amd64.buildinfo
Checksums-Sha256:
 4c1f6787185701fd479d3870b03260f8a1e16ba011a036a9c81e8e7af97edd2d 2275 
pytest-pylint_0.14.1-3.dsc
 e94124e696a9777fd34131c29b87ad9058268c176f60cc15937933abab77159d 11232 
pytest-pylint_0.14.1-3.debian.tar.xz
 67c83ae333a41cfd5c1d7e22cd7eb5cba38cb8311781c082b88a86b6ac096124 6955 
pytest-pylint_0.14.1-3_amd64.buildinfo
Files:
 029f16e80b77c31bd78f59a13b68cf13 2275 python optional 
pytest-pylint_0.14.1-3.dsc
 7e1ee69a61273ba07de5083ce66e64d4 11232 python optional 
pytest-pylint_0.14.1-3.debian.tar.xz
 3b23f1fe15c84b5645281e4d4b1ace89 6955 python optional 
pytest-pylint_0.14.1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEPZg8UuuFmAxGpWCQNXMSVZ0eBksFAl33YwoACgkQNXMSVZ0e
BkvpHA/9ElStKhQelc6Fd7HQOqhaY0UgYSR38/2y8dRgZMGP0k/YDlEhtTFHqY7K
i1TjSUP02FGeYXbvCPD7eyx+GTyade9jLyjlUnK56AgCVQp7kO7hr6cQh3wYT0cp
VGHvtYhKEgShZwtqNRaC2m1ZBmCtEeHX1mvFs4hROnWc1kvPbPH1kstpxQWk1pB3
z9V59jU5lIdp2n5s7lp2Fue7OnMEUslTaSmOBpNPwe5/VZ3ZaLgfUyIWPdTW6nIG
scelPT48GX0lQoxJalAkfaEhqlUxK9dmzf6lzJDNO1lgebVzt3nInE3kjDaogDaM
vAK8F49laZhHhPmNYKjGwHlz0OJRdfghYK3vTLAzo2eIV20sXbvm47fN3/PdVYZJ
5X0+Fya7GsK5BUGF6AXB32qYawLJ7zg5T4vyaQ4XnDEIXBl3sbHPsLvLf94I3mTf
KxFrk25FTGeGyaqdr6idFco21p055jL4vO/oTN+Iv1qzPS/CIXG5B5I9xcHWAcm6
TjO5sv2uwcmArMMTllSb5HRBlJwfDKIo2mA/tHWnt+EgKdcUeZHRpFizUOxIpDN+
cmiG6shpA/iaKdlnHXwlAcmVJwYh9HNUuj/CfKgx5+KgnwakTthcBZbKvBZ4fNL7
8Ih1YWpURh7Nvd8ypFVokKm/Nqbyq2QPGiDpYD9C0IyiuhGyUdM=
=k2Pi
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to