Bug 258610 - textproc/py-xmlschema: Bump py-elementpath dependency, add do-test target
Summary: textproc/py-xmlschema: Bump py-elementpath dependency, add do-test target
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Danilo G. Baio
Depends on: 258609
  Show dependency treegraph
Reported: 2021-09-19 18:34 UTC by Sascha Biberhofer
Modified: 2021-09-22 00:19 UTC (History)
1 user (show)

See Also:
dbaio: maintainer-feedback+

textproc/py-xmlschema: Update dependency, add do-test target (948 bytes, patch)
2021-09-19 18:34 UTC, Sascha Biberhofer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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


    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!