Hello community,
here is the log from the commit of package python-mimesis for
openSUSE:Leap:15.2 checked in at 2020-04-12 15:39:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-mimesis (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-mimesis.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mimesis"
Sun Apr 12 15:39:35 2020 rev:3 rq:793360 version:4.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-mimesis/python-mimesis.changes
2020-03-10 17:12:37.605401661 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-mimesis.new.3248/python-mimesis.changes
2020-04-12 15:39:36.710067566 +0200
@@ -1,0 +2,33 @@
+Wed Apr 1 08:41:46 UTC 2020 - [email protected]
+
+- version update to 4.0.0
+ .. warning:: This release (4.0.0) contains some insignificant but breaking
changes in API, please be careful.
+ **Added**:
+ - Added an alias ``.first_name(*args, **kwargs)`` for the method
``Person().name()``
+ - Added an alias ``.sex(*args, **kwargs)`` for the method
``Person().gender()``
+ - Added method ``randstr()`` for class ``Random()``
+ - Added method ``complexes()`` for the provider ``Numbers()``
+ - Added method ``matrix`` for the provider ``Numbers()``
+ - Added method ``integer_number()`` for the provider ``Numbers()``
+ - Added method ``float_number()`` for the provider ``Numbers()``
+ - Added method ``complex_number()`` for the provider ``Numbers()``
+ - Added method ``decimal_number()`` for the provider ``Numbers()``
+ - Added method ``ip_v4_object()`` and ``ip_v6_object`` for the provider
``Internet()``. Now you can generate IP objects, not just strings.
+ - Added new parameter ``port_range`` for method ``ip_v4()``
+ - Added new parameter ``separator`` for method
``Cryptographic().mnemonic_phrase()``
+ **Fixed**:
+ - Fixed issue with invalid email addresses on using custom domains without
``@`` for ``Person().email()``
+ **Updated**:
+ - Updated names and surnames for locale ``ru``
+ - The ``floats()`` function in the ``Numbers`` provider now accepts
arguments about the range of the generated float
+ numbers and the rounding used. By default, it generates a list of ``n``
float numbers insted of a list of 10^n elements.
+ - The argument ``length`` of the function ``integers`` is renamed to ``n``.
+ **Removed**:
+ - Removed the ``rating()`` method from the ``Numbers`` provider. It can be
replaced with ``float_number()``.
+ - Removed the ``primes()`` method from the ``Numbers`` provider.
+ - Removed the ``digit()`` method from the ``Numbers`` provider. Use
``integer_number()`` instead.
+ - Removed the ``between()`` method from the ``Numbers`` provider. Use
``integer_number()`` instead.
+ - Removed the ``math_formula()`` method from the ``Science`` provider.
+ - Removed ``rounding`` argument from ``floats()``. Now it's ``precision``.
+
+-------------------------------------------------------------------
Old:
----
mimesis-3.3.0.tar.gz
New:
----
mimesis-4.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mimesis.spec ++++++
--- /var/tmp/diff_new_pack.n6ipZR/_old 2020-04-12 15:39:37.034067811 +0200
+++ /var/tmp/diff_new_pack.n6ipZR/_new 2020-04-12 15:39:37.034067811 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-mimesis
-Version: 3.3.0
+Version: 4.0.0
Release: 0
Summary: Fake data generator
License: MIT
@@ -60,8 +60,7 @@
sed -i '/--\(flake8\|isort\)/d' setup.cfg
# some tests require a network connection
# test_cpf_with_666_prefix - fails with new mocker behaviour
-# test_port - fails on py3.8+ as it raises different exception then one checked
-%pytest -k 'not (test_download_image or test_stock_image or
test_cpf_with_666_prefix or test_port)'
+%pytest -k 'not (test_download_image or test_stock_image or
test_cpf_with_666_prefix)'
%files %{python_files}
%doc README.rst
++++++ mimesis-3.3.0.tar.gz -> mimesis-4.0.0.tar.gz ++++++
++++ 162671 lines of diff (skipped)