Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-prettytable for 
openSUSE:Factory checked in at 2022-01-05 13:39:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-prettytable (Old)
 and      /work/SRC/openSUSE:Factory/.python-prettytable.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-prettytable"

Wed Jan  5 13:39:21 2022 rev:2 rq:943583 version:2.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-prettytable/python-prettytable.changes    
2021-11-27 00:51:41.210726975 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-prettytable.new.1896/python-prettytable.changes
  2022-01-05 13:39:37.393519475 +0100
@@ -1,0 +2,6 @@
+Mon Jan  3 11:29:50 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 2.5.0:
+  * Add Single Border table style 
+
+-------------------------------------------------------------------

Old:
----
  prettytable-2.4.0.tar.gz

New:
----
  prettytable-2.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-prettytable.spec ++++++
--- /var/tmp/diff_new_pack.zEUeQG/_old  2022-01-05 13:39:38.189520101 +0100
+++ /var/tmp/diff_new_pack.zEUeQG/_new  2022-01-05 13:39:38.193520104 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-prettytable
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2011 Christian Berendt.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-prettytable
-Version:        2.4.0
+Version:        2.5.0
 Release:        0
 Summary:        Library for displaying tabular data in formatted fashion
 License:        BSD-2-Clause

++++++ prettytable-2.4.0.tar.gz -> prettytable-2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/.github/workflows/test.yml 
new/prettytable-2.5.0/.github/workflows/test.yml
--- old/prettytable-2.4.0/.github/workflows/test.yml    2021-11-03 
14:04:01.000000000 +0100
+++ new/prettytable-2.5.0/.github/workflows/test.yml    2021-12-20 
16:34:13.000000000 +0100
@@ -11,7 +11,7 @@
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9", "3.10"]
+        python-version: ["pypy-3.8", "3.6", "3.7", "3.8", "3.9", "3.10"]
         os: [ubuntu-latest, macos-latest, windows-latest]
         include:
           # Include new variables for Codecov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/PKG-INFO 
new/prettytable-2.5.0/PKG-INFO
--- old/prettytable-2.4.0/PKG-INFO      2021-11-03 14:04:22.302012400 +0100
+++ new/prettytable-2.5.0/PKG-INFO      2021-12-20 16:34:33.773119000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: prettytable
-Version: 2.4.0
+Version: 2.5.0
 Summary: A simple Python library for easily displaying tabular data in a 
visually appealing ASCII table format
 Home-page: https://github.com/jazzband/prettytable
 Author: Luke Maurits
