Your message dated Sat, 14 Sep 2019 00:50:25 +0000 with message-id <[email protected]> and subject line Bug#914481: fixed in python-pylxd 2.2.10-1 has caused the Debian Bug report #914481, regarding [bank] python3-pylxd: Python3-pylxd is not Python3 compatible 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.) -- 914481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914481 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-pylxd Version: 2.0.0~b1-2 Severity: important Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** Trying to interact with LXD with a Python3 program, I thought I'd try pylxd, but I don't think this package has been tested under Python3. # export LXD_DIR="" # python3 >>>> from pylxd import client >>>> c = client.Client() #### FAIL #### # export LXD_DIR=/var/snap/lxd/common/lxd # python3 >>>> from pylxd import client >>>> c = client.Client() #### FAIL #### The following patches at lest let me do a few things, but I don't have time to go through all the code. --- client.py.orig 2018-11-23 11:41:31.959501342 -0700 +++ client.py 2018-11-23 11:47:29.315413276 -0700 @@ -111,11 +111,11 @@ else: if 'LXD_DIR' in os.environ: path = os.path.join( - os.environ.get['LXD_DIR'], 'unix.socket') + os.environ.get('LXD_DIR'), 'unix.socket') else: path = '/var/lib/lxd/unix.socket' self.api = _APINode('http+unix://{}'.format( - urllib.quote(path, safe=''))) + urllib.parse.quote(path, safe=''))) self.api = self.api[version] self.containers = self.Containers(self) --- container.py.orig 2018-11-23 11:49:13.620723578 -0700 +++ container.py 2018-11-23 11:49:20.761360981 -0700 @@ -70,7 +70,7 @@ def __init__(self, **kwargs): super(Container, self).__init__() - for key, value in kwargs.iteritems(): + for key, value in kwargs.items(): setattr(self, key, value) def reload(self): -- System Information: Debian Release: 9.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-pylxd depends on: ii python3 3.5.3-1 ii python3-babel 2.3.4+dfsg.1-2 ii python3-dateutil 2.5.3-2 ii python3-openssl 16.2.0-1 ii python3-pbr 1.10.0-1 ii python3-requests 2.12.4-1 ii python3-requests-unixsocket 0.1.5-3 ii python3-six 1.10.0-3 python3-pylxd recommends no packages. python3-pylxd suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-pylxd Source-Version: 2.2.10-1 We believe that the bug you reported is fixed in the latest version of python-pylxd, 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-pylxd 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: Sat, 14 Sep 2019 02:09:53 +0200 Source: python-pylxd Architecture: source Version: 2.2.10-1 Distribution: unstable Urgency: medium Maintainer: Debian OpenStack <[email protected]> Changed-By: Thomas Goirand <[email protected]> Closes: 914481 938074 Changes: python-pylxd (2.2.10-1) unstable; urgency=medium . [ Ondřej Nový ] * Standards-Version is 3.9.8 now (no change) * d/rules: Changed UPSTREAM_GIT protocol to https * d/control: Use [email protected] as maintainer * Use debhelper-compat instead of debian/compat. * d/control: Set Vcs-* to salsa.debian.org . [ Daniel Baumann ] * Updating maintainer field. * Running wrap-and-sort -bast. * Removing gbp.conf, not used anymore or should be specified in the developers dotfiles. * Deprecating priority extra as per policy 4.0.1. * Updating standards version to 4.1.0. . [ Thomas Goirand ] * New upstream release (Closes: #914481). * Removed Python 2 support (Closes: #938074). * Drop all of debian/patches, as that's obsolete patches. Checksums-Sha1: bba95ecc00743fdf86e28509cd4e0c53f327a8bc 2433 python-pylxd_2.2.10-1.dsc 431aaa31c7a7073b6243845e45c76d67e970a37e 73132 python-pylxd_2.2.10.orig.tar.xz d453c76052e97d83325e0e76d0e4966b462fa161 2712 python-pylxd_2.2.10-1.debian.tar.xz 8cf3bed36db4fbf6ced02503f83a5ba825df6a5a 9802 python-pylxd_2.2.10-1_amd64.buildinfo Checksums-Sha256: 350d8ada2fa7977e0dd38077a777e23b5b3bd64561c4c485e3958cafe41ecd25 2433 python-pylxd_2.2.10-1.dsc a8cce19e3cf94bf88869411d57954fc758f85f65793feb7b9e30304abe8e7551 73132 python-pylxd_2.2.10.orig.tar.xz ab27065a4abc96670be8731f0ad3843c98d579f1f0f9c0ab00a651d90215b86d 2712 python-pylxd_2.2.10-1.debian.tar.xz 1be5a24e3f5939e053645172c73e36221246f78fb0e23ae0c3dd0e073289bb61 9802 python-pylxd_2.2.10-1_amd64.buildinfo Files: 2a71d632018e594320ba4aca67a34b21 2433 python optional python-pylxd_2.2.10-1.dsc 4d1ec54f3c1928c3a318febe2542ce97 73132 python optional python-pylxd_2.2.10.orig.tar.xz 5d5e0f9af9654ed2b4bbeb3430bc4650 2712 python optional python-pylxd_2.2.10-1.debian.tar.xz 361548e62d8e3e2107de454d5eb1ad49 9802 python optional python-pylxd_2.2.10-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAl18Mx4ACgkQ1BatFaxr Q/515Q/+Jt7tCbYouBVZJskB2Phdoz0kPVH63DH67M1vLWO6ySsrx307olU/3ePM rdfRANdZ33i+cS/EL7SmJytFhiWYBAipWSJQqW9vx3hLWfnNlNSFVUIFirFPrdPw BXEjHW1tqBf/caqLKm4yvIuznqu/jINFlU2MXOefrbiT2EDVoYyG0uZpIu5V/cQF PODeDMsUHvY088v9LDOVC6k/W9NfiTRidaSpM52TIXM9T1b4S5+HwSBkCQMAfT4Q 1IJ4ZkyANRn83UIzDJFtq7K5Cpuu3EtVyQPtOADSZD3S196stWRv93KjX/h9wPzl yqElTytVyrUirKrG2K1VIPB0cQP++PDZ0tWfeF6Ed45UV+CxvtxxVT+s+wzgSi+v L2l3NQDFzhr7tB5ezdhjrf42Ft2jwBG7XRIEi6UpK9Ir0dFJyygB5b4WPASAUdgA xRyykqmehYptxLLKcW2KX5dIq4AzShkliy8HLGEN8XXxb6XjAdejV1onQLAkSrMq VyfWo7WrfeX8rI6TzdD//Nc44UUKZ+f4yqSlTE0Wuex24CH0NyFy8cwqZMrCyDUB kULXhJXz5JmnzCPGfaMtRju3CDZLUEh7q+npMm8IbhlTT6i8fg89Yg0ZPqFHYSdj mf2GpxO34XHAcmZ5lWVJKlflw5PudRiA0EGGajk7OXvMe5Y9ho4= =qlDW -----END PGP SIGNATURE-----
--- End Message ---

