Package Details: python-agate 1.6.1-4

Git Clone URL: (read-only, click to copy)
Package Base: python-agate
Description: A data analysis library that is optimized for humans instead of machines
Upstream URL:
Licenses: MIT
Submitter: gabrielmagno
Maintainer: maln0ir (caleb)
Last Packager: caleb
Votes: 6
Popularity: 0.075409
First Submitted: 2016-07-08 16:55
Last Updated: 2020-05-29 00:06

Latest Comments

ktw commented on 2020-03-23 14:11

@caleb Thanks for looking into this. I guess we wait for upstream; for now I've resolved the issue by running my aur helper via LANG=en_US yay ...

caleb commented on 2020-03-23 12:14

@ktw This builds fine for locales than don't change the decimal separator. You can either disable the test suite (makepkg --nocheck) and/or report a bug upstream that they should force the locale in their test suite such that it will produce reproducible results.

I could force a locale reset in the check function too, but I think that might be me into trouble on systems that didn't have whatever locale I pick. If you have any examples elsewhere demonstrating how this should be fixed I'm happy to oblige, but given my current knowledge I think this is an upstream bug.

P.S. This appears to already be reported upstream as it is also an issue on Debian.

ktw commented on 2020-03-22 16:10

Build is failing for me -- the test cases fail due to locale issues? E.g. here is the result of test_bins_decimals:

FAIL: test_bins_decimals (tests.test_table.test_bins.TestBins)
Traceback (most recent call last):
  File "/home/kacper/.cache/yay/python-agate/src/agate-1.6.1/tests/test_table/", line 113, in test_bins_decimals
    self.assertSequenceEqual(new_table.rows[0], ['[0.0 - 0.1)', 10])
AssertionError: Sequences differ: <agate.rows.Row object at 0x7f0f93d09d40> != ['[0.0 - 0.1)', 10]

First differing element 0:
'[0,0 - 0,1)'
'[0.0 - 0.1)'

- <agate.rows.Row object at 0x7f0f93d09d40>
+ ['[0.0 - 0.1)', 10]

This is on a system where LANG=pl_PL.UTF-8.