Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718938 - =dev-python/pykwalify-1.7.0: add python3_8 support
Summary: =dev-python/pykwalify-1.7.0: add python3_8 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 22:59 UTC by Marek Szuba
Modified: 2020-04-23 07:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2020-04-22 22:59:42 UTC
The current state blocks enabling python3_8 support in app-backup/borgmatic, which its upstream states does support this version of Python.

pykwalify upstream does not officially support this Python 3.8 yet but some distros (e.g. Debian) already package for it. Moreover, having applied two patches required to have the 1.7.0 test suite pass even for currently supported Python versions, I just have confirmed it passes for python3_8 either.
Comment 1 Marek Szuba archtester gentoo-dev 2020-04-22 23:03:44 UTC
Upstream commits required to fix the test suite:

https://github.com/Grokzen/pykwalify/commit/744816a146e567a4c1efd30e874ff76134754fe2

https://github.com/Grokzen/pykwalify/commit/49052dd010637e1403c8b2b1c3710926acd2b1a0

The first one fixes a broken test, the second is required to support current versions of pytest.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-23 07:12:06 UTC
Thanks a lot.  This is certainly helpful ;-).
Comment 3 Larry the Git Cow gentoo-dev 2020-04-23 07:28:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370797b0043b0cc3f75b353ff738af0e75c68f2b

commit 370797b0043b0cc3f75b353ff738af0e75c68f2b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-23 07:15:38 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-23 07:28:08 +0000

    dev-python/pykwalify: Fix tests, modernize, py3.8
    
    Thanks to Marek Szuba for pointing out the patches.
    
    Closes: https://bugs.gentoo.org/718938
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pykwalify/files/pykwalify-1.7.0-test.patch     | 48 ++++++++++++++++++++++
 dev-python/pykwalify/pykwalify-1.7.0.ebuild        | 18 ++++----
 2 files changed, 55 insertions(+), 11 deletions(-)