17
0

2 Commits

Author SHA256 Message Date
318a0995cb Accepting request 1325683 from devel:languages:python
- Update to 3.17.0:
  * Added
    + Add support for Python 3.15
    + Set dicts with column-specific config for all column-specific attrs
    + Add add divider() method to create sections
    + Use PEP 639 licence expression
    + Add support for Python 3.14
    + Add new themes to ColorTable
    + Use SPDX license identifier
    + Add field selection to CSV and JSON outputs
    + Add options to disable escaping HTML tables
    + Add support for Python 3.13
  * Changed
    + Drop support for Python 3.9
    + Performance: remove unnecessary deepcopies and add some lru_caches
    + Drop support for Python 3.8
    + Update new home to prettytable/prettytable
    + Speedup: lazy imports and remove import
  * Fixed
    + Fix IndexError for add_rows() with an empty list
    + Fix sortby at class declaration
    + Fix divider intersection for border styles
    + Fix default styles not being reset between set_style() calls
    + Fix add_autoindex alignment for HTML
    + Consider column args when columns are set after initialization
    + Change how size of headers are calculated to fix ColorTable with title
    + Fix max table width calculation
- Update URL to new home.

OBS-URL: https://build.opensuse.org/request/show/1325683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prettytable?expand=0&rev=11
2026-01-07 15:00:57 +00:00
b999f593ad - Update to 3.17.0:
* Added
    + Add support for Python 3.15
    + Set dicts with column-specific config for all column-specific attrs
    + Add add divider() method to create sections
    + Use PEP 639 licence expression
    + Add support for Python 3.14
    + Add new themes to ColorTable
    + Use SPDX license identifier
    + Add field selection to CSV and JSON outputs
    + Add options to disable escaping HTML tables
    + Add support for Python 3.13
  * Changed
    + Drop support for Python 3.9
    + Performance: remove unnecessary deepcopies and add some lru_caches
    + Drop support for Python 3.8
    + Update new home to prettytable/prettytable
    + Speedup: lazy imports and remove import
  * Fixed
    + Fix IndexError for add_rows() with an empty list
    + Fix sortby at class declaration
    + Fix divider intersection for border styles
    + Fix default styles not being reset between set_style() calls
    + Fix add_autoindex alignment for HTML
    + Consider column args when columns are set after initialization
    + Change how size of headers are calculated to fix ColorTable with title
    + Fix max table width calculation
- Update URL to new home.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=27
2026-01-07 00:33:52 +00:00
4 changed files with 40 additions and 10 deletions

View File

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

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Wed Jan 7 00:33:38 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.17.0:
* Added
+ Add support for Python 3.15
+ Set dicts with column-specific config for all column-specific attrs
+ Add add divider() method to create sections
+ Use PEP 639 licence expression
+ Add support for Python 3.14
+ Add new themes to ColorTable
+ Use SPDX license identifier
+ Add field selection to CSV and JSON outputs
+ Add options to disable escaping HTML tables
+ Add support for Python 3.13
* Changed
+ Drop support for Python 3.9
+ Performance: remove unnecessary deepcopies and add some lru_caches
+ Drop support for Python 3.8
+ Update new home to prettytable/prettytable
+ Speedup: lazy imports and remove import
* Fixed
+ Fix IndexError for add_rows() with an empty list
+ Fix sortby at class declaration
+ Fix divider intersection for border styles
+ Fix default styles not being reset between set_style() calls
+ Fix add_autoindex alignment for HTML
+ Consider column args when columns are set after initialization
+ Change how size of headers are calculated to fix ColorTable with title
+ Fix max table width calculation
- Update URL to new home.
-------------------------------------------------------------------
Sat Oct 7 11:19:59 UTC 2023 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-prettytable
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2011 Christian Berendt.
#
# All modifications and additions to the file contributed by third parties
@@ -19,18 +19,17 @@
%{?sle15_python_module_pythons}
Name: python-prettytable
Version: 3.9.0
Version: 3.17.0
Release: 0
Summary: Library for displaying tabular data in formatted fashion
License: BSD-2-Clause
URL: https://github.com/jazzband/prettytable
URL: https://github.com/prettytable/prettytable
Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-lazy-fixture}
BuildRequires: %{python_module pytest-lazy-fixtures}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wcwidth}
BuildRequires: %{pythons}
@@ -38,7 +37,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-wcwidth
Requires: (python-importlib-metadata if python-base < 3.8)
Provides: python-PrettyTable = %{version}-%{release}
Obsoletes: python-PrettyTable < %{version}-%{release}
%python_subpackages