Your message dated Thu, 18 Apr 2024 14:51:34 +0000
with message-id <[email protected]>
and subject line Bug#1060637: fixed in python-pymysql 1.1.0-1
has caused the Debian Bug report #1060637,
regarding python-pymysql: please port package from unittest2 to mock.unittest
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.)


-- 
1060637: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-pymysql
Severity: normal

Please port this package away from Unittest2 which is deprecated.


diff --git a/debian/control b/debian/control
index a517b8b..0483ea5 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,6 @@ Build-Depends:
  python3-sphinx,
 Build-Depends-Indep:
  default-mysql-server,
- python3-unittest2,
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-pymysql
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-pymysql.git
diff --git a/debian/patches/0001-Disabling-not-working-unit-tests.patch 
b/debian/patches/0001-Disabling-not-working-unit-tests.patch
index fd04ba5..2e181b3 100644
--- a/debian/patches/0001-Disabling-not-working-unit-tests.patch
+++ b/debian/patches/0001-Disabling-not-working-unit-tests.patch
@@ -18,7 +18,7 @@ Index: python-pymysql/pymysql/tests/test_issues.py
                      warnings.filterwarnings("ignore")
                      cur.execute("drop table if exists test_field_count")
  
-+    @unittest2.skip("Not working on Debian")
++    @unittest.skip("Not working on Debian")
      def test_issue_321(self):
          """ Test iterable as query argument. """
          conn = pymysql.connect(charset="utf8", **self.databases[0])
@@ -29,14 +29,14 @@ Index: python-pymysql/pymysql/tests/test_load_local.py
 @@ -1,11 +1,13 @@
  from pymysql import cursors, OperationalError, Warning
  from pymysql.tests import base
-+import unittest2
++from mock import unittest
  
  import os
  
  __all__ = ["TestLoadLocal"]
  
  
[email protected]("Not working on Debian")
[email protected]("Not working on Debian")
  class TestLoadLocal(base.PyMySQLTestCase):
      def test_no_file(self):
          """Test load local infile when the file does not exist"""


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: python-pymysql
Source-Version: 1.1.0-1
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pymysql, 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.
Thomas Goirand <[email protected]> (supplier of updated python-pymysql 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: SHA256

Format: 1.8
Date: Mon, 11 Mar 2024 08:57:43 +0100
Source: python-pymysql
Architecture: source
Version: 1.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1060637
Changes:
 python-pymysql (1.1.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * Add build-depends on pybuild-plugin-pyproject.
   * Rebased removed-broken-tests.patch.
   * Removed build-depends on python3-unittest2 (Closes: #1060637).
   * Blacklist test_load_warnings() that doesn't work with Debian default
     mariadb config.
Checksums-Sha1:
 e747c5d26ec1abe136bc46a9f8c16e1ec650008e 2271 python-pymysql_1.1.0-1.dsc
 40f7ddbe224bda3efe8f5b0a648d0b4677b0d1e0 73256 python-pymysql_1.1.0.orig.tar.xz
 bb20a629b0d96e212f113a94ffd0af24112fab12 7304 
python-pymysql_1.1.0-1.debian.tar.xz
 3b3506a48ba8566d950451ed901f432f2c963073 10109 
python-pymysql_1.1.0-1_amd64.buildinfo
Checksums-Sha256:
 a8e4c72236cf7013fa8b33624272c853a146622ee24e04c0ddccaa6cfcf88010 2271 
python-pymysql_1.1.0-1.dsc
 cfb7552acf45b17035491e299f26c093af2f2b5939fd1890c86f305c66d3f671 73256 
python-pymysql_1.1.0.orig.tar.xz
 5b15881947bb926cb8ff332ecfc2bd5ca9d734db6f9f72910476ba11a69fd7d1 7304 
python-pymysql_1.1.0-1.debian.tar.xz
 e5b8f9608251f24d9a977c84fc5b5d34b0cf83c964371da32db6d28c024b7ba1 10109 
python-pymysql_1.1.0-1_amd64.buildinfo
Files:
 003d2ddd40d3e750403efed537846516 2271 python optional 
python-pymysql_1.1.0-1.dsc
 78bd19bf7b9a32671b464206c0794474 73256 python optional 
python-pymysql_1.1.0.orig.tar.xz
 750cf2e31fddf903acebc61f7ae57b38 7304 python optional 
python-pymysql_1.1.0-1.debian.tar.xz
 6589cfda73f542845ffafcbe0f9a8ead 10109 python optional 
python-pymysql_1.1.0-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmYhIrYACgkQ1BatFaxr
Q/6jIQ/+PhGhMH1bVYnuqsEnyJ2/g5YFZHaW4s8Nd3+ot4D85vMuNN6q5kGZcxhr
gOcxS3n76GwdhA3CevAbj2Zlrup6HHK778tcRuBjfXUdyaKT/WNpST7Xa32FKvXZ
XdaBnVtf5RGtvqS51ntzKeP5Q81+VLaDizhGqEzzoSzhetqel7dcBJMi5HRI9U+J
IZT4NPjI1Rf2kh2suRDnPtDRcY3AkoY7xDTtmwO6DDBqqWFmnYh1R15j0PAbOYtR
bQprW23uXnPPf5NvVnVrYEZH2r+tnjfi/tLA5EQx+3yV29Oleb7hZDf/EDhMr+Sn
++b+1BLb7mhefMxJ9pqY8c610phqKDYOMQes6+FC+W10sAoGbCOxpMrZELTdhf+Z
QgQfp+3ygBmZr45rbRvmJYFfQT3zHfSDhmbYGXYUvieUtd2fD82kipGFzJgvOiKQ
b1R9hAt8kdYf91OtfNKD24MMVa4Yyj6f37UwHTZfeMyz2oRL82fuqPgs6X+S7b/Y
wtJj698JpASSwZ2VOyGFgr4I2zIiJInj4+pl9TrSKPrYuDJynKgWQ0s45wqNXkT5
v/+l+r0e/uyMDmH9arDOWXK7ADro4OmZFT5lTHotjSq6yA+CIBvfRe8r5ioaB3SF
0qNT/IlK2Ksy8VRAAq1kNwmSUQrhH0xXW42TQXjUrg4XNPQSQAQ=
=ZUEx
-----END PGP SIGNATURE-----

Attachment: pgpYNbvFeah0b.pgp
Description: PGP signature


--- End Message ---

Reply via email to