Hello community,
here is the log from the commit of package python-texttable for
openSUSE:Factory checked in at 2020-12-21 10:24:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-texttable (Old)
and /work/SRC/openSUSE:Factory/.python-texttable.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-texttable"
Mon Dec 21 10:24:10 2020 rev:6 rq:857117 version:1.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-texttable/python-texttable.changes
2019-07-22 17:19:49.113903846 +0200
+++
/work/SRC/openSUSE:Factory/.python-texttable.new.5145/python-texttable.changes
2020-12-21 10:26:54.260217082 +0100
@@ -1,0 +2,6 @@
+Sun Dec 20 09:44:50 UTC 2020 - Dirk Müller <[email protected]>
+
+- update to 1.6.3:
+ * Improve int conversion
+
+-------------------------------------------------------------------
Old:
----
texttable-1.6.2.tar.gz
New:
----
texttable-1.6.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-texttable.spec ++++++
--- /var/tmp/diff_new_pack.Qzx7Jt/_old 2020-12-21 10:26:54.824217722 +0100
+++ /var/tmp/diff_new_pack.Qzx7Jt/_new 2020-12-21 10:26:54.828217726 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-texttable
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-texttable
-Version: 1.6.2
+Version: 1.6.3
Release: 0
Summary: Module for creating simple ASCII tables
License: MIT
++++++ texttable-1.6.2.tar.gz -> texttable-1.6.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/CHANGELOG.md
new/texttable-1.6.3/CHANGELOG.md
--- old/texttable-1.6.2/CHANGELOG.md 2019-07-01 11:39:46.000000000 +0200
+++ new/texttable-1.6.3/CHANGELOG.md 2020-09-06 10:18:57.000000000 +0200
@@ -1,5 +1,8 @@
# Version History
+v1.6.3 (2020-09-06)
+* Improve int conversion (https://github.com/foutaise/texttable/issues/70)
+
v1.6.2 (2019-07-01)
* Fix auto-formatting NaN (https://github.com/foutaise/texttable/pull/60)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/LICENSE new/texttable-1.6.3/LICENSE
--- old/texttable-1.6.2/LICENSE 2019-02-15 13:19:32.000000000 +0100
+++ new/texttable-1.6.3/LICENSE 2020-01-15 10:42:06.000000000 +0100
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2019 Gerome Fournier
+Copyright (c) 2020 Gerome Fournier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/PKG-INFO new/texttable-1.6.3/PKG-INFO
--- old/texttable-1.6.2/PKG-INFO 2019-07-01 11:47:18.000000000 +0200
+++ new/texttable-1.6.3/PKG-INFO 2020-09-06 10:45:19.122467500 +0200
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: texttable
-Version: 1.6.2
+Version: 1.6.3
Summary: module for creating simple ASCII tables
Home-page: https://github.com/foutaise/texttable/
Author: Gerome Fournier
Author-email: [email protected]
License: MIT
-Download-URL: https://github.com/foutaise/texttable/archive/v1.6.2.tar.gz
+Download-URL: https://github.com/foutaise/texttable/archive/v1.6.3.tar.gz
Description: # texttable
Python module for creating simple ASCII tables
@@ -262,6 +262,10 @@
- preserve empty lines
```
+ ## Forks
+
+ * [latextable](https://github.com/JAEarly/latextable) is a fork of
texttable that provide a LaTeX backend.
+
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/README.md
new/texttable-1.6.3/README.md
--- old/texttable-1.6.2/README.md 2019-07-01 11:40:25.000000000 +0200
+++ new/texttable-1.6.3/README.md 2020-06-21 15:47:55.000000000 +0200
@@ -252,3 +252,7 @@
frinkelpi:
- preserve empty lines
```
+
+## Forks
+
+* [latextable](https://github.com/JAEarly/latextable) is a fork of texttable
that provide a LaTeX backend.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/setup.py new/texttable-1.6.3/setup.py
--- old/texttable-1.6.2/setup.py 2019-07-01 11:40:28.000000000 +0200
+++ new/texttable-1.6.3/setup.py 2020-09-06 10:19:32.000000000 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#
# texttable - module for creating simple ASCII tables
-# Copyright (C) 2003-2019 Gerome Fournier <jef(at)foutaise.org>
+# Copyright (C) 2003-2020 Gerome Fournier <jef(at)foutaise.org>
from setuptools import setup
@@ -12,11 +12,11 @@
setup(
name="texttable",
- version="1.6.2",
+ version="1.6.3",
author="Gerome Fournier",
author_email="[email protected]",
url="https://github.com/foutaise/texttable/",
- download_url="https://github.com/foutaise/texttable/archive/v1.6.2.tar.gz",
+ download_url="https://github.com/foutaise/texttable/archive/v1.6.3.tar.gz",
license="MIT",
py_modules=["texttable"],
description=DESCRIPTION,
@@ -42,5 +42,6 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
- ]
+ ],
+ options={"bdist_wheel": {"universal": "1"}}
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/t.py new/texttable-1.6.3/t.py
--- old/texttable-1.6.2/t.py 1970-01-01 01:00:00.000000000 +0100
+++ new/texttable-1.6.3/t.py 2020-09-06 10:06:59.000000000 +0200
@@ -0,0 +1,5 @@
+from texttable import Texttable
+tt = Texttable()
+tt.set_cols_dtype(['i']) # dtype 'i' is the problem here
+tt.add_rows([['hello'], [18014398509481983]])
+print(tt.draw())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/texttable.egg-info/PKG-INFO
new/texttable-1.6.3/texttable.egg-info/PKG-INFO
--- old/texttable-1.6.2/texttable.egg-info/PKG-INFO 2019-07-01
11:47:18.000000000 +0200
+++ new/texttable-1.6.3/texttable.egg-info/PKG-INFO 2020-09-06
10:45:19.000000000 +0200
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: texttable
-Version: 1.6.2
+Version: 1.6.3
Summary: module for creating simple ASCII tables
Home-page: https://github.com/foutaise/texttable/
Author: Gerome Fournier
Author-email: [email protected]
License: MIT
-Download-URL: https://github.com/foutaise/texttable/archive/v1.6.2.tar.gz
+Download-URL: https://github.com/foutaise/texttable/archive/v1.6.3.tar.gz
Description: # texttable
Python module for creating simple ASCII tables
@@ -262,6 +262,10 @@
- preserve empty lines
```
+ ## Forks
+
+ * [latextable](https://github.com/JAEarly/latextable) is a fork of
texttable that provide a LaTeX backend.
+
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/texttable.egg-info/SOURCES.txt
new/texttable-1.6.3/texttable.egg-info/SOURCES.txt
--- old/texttable-1.6.2/texttable.egg-info/SOURCES.txt 2019-07-01
11:47:18.000000000 +0200
+++ new/texttable-1.6.3/texttable.egg-info/SOURCES.txt 2020-09-06
10:45:19.000000000 +0200
@@ -4,6 +4,7 @@
MANIFEST.in
README.md
setup.py
+t.py
tests.py
texttable.py
texttable.pyi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/texttable.py
new/texttable-1.6.3/texttable.py
--- old/texttable-1.6.2/texttable.py 2019-07-01 11:40:33.000000000 +0200
+++ new/texttable-1.6.3/texttable.py 2020-09-06 10:36:58.000000000 +0200
@@ -1,5 +1,5 @@
# texttable - module for creating simple ASCII tables
-# Copyright (C) 2003-2019 Gerome Fournier <jef(at)foutaise.org>
+# Copyright (C) 2003-2020 Gerome Fournier <jef(at)foutaise.org>
"""module for creating simple ASCII tables
@@ -62,7 +62,7 @@
__author__ = 'Gerome Fournier <jef(at)foutaise.org>'
__license__ = 'MIT'
-__version__ = '1.6.2'
+__version__ = '1.6.3'
__credits__ = """\
Jeff Kowalczyk:
- textwrap improved import
@@ -443,10 +443,11 @@
@classmethod
def _fmt_int(cls, x, **kw):
"""Integer formatting class-method.
-
- - x will be float-converted and then used.
"""
- return str(int(round(cls._to_float(x))))
+ if type(x) == int:
+ return str(x)
+ else:
+ return str(int(round(cls._to_float(x))))
@classmethod
def _fmt_float(cls, x, **kw):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/texttable-1.6.2/tox.ini new/texttable-1.6.3/tox.ini
--- old/texttable-1.6.2/tox.ini 2019-02-15 07:13:58.000000000 +0100
+++ new/texttable-1.6.3/tox.ini 2020-09-06 10:33:41.000000000 +0200
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35,py36,py37
+envlist = py27,py35,py36,py37,py38
[testenv]
deps =
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]