@@ -409,8 +409,8 @@
   columnar data
 - `MARKDOWN` - A style that follows Markdown syntax
 - `ORGMODE` - A table style that fits [Org mode](https://orgmode.org/) syntax
-- `DOUBLE_BORDER` - A style that uses continuous double border lines for a 
fancier
-  display on terminal
+- `SINGLE_BORDER` and `DOUBLE_BORDER` - Styles that use continuous 
single/double border
+  lines with Box drawing characters for a fancier display on terminal
 
 Other styles are likely to appear in future releases.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/README.md 
new/prettytable-2.5.0/README.md
--- old/prettytable-2.4.0/README.md     2021-11-03 14:04:01.000000000 +0100
+++ new/prettytable-2.5.0/README.md     2021-12-20 16:34:13.000000000 +0100
@@ -381,8 +381,8 @@
   columnar data
 - `MARKDOWN` - A style that follows Markdown syntax
 - `ORGMODE` - A table style that fits [Org mode](https://orgmode.org/) syntax
-- `DOUBLE_BORDER` - A style that uses continuous double border lines for a 
fancier
-  display on terminal
+- `SINGLE_BORDER` and `DOUBLE_BORDER` - Styles that use continuous 
single/double border
+  lines with Box drawing characters for a fancier display on terminal
 
 Other styles are likely to appear in future releases.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/src/prettytable/__init__.py 
new/prettytable-2.5.0/src/prettytable/__init__.py
--- old/prettytable-2.4.0/src/prettytable/__init__.py   2021-11-03 
14:04:01.000000000 +0100
+++ new/prettytable-2.5.0/src/prettytable/__init__.py   2021-12-20 
16:34:13.000000000 +0100
@@ -10,6 +10,7 @@
     ORGMODE,
     PLAIN_COLUMNS,
     RANDOM,
+    SINGLE_BORDER,
     PrettyTable,
     TableHandler,
     from_csv,
@@ -23,6 +24,7 @@
     "ALL",
     "DEFAULT",
     "DOUBLE_BORDER",
+    "SINGLE_BORDER",
     "FRAME",
     "HEADER",
     "MARKDOWN",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/src/prettytable/prettytable.py 
new/prettytable-2.5.0/src/prettytable/prettytable.py
--- old/prettytable-2.4.0/src/prettytable/prettytable.py        2021-11-03 
14:04:01.000000000 +0100
+++ new/prettytable-2.5.0/src/prettytable/prettytable.py        2021-12-20 
16:34:13.000000000 +0100
@@ -57,6 +57,7 @@
 MARKDOWN = 13
 ORGMODE = 14
 DOUBLE_BORDER = 15
+SINGLE_BORDER = 16
 RANDOM = 20
 
 _re = re.compile(r"\033\[[0-9;]*m|\033\(B")
@@ -1215,6 +1216,8 @@
             self._set_orgmode_style()
         elif style == DOUBLE_BORDER:
             self._set_double_border_style()
+        elif style == SINGLE_BORDER:
+            self._set_single_border_style()
         elif style == RANDOM:
             self._set_random_style()
         else:
@@ -1288,6 +1291,19 @@
         self.bottom_right_junction_char = "???"
         self.bottom_left_junction_char = "???"
 
+    def _set_single_border_style(self):
+        self.horizontal_char = "???"
+        self.vertical_char = "???"
+        self.junction_char = "???"
+        self.top_junction_char = "???"
+        self.bottom_junction_char = "???"
+        self.right_junction_char = "???"
+        self.left_junction_char = "???"
+        self.top_right_junction_char = "???"
+        self.top_left_junction_char = "???"
+        self.bottom_right_junction_char = "???"
+        self.bottom_left_junction_char = "???"
+
     def _set_random_style(self):
 
         # Just for fun!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/src/prettytable.egg-info/PKG-INFO 
new/prettytable-2.5.0/src/prettytable.egg-info/PKG-INFO
--- old/prettytable-2.4.0/src/prettytable.egg-info/PKG-INFO     2021-11-03 
14:04:22.000000000 +0100
+++ new/prettytable-2.5.0/src/prettytable.egg-info/PKG-INFO     2021-12-20 
16:34:33.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: prettytable
-Version: 2.4.0
+Version: 2.5.0
 Summary: A simple Python library for easily displaying tabular data in a 
visually appealing ASCII table format
 Home-page: https://github.com/jazzband/prettytable
 Author: Luke Maurits
@@ -409,8 +409,8 @@
   columnar data
 - `MARKDOWN` - A style that follows Markdown syntax
 - `ORGMODE` - A table style that fits [Org mode](https://orgmode.org/) syntax
-- `DOUBLE_BORDER` - A style that uses continuous double border lines for a 
fancier
-  display on terminal
+- `SINGLE_BORDER` and `DOUBLE_BORDER` - Styles that use continuous 
single/double border
+  lines with Box drawing characters for a fancier display on terminal
 
 Other styles are likely to appear in future releases.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prettytable-2.4.0/tests/test_prettytable.py 
new/prettytable-2.5.0/tests/test_prettytable.py
--- old/prettytable-2.4.0/tests/test_prettytable.py     2021-11-03 
14:04:01.000000000 +0100
+++ new/prettytable-2.5.0/tests/test_prettytable.py     2021-12-20 
16:34:13.000000000 +0100
@@ -20,6 +20,7 @@
     ORGMODE,
     PLAIN_COLUMNS,
     RANDOM,
+    SINGLE_BORDER,
     PrettyTable,
     from_csv,
     from_db_cursor,
@@ -1123,6 +1124,18 @@
 
?????????????????????????????????????????????????????????????????????????????????????????????
 """,
             ),
+            pytest.param(
+                SINGLE_BORDER,
+                """
+?????????????????????????????????????????????????????????????????????????????????????????????
+??? Field 1 ??? Field 2 ??? Field 3 ???
+?????????????????????????????????????????????????????????????????????????????????????????????
+??? value 1 ???  value2 ???  value3 ???
+??? value 4 ???  value5 ???  value6 ???
+??? value 7 ???  value8 ???  value9 ???
+?????????????????????????????????????????????????????????????????????????????????????????????
+""",
+            ),
         ],
     )
     def test_style(self, style, expected):

Reply via email to