Bug 258609

Summary: textproc/py-elementpath: Update to 2.3.2
Product: Ports & Packages Reporter: Sascha Biberhofer <ports>
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (wen)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 258610    
Description Flags
textproc/py-elementpath: Update to 2.3.2 none

Description Sascha Biberhofer 2021-09-19 18:28:31 UTC
Created attachment 228017 [details]
textproc/py-elementpath: Update to 2.3.2

This patch updates textproc/py-elementpath to 2.3.2 since the recent update of textproc/py-xmlschema to 1.7.1 actually is broken w/ the current version of this port.

Portwise, it's a simple version bump, but I'm not really sure about the accuracy of the deplist since no strict deps are mentioned in the package's setup.py

Another issue is that the teststuite currently fails for 4 tests with the same assertion error:

    def test_exp_math_function(self):
        token = self.parser.parse('math:exp(())')
        self.assertEqual(self.parser.parse('math:exp(0)').evaluate(), 1.0)
>       self.assertEqual(self.parser.parse('math:exp(1)').evaluate(), 2.718281828459045)
E       AssertionError: 2.7182818284590455 != 2.718281828459045

I haven't really looked into the nature if this failure, but it doesn't appear to be a major problem when compared with a broken py-xmlschema. :/

Feedback would be very welcome.
Comment 1 commit-hook freebsd_committer 2021-09-20 23:39:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f845ffff6f0bfb22aa70053c294968bd08cf97e

commit 0f845ffff6f0bfb22aa70053c294968bd08cf97e
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-09-20 23:37:55 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-09-20 23:37:55 +0000

    textproc/py-elementpath: Update to 2.3.2

    PR:             258609
    Reported by:    ports@skyforge.at

 textproc/py-elementpath/Makefile | 2 +-
 textproc/py-elementpath/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)