From 96bce21aed536e0c8a5ad1716ea329c04eb90238fe8dd1ed7342b0428433e4cd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 24 Mar 2024 17:26:30 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.4.0:=20=20=20*=20feat:=20:d?= =?UTF-8?q?oc:`/scripts/csvpy`=20adds=20the=20options:=20=20=20--no-number?= =?UTF-8?q?-=20=20=20=20=20ellipsis,=20to=20disable=20the=20ellipsis=20(?= =?UTF-8?q?=E2=80=A6)=20if=20max=20precision=20is=20=20=20=20=20exceeded,?= =?UTF-8?q?=20for=20example,=20when=20using=20table.print=5Ftable()=20=20?= =?UTF-8?q?=20=20=20--sniff-limit`=20--no-inference`=20=20=20*=20feat:=20:?= =?UTF-8?q?doc:`/scripts/csvpy`=20adds=20the=20options:=20=20=20*=20--no-n?= =?UTF-8?q?umber-ellipsis,=20to=20disable=20the=20ellipsis=20(=E2=80=A6)?= =?UTF-8?q?=20if=20max=20=20=20=20=20precision=20is=20exceeded,=20for=20ex?= =?UTF-8?q?ample,=20when=20using=20=20=20=20=20table.print=5Ftable()=20=20?= =?UTF-8?q?=20*=20feat:=20:doc:`/scripts/csvpy`=20removes=20the=20--linenu?= =?UTF-8?q?mbers=20and=20=20=20=20=20--zero=20output=20options,=20which=20?= =?UTF-8?q?had=20no=20effect.=20=20=20*=20feat:=20:doc:`/scripts/csvpy`=20?= =?UTF-8?q?removes=20the=20--linenumbers=20and=20=20=20=20=20--zero=20outp?= =?UTF-8?q?ut=20options,=20which=20had=20no=20effect.=20=20=20*=20feat:=20?= =?UTF-8?q?:doc:`/scripts/in2csv`=20adds=20a=20--reset-dimensions=20option?= =?UTF-8?q?=20=20=20=20=20to=20recalculate=20the=20dimensions=20of=20an=20?= =?UTF-8?q?XLSX=20file,=20instead=20of=20=20=20=20=20trusting=20the=20file?= =?UTF-8?q?'s=20metadata.=20csvkit's=20dependency=20agate-excel=20=20=20?= =?UTF-8?q?=20=200.4.0=20automatically=20recalculates=20the=20dimensions?= =?UTF-8?q?=20if=20the=20file's=20=20=20=20=20metadata=20expresses=20dimen?= =?UTF-8?q?sions=20of=20"A1:A1"=20(a=20single=20cell).=20=20=20*=20feat:?= =?UTF-8?q?=20:doc:`/scripts/in2csv`=20adds=20a=20--reset-dimensions=20opt?= =?UTF-8?q?ion=20=20=20=20=20to=20recalculate=20the=20dimensions=20of=20an?= =?UTF-8?q?=20XLSX=20file,=20instead=20of=20=20=20=20=20trusting=20the=20f?= =?UTF-8?q?ile's=20metadata.=20csvkit's=20dependency=20agate-excel=20=20?= =?UTF-8?q?=20=20=200.4.0=20automatically=20recalculates=20the=20dimension?= =?UTF-8?q?s=20if=20the=20file's=20=20=20=20=20metadata=20expresses=20dime?= =?UTF-8?q?nsions=20of=20"A1:A1"=20(a=20single=20cell).=20=20=20*=20fix:?= =?UTF-8?q?=20:doc:`/scripts/csvlook`=20only=20reads=20up=20to=20--max-row?= =?UTF-8?q?s=20rows=20=20=20=20=20instead=20of=20the=20entire=20file.=20?= =?UTF-8?q?=20=20*=20fix:=20:doc:`/scripts/csvlook`=20only=20reads=20up=20?= =?UTF-8?q?to=20--max-rows=20rows=20=20=20=20=20instead=20of=20the=20entir?= =?UTF-8?q?e=20file.=20=20=20*=20fix:=20:doc:`/scripts/csvpy`=20supports?= =?UTF-8?q?=20the=20existing=20input=20=20=20=20=20options:=20=20=20--loca?= =?UTF-8?q?le=20--blanks=20--null-value=20--date-format=20=20=20=20=20--da?= =?UTF-8?q?tetime-format=20--skip-lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-csvkit?expand=0&rev=42 --- csvkit-1.3.0.tar.gz | 3 --- csvkit-1.4.0.tar.gz | 3 +++ python-csvkit.changes | 37 ++++++++++++++++++++++++++++++++++++- python-csvkit.spec | 12 ++++++------ 4 files changed, 45 insertions(+), 10 deletions(-) delete mode 100644 csvkit-1.3.0.tar.gz create mode 100644 csvkit-1.4.0.tar.gz diff --git a/csvkit-1.3.0.tar.gz b/csvkit-1.3.0.tar.gz deleted file mode 100644 index 5f15e4f..0000000 --- a/csvkit-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b82e6ae2d2bb416517100ecbae8d5d856a0dffae42b712088814a2b7201e1af8 -size 3795356 diff --git a/csvkit-1.4.0.tar.gz b/csvkit-1.4.0.tar.gz new file mode 100644 index 0000000..e20109e --- /dev/null +++ b/csvkit-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cfec43367a05cc5e5df99c90990b95a636d8cf984ba46ce78fcee8ffca7aff8 +size 3796472 diff --git a/python-csvkit.changes b/python-csvkit.changes index 6ec88a1..e05c855 100644 --- a/python-csvkit.changes +++ b/python-csvkit.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sun Mar 24 17:25:07 UTC 2024 - Dirk Müller + +- update to 1.4.0: + * feat: :doc:`/scripts/csvpy` adds the options: --no-number- + ellipsis, to disable the ellipsis (…) if max precision is + exceeded, for example, when using table.print_table() + --sniff-limit` --no-inference` + * feat: :doc:`/scripts/csvpy` adds the options: + * --no-number-ellipsis, to disable the ellipsis (…) if max + precision is exceeded, for example, when using + table.print_table() + * feat: :doc:`/scripts/csvpy` removes the --linenumbers and + --zero output options, which had no effect. + * feat: :doc:`/scripts/csvpy` removes the --linenumbers and + --zero output options, which had no effect. + * feat: :doc:`/scripts/in2csv` adds a --reset-dimensions option + to recalculate the dimensions of an XLSX file, instead of + trusting the file's metadata. csvkit's dependency agate-excel + 0.4.0 automatically recalculates the dimensions if the file's + metadata expresses dimensions of "A1:A1" (a single cell). + * feat: :doc:`/scripts/in2csv` adds a --reset-dimensions option + to recalculate the dimensions of an XLSX file, instead of + trusting the file's metadata. csvkit's dependency agate-excel + 0.4.0 automatically recalculates the dimensions if the file's + metadata expresses dimensions of "A1:A1" (a single cell). + * fix: :doc:`/scripts/csvlook` only reads up to --max-rows rows + instead of the entire file. + * fix: :doc:`/scripts/csvlook` only reads up to --max-rows rows + instead of the entire file. + * fix: :doc:`/scripts/csvpy` supports the existing input + options: --locale --blanks --null-value --date-format + --datetime-format --skip-lines + * Update minimum agate version to 1.6.3. + ------------------------------------------------------------------- Thu Dec 14 06:03:03 UTC 2023 - Steve Kowalik @@ -43,7 +78,7 @@ Fri Sep 29 13:18:54 UTC 2023 - Ondřej Súkup ------------------------------------------------------------------- Tue May 30 08:21:00 UTC 2023 - Dirk Müller -- require sqlalchemy < 2 due to agate-sql +- require sqlalchemy < 2 due to agate-sql ------------------------------------------------------------------- Mon Apr 17 08:59:16 UTC 2023 - pgajdos@suse.com diff --git a/python-csvkit.spec b/python-csvkit.spec index 82f9c8a..284edf5 100644 --- a/python-csvkit.spec +++ b/python-csvkit.spec @@ -1,7 +1,7 @@ # # spec file for package python-csvkit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,14 @@ %define binaries csvclean csvcut csvformat csvgrep csvjoin csvjson csvlook csvpy csvsort csvsql csvstack csvstat in2csv sql2csv Name: python-csvkit -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: A library of utilities for working with CSV License: MIT URL: https://github.com/wireservice/csvkit Source0: https://files.pythonhosted.org/packages/source/c/csvkit/csvkit-%{version}.tar.gz Source1: https://raw.githubusercontent.com/wireservice/csvkit/5f22e664121b13d9ff005a9206873a8f97431dca/examples/testdbf_converted.csv -BuildRequires: %{python_module agate >= 1.6.1} +BuildRequires: %{python_module agate >= 1.6.3} BuildRequires: %{python_module agate-dbf >= 0.2.0} BuildRequires: %{python_module agate-excel >= 0.2.2} BuildRequires: %{python_module agate-sql >= 0.5.3} @@ -36,8 +36,8 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-SQLAlchemy -Requires: python-agate -Requires: python-agate-dbf +Requires: python-agate >= 1.6.3 +Requires: python-agate-dbf >= 0.2.0 Requires: python-agate-excel Requires: python-agate-sql Requires: python-openpyxl @@ -46,7 +46,7 @@ Requires: python-xlrd Requires: python-importlib-metadata %endif Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages