Comment 16 for bug 2060649

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Upgrade

root@n:~/python-wcmatch# apt install python3-wcmatch -t noble-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaio1 libsoup2.4-1 libsoup2.4-common libvpx8 python3-boto
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  python3-wcmatch
1 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
Need to get 32.8 kB of archives.
After this operation, 1024 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/universe amd64 python3-wcmatch all 8.4-2ubuntu0.1 [32.8 kB]
Fetched 32.8 kB in 0s (87.1 kB/s)
(Reading database ... 134318 files and directories currently installed.)
Preparing to unpack .../python3-wcmatch_8.4-2ubuntu0.1_all.deb ...
Unpacking python3-wcmatch (8.4-2ubuntu0.1) over (8.4-2) ...
Setting up python3-wcmatch (8.4-2ubuntu0.1) ...
Scanning processes...
Scanning candidates...

Restarting services...
 systemctl restart wsdd-server.service

Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart networkd-dispatcher.service
 systemctl restart systemd-logind.service
 systemctl restart unattended-upgrades.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

----

root@n:~/python-wcmatch# ansible-lint test.yaml
WARNING Listing 2 violation(s) that are fatal
fqcn[action-core]: Use FQCN for builtin module actions (apt).
test.yaml:4 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.

yaml[truthy]: Truthy value should be one of [false, true]
test.yaml:8

Read documentation for instructions on how to ignore specific rule violations.

                 Rule Violation Summary
 count tag profile rule associated tags
     1 yaml[truthy] basic formatting, yaml
     1 fqcn[action-core] production formatting

Failed: 2 failure(s), 0 warning(s) on 1 files. Last profile that met the validation criteria was 'min'.

----

root@n:~/python-wcmatch# ansible-lint test2.yaml

Passed: 0 failure(s), 0 warning(s) on 1 files. Last profile that met the validation criteria was 'production'.

----

root@n:~/test# apt source python-wcmatch
Reading package lists... Done
NOTICE: 'python-wcmatch' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/python-team/packages/python-wcmatch.git
Please use:
git clone https://salsa.debian.org/python-team/packages/python-wcmatch.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 123 kB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/universe python-wcmatch 8.4-2ubuntu0.1 (dsc) [2273 B]
Get:2 http://archive.ubuntu.com/ubuntu noble-proposed/universe python-wcmatch 8.4-2ubuntu0.1 (tar) [117 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-proposed/universe python-wcmatch 8.4-2ubuntu0.1 (diff) [4296 B]
Fetched 123 kB in 1s (167 kB/s)
dpkg-source: info: extracting python-wcmatch in python-wcmatch-8.4
dpkg-source: info: unpacking python-wcmatch_8.4.orig.tar.gz
dpkg-source: info: unpacking python-wcmatch_8.4-2ubuntu0.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying lp-2060649-support-Python-3.12.patch
W: Download is performed unsandboxed as root as file 'python-wcmatch_8.4-2ubuntu0.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
root@n:~/test# cd python-wcmatch-8.4/
root@n:~/test/python-wcmatch-8.4# head debian/changelog
python-wcmatch (8.4-2ubuntu0.1) noble; urgency=medium

  * d/p/lp-2060649-support-Python-3.12.patch: compatibility with python 3.12
    (LP: #2060649)

 -- Christian Ehrhardt <email address hidden> Thu, 11 Jul 2024 11:51:29 +0200

python-wcmatch (8.4-2) unstable; urgency=medium

  [ Debian Janitor ]
root@n:~/test/python-wcmatch-8.4# pytest
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.4.0
rootdir: /root/test/python-wcmatch-8.4
configfile: tox.ini
collected 1315 items

tests/test_fnmatch.py ..........................................................................................................................................................s...... [ 12%]
                                                                                                                                                                                        [ 12%]
tests/test_glob.py ....s..s................s.s..s.s..s.........sssssss.......s.ssss.....s.s..............s.........s.s.......s..s................s.s..s.s..s.........sssssss.......s.ss [ 24%]
ss.....s.s..............s.........s.s....s..............s..s......s.s.........ssssss....s..s................s.s..s.s..s.........sssssss.......s.ssss.....s.s..............s.........s.s [ 38%]
......s...ss................. [ 40%]
tests/test_globmatch.py ss...............s.s.s..........s...............................................s............s...s.....s.s....s....s...s.s......s..s......s......s............. [ 52%]
.............s.......s.......................................s...s........................s..s.s........s..s....s.s.....s.....ss...............s.s.s..........s........................ [ 66%]
.......................s............s...s.....s.s....s....s...s.s......s..s......s......s..........................s.......s.......................................s...s............... [ 80%]
.........s..s.s........s..s....s.s.....s..........................................................................s........................................... [ 92%]
tests/test_pathlib.py ................................................. [ 96%]
tests/test_versions.py .... [ 96%]
tests/test_wcmatch.py .......................... [ 98%]
tests/test_wcparse.py ................ [100%]

============================================================================== 1165 passed, 150 skipped in 2.59s ==============================================================================

Thereby, verification done.
If anyone can test it in the field, as some of you helpful people did with the PPA already give it a go and let us know if you find any unexpected regression before it is released to everyone.