Bug 258609 - textproc/py-elementpath: Update to 2.3.2
Summary: textproc/py-elementpath: Update to 2.3.2
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks: 258610
  Show dependency treegraph
 
Reported: 2021-09-19 18:28 UTC by Sascha Biberhofer
Modified: 2021-09-20 23:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments
textproc/py-elementpath: Update to 2.3.2 (924 bytes, patch)
2021-09-19 18:28 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: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.assertIsNone(token.evaluate())
        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 freebsd_triage 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(-)