File python-agate.changes of Package python-agate
-------------------------------------------------------------------
Sat Jul 12 17:33:20 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.13.0:
* fix: :meth:`.Table.order_by` sorts None as equal to None.
-------------------------------------------------------------------
Fri May 9 04:38:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Sat Sep 28 19:49:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.12.0:
* feat: :class:`.Number` accepts a no_leading_zeroes keyword
argument, to indicate whether to disallow numbers with
leading zeroes (not including a single zero, or a single zero
before a decimal).
-------------------------------------------------------------------
Wed Jun 12 09:17:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.11.0:
* fix: The key argument to :meth:`.Table.to_json` errors if two
values are equal, even if their CSV representation is
different: for example, "1/1/2020" and "01/01/2020". However,
until now, this was not the case for numbers: for example,
"3.0" was treated as unequal to "3.00".
-------------------------------------------------------------------
Fri May 3 07:27:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.10.2:
* fix: Version 1.10.0 errors on piped data.
* fix: :meth:`.Number.csvify` returns a Decimal (or None),
instead of str. :meth:`.Table.to_csv` with
quoting=csv.QUOTE_NONNUMERIC now works.
* feat: :meth:`.Table.from_csv` reads the file line by line. If
sniff_limit=None, it reads the file into memory once, instead
of twice. If column_types is a :class:`.TypeTester`, it reads
the file into memory. (#778)
* fix: Fix :meth:`.TableSet.print_structure` for nested
tablesets.
-------------------------------------------------------------------
Wed Dec 27 10:03:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.9.1:
* Add Babel 2.14 support.
-------------------------------------------------------------------
Fri Nov 10 13:39:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.9.0:
* feat: Add a ``text_truncation_chars`` configuration for
values that exceed ``max_column_width`` in
:meth:`.Table.print_table` and :meth:`.Table.print_html`.
* feat: Add a ``number_truncation_chars`` configuration for
values that exceed ``max_precision`` in
:meth:`.Table.print_table` and :meth:`.Table.print_html`.
* feat: Lowercase the ``null_values`` provided to individual
data types, since all comparisons to ``null_values`` are
case-insensitive. (#770)
* feat: :class:`.Mean` works with :class:`.TimeDelta`. (#761)
* Switch from ``pytz`` to ``ZoneInfo``.
* Add Python 3.12 support.
* Drop Python 3.7 support (end-of-life was June 27, 2023).
-------------------------------------------------------------------
Thu Mar 9 09:23:31 UTC 2023 - pgajdos@suse.com
- python-six is not required
-------------------------------------------------------------------
Fri Jan 20 15:27:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.7.1:
* Allow parsedatetime 2.6.
-------------------------------------------------------------------
Wed Jan 4 20:11:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.7.0:
* Drop support for Python 2.7 (no longer works) and 3.6 (no longer
tested).
-------------------------------------------------------------------
Tue Mar 1 08:25:29 UTC 2022 - Dirk Müller <dmueller@suse.com>
- buildrequire glibc-locale for tests
-------------------------------------------------------------------
Sat Jan 15 12:54:04 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 1.6.3
* feat: Table.from_csv() accepts a row_limit keyword argument.
(#740)
* feat: Table.from_json() accepts an encoding keyword argument.
(#734)
* feat: Table.print_html() accepts a max_precision keyword
argument, like Table.print_table(). (#753)
* feat: TypeTester accepts a null_values keyword argument, like
individual data types. (#745)
* feat: Min, Max and Sum (#735) work with TimeDelta.
* feat: FieldSizeLimitError includes the line number in the error
message. (#681)
* feat: csv.Sniffer warns on error while sniffing CSV dialect.
* fix: Table.normalize() works with basic processing methods.
(#691)
* fix: Table.homogenize() works with basic processing methods.
(#756)
* fix: Table.homogenize() casts compare_values and default_row.
(#700)
* fix: Table.homogenize() accepts tuples. (#710)
* fix: TableSet.group_by() accepts input with no rows. (#703)
* fix: TypeTester warns if a column specified by the force
argument is not in the table, instead of raising an error.
(#747)
* fix: Aggregations return None if all values are None, instead
of raising an error. Note that Sum, MaxLength and MaxPrecision
continue to return 0 if all values are None. (#706)
* fix: Ensure files are closed when errors occur. (#734)
* build: Make PyICU an optional dependency.
-------------------------------------------------------------------
Thu Jul 15 05:36:41 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Fixed URL of the tarball, and the tarball refreshed.
-------------------------------------------------------------------
Wed Jul 14 09:38:14 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>
- Update to 1.6.2 - March 10, 2021
* feat: :meth:`.Date.__init__` and :meth:`.DateTime.__init__`
accepts a locale keyword argument (e.g. en_US) for parsing
formatted dates. (#730)
* feat: :meth:`.Number.cast` casts True to 1 and False to 0.
(#733)
* fix: :meth:`.utils.max_precision` ignores infinity when
calculating precision. (#726)
* fix: :meth:`.Date.cast` catches OverflowError when type
testing. (#720)
* Included examples in Python package. (#716)
- Enable test_sniffer test again
-------------------------------------------------------------------
Thu Sep 24 00:58:20 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
- Disable another failing test: test_sniffer
https://github.com/wireservice/agate/issues/746
-------------------------------------------------------------------
Thu Jun 25 10:11:10 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Revert previous commit (sr#813277): unittest2 is necessary
for platforms with Python 2.7 (SLE-15 etc.).
-------------------------------------------------------------------
Wed Jun 10 15:19:54 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Remove unnecessary dependency on unittest2
-------------------------------------------------------------------
Thu Apr 23 04:26:37 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Only BuildRequire unittest2 under Python 2.
-------------------------------------------------------------------
Thu Apr 16 11:54:50 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Switch from using nosetest runner to pytest
-------------------------------------------------------------------
Sat Mar 2 10:58:43 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- export LANG=en_US.UTF-8 for tests
build fails for python < 3.7 otherwise
-------------------------------------------------------------------
Wed Feb 27 08:44:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Enable tests
- Remove devel dependency
- Switch to github tarball to get test fixtures and data
-------------------------------------------------------------------
Wed May 9 18:49:48 UTC 2018 - toddrme2178@gmail.com
- Update to 1.6.1
* `Date.cast` and :meth:`DateTime.cast` will no longer parse
strings that contain dates as dates. (#705)
* Added Forest Gregg to Authors.
* `Table.to_json` can now use Decimal as keys. (#696)
* Link to tutorial now uses version through sphinx to avoid bad
links on future releases. (#682)
* lxml limited to >= 3.6 and < 4 for pypy compatibility.
- Use license tag
-------------------------------------------------------------------
Fri Oct 20 16:12:19 UTC 2017 - toddrme2178@gmail.com
- initial version