Fix test on python 3.10

Bug #1959377 reported by Alexandre Ghiti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitsome (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As can be seen in [1], gitsome autopkgtests fail against python 3.10 because it uses 'collections' instead of 'collections.abc', that syntax being deprecated since python 3.3.

You can find attached a patch that fixes this issue: the package successfully built in my PPA [2] and the autopkgtests passed locally on an amd64 VM.

[1] https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/g/gitsome/20220126_092330_5ad21@/log.gz
[2] https://launchpad.net/~alexghiti/+archive/ubuntu/riscv/+packages

Tags: fr-2012
Revision history for this message
Alexandre Ghiti (alexghiti) wrote :
tags: added: fr-2012
Revision history for this message
Alexandre Ghiti (alexghiti) wrote :

Find attached an updated version of the patch that contains the URL to the github PR.

Revision history for this message
Lukas Märdian (slyon) wrote :

Thank you for forwarding the patch and updating the distro-patch's headers accordingly!

I applied a few small changes before I uploaded this:
* Close the bug via the changelog & make it a bit more compact
* run update-maintainer as we have introduced a new delta
* the Description: filed must use whitespace for a long description

$ dput ubuntu ../gitsome_0.8.0+ds-6ubuntu1_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: ../gitsome_0.8.0+ds-6ubuntu1_source.changes: Valid signature from 5889C17AB1C8D890
Checking signature on .dsc
gpg: ../gitsome_0.8.0+ds-6ubuntu1.dsc: Valid signature from 5889C17AB1C8D890
Uploading to ubuntu (via sftp to upload.ubuntu.com):
  Uploading gitsome_0.8.0+ds-6ubuntu1.dsc: done.
  Uploading gitsome_0.8.0+ds-6ubuntu1.debian.tar.xz: done.
  Uploading gitsome_0.8.0+ds-6ubuntu1_source.buildinfo: done.
  Uploading gitsome_0.8.0+ds-6ubuntu1_source.changes: done.
Successfully uploaded packages.

Changed in gitsome (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gitsome - 0.8.0+ds-6ubuntu1

---------------
gitsome (0.8.0+ds-6ubuntu1) jammy; urgency=medium

  * d/p/python3.10-support.patch: Add support for python3.10 (LP: #1959377)

 -- Alexandre Ghiti <email address hidden> Fri, 28 Jan 2022 10:43:07 +0100

Changed in gitsome (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.