- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-csvkit?expand=0&rev=42
This commit is contained in:
2024-03-24 17:26:30 +00:00
committed by Git OBS Bridge
parent 09c0449de9
commit 96bce21aed
4 changed files with 45 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b82e6ae2d2bb416517100ecbae8d5d856a0dffae42b712088814a2b7201e1af8
size 3795356

3
csvkit-1.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cfec43367a05cc5e5df99c90990b95a636d8cf984ba46ce78fcee8ffca7aff8
size 3796472

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Mar 24 17:25:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <steven.kowalik@suse.com>
@@ -43,7 +78,7 @@ Fri Sep 29 13:18:54 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
-------------------------------------------------------------------
Tue May 30 08:21:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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

View File

@@ -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