Package Details: csvkit 1.0.6-1

Git Clone URL: https://aur.archlinux.org/csvkit.git (read-only, click to copy)
Package Base: csvkit
Description: A suite of utilities for converting to and working with CSV
Upstream URL: https://csvkit.readthedocs.org
Licenses: MIT
Submitter: None
Maintainer: alerque
Last Packager: alerque
Votes: 14
Popularity: 2.62
First Submitted: 2018-11-10 20:40
Last Updated: 2021-08-05 08:36

Required by (0)

Sources (1)

Pinned Comments

alerque commented on 2020-03-03 07:18

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issue reports or contributions are welcome either in comments below or via this GitHub repository.

Latest Comments

1 2 3 Next › Last »

alerque commented on 2021-08-05 09:37

Just two more votes on this package and I can start the process to get it moved to [community]. Attention lurkers!

leuko commented on 2020-10-26 10:08

I get the following error:

======================================================================
FAIL: test_convert_dbf (tests.test_utilities.test_in2csv.TestIn2CSV)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/u/.cache/pikaur/build/csvkit/src/csvkit-1.0.5/tests/test_utilities/test_in2csv.py", line 75, in test_convert_dbf
    self.assertConverted('dbf', 'examples/testdbf.dbf', 'examples/testdbf_converted.csv')
  File "/home/u/.cache/pikaur/build/csvkit/src/csvkit-1.0.5/tests/test_utilities/test_in2csv.py", line 26, in assertConverted
    self.assertEqual(output, f.read())
AssertionError: 'STATEFP10,CD111FP,GEOID10,NAMELSAD10,LSAD[860 chars]63\n' != 'statefp10,cd111fp,geoid10,namelsad10,lsad[860 chars]63\n'
Diff is 1027 characters long. Set self.maxDiff to None to see it.

Using csv-git solved the problem.

alerque commented on 2020-04-03 10:55

@cladellas That's a problem with with python-leather, not this package. Incidentally I've fixed it there, the requirement is only for running the check() function. You can either add the extra dependencies or use --nocheck.

cladellas commented on 2020-04-03 00:15

Hello, this is the end of the error that was showing in python-leather:

====================================================================== ERROR: test_tick_formatter (tests.test_axis.TestChart)


Traceback (most recent call last): File "/tmp/trizen-user/python-leather/src/leather-0.3.3/tests/test_axis.py", line 36, in test_tick_formatter svg = self.render_chart(chart) File "/tmp/trizen-user/python-leather/src/leather-0.3.3/leather/testcase.py", line 21, in render_chart return self.parse_svg(svg) File "/tmp/trizen-user/python-leather/src/leather-0.3.3/leather/testcase.py", line 24, in parse_svg from lxml import etree ModuleNotFoundError: No module named 'lxml'

====================================================================== ERROR: test_ticks (tests.test_axis.TestChart)


Traceback (most recent call last): File "/tmp/trizen-user/python-leather/src/leather-0.3.3/tests/test_axis.py", line 22, in test_ticks svg = self.render_chart(chart) File "/tmp/trizen-user/python-leather/src/leather-0.3.3/leather/testcase.py", line 21, in render_chart return self.parse_svg(svg) File "/tmp/trizen-user/python-leather/src/leather-0.3.3/leather/testcase.py", line 24, in parse_svg from lxml import etree ModuleNotFoundError: No module named 'lxml'


Ran 70 tests in 3.315s

FAILED (errors=15) Test failed: <unittest.runner.TextTestResult run=70 errors=15 failures=0> error: Test failed: <unittest.runner.TextTestResult run=70 errors=15 failures=0> ==> ERROR: A failure occurred in check(). Canceling... :: Unable to build python-leather - makepkg exited with code: 4 =>> Try again? [y/N]:

alerque commented on 2020-04-02 08:42

@cladellas I can't find any reference to lxml or crate in the source code for CSVKIT, so those must me dependencies of some other dependency along the way. I don't really want to stuff dependencies in there without knowing clearly why they are needed. LXML is something that is frequently an optional dependency for faster XML parsing, but I don't see it being referenced anywhere. As for CRATE, I don't think that's a dependency at all. I don't have it installed on any machines and use CSVKIT everywhere.

cladellas commented on 2020-04-02 00:22

Hello, I have been trying to install csvkit in Manjaro KDE and it did not allow to install, I have made the following changes before to install:

Install the following dependencies that are not installed during csvkit installation:

pacman -S python-lxml

trizen -S python-crate-git

I've also made the makepkg --nocheck change which is commented on the python-agate package:

https://aur.archlinux.org/packages/python-agate/

After these changes csvkit has been installed perfectly!

Regards

Anonymous comment on 2020-03-03 18:23

@caleb sure, I can add you to co-maintainers.

alerque commented on 2020-03-03 07:19

@maln0ir If you care to add be as a co-maintainer I'd be happy to help keep this (and it's dependencies) up to date.

alerque commented on 2020-03-03 07:18

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issue reports or contributions are welcome either in comments below or via this GitHub repository.

Anonymous comment on 2020-02-25 18:25

@caleb patch applied, thanks!