openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
April 2021
- 1 participants
- 3011 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-ai-formrecognizer for openSUSE:Factory checked in at 2021-05-01 00:46:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-ai-formrecognizer (Old)
and /work/SRC/openSUSE:Factory/.python-azure-ai-formrecognizer.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-ai-formrecognizer"
Sat May 1 00:46:58 2021 rev:2 rq:889552 version:3.1.0b3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-ai-formrecognizer/python-azure-ai-formrecognizer.changes 2021-01-07 21:27:30.841946185 +0100
+++ /work/SRC/openSUSE:Factory/.python-azure-ai-formrecognizer.new.1947/python-azure-ai-formrecognizer.changes 2021-05-01 00:47:01.311365631 +0200
@@ -1,0 +2,9 @@
+Wed Mar 17 11:08:33 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- New upstream release
+ + Version 3.1.0b3
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
azure-ai-formrecognizer-3.0.0.zip
New:
----
azure-ai-formrecognizer-3.1.0b3.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-ai-formrecognizer.spec ++++++
--- /var/tmp/diff_new_pack.BXnjcM/_old 2021-05-01 00:47:01.779363546 +0200
+++ /var/tmp/diff_new_pack.BXnjcM/_new 2021-05-01 00:47:01.779363546 +0200
@@ -21,7 +21,7 @@
%define skip_python2 1
%endif
Name: python-azure-ai-formrecognizer
-Version: 3.0.0
+Version: 3.1.0b3
Release: 0
Summary: Microsoft Azure Form Recognizer Client Library for Python
License: MIT
@@ -38,9 +38,9 @@
Requires: python-azure-common < 2.0.0
Requires: python-azure-common >= 1.1
Requires: python-azure-core < 2.0.0
-Requires: python-azure-core >= 1.6.0
+Requires: python-azure-core >= 1.8.2
Requires: python-msrest >= 0.6.12
-Requires: python-six >= 1.6
+Requires: python-six >= 1.11.0
Conflicts: python-azure-sdk <= 2.0.0
BuildArch: noarch
%python_subpackages
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nautilus-terminal for openSUSE:Factory checked in at 2021-05-01 00:46:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nautilus-terminal (Old)
and /work/SRC/openSUSE:Factory/.nautilus-terminal.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nautilus-terminal"
Sat May 1 00:46:57 2021 rev:17 rq:889556 version:3.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/nautilus-terminal/nautilus-terminal.changes 2020-01-27 00:24:27.641554187 +0100
+++ /work/SRC/openSUSE:Factory/.nautilus-terminal.new.1947/nautilus-terminal.changes 2021-05-01 00:47:00.731368214 +0200
@@ -1,0 +2,23 @@
+Mon Apr 26 18:51:33 UTC 2021 - Ferdinand Thiessen <rpm(a)fthiessen.de>
+
+- Update to version 3.5
+ + nautilus-terminal was completly rewritten in python (> 3.6)
+ + Embed a Terminal in each Nautilus tab / window
+ + Follows the navigation: if you navigate in Nautilus,
+ the cd command is automatically executed in the terminal
+ + Can be displayed / hidden using the F4 key
+ + Configurable: font, background and text color, terminal
+ position (displayed at top or at bottom of the windows)
+ + Support for copy / paste through contextual menu and
+ Ctrl+Shift+C / Ctrl+Shift+V
+ + Supports drag & drop of file on the terminal
+- Dropped outdated nautilus-terminal-vte2.91.patch
+- Modified build requirements:
+ + Removed: gobject-introspection and vte-devel
+ + Added:
+ - python3-psutil for both, buildtime and runtime
+ - python3-setuptools
+ - Use fdupes and python-rpm-macros
+ - pkgconfig(glib-2.0) for directory ownership
+
+-------------------------------------------------------------------
Old:
----
nautilus-terminal-vte2.91.patch
nautilus-terminal_1.0_src.tar.gz
New:
----
nautilus_terminal-3.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nautilus-terminal.spec ++++++
--- /var/tmp/diff_new_pack.MvgPBC/_old 2021-05-01 00:47:01.163366291 +0200
+++ /var/tmp/diff_new_pack.MvgPBC/_new 2021-05-01 00:47:01.167366272 +0200
@@ -1,7 +1,7 @@
#
# spec file for package nautilus-terminal
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,67 +12,44 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define have_lang 0
Name: nautilus-terminal
-Version: 1.0
+Version: 3.5.0
Release: 0
-Summary: Integrated Terminal for the Nautilus File Browser
-License: GPL-3.0-or-later
-Group: System/GUI/GNOME
-URL: http://software.flogisoft.com/nautilus-terminal/
-Source: %{name}_%{version}_src.tar.gz
-# PATCH-FIX-UPSTREAM nautilus-terminal-vte2.91.patch dimstar(a)opensuse.org -- Fix usage with Vte 2.91.
-Patch0: nautilus-terminal-vte2.91.patch
-# For directory ownership:
-BuildRequires: gobject-introspection
+Summary: A terminal embedded in Nautilus, the GNOME's file browser
+License: GPL-3.0-only
+URL: https://github.com/flozz/nautilus-terminal
+Source: https://files.pythonhosted.org/packages/source/n/nautilus-terminal/nautilus…
+BuildRequires: python3-psutil >= 5.6.6
+BuildRequires: python3-setuptools
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildRequires: python-nautilus-common-devel
-BuildRequires: vte-devel
+BuildRequires: pkgconfig(glib-2.0)
Requires: nautilus
-Recommends: python-xdg
+Requires: python3-psutil >= 5.6.6
BuildArch: noarch
-%if %{have_lang}
-%endif
%description
Nautilus Terminal is an integrated terminal for the Nautilus file browser.
-%if %{have_lang}
-%lang_package
-%endif
-
%prep
-%setup -q -n %{name}_%{version}_src
-if pkg-config --exists vte-2.91; then
-# patch0 only applies when built against Vte 2.91
-%patch0 -p1
-fi
-sed -i '
-s:%{_datadir}/doc:%{_docdir}/%{name}:
-s:%{_prefix}/share:%{_datadir}:
-s:%{_prefix}/lib:%{_libdir}:
-' install.sh
+%setup -q -n nautilus_terminal-%{version}
%build
+%python3_build
%install
-./install.sh --package %{buildroot}
-%if %{have_lang}
-%find_lang %{name}
-%endif
+%python3_install
+%fdupes %{buildroot}%{python3_sitelib}
%files
-%doc %{_docdir}/%{name}/
-%{_datadir}/nautilus-python/extensions/nautilus_terminal.py
-%dir %{_datadir}/nautilus-python
-%dir %{_datadir}/nautilus-python/extensions
-%{_datadir}/nautilus-terminal/
-
-%if %{have_lang}
-%files lang -f %{name}.lang
-%endif
+%doc README.rst
+%{python3_sitelib}/nautilus_terminal*
+%{_datadir}/glib-2.0/schemas/org.flozz.nautilus-terminal.gschema.xml
+%{_datadir}/nautilus-python/extensions/nautilus_terminal_extension.py
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package pgn-extract for openSUSE:Factory checked in at 2021-05-01 00:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pgn-extract (Old)
and /work/SRC/openSUSE:Factory/.pgn-extract.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pgn-extract"
Sat May 1 00:46:56 2021 rev:4 rq:889544 version:21.02
Changes:
--------
--- /work/SRC/openSUSE:Factory/pgn-extract/pgn-extract.changes 2020-03-30 23:02:48.244156031 +0200
+++ /work/SRC/openSUSE:Factory/.pgn-extract.new.1947/pgn-extract.changes 2021-05-01 00:46:59.867372063 +0200
@@ -1,0 +2,20 @@
+Thu Apr 29 17:48:28 UTC 2021 - Ferdinand Thiessen <rpm(a)fthiessen.de>
+
+- Update to 20.02
+ * Added --linenumbers
+ * Added --fixtagstrings.
+ * Date matches with -t and -T extended to match on month and day
+ as well as year.
+ * Added --wtm and --btm.
+ * Added limited relational TimeControl matching with -t
+ * Added missing 'ep' for en passant moves with -Wxlalg and -Wxolalg.
+ * Bug fix to eliminate illegal pawn moves in long algebraic notation.
+ * Added --startply.
+ * Added --fenpattern, --fenpatterni, --materialy and --materialz
+ as command-line arguments.
+ * Delete NAGs appearing before the first move of a game.
+- Rebase patches:
+ * pgn-extract-no-buildtime.patch
+ * pgn-extract-set_eco.pgn_path.patch
+
+-------------------------------------------------------------------
Old:
----
pgn-extract-19-04.tgz
New:
----
pgn-extract-21-02.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pgn-extract.spec ++++++
--- /var/tmp/diff_new_pack.WR2JSP/_old 2021-05-01 00:47:00.371369819 +0200
+++ /var/tmp/diff_new_pack.WR2JSP/_new 2021-05-01 00:47:00.371369819 +0200
@@ -1,7 +1,7 @@
#
# spec file for package pgn-extract
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2010 Packman Team <packman(a)links2linux.de>
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,14 @@
Name: pgn-extract
-Version: 19.04
+Version: 21.02
+%define mver 21-02
Release: 0
Summary: A CLI program for manipulating PGN files
License: GPL-3.0-or-later
Group: Amusements/Games/Board/Chess
URL: https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/
-Source0: https://www.cs.kent.ac.uk/~djb/%{name}/%{name}-19-04.tgz
+Source0: https://www.cs.kent.ac.uk/~djb/pgn-extract/pgn-extract-%{mver}.tgz
Source100: %{name}.changes
# PATCH-FIX-OPENSUSE pgn-extract-set_eco.pgn_path.patch
Patch0: pgn-extract-set_eco.pgn_path.patch
@@ -61,7 +62,6 @@
%license COPYING
%doc help.html
%{_bindir}/%{name}
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/eco.pgn
+%{_datadir}/%{name}
%changelog
++++++ pgn-extract-19-04.tgz -> pgn-extract-21-02.tgz ++++++
++++ 4397 lines of diff (skipped)
++++++ pgn-extract-no-buildtime.patch ++++++
--- /var/tmp/diff_new_pack.WR2JSP/_old 2021-05-01 00:47:00.523369142 +0200
+++ /var/tmp/diff_new_pack.WR2JSP/_new 2021-05-01 00:47:00.527369123 +0200
@@ -1,8 +1,7 @@
-diff --git a/argsfile.c b/argsfile.c
-index be7b68f..372231c 100644
---- a/argsfile.c
-+++ b/argsfile.c
-@@ -248,8 +248,8 @@ usage_and_exit(void)
+diff -Nur pgn-extract/argsfile.c new/argsfile.c
+--- pgn-extract/argsfile.c 2021-01-27 12:22:02.000000000 +0100
++++ new/argsfile.c 2021-04-29 20:11:53.583307686 +0200
+@@ -259,8 +259,8 @@
const char **data = help_data;
fprintf(GlobalState.logfile,
@@ -11,5 +10,5 @@
+ "pgn-extract %s: a Portable Game Notation (PGN) manipulator.\n",
+ CURRENT_VERSION);
fprintf(GlobalState.logfile,
- "Copyright (C) 1994-2019 David J. Barnes (d.j.barnes(a)kent.ac.uk)\n");
+ "Copyright (C) 1994-2021 David J. Barnes (d.j.barnes(a)kent.ac.uk)\n");
fprintf(GlobalState.logfile, "%s\n\n", URL);
++++++ pgn-extract-set_eco.pgn_path.patch ++++++
--- /var/tmp/diff_new_pack.WR2JSP/_old 2021-05-01 00:47:00.535369087 +0200
+++ /var/tmp/diff_new_pack.WR2JSP/_new 2021-05-01 00:47:00.539369070 +0200
@@ -1,42 +1,39 @@
-diff --git a/argsfile.c b/argsfile.c
-index aa502cf..be7b68f 100644
---- a/argsfile.c
-+++ b/argsfile.c
-@@ -132,7 +132,7 @@ usage_and_exit(void)
+diff -Nur pgn-extract/argsfile.c new/argsfile.c
+--- pgn-extract/argsfile.c 2021-01-27 12:22:02.000000000 +0100
++++ new/argsfile.c 2021-04-29 20:25:15.746494374 +0200
+@@ -133,7 +133,7 @@
"-D -- don't output duplicate games.",
"-eECO_file -- perform ECO classification of games. The optional",
" ECO_file should contain a PGN format list of ECO lines",
- " Default is to use eco.pgn from the current directory.",
-+ " Default is to use /usr/share/pgn-extract/eco.pgn.",
++ " Default is to use /usr/share/pgn-extract/eco.pgn from the current directory.",
"-E[123 etc.] -- split output into separate files according to ECO.",
" E1 : Produce files from ECO letter, A.pgn, B.pgn, ...",
" E2 : Produce files from ECO letter and first digit, A0.pgn, ...",
-diff --git a/help.html b/help.html
-index a94c339..d8ee27d 100644
---- a/help.html
-+++ b/help.html
-@@ -203,7 +203,7 @@ of this file before attempting to use pgn-extract in earnest.
+diff -Nur pgn-extract/help.html new/help.html
+--- pgn-extract/help.html 2021-01-27 12:22:02.000000000 +0100
++++ new/help.html 2021-04-29 20:27:01.234728770 +0200
+@@ -211,7 +211,7 @@
<li>-D - don't output duplicate extracted game scores.
<li>-eECO_file - perform ECO classification of games. The optional
ECO_file should contain a PGN format list of ECO lines
- Default is to use eco.pgn from the current directory.
-+ Default is to use /usr/share/pgn-extract/eco.pgn.
++ Default is to use /usr/share/pgn-extract/eco.pgn from the current directory.
<li>-E[123 etc.] - split output into separate files according to ECO.
<ul>
<li>E1 : Produce files from ECO letter, A.pgn, B.pgn, ...
-@@ -1445,7 +1445,7 @@ believe that this was put together by Ewart Shaw, Franz Hemmer and
+@@ -1501,7 +1501,7 @@
others, to whom appropriate thanks is due. The -e flag requests
pgn-extract to add/replace ECO classifications in the games it outputs.
This is done by firstly reading a file of ECO lines in PGN format
-(eco.pgn in the current directory, by default) and building a table of
-+(/usr/share/pgn-extract/eco.pgn, by default) and building a table of
++(/usr/share/pgn-extract/eco.pgn in the current directory, by default) and building a table of
resulting positions. As the games are then read they are looked up in
the table to find a classification. The deepest match is found.
A match is allowed within six half moves of the length of the ECO line.
-diff --git a/main.c b/main.c
-index 6847a53..01aff5a 100644
---- a/main.c
-+++ b/main.c
+diff -Nur pgn-extract/main.c new/main.c
+--- pgn-extract/main.c 2021-01-03 14:43:15.000000000 +0100
++++ new/main.c 2021-04-29 20:27:25.909847943 +0200
@@ -48,7 +48,7 @@
* a file of ECO classificiations.
*/
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-typepy for openSUSE:Factory checked in at 2021-05-01 00:46:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typepy (Old)
and /work/SRC/openSUSE:Factory/.python-typepy.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-typepy"
Sat May 1 00:46:55 2021 rev:6 rq:889547 version:1.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-typepy/python-typepy.changes 2020-07-08 19:20:42.324538222 +0200
+++ /work/SRC/openSUSE:Factory/.python-typepy.new.1947/python-typepy.changes 2021-05-01 00:46:59.083375556 +0200
@@ -1,0 +2,18 @@
+Fri Apr 23 11:27:31 UTC 2021 - Matej Cepl <mcepl(a)suse.com>
+
+- Update to version 1.1.5:
+ - Change packaging dependency from mandatory to optional.
+
+-------------------------------------------------------------------
+Sat Mar 6 13:20:09 UTC 2021 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 1.1.4
+ * Fix bool values conversion
+- Update to version 1.1.3
+ * Add support for Python 3.10
+ * Improve error messages when conversion error happens.
+ * Drop dependency of deprecated distutils
+- Update to version 1.1.2
+ * Modify dependencies
+
+-------------------------------------------------------------------
Old:
----
typepy-1.1.1.tar.gz
New:
----
typepy-1.1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-typepy.spec ++++++
--- /var/tmp/diff_new_pack.qLUjpP/_old 2021-05-01 00:46:59.599373257 +0200
+++ /var/tmp/diff_new_pack.qLUjpP/_new 2021-05-01 00:46:59.603373240 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-typepy
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-typepy
-Version: 1.1.1
+Version: 1.1.5
Release: 0
Summary: Python library for run time variable type checker
License: MIT
@@ -33,17 +33,14 @@
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module python-dateutil >= 2.8.0}
BuildRequires: %{python_module pytz >= 2018.9}
-BuildRequires: %{python_module six >= 1.10.0}
-BuildRequires: %{python_module termcolor}
+BuildRequires: %{python_module tcolorpy}
# /SECTION
BuildRequires: fdupes
Requires: python-mbstrdecoder >= 1.0.0
-Requires: python-setuptools >= 38.3.0
-Requires: python-six >= 1.10.0
Suggests: python-python-dateutil >= 2.8.0
Suggests: python-pytz >= 2018.9
Suggests: python-path.py
-Suggests: python-termcolor
+Suggests: python-tcolorpy
BuildArch: noarch
%python_subpackages
@@ -69,8 +66,8 @@
%pytest
%files %{python_files}
-%doc README.rst
%license LICENSE
+%doc README.rst
%{python_sitelib}/typepy*
%changelog
++++++ typepy-1.1.1.tar.gz -> typepy-1.1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/PKG-INFO new/typepy-1.1.5/PKG-INFO
--- old/typepy-1.1.1/PKG-INFO 2020-05-04 04:01:17.000172000 +0200
+++ new/typepy-1.1.5/PKG-INFO 2021-04-11 14:44:49.806168000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: typepy
-Version: 1.1.1
+Version: 1.1.5
Summary: typepy is a Python library for variable type checker/validator/converter at a run time.
Home-page: https://github.com/thombashi/typepy
Author: Tsuyoshi Hombashi
@@ -9,6 +9,7 @@
Project-URL: Documentation, https://typepy.rtfd.io/
Project-URL: Source, https://github.com/thombashi/typepy
Project-URL: Tracker, https://github.com/thombashi/typepy/issues
+Project-URL: Changes, https://github.com/thombashi/typepy/releases
Description: .. contents:: **typepy**
:backlinks: top
:depth: 2
@@ -21,6 +22,10 @@
:target: https://badge.fury.io/py/typepy
:alt: PyPI package version
+ .. image:: https://anaconda.org/conda-forge/typepy/badges/version.svg
+ :target: https://anaconda.org/conda-forge/typepy
+ :alt: conda-forge package version
+
.. image:: https://img.shields.io/pypi/pyversions/typepy.svg
:target: https://pypi.org/project/typepy
:alt: Supported Python versions
@@ -29,22 +34,14 @@
:target: https://pypi.org/project/typepy
:alt: Supported Python implementations
- .. image:: https://img.shields.io/travis/thombashi/typepy/master.svg?label=Linux/macOS…
- :target: https://travis-ci.org/thombashi/typepy
- :alt: Linux/macOS CI status
-
- .. image:: https://img.shields.io/appveyor/ci/thombashi/typepy/master.svg?label=Window…
- :target: https://ci.appveyor.com/project/thombashi/typepy
- :alt: Windows CI status
+ .. image:: https://github.com/thombashi/typepy/workflows/Tests/badge.svg
+ :target: https://github.com/thombashi/typepy/actions?query=workflow%3ATests
+ :alt: Linux/macOS/Windows CI status
.. image:: https://coveralls.io/repos/github/thombashi/typepy/badge.svg?branch=master
:target: https://coveralls.io/github/thombashi/typepy?branch=master
:alt: Test coverage
- .. image:: https://img.shields.io/github/stars/thombashi/typepy.svg?style=social&label…
- :target: https://github.com/thombashi/typepy
- :alt: GitHub stars
-
Features
==========
- checking a value type
@@ -72,6 +69,48 @@
``str`` (IP address) `IpAddress <https://typepy.rtfd.io/en/latest/pages/reference/type.html#ip-address-type>`__
================================================ =======================================================================================================
+ Installation
+ ============
+
+ Installation: pip
+ ------------------------------
+ ::
+
+ pip install typepy
+
+ Install additional dependency packages with the following command if using ``typepy.DateTime`` class
+
+ ::
+
+ pip install typepy[datetime]
+
+ Installation: conda
+ ------------------------------
+ ::
+
+ conda install -c conda-forge typepy
+
+ Installation: apt
+ ------------------------------
+ ::
+
+ sudo add-apt-repository ppa:thombashi/ppa
+ sudo apt update
+ sudo apt install python3-typepy
+
+
+ Dependencies
+ ============
+ - Python 3.5+
+ - `Python package dependencies (automatically installed) <https://github.com/thombashi/typepy/network/dependencies>`__
+
+ Optioal dependencies
+ ----------------------------------
+ These packages can be installed via ``pip install typepy[datetime]``:
+
+ - `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
+ - `pytz <https://pypi.org/project/pytz/>`__
+
Usage
=======
Type Check Method
@@ -158,48 +197,6 @@
More information can be found in the
`API reference <https://typepy.rtfd.io/en/latest/pages/reference/index.html>`__.
- Installation
- ============
-
- Install from PyPI
- ------------------------------
- ::
-
- pip install typepy
-
- Install additional dependency packages with the following command if using ``typepy.DateTime`` class
-
- ::
-
- pip install typepy[datetime]
-
- Install from PPA (for Ubuntu)
- ------------------------------
- ::
-
- sudo add-apt-repository ppa:thombashi/ppa
- sudo apt update
- sudo apt install python3-typepy
-
-
- Dependencies
- ============
- Python 3.5+
-
- - `mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__
-
- Optioal dependencies
- ----------------------------------
- These packages can be installed via ``pip install typepy[datetime]``:
-
- - `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
- - `pytz <https://pypi.org/project/pytz/>`__
-
- Test dependencies
- ----------------------------------
- - `pytest <https://docs.pytest.org/en/latest/>`__
- - `tox <https://testrun.org/tox/latest/>`__
-
Documentation
===============
https://typepy.rtfd.io/
@@ -218,6 +215,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/README.rst new/typepy-1.1.5/README.rst
--- old/typepy-1.1.1/README.rst 2020-03-28 16:09:58.000000000 +0100
+++ new/typepy-1.1.5/README.rst 2021-04-11 14:44:33.000000000 +0200
@@ -10,6 +10,10 @@
:target: https://badge.fury.io/py/typepy
:alt: PyPI package version
+.. image:: https://anaconda.org/conda-forge/typepy/badges/version.svg
+ :target: https://anaconda.org/conda-forge/typepy
+ :alt: conda-forge package version
+
.. image:: https://img.shields.io/pypi/pyversions/typepy.svg
:target: https://pypi.org/project/typepy
:alt: Supported Python versions
@@ -18,22 +22,14 @@
:target: https://pypi.org/project/typepy
:alt: Supported Python implementations
-.. image:: https://img.shields.io/travis/thombashi/typepy/master.svg?label=Linux/macOS…
- :target: https://travis-ci.org/thombashi/typepy
- :alt: Linux/macOS CI status
-
-.. image:: https://img.shields.io/appveyor/ci/thombashi/typepy/master.svg?label=Window…
- :target: https://ci.appveyor.com/project/thombashi/typepy
- :alt: Windows CI status
+.. image:: https://github.com/thombashi/typepy/workflows/Tests/badge.svg
+ :target: https://github.com/thombashi/typepy/actions?query=workflow%3ATests
+ :alt: Linux/macOS/Windows CI status
.. image:: https://coveralls.io/repos/github/thombashi/typepy/badge.svg?branch=master
:target: https://coveralls.io/github/thombashi/typepy?branch=master
:alt: Test coverage
-.. image:: https://img.shields.io/github/stars/thombashi/typepy.svg?style=social&label…
- :target: https://github.com/thombashi/typepy
- :alt: GitHub stars
-
Features
==========
- checking a value type
@@ -61,6 +57,48 @@
``str`` (IP address) `IpAddress <https://typepy.rtfd.io/en/latest/pages/reference/type.html#ip-address-type>`__
================================================ =======================================================================================================
+Installation
+============
+
+Installation: pip
+------------------------------
+::
+
+ pip install typepy
+
+Install additional dependency packages with the following command if using ``typepy.DateTime`` class
+
+::
+
+ pip install typepy[datetime]
+
+Installation: conda
+------------------------------
+::
+
+ conda install -c conda-forge typepy
+
+Installation: apt
+------------------------------
+::
+
+ sudo add-apt-repository ppa:thombashi/ppa
+ sudo apt update
+ sudo apt install python3-typepy
+
+
+Dependencies
+============
+- Python 3.5+
+- `Python package dependencies (automatically installed) <https://github.com/thombashi/typepy/network/dependencies>`__
+
+Optioal dependencies
+----------------------------------
+These packages can be installed via ``pip install typepy[datetime]``:
+
+- `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
+- `pytz <https://pypi.org/project/pytz/>`__
+
Usage
=======
Type Check Method
@@ -147,48 +185,6 @@
More information can be found in the
`API reference <https://typepy.rtfd.io/en/latest/pages/reference/index.html>`__.
-Installation
-============
-
-Install from PyPI
-------------------------------
-::
-
- pip install typepy
-
-Install additional dependency packages with the following command if using ``typepy.DateTime`` class
-
-::
-
- pip install typepy[datetime]
-
-Install from PPA (for Ubuntu)
-------------------------------
-::
-
- sudo add-apt-repository ppa:thombashi/ppa
- sudo apt update
- sudo apt install python3-typepy
-
-
-Dependencies
-============
-Python 3.5+
-
-- `mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__
-
-Optioal dependencies
-----------------------------------
-These packages can be installed via ``pip install typepy[datetime]``:
-
-- `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
-- `pytz <https://pypi.org/project/pytz/>`__
-
-Test dependencies
-----------------------------------
-- `pytest <https://docs.pytest.org/en/latest/>`__
-- `tox <https://testrun.org/tox/latest/>`__
-
Documentation
===============
https://typepy.rtfd.io/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/pyproject.toml new/typepy-1.1.5/pyproject.toml
--- old/typepy-1.1.1/pyproject.toml 2020-01-12 06:10:00.000000000 +0100
+++ new/typepy-1.1.5/pyproject.toml 2021-04-11 14:44:33.000000000 +0200
@@ -1,3 +1,6 @@
+[build-system]
+requires = ["setuptools", "wheel"]
+
[tool.black]
line-length = 100
exclude = '''
@@ -17,7 +20,6 @@
'''
[tool.isort]
-dont_skip = "*/**/__init__.py"
known_third_party = [
'dateutil',
'logbook',
@@ -25,7 +27,7 @@
'pytest',
'pytz',
'sphinx_rtd_theme',
- 'termcolor',
+ 'tcolorpy',
]
include_trailing_comma = true
line_length = 100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/requirements/docs_requirements.txt new/typepy-1.1.5/requirements/docs_requirements.txt
--- old/typepy-1.1.1/requirements/docs_requirements.txt 2020-02-08 09:02:23.000000000 +0100
+++ new/typepy-1.1.5/requirements/docs_requirements.txt 2021-04-11 14:44:33.000000000 +0200
@@ -1,2 +1,2 @@
sphinx_rtd_theme
-Sphinx
+Sphinx>=2.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/requirements/test_requirements.txt new/typepy-1.1.5/requirements/test_requirements.txt
--- old/typepy-1.1.1/requirements/test_requirements.txt 2019-10-13 10:11:22.000000000 +0200
+++ new/typepy-1.1.5/requirements/test_requirements.txt 2021-04-11 14:44:33.000000000 +0200
@@ -1,2 +1,2 @@
-pytest
-termcolor
+pytest>=6.0.1
+tcolorpy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/setup.py new/typepy-1.1.5/setup.py
--- old/typepy-1.1.1/setup.py 2020-03-29 16:10:12.000000000 +0200
+++ new/typepy-1.1.5/setup.py 2021-04-11 14:44:33.000000000 +0200
@@ -41,10 +41,10 @@
tests_requires = [line.strip() for line in f if line.strip()]
-SETUPTOOLS_REQUIRES = ["setuptools>=38.3.0"]
DATETIME_REQUIRES = [
"python-dateutil>=2.8.0,<3.0.0",
"pytz>=2018.9",
+ "packaging",
]
setuptools.setup(
@@ -65,10 +65,10 @@
"Documentation": "https://{:s}.rtfd.io/".format(MODULE_NAME),
"Source": REPOSITORY_URL,
"Tracker": "{:s}/issues".format(REPOSITORY_URL),
+ "Changes": "{:s}/releases".format(REPOSITORY_URL),
},
python_requires=">=3.5",
- install_requires=SETUPTOOLS_REQUIRES + install_requires,
- setup_requires=SETUPTOOLS_REQUIRES,
+ install_requires=install_requires,
extras_require={"datetime": DATETIME_REQUIRES, "test": tests_requires + DATETIME_REQUIRES},
classifiers=[
"Development Status :: 5 - Production/Stable",
@@ -82,6 +82,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_bool.py new/typepy-1.1.5/test/checker/test_checker_bool.py
--- old/typepy-1.1.1/test/checker/test_checker_bool.py 2020-03-28 16:22:04.000000000 +0100
+++ new/typepy-1.1.5/test/checker/test_checker_bool.py 2021-04-11 14:44:33.000000000 +0200
@@ -5,7 +5,7 @@
import itertools
import pytest
-from termcolor import colored
+from tcolorpy import tcolor
from typepy import Bool, StrictLevel, Typecode
@@ -36,7 +36,7 @@
@pytest.mark.parametrize(
["value", "strip_ansi_escape", "expected"],
- [[colored("True", "red"), False, False], [colored("True", "red"), True, True]],
+ [[tcolor("True", "red"), False, False], [tcolor("True", "red"), True, True]],
)
def test_normal_ansi(self, value, strip_ansi_escape, expected):
type_checker = class_under_test(value, StrictLevel.MIN, strip_ansi_escape=strip_ansi_escape)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_datetime.py new/typepy-1.1.5/test/checker/test_checker_datetime.py
--- old/typepy-1.1.1/test/checker/test_checker_datetime.py 2020-03-28 16:22:09.000000000 +0100
+++ new/typepy-1.1.5/test/checker/test_checker_datetime.py 2021-04-11 14:44:33.000000000 +0200
@@ -7,7 +7,7 @@
import pytest
from dateutil.tz import tzoffset
-from termcolor import colored
+from tcolorpy import tcolor
from typepy import DateTime, StrictLevel, Typecode
@@ -31,7 +31,13 @@
)
+ list(
itertools.product(
- [None, "invalid time string", 9223372036854775807, "100-0004", "���������".encode(),],
+ [
+ None,
+ "invalid time string",
+ 9223372036854775807,
+ "100-0004",
+ "���������".encode(),
+ ],
[StrictLevel.MIN, StrictLevel.MIN + 1, StrictLevel.MAX],
[False],
)
@@ -45,7 +51,9 @@
)
+ list(
itertools.product(
- ["2017-03-22T10:00:00+0900", 1485685623, "1485685623"], [StrictLevel.MAX], [False],
+ ["2017-03-22T10:00:00+0900", 1485685623, "1485685623"],
+ [StrictLevel.MAX],
+ [False],
)
),
)
@@ -58,8 +66,8 @@
@pytest.mark.parametrize(
["value", "strip_ansi_escape", "expected"],
[
- [colored("2017-03-22T10:00:00", "red"), False, False],
- [colored("2017-03-22T10:00:00", "red"), True, True],
+ [tcolor("2017-03-22T10:00:00", "red"), False, False],
+ [tcolor("2017-03-22T10:00:00", "red"), True, True],
],
)
def test_normal_ansi(self, value, strip_ansi_escape, expected):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_dictionary.py new/typepy-1.1.5/test/checker/test_checker_dictionary.py
--- old/typepy-1.1.1/test/checker/test_checker_dictionary.py 2020-04-15 17:35:14.000000000 +0200
+++ new/typepy-1.1.5/test/checker/test_checker_dictionary.py 2021-04-11 14:44:33.000000000 +0200
@@ -30,7 +30,10 @@
[True],
)
)
- + [['{"foo": 10}', StrictLevel.MIN, True], ['{"foo": 10}', StrictLevel.MAX, False],]
+ + [
+ ['{"foo": 10}', StrictLevel.MIN, True],
+ ['{"foo": 10}', StrictLevel.MAX, False],
+ ]
+ list(
itertools.product(
[1, "a", "���".encode("utf8"), nan, True, None],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_integer.py new/typepy-1.1.5/test/checker/test_checker_integer.py
--- old/typepy-1.1.1/test/checker/test_checker_integer.py 2020-03-28 16:22:24.000000000 +0100
+++ new/typepy-1.1.5/test/checker/test_checker_integer.py 2021-04-11 14:44:33.000000000 +0200
@@ -7,7 +7,7 @@
from decimal import Decimal
import pytest
-from termcolor import colored
+from tcolorpy import tcolor
from typepy import Integer, StrictLevel, Typecode
@@ -76,7 +76,7 @@
@pytest.mark.parametrize(
["value", "strip_ansi_escape", "expected"],
- [[colored("1", "red"), False, False], [colored("1", "red"), True, True]],
+ [[tcolor("1", "red"), False, False], [tcolor("1", "red"), True, True]],
)
def test_normal_ansi(self, value, strip_ansi_escape, expected):
type_checker = class_under_test(value, StrictLevel.MIN, strip_ansi_escape=strip_ansi_escape)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_ipaddress.py new/typepy-1.1.5/test/checker/test_checker_ipaddress.py
--- old/typepy-1.1.1/test/checker/test_checker_ipaddress.py 2020-03-28 16:22:28.000000000 +0100
+++ new/typepy-1.1.5/test/checker/test_checker_ipaddress.py 2021-04-11 14:44:33.000000000 +0200
@@ -7,7 +7,7 @@
from ipaddress import ip_address
import pytest
-from termcolor import colored
+from tcolorpy import tcolor
from typepy import IpAddress, StrictLevel, Typecode
@@ -20,7 +20,7 @@
class Test_IpAddress_is_type:
@pytest.mark.parametrize(
["value", "strict_level", "expected"],
- [[colored("127.0.0.1", "red"), StrictLevel.MIN, True]]
+ [[tcolor("127.0.0.1", "red"), StrictLevel.MIN, True]]
+ list(
itertools.product(
["", " ", sys.maxsize, str(sys.maxsize), inf, nan, None],
@@ -46,7 +46,7 @@
@pytest.mark.parametrize(
["value", "strip_ansi_escape", "expected"],
- [[colored("127.0.0.1", "red"), False, False], [colored("127.0.0.1", "red"), True, True]],
+ [[tcolor("127.0.0.1", "red"), False, False], [tcolor("127.0.0.1", "red"), True, True]],
)
def test_normal_ansi(self, value, strip_ansi_escape, expected):
type_checker = class_under_test(value, StrictLevel.MIN, strip_ansi_escape=strip_ansi_escape)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/checker/test_checker_realnumber.py new/typepy-1.1.5/test/checker/test_checker_realnumber.py
--- old/typepy-1.1.1/test/checker/test_checker_realnumber.py 2020-03-28 16:22:42.000000000 +0100
+++ new/typepy-1.1.5/test/checker/test_checker_realnumber.py 2021-04-11 14:44:33.000000000 +0200
@@ -7,7 +7,7 @@
from decimal import Decimal
import pytest
-from termcolor import colored
+from tcolorpy import tcolor
from typepy import RealNumber, StrictLevel, Typecode
@@ -89,7 +89,7 @@
@pytest.mark.parametrize(
["value", "strip_ansi_escape", "expected"],
- [[colored("1.1", "red"), False, False], [colored("1.1", "red"), True, True]],
+ [[tcolor("1.1", "red"), False, False], [tcolor("1.1", "red"), True, True]],
)
def test_normal_ansi(self, value, strip_ansi_escape, expected):
type_checker = class_under_test(value, StrictLevel.MIN, strip_ansi_escape=strip_ansi_escape)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/converter/test_bool.py new/typepy-1.1.5/test/converter/test_bool.py
--- old/typepy-1.1.1/test/converter/test_bool.py 2020-03-28 16:22:51.000000000 +0100
+++ new/typepy-1.1.5/test/converter/test_bool.py 2021-04-11 14:44:33.000000000 +0200
@@ -14,47 +14,57 @@
["method", "strict_level", "value", "expected"],
[
["convert", 0, True, True],
+ ["convert", 0, False, False],
["convert", 0, "true", True],
+ ["convert", 0, "FALSE", False],
["convert", 0, 1, True],
["convert", 0, 1.1, "E"],
["convert", 0, None, "E"],
["convert", 1, True, True],
["convert", 1, "true", True],
+ ["convert", 1, "FALSE", False],
["convert", 1, 1, "E"],
["convert", 1, 1.1, "E"],
["convert", 1, None, "E"],
["convert", 2, True, True],
["convert", 2, "true", "E"],
+ ["convert", 2, "FALSE", "E"],
["convert", 2, 1, "E"],
["convert", 2, 1.1, "E"],
["convert", 2, None, "E"],
["try_convert", 0, True, True],
["try_convert", 0, "true", True],
+ ["try_convert", 0, "FALSE", False],
["try_convert", 0, 1, True],
["try_convert", 0, 1.1, None],
["try_convert", 0, None, None],
["try_convert", 1, True, True],
["try_convert", 1, "true", True],
+ ["try_convert", 1, "FALSE", False],
["try_convert", 1, 1, None],
["try_convert", 1, 1.1, None],
["try_convert", 1, None, None],
["try_convert", 2, True, True],
["try_convert", 2, "true", None],
+ ["try_convert", 2, "FALSE", None],
["try_convert", 2, 1, None],
["try_convert", 2, 1.1, None],
["try_convert", 2, None, None],
["force_convert", 0, True, True],
["force_convert", 0, "true", True],
+ ["force_convert", 0, "FALSE", False],
["force_convert", 0, 1, True],
["force_convert", 0, 1.1, "E"],
["force_convert", 0, None, "E"],
["force_convert", 1, True, True],
["force_convert", 1, "true", True],
+ ["force_convert", 1, "FALSE", False],
["force_convert", 1, 1, True],
["force_convert", 1, 1.1, "E"],
["force_convert", 1, None, "E"],
["force_convert", 2, True, True],
["force_convert", 2, "true", True],
+ ["force_convert", 2, "FALSE", False],
["force_convert", 2, 1, True],
["force_convert", 2, 1.1, "E"],
["force_convert", 2, None, "E"],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/test/converter/test_realnumber.py new/typepy-1.1.5/test/converter/test_realnumber.py
--- old/typepy-1.1.1/test/converter/test_realnumber.py 2020-03-28 16:22:57.000000000 +0100
+++ new/typepy-1.1.5/test/converter/test_realnumber.py 2021-04-11 14:44:33.000000000 +0200
@@ -130,8 +130,7 @@
],
)
def test_normal(self, method, strict_level, value, expected):
- from typepy import StrictLevel
- from typepy import Nan
+ from typepy import Nan, StrictLevel
actual = convert_wrapper(typepy.RealNumber(value, strict_level), method)
if Nan(expected, strict_level=StrictLevel.MIN).is_type():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/tox.ini new/typepy-1.1.5/tox.ini
--- old/typepy-1.1.1/tox.ini 2020-04-20 12:28:20.000000000 +0200
+++ new/typepy-1.1.5/tox.ini 2021-04-11 14:44:33.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
envlist =
- py{35,36,37,38,39}
+ py{35,36,37,38,39,310}
pypy3
build
clean
@@ -8,7 +8,6 @@
docs
lint
readme
- release
[testenv]
deps =
@@ -27,6 +26,7 @@
python setup.py clean --all
[testenv:clean]
+skip_install = true
deps =
cleanpy
commands =
@@ -35,7 +35,7 @@
[testenv:cov]
deps =
.[test]
- coverage[toml]
+ coverage[toml]>=5
pytest-cov
commands =
pytest --cov {posargs:-vv}
@@ -49,17 +49,19 @@
[testenv:fmt]
basepython = python3.8
+skip_install = true
deps =
autoflake
black
- isort[pyproject]
+ isort>=5
commands =
black setup.py test typepy
autoflake --in-place --recursive --remove-all-unused-imports --ignore-init-module-imports .
- isort --apply --recursive
+ isort .
[testenv:lint]
-basepython = python3.7
+basepython = python3.8
+skip_install = true
deps =
codespell
pylama
@@ -69,14 +71,9 @@
pylama
[testenv:readme]
+skip_install = true
changedir = docs
deps =
readmemaker>=1.0.0
commands =
python make_readme.py
-
-[testenv:release]
-deps =
- releasecmd>=0.3.1,<1
-commands =
- python setup.py release --sign {posargs}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy/__version__.py new/typepy-1.1.5/typepy/__version__.py
--- old/typepy-1.1.1/typepy/__version__.py 2020-05-04 04:00:25.000000000 +0200
+++ new/typepy-1.1.5/typepy/__version__.py 2021-04-11 14:44:33.000000000 +0200
@@ -1,6 +1,6 @@
__author__ = "Tsuyoshi Hombashi"
__copyright__ = "Copyright 2017, {}".format(__author__)
__license__ = "MIT License"
-__version__ = "1.1.1"
+__version__ = "1.1.5"
__maintainer__ = __author__
__email__ = "tsuyoshi.hombashi(a)gmail.com"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy/converter/_bool.py new/typepy-1.1.5/typepy/converter/_bool.py
--- old/typepy-1.1.1/typepy/converter/_bool.py 2020-03-28 16:24:31.000000000 +0100
+++ new/typepy-1.1.5/typepy/converter/_bool.py 2021-04-11 14:44:33.000000000 +0200
@@ -30,18 +30,17 @@
@staticmethod
def __strict_strtobool(value):
- from distutils.util import strtobool
-
if isinstance(value, bool):
return value
try:
- lower_text = value.lower()
+ lower_text = value.casefold()
except AttributeError:
raise ValueError("invalid value '{}'".format(str(value)))
- binary_value = strtobool(lower_text)
- if lower_text not in ["true", "false"]:
- raise ValueError("invalid value '{}'".format(str(value)))
+ if lower_text in ["true"]:
+ return True
+ elif lower_text in ["false"]:
+ return False
- return bool(binary_value)
+ raise ValueError("invalid value '{}'".format(str(value)))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy/converter/_datetime.py new/typepy-1.1.5/typepy/converter/_datetime.py
--- old/typepy-1.1.1/typepy/converter/_datetime.py 2020-03-28 16:24:34.000000000 +0100
+++ new/typepy-1.1.5/typepy/converter/_datetime.py 2021-04-11 14:44:33.000000000 +0200
@@ -3,7 +3,6 @@
"""
from datetime import date, datetime
-from distutils.version import StrictVersion
from .._common import strip_ansi_escape
from .._const import DefaultValue, ParamKey
@@ -145,13 +144,15 @@
validation is not executed.
"""
+ from packaging.version import InvalidVersion, Version
+
try:
try:
- StrictVersion(self._value)
+ Version(self._value)
raise TypeConversionError(
"invalid datetime string: version string found {}".format(self._value)
)
- except ValueError:
+ except InvalidVersion:
pass
except TypeError:
raise TypeConversionError("invalid datetime string: type={}".format(type(self._value)))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy/type/_base.py new/typepy-1.1.5/typepy/type/_base.py
--- old/typepy-1.1.1/typepy/type/_base.py 2020-04-15 13:49:42.000000000 +0200
+++ new/typepy-1.1.5/typepy/type/_base.py 2021-04-11 14:44:33.000000000 +0200
@@ -115,7 +115,9 @@
return self.force_convert()
raise TypeConversionError(
- "failed to convert from {} to {}".format(type(self._data).__name__, self.typename)
+ "failed to convert {} from {} to {}".format(
+ self._data, type(self._data).__name__, self.typename
+ )
)
def force_convert(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy.egg-info/PKG-INFO new/typepy-1.1.5/typepy.egg-info/PKG-INFO
--- old/typepy-1.1.1/typepy.egg-info/PKG-INFO 2020-05-04 04:01:16.000000000 +0200
+++ new/typepy-1.1.5/typepy.egg-info/PKG-INFO 2021-04-11 14:44:49.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: typepy
-Version: 1.1.1
+Version: 1.1.5
Summary: typepy is a Python library for variable type checker/validator/converter at a run time.
Home-page: https://github.com/thombashi/typepy
Author: Tsuyoshi Hombashi
@@ -9,6 +9,7 @@
Project-URL: Documentation, https://typepy.rtfd.io/
Project-URL: Source, https://github.com/thombashi/typepy
Project-URL: Tracker, https://github.com/thombashi/typepy/issues
+Project-URL: Changes, https://github.com/thombashi/typepy/releases
Description: .. contents:: **typepy**
:backlinks: top
:depth: 2
@@ -21,6 +22,10 @@
:target: https://badge.fury.io/py/typepy
:alt: PyPI package version
+ .. image:: https://anaconda.org/conda-forge/typepy/badges/version.svg
+ :target: https://anaconda.org/conda-forge/typepy
+ :alt: conda-forge package version
+
.. image:: https://img.shields.io/pypi/pyversions/typepy.svg
:target: https://pypi.org/project/typepy
:alt: Supported Python versions
@@ -29,22 +34,14 @@
:target: https://pypi.org/project/typepy
:alt: Supported Python implementations
- .. image:: https://img.shields.io/travis/thombashi/typepy/master.svg?label=Linux/macOS…
- :target: https://travis-ci.org/thombashi/typepy
- :alt: Linux/macOS CI status
-
- .. image:: https://img.shields.io/appveyor/ci/thombashi/typepy/master.svg?label=Window…
- :target: https://ci.appveyor.com/project/thombashi/typepy
- :alt: Windows CI status
+ .. image:: https://github.com/thombashi/typepy/workflows/Tests/badge.svg
+ :target: https://github.com/thombashi/typepy/actions?query=workflow%3ATests
+ :alt: Linux/macOS/Windows CI status
.. image:: https://coveralls.io/repos/github/thombashi/typepy/badge.svg?branch=master
:target: https://coveralls.io/github/thombashi/typepy?branch=master
:alt: Test coverage
- .. image:: https://img.shields.io/github/stars/thombashi/typepy.svg?style=social&label…
- :target: https://github.com/thombashi/typepy
- :alt: GitHub stars
-
Features
==========
- checking a value type
@@ -72,6 +69,48 @@
``str`` (IP address) `IpAddress <https://typepy.rtfd.io/en/latest/pages/reference/type.html#ip-address-type>`__
================================================ =======================================================================================================
+ Installation
+ ============
+
+ Installation: pip
+ ------------------------------
+ ::
+
+ pip install typepy
+
+ Install additional dependency packages with the following command if using ``typepy.DateTime`` class
+
+ ::
+
+ pip install typepy[datetime]
+
+ Installation: conda
+ ------------------------------
+ ::
+
+ conda install -c conda-forge typepy
+
+ Installation: apt
+ ------------------------------
+ ::
+
+ sudo add-apt-repository ppa:thombashi/ppa
+ sudo apt update
+ sudo apt install python3-typepy
+
+
+ Dependencies
+ ============
+ - Python 3.5+
+ - `Python package dependencies (automatically installed) <https://github.com/thombashi/typepy/network/dependencies>`__
+
+ Optioal dependencies
+ ----------------------------------
+ These packages can be installed via ``pip install typepy[datetime]``:
+
+ - `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
+ - `pytz <https://pypi.org/project/pytz/>`__
+
Usage
=======
Type Check Method
@@ -158,48 +197,6 @@
More information can be found in the
`API reference <https://typepy.rtfd.io/en/latest/pages/reference/index.html>`__.
- Installation
- ============
-
- Install from PyPI
- ------------------------------
- ::
-
- pip install typepy
-
- Install additional dependency packages with the following command if using ``typepy.DateTime`` class
-
- ::
-
- pip install typepy[datetime]
-
- Install from PPA (for Ubuntu)
- ------------------------------
- ::
-
- sudo add-apt-repository ppa:thombashi/ppa
- sudo apt update
- sudo apt install python3-typepy
-
-
- Dependencies
- ============
- Python 3.5+
-
- - `mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__
-
- Optioal dependencies
- ----------------------------------
- These packages can be installed via ``pip install typepy[datetime]``:
-
- - `python-dateutil <https://dateutil.readthedocs.io/en/stable/>`__
- - `pytz <https://pypi.org/project/pytz/>`__
-
- Test dependencies
- ----------------------------------
- - `pytest <https://docs.pytest.org/en/latest/>`__
- - `tox <https://testrun.org/tox/latest/>`__
-
Documentation
===============
https://typepy.rtfd.io/
@@ -218,6 +215,7 @@
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/typepy-1.1.1/typepy.egg-info/requires.txt new/typepy-1.1.5/typepy.egg-info/requires.txt
--- old/typepy-1.1.1/typepy.egg-info/requires.txt 2020-05-04 04:01:16.000000000 +0200
+++ new/typepy-1.1.5/typepy.egg-info/requires.txt 2021-04-11 14:44:49.000000000 +0200
@@ -1,12 +1,13 @@
-setuptools>=38.3.0
mbstrdecoder<2,>=1.0.0
[datetime]
python-dateutil<3.0.0,>=2.8.0
pytz>=2018.9
+packaging
[test]
-pytest
-termcolor
+pytest>=6.0.1
+tcolorpy
python-dateutil<3.0.0,>=2.8.0
pytz>=2018.9
+packaging
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tvm for openSUSE:Factory checked in at 2021-05-01 00:46:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tvm (Old)
and /work/SRC/openSUSE:Factory/.tvm.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tvm"
Sat May 1 00:46:53 2021 rev:8 rq:889541 version:0.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/tvm/tvm.changes 2021-02-16 22:49:36.450611173 +0100
+++ /work/SRC/openSUSE:Factory/.tvm.new.1947/tvm.changes 2021-05-01 00:46:57.479382702 +0200
@@ -1,0 +2,6 @@
+Fri Apr 30 09:08:14 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Backport patches to fix build on Tumbleweed with llvm12:
+ * tvm-fix-llvm12.patch
+
+-------------------------------------------------------------------
New:
----
tvm-fix-llvm12.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tvm.spec ++++++
--- /var/tmp/diff_new_pack.75ZMg5/_old 2021-05-01 00:46:57.951380599 +0200
+++ /var/tmp/diff_new_pack.75ZMg5/_new 2021-05-01 00:46:57.955380581 +0200
@@ -46,6 +46,8 @@
Patch1: tvm-fix-openblas.patch
# PATCH-FIX-UPSTREAM - https://github.com/apache/tvm/issues/7319
Patch2: tvm-fix-catch.patch
+# PATCH-FIX-UPSTREAM - https://github.com/apache/tvm/pull/6717 https://github.com/apache/tvm/pull/6738
+Patch3: tvm-fix-llvm12.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module decorator}
@@ -98,8 +100,8 @@
Requires: libtvm = %{version}
Requires: python3-scipy
Requires: python3-typed-ast
-Recommends: python3-onnx
Recommends: python3-Pillow
+Recommends: python3-onnx
%description -n tvmc
TVMC is a tool that exposes TVM features such as auto-tuning, compiling,
++++++ tvm-fix-llvm12.patch ++++++
From 388c22637d4b13611fa4105f8a5f709c5272d277 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek <kparzysz(a)quicinc.com>
Date: Mon, 19 Oct 2020 17:21:03 -0500
Subject: [PATCH 1/2] [LLVM] Create fixed vector size according to latest
LLVM12+ changes
The vector handling code in LLVM keeps evolving to accommodate scalable
vectors. As a result, code related to vector sizes changes quite often.
---
src/target/llvm/codegen_llvm.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/target/llvm/codegen_llvm.cc b/src/target/llvm/codegen_llvm.cc
index cb04e6b8055b..40ec2cc9e0b8 100644
--- a/src/target/llvm/codegen_llvm.cc
+++ b/src/target/llvm/codegen_llvm.cc
@@ -475,7 +475,9 @@ llvm::Value* CodeGenLLVM::CreateBroadcast(llvm::Value* value, int lanes) {
llvm::Constant* undef = llvm::UndefValue::get(type);
llvm::Constant* zero = ConstInt32(0);
value = builder_->CreateInsertElement(undef, value, zero);
-#if TVM_LLVM_VERSION >= 110
+#if TVM_LLVM_VERSION >= 120
+ llvm::Constant* mask = llvm::ConstantVector::getSplat(llvm::ElementCount::getFixed(lanes), zero);
+#elif TVM_LLVM_VERSION >= 110
llvm::Constant* mask =
llvm::ConstantVector::getSplat(llvm::ElementCount(lanes, /*Scalable=*/false), zero);
#else
From ec881f6ee2247c29a6b9480c34461928cd84e48c Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek <kparzysz(a)quicinc.com>
Date: Mon, 19 Oct 2020 18:19:10 -0500
Subject: [PATCH 1/2] [LLVM] Avoid warnings when compiling getNumElements with
LLVM12+
Extract the element-count code into GetVectorNumElements and make it
compile cleanly with all LLVM versions.
---
src/target/llvm/codegen_llvm.cc | 18 +++++++++---------
src/target/llvm/codegen_llvm.h | 14 ++++++++++++++
src/target/llvm/codegen_x86_64.cc | 6 +++++-
3 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/src/target/llvm/codegen_llvm.cc b/src/target/llvm/codegen_llvm.cc
index 40ec2cc9e0b8..9bc56dc91458 100644
--- a/src/target/llvm/codegen_llvm.cc
+++ b/src/target/llvm/codegen_llvm.cc
@@ -487,7 +487,7 @@ llvm::Value* CodeGenLLVM::CreateBroadcast(llvm::Value* value, int lanes) {
}
llvm::Value* CodeGenLLVM::CreateVecSlice(llvm::Value* vec, int begin, int extent) {
- int num_elems = llvm::cast<llvm::VectorType>(vec->getType())->getNumElements();
+ int num_elems = GetVectorNumElements(vec);
if (extent == num_elems && begin == 0) return vec;
CHECK(begin >= 0 && extent <= num_elems) << "Slicing out of bound!\n";
std::vector<llvm::Constant*> indices;
@@ -503,7 +503,7 @@ llvm::Value* CodeGenLLVM::CreateVecSlice(llvm::Value* vec, int begin, int extent
}
llvm::Value* CodeGenLLVM::CreateVecFlip(llvm::Value* vec) {
- int num_elems = llvm::cast<llvm::VectorType>(vec->getType())->getNumElements();
+ int num_elems = GetVectorNumElements(vec);
#if TVM_LLVM_VERSION >= 110
std::vector<int> indices;
#else
@@ -517,7 +517,7 @@ llvm::Value* CodeGenLLVM::CreateVecFlip(llvm::Value* vec) {
llvm::Value* CodeGenLLVM::CreateVecPad(llvm::Value* vec, int target_lanes) {
llvm::Value* mask = llvm::UndefValue::get(DTypeToLLVMType(DataType::Int(32, target_lanes)));
- int num_elems = llvm::cast<llvm::VectorType>(vec->getType())->getNumElements();
+ int num_elems = GetVectorNumElements(vec);
if (num_elems == target_lanes) return vec;
CHECK_LT(num_elems, target_lanes);
for (int i = 0; i < num_elems; ++i) {
@@ -531,15 +531,15 @@ llvm::Value* CodeGenLLVM::CreateVecConcat(std::vector<llvm::Value*> vecs) {
int total_lanes = 0;
for (llvm::Value* v : vecs) {
- total_lanes += llvm::cast<llvm::VectorType>(v->getType())->getNumElements();
+ total_lanes += GetVectorNumElements(v);
}
while (vecs.size() > 1) {
std::vector<llvm::Value*> new_vecs;
for (size_t i = 0; i < vecs.size() - 1; i += 2) {
llvm::Value* lhs = vecs[i];
llvm::Value* rhs = vecs[i + 1];
- const size_t lhs_lanes = llvm::cast<llvm::VectorType>(lhs->getType())->getNumElements();
- const size_t rhs_lanes = llvm::cast<llvm::VectorType>(rhs->getType())->getNumElements();
+ const size_t lhs_lanes = GetVectorNumElements(lhs);
+ const size_t rhs_lanes = GetVectorNumElements(rhs);
if (lhs_lanes < rhs_lanes) {
lhs = CreateVecPad(lhs, rhs_lanes);
} else if (rhs_lanes < lhs_lanes) {
@@ -843,16 +843,16 @@ llvm::Value* CodeGenLLVM::CreateIntrinsic(const CallNode* op) {
return builder_->CreateFCmpUNO(a, a);
} else if (op->op.same_as(builtin::vectorlow())) {
llvm::Value* v = MakeValue(op->args[0]);
- int l = llvm::cast<llvm::VectorType>(v->getType())->getNumElements();
+ int l = GetVectorNumElements(v);
return CreateVecSlice(v, 0, l / 2);
} else if (op->op.same_as(builtin::vectorhigh())) {
llvm::Value* v = MakeValue(op->args[0]);
- int l = llvm::cast<llvm::VectorType>(v->getType())->getNumElements();
+ int l = GetVectorNumElements(v);
return CreateVecSlice(v, l / 2, l / 2);
} else if (op->op.same_as(builtin::vectorcombine())) {
llvm::Value* v0 = MakeValue(op->args[0]);
llvm::Value* v1 = MakeValue(op->args[1]);
- int num_elems = llvm::cast<llvm::VectorType>(v0->getType())->getNumElements() * 2;
+ int num_elems = GetVectorNumElements(v0) * 2;
#if TVM_LLVM_VERSION >= 110
std::vector<int> indices;
#else
diff --git a/src/target/llvm/codegen_llvm.h b/src/target/llvm/codegen_llvm.h
index 3b0ce10534fd..78eb5e2dcac7 100644
--- a/src/target/llvm/codegen_llvm.h
+++ b/src/target/llvm/codegen_llvm.h
@@ -242,6 +242,11 @@ class CodeGenLLVM : public ExprFunctor<llvm::Value*(const PrimExpr&)>,
*/
llvm::Function* GetIntrinsicDecl(llvm::Intrinsic::ID id, llvm::Type* ret_type,
llvm::ArrayRef<llvm::Type*> arg_types);
+ /*!
+ * \brief Get the number of elements in the given vector value.
+ * \param vec The value, must be of a vector type.
+ */
+ inline int GetVectorNumElements(llvm::Value* vec);
// initialize the function state.
void InitFuncState();
// Get alignment given index.
@@ -348,6 +353,15 @@ class CodeGenLLVM : public ExprFunctor<llvm::Value*(const PrimExpr&)>,
*/
static std::unique_ptr<DebugInfo> CreateDebugInfo(llvm::Module* module);
};
+
+inline int CodeGenLLVM::GetVectorNumElements(llvm::Value* vec) {
+#if TVM_LLVM_VERSION >= 120
+ return llvm::cast<llvm::FixedVectorType>(vec->getType())->getNumElements();
+#else
+ return llvm::cast<llvm::VectorType>(vec->getType())->getNumElements();
+#endif
+}
+
} // namespace codegen
} // namespace tvm
#endif // LLVM_VERSION
diff --git a/src/target/llvm/codegen_x86_64.cc b/src/target/llvm/codegen_x86_64.cc
index f3362fb0f1eb..a71a0226c958 100644
--- a/src/target/llvm/codegen_x86_64.cc
+++ b/src/target/llvm/codegen_x86_64.cc
@@ -117,7 +117,11 @@ llvm::Value* CodeGenX86_64::CallVectorIntrin(llvm::Intrinsic::ID id, size_t intr
llvm::Type* result_ty,
const std::vector<llvm::Value*>& args) {
llvm::Function* f = llvm::Intrinsic::getDeclaration(module_.get(), id, {});
+#if TVM_LLVM_VERSION >= 120
+ size_t num_elems = llvm::cast<llvm::FixedVectorType>(result_ty)->getNumElements();
+#else
size_t num_elems = llvm::cast<llvm::VectorType>(result_ty)->getNumElements();
+#endif
if (intrin_lanes == num_elems) {
return builder_->CreateCall(f, args);
}
@@ -130,7 +134,7 @@ llvm::Value* CodeGenX86_64::CallVectorIntrin(llvm::Intrinsic::ID id, size_t intr
std::vector<llvm::Value*> split_args;
for (const auto& v : args) {
if (v->getType()->isVectorTy()) {
- CHECK_EQ(llvm::cast<llvm::VectorType>(v->getType())->getNumElements(), num_elems);
+ CHECK_EQ(GetVectorNumElements(v), num_elems);
split_args.push_back(CreateVecSlice(v, i, intrin_lanes));
} else {
split_args.push_back(v);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package parsec for openSUSE:Factory checked in at 2021-05-01 00:46:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parsec (Old)
and /work/SRC/openSUSE:Factory/.parsec.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parsec"
Sat May 1 00:46:54 2021 rev:5 rq:889538 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/parsec/parsec.changes 2021-04-26 16:39:20.370048436 +0200
+++ /work/SRC/openSUSE:Factory/.parsec.new.1947/parsec.changes 2021-05-01 00:46:58.223379387 +0200
@@ -1,0 +2,6 @@
+Fri Apr 30 11:36:56 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Fix build with old rust used in Leap 15.3/SLE15-SP3.
+ * parsec-fix-old-rust.patch
+
+-------------------------------------------------------------------
New:
----
parsec-fix-old-rust.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ parsec.spec ++++++
--- /var/tmp/diff_new_pack.FKX0JU/_old 2021-05-01 00:46:58.843376626 +0200
+++ /var/tmp/diff_new_pack.FKX0JU/_new 2021-05-01 00:46:58.847376607 +0200
@@ -35,6 +35,8 @@
Source4: config.toml
Source5: parsec.conf
Source6: system-user-parsec.conf
+# Fix build with old rust used in Leap 15.3/SLE15-SP3 - https://github.com/parallaxsecond/parsec/issues/409
+Patch1: parsec-fix-old-rust.patch
BuildRequires: cargo
BuildRequires: clang-devel
BuildRequires: cmake
++++++ parsec-fix-old-rust.patch ++++++
From f9688c44319c1733586d6fbc3b3c24a403deaed8 Mon Sep 17 00:00:00 2001
From: Hugues de Valon <hugues.devalon(a)arm.com>
Date: Fri, 30 Apr 2021 10:48:37 +0100
Subject: [PATCH] Make it compile for Rust 1.43.1
The From trait was not implemented for that version of Rust. Uses the
to_vec method which achieves the same thing.
Signed-off-by: Hugues de Valon <hugues.devalon(a)arm.com>
---
src/providers/pkcs11/key_management.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/providers/pkcs11/key_management.rs b/src/providers/pkcs11/key_management.rs
index 6bc5e06..73ce607 100644
--- a/src/providers/pkcs11/key_management.rs
+++ b/src/providers/pkcs11/key_management.rs
@@ -27,7 +27,7 @@ impl Provider {
key_id: u32,
key_type: KeyPairType,
) -> Result<ObjectHandle> {
- let mut template = vec![Attribute::Id(key_id.to_be_bytes().into())];
+ let mut template = vec![Attribute::Id(key_id.to_be_bytes().to_vec())];
match key_type {
KeyPairType::PublicKey => template.push(Attribute::Class(ObjectClass::PUBLIC_KEY)),
@@ -103,7 +103,7 @@ impl Provider {
let key_id = self.create_key_id();
let mut pub_template = vec![
- Attribute::Id(key_id.to_be_bytes().into()),
+ Attribute::Id(key_id.to_be_bytes().to_vec()),
Attribute::Token(true.into()),
Attribute::AllowedMechanisms(vec![Mechanism::try_from(
key_attributes.policy.permitted_algorithms,
@@ -122,7 +122,7 @@ impl Provider {
let mech = match key_attributes.key_type {
Type::RsaKeyPair => {
pub_template.push(Attribute::Private(false.into()));
- pub_template.push(Attribute::PublicExponent(utils::PUBLIC_EXPONENT.into()));
+ pub_template.push(Attribute::PublicExponent(utils::PUBLIC_EXPONENT.to_vec()));
pub_template.push(Attribute::ModulusBits(
key_attributes.bits.try_into().map_err(to_response_status)?,
));
@@ -225,7 +225,7 @@ impl Provider {
template.push(Attribute::PublicExponent(exponent_object.into()));
template.push(Attribute::Verify(true.into()));
template.push(Attribute::Encrypt(true.into()));
- template.push(Attribute::Id(key_id.to_be_bytes().into()));
+ template.push(Attribute::Id(key_id.to_be_bytes().to_vec()));
template.push(Attribute::Private(false.into()));
template.push(Attribute::AllowedMechanisms(vec![MechanismType::RSA_PKCS]));
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ssldump for openSUSE:Factory checked in at 2021-05-01 00:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ssldump (Old)
and /work/SRC/openSUSE:Factory/.ssldump.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ssldump"
Sat May 1 00:46:50 2021 rev:23 rq:889542 version:1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/ssldump/ssldump.changes 2020-03-24 22:38:56.073281635 +0100
+++ /work/SRC/openSUSE:Factory/.ssldump.new.1947/ssldump.changes 2021-05-01 00:46:53.735399380 +0200
@@ -1,0 +2,52 @@
+Mon Apr 12 20:07:03 UTC 2021 - Martin Hauke <mardnh(a)gmx.de>
+
+- Specfile overhaul
+- Update source URL (original upstream is dead)
+- Update to version 1.4
+ * Add support for IPv6 traffic dump
+ * Fix ja3(s) length of strings used in MD5 computation + update
+ MD5 functions.
+ * Add support for ja3 & ja3s.
+- Update to version 1.3
+ * Avoid leak in TCP segment reassembly code.
+ * Avoid client session_id related leak.
+ * Avoid server_random related leak.
+ * Avoid client_random related leak.
+ * Check ssl_decode_enum() return code correctly.
+ * Exit process_tcp_packet() in case TCP header is incomplete.
+ * Check timestamp_diff return code correctly.
+ * Cleanup before exit on error.
+ * Fix for crash if length of captured frame is less than
+ Ethernet header size.
+ * Check packet size before looking at IP header.
+ * Check return code after string extraction.
+ * Limit length during server name decoding.
+ * Decode ClientHello v2 properly.
+ * Output error to stderr.
+ * Avoid leak by freeing SSL decoding context properly.
+ * Close everything properly in case of SIGINT.
+ * Fix leak in associative array implementation.
+ * First import of the JSON output code
+ * Do not print information message when no connection is
+ cleaned at shutdown.
+ * Fix memory leak in ssl_process_server_session_id()
+ * Close global pcap struct properly in case of SIGINT.
+ * Add missing extension names
+ * Code cleanup
+ * Add save decrypted datato pcap. first alpha version.
+ * Fix for use of deprecated OpenSSL HMAC functions.
+ * Fix for type casting related warnings.
+ * Add missing function prototype.
+ * Remove definitions of unused variables.
+ * Fix for uninitialized variables and possible overflow.
+ * Remove unused RCSSTRING variable globally.
+- Drop patches (not longer needed)
+ * ssldump-0.9b3-libpcap.diff
+ * random_return.patch
+ * ssldump-0.9b3-aes.patch
+ * implicit_def.patch
+ * ssldump-0.9b3-newssl.patch
+ * ssldump-cvs-06-19-2006.diff
+ * update-config.patch
+
+-------------------------------------------------------------------
Old:
----
implicit_def.patch
random_return.patch
ssldump-0.9b3-aes.patch
ssldump-0.9b3-libpcap.diff
ssldump-0.9b3-newssl.patch
ssldump-0.9b3.tar.gz
ssldump-cvs-06-19-2006.diff
update-config.patch
New:
----
ssldump-1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ssldump.spec ++++++
--- /var/tmp/diff_new_pack.oIidSX/_old 2021-05-01 00:46:54.267397010 +0200
+++ /var/tmp/diff_new_pack.oIidSX/_new 2021-05-01 00:46:54.267397010 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ssldump
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,33 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ssldump
+Version: 1.4
+Release: 0
+Summary: SSLv3/TLS Network Protocol Analyzer
+License: BSD-3-Clause
+Group: Productivity/Networking/Diagnostic
+URL: https://adulau.github.io/ssldump/
+#Git-Clone: https://github.com/adulau/ssldump.git
+Source: https://github.com/adulau/ssldump/archive/refs/tags/v%{version}.tar.gz#/%{n…
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libnet-devel
+BuildRequires: libtool
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(json-c)
%if 0%{?suse_version} > 1320 || (0%{?is_opensuse} && 0%{?leap_version} == 420300)
BuildRequires: libpcap-devel-static
%else
BuildRequires: libpcap-devel
%endif
-BuildRequires: libtool
-BuildRequires: openssl-devel
-Version: 0.9b3
-Release: 0
-Summary: SSLv3/TLS Network Protocol Analyzer
-License: BSD-3-Clause
-Group: Productivity/Networking/Diagnostic
-Url: http://www.rtfm.com/ssldump
-Source: ssldump-%{version}.tar.gz
-Patch: ssldump-0.9b3-libpcap.diff
-Patch1: random_return.patch
-Patch2: ssldump-0.9b3-aes.patch
-Patch3: implicit_def.patch
-Patch4: ssldump-0.9b3-newssl.patch
-Patch5: ssldump-cvs-06-19-2006.diff
-Patch6: update-config.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP
@@ -48,44 +46,21 @@
provided with the appropriate keying material, it also decrypts the
connections and displays the application data traffic.
-
-
-Authors:
---------
- Eric Rescorla <ekr(a)rtfm.com>
-
%prep
-%setup -n ssldump-%{version}
-%patch
-%patch1
-%patch2 -p 1
-%patch3
-%patch4
-%patch5 -p 1
-%patch6 -p1
+%setup -q
%build
-%{?suse_update_config:%{suse_update_config}}
-libtoolize --force
-autoreconf
-export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
-./configure --mandir=%{_mandir} \
- --prefix=%{_prefix} \
- --libdir=%{_libdir} \
- --with-pcap-lib=%{_libdir}
-make
+autoreconf -fiv
+%configure
+%make_build
%install
-rm -rf $RPM_BUILD_ROOT
-make BINDIR=$RPM_BUILD_ROOT/%{_prefix}/sbin MANDIR=$RPM_BUILD_ROOT/%{_mandir} install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%make_install
%files
-%defattr(-,root,root)
-/usr/sbin/*
-%doc COPYRIGHT CREDITS ChangeLog FILES INSTALL* README VERSION
-%doc %{_mandir}/man?/*.gz
+%license COPYRIGHT
+%doc ChangeLog NEWS README.md
+%{_sbindir}/ssldump
+%{_mandir}/man1/ssldump.1%{?ext_man}
%changelog
++++++ ssldump-0.9b3.tar.gz -> ssldump-1.4.tar.gz ++++++
++++ 26707 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-xfce-icon-theme for openSUSE:Factory checked in at 2021-05-01 00:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-xfce-icon-theme (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-xfce-icon-theme.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-xfce-icon-theme"
Sat May 1 00:46:50 2021 rev:3 rq:889518 version:4.16.1+git5.e82fd05
Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-xfce-icon-theme/openSUSE-xfce-icon-theme.changes 2021-03-11 20:13:10.952750284 +0100
+++ /work/SRC/openSUSE:Factory/.openSUSE-xfce-icon-theme.new.1947/openSUSE-xfce-icon-theme.changes 2021-05-01 00:46:52.639404262 +0200
@@ -1,0 +2,6 @@
+Fri Apr 30 09:47:43 UTC 2021 - maurizio.galli(a)gmail.com
+
+- Update to version 4.16.1+git5.e82fd05:
+ * Remove unused entries (boo#1183828)
+
+-------------------------------------------------------------------
Old:
----
openSUSE-xfce-icon-theme-4.16.1+git4.47431fc.tar.xz
New:
----
openSUSE-xfce-icon-theme-4.16.1+git5.e82fd05.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-xfce-icon-theme.spec ++++++
--- /var/tmp/diff_new_pack.0eOn3m/_old 2021-05-01 00:46:53.211401715 +0200
+++ /var/tmp/diff_new_pack.0eOn3m/_new 2021-05-01 00:46:53.215401696 +0200
@@ -18,7 +18,7 @@
%define theme_name openSUSE-Xfce
Name: openSUSE-xfce-icon-theme
-Version: 4.16.1+git4.47431fc
+Version: 4.16.1+git5.e82fd05
Release: 0
Summary: openSUSE Xfce Default Icon Theme
License: GPL-2.0-only
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.0eOn3m/_old 2021-05-01 00:46:53.267401465 +0200
+++ /var/tmp/diff_new_pack.0eOn3m/_new 2021-05-01 00:46:53.267401465 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/openSUSE-xfce-icon-theme.git</param>
- <param name="changesrevision">47431fcaab4ac6ab7568e4f9363ce0b4f04fba58</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">e82fd05cd296ce1865b9d71a4bed8ef99e4658c9</param></service></servicedata>
\ No newline at end of file
++++++ openSUSE-xfce-icon-theme-4.16.1+git4.47431fc.tar.xz -> openSUSE-xfce-icon-theme-4.16.1+git5.e82fd05.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-xfce-icon-theme-4.16.1+git4.47431fc/index.theme new/openSUSE-xfce-icon-theme-4.16.1+git5.e82fd05/index.theme
--- old/openSUSE-xfce-icon-theme-4.16.1+git4.47431fc/index.theme 2021-03-10 09:57:39.000000000 +0100
+++ new/openSUSE-xfce-icon-theme-4.16.1+git5.e82fd05/index.theme 2021-04-30 11:44:27.000000000 +0200
@@ -1,10 +1,13 @@
+
+
+
[Icon Theme]
Name=openSUSE-Xfce
Comment=openSUSE Xfce Default Icon Theme
Inherits=Adwaita
Example=folder
-Directories=16x16/apps,16x16/actions,22x22/apps,22x22/actions,24x24/apps,24x24/actions,32x32/apps,32x32/actions,48x48/apps,48x48/actions,64x64/apps,72x72/apps,96x96/apps,128x128/apps,256x256/apps,scalable/apps,scalable/status,scalable/categories
+Directories=16x16/apps,22x22/apps,24x24/apps,32x32/apps,48x48/apps,64x64/apps,72x72/apps,96x96/apps,128x128/apps,256x256/apps,scalable/apps,scalable/status,scalable/categories
[16x16/apps]
Context=Applications
++++++ openSUSE-xfce-icon-theme.obsinfo ++++++
--- /var/tmp/diff_new_pack.0eOn3m/_old 2021-05-01 00:46:53.583400057 +0200
+++ /var/tmp/diff_new_pack.0eOn3m/_new 2021-05-01 00:46:53.583400057 +0200
@@ -1,5 +1,5 @@
name: openSUSE-xfce-icon-theme
-version: 4.16.1+git4.47431fc
-mtime: 1615366659
-commit: 47431fcaab4ac6ab7568e4f9363ce0b4f04fba58
+version: 4.16.1+git5.e82fd05
+mtime: 1619775867
+commit: e82fd05cd296ce1865b9d71a4bed8ef99e4658c9
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-Tumbleweed-Yomi for openSUSE:Factory checked in at 2021-05-01 00:46:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-Tumbleweed-Yomi (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-Tumbleweed-Yomi.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-Tumbleweed-Yomi"
Sat May 1 00:46:49 2021 rev:19 rq:889511 version:1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-Tumbleweed-Yomi/openSUSE-Tumbleweed-Yomi.changes 2021-04-01 14:19:57.516207694 +0200
+++ /work/SRC/openSUSE:Factory/.openSUSE-Tumbleweed-Yomi.new.1947/openSUSE-Tumbleweed-Yomi.changes 2021-05-01 00:46:51.799408005 +0200
@@ -1,0 +2,5 @@
+Fri Apr 23 09:20:49 UTC 2021 - Alberto Planas Dominguez <aplanas(a)suse.com>
+
+- Add parameter "ym.sshd" to add PermitEmptyPasswords
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.1Uoi2F/_old 2021-05-01 00:46:52.355405528 +0200
+++ /var/tmp/diff_new_pack.1Uoi2F/_new 2021-05-01 00:46:52.355405528 +0200
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -52,9 +52,6 @@
passwd -d root
pam-config -a --nullok
-# Support SSH into the root user
-# echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
-
#======================================
# Specify default runlevel
#--------------------------------------
@@ -237,6 +234,32 @@
ExecStartPre=/usr/bin/yomi-config.sh
EOF
+mkdir -p /etc/systemd/system/sshd.service.d/
+
+# Add a systemd overlay for sshd.service, that will allow passwordless
+# login via the kernel command line.
+# TODO: use a different unit with ConditionKernelCommandLine
+cat > /usr/bin/yomi-sshd.sh <<-'EOF'
+ #!/bin/sh
+
+ # Search for the parameter 'ym.sshd=' in /proc/cmdline
+ while IFS= read -r line; do
+ [[ "$line" =~ ^ym.sshd=.*$ ]] && sshd="${line#ym.sshd=}"
+ done <<< "$(cat /proc/cmdline | xargs -n1)"
+
+ # If the paremeter is "1" or "y", change the config file
+ if [ "$sshd" = "1" ] || [ "$sshd" = "y" ]; then
+ echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config
+ fi
+EOF
+chmod a+x /usr/bin/yomi-sshd.sh
+
+cat > /etc/systemd/system/sshd.service.d/10-yomi-sshd.conf <<-EOF
+ [Service]
+ ExecStartPre=/usr/bin/yomi-sshd.sh
+EOF
+
+
systemctl enable salt-minion.service
#======================================
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyroute2 for openSUSE:Factory checked in at 2021-05-01 00:46:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyroute2 (Old)
and /work/SRC/openSUSE:Factory/.python-pyroute2.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyroute2"
Sat May 1 00:46:47 2021 rev:23 rq:889497 version:0.5.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyroute2/python-pyroute2.changes 2020-09-16 19:41:36.818952707 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyroute2.new.1947/python-pyroute2.changes 2021-05-01 00:46:50.563413511 +0200
@@ -1,0 +2,21 @@
+Fri Apr 30 08:34:54 UTC 2021 - Antonio Larrosa <alarrosa(a)suse.com>
+
+- update to 0.5.18:
+ * netlink: support zero length lladdr
+ <https://github.com/svinota/pyroute2/issues/717>
+- update to 0.5.17:
+ * license: aligned cli/ss2
+ <https://github.com/svinota/pyroute2/pull/777>
+ * ndb: del_ip() improvements
+ * ndb: wait(timeout=...)
+- update to 0.5.16:
+ * ndb: fix syntax for Python < 3.6
+ <https://github.com/svinota/pyroute2/pull/776>
+- update to 0.5.15:
+ * ndb: don't mess with SQL adapters unless really needed
+ * ndb: support more virtual interface types
+ * ndb: support in for views and record sets
+ * ndb: fix nested fetches from DB
+ * tests: start migration to pytest
+
+-------------------------------------------------------------------
Old:
----
pyroute2-0.5.14.tar.gz
New:
----
pyroute2-0.5.18.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyroute2.spec ++++++
--- /var/tmp/diff_new_pack.stczkb/_old 2021-05-01 00:46:51.131410981 +0200
+++ /var/tmp/diff_new_pack.stczkb/_new 2021-05-01 00:46:51.135410962 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pyroute2
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyroute2
-Version: 0.5.14
+Version: 0.5.18
Release: 0
Summary: Python Netlink library
-License: GPL-2.0-or-later OR Apache-2.0
+License: Apache-2.0 OR GPL-2.0-or-later
URL: https://github.com/svinota/pyroute2
Source: https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{versio…
BuildRequires: %{python_module pytest}
@@ -29,7 +29,7 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
++++++ pyroute2-0.5.14.tar.gz -> pyroute2-0.5.18.tar.gz ++++++
++++ 40121 lines of diff (skipped)
1
0