Bug 258610

Summary: textproc/py-xmlschema: Bump py-elementpath dependency, add do-test target
Product: Ports & Packages Reporter: Sascha Biberhofer <ports>
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Closed FIXED    
Severity: Affects Some People CC: ports
Priority: --- Flags: dbaio: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 258609    
Bug Blocks:    
Attachments:
Description Flags
textproc/py-xmlschema: Update dependency, add do-test target none

Description Sascha Biberhofer 2021-09-19 18:34:45 UTC
Created attachment 228018 [details]
textproc/py-xmlschema: Update dependency, add do-test target

It seems that there's a bug in py-xmlschema's dependency list: While setup.py officially required elementpath>=2.2.2, it actually requires elementpath>=2.3.0 (at the very least, see [1]). This patch bumps the dependency requirements and also add the do-test target, which would have helped spotting this problem ahead of time, I think.

[1] https://github.com/sissaschool/xmlschema/issues/260
Comment 1 Danilo G. Baio freebsd_committer 2021-09-19 18:54:43 UTC
Nice catch.
Thanks for this patch. Just waiting for the elementpath upgrade.
Comment 2 commit-hook freebsd_committer 2021-09-22 00:18:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8836dd919c658a8e57d07cc75baca39603a9137a

commit 8836dd919c658a8e57d07cc75baca39603a9137a
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2021-09-22 00:15:22 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2021-09-22 00:17:15 +0000

    textproc/py-xmlschema: Bump py-elementpath dependency; Add test target

    https://github.com/sissaschool/xmlschema/issues/260

    PR:             258610

 textproc/py-xmlschema/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 3 Danilo G. Baio freebsd_committer 2021-09-22 00:19:32 UTC
Committed, thanks!