Hello community, here is the log from the commit of package python-mimesis for openSUSE:Factory checked in at 2019-06-19 21:08:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mimesis (Old) and /work/SRC/openSUSE:Factory/.python-mimesis.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-mimesis" Wed Jun 19 21:08:35 2019 rev:2 rq:710558 version:3.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mimesis/python-mimesis.changes 2019-05-22 15:39:15.910552648 +0200 +++ /work/SRC/openSUSE:Factory/.python-mimesis.new.4811/python-mimesis.changes 2019-06-19 21:10:34.246635847 +0200 @@ -1,0 +2,20 @@ +Tue Jun 18 11:44:53 UTC 2019 - pgajdos@suse.com + +- version update to 3.2.0 + **Added**: + - Added built-in provider DenmarkSpecProvider + - Added meta classes for providers for internal usage + (see `#621 https://github.com/lk-geimfari/mimesis/issues/621`_.) + - Added support for custom templates in ``Person().username()`` + - Added ``ItalianSpecProvider()`` + **Fixed**: + - Support of seed for custom providers + - ``currency_iso_code`` from the ``Business()`` provider now by + default returns the currency code of the current locale. + **Removed**: + - Removed ``multiple_choice()`` in the ``random`` module because it + was unusued and it could be replaced with ``random.choices``. + - Removed legacy method ``child_count()`` from provider ``Person()`` +- run the testsuite + +------------------------------------------------------------------- Old: ---- mimesis-3.1.0.tar.gz New: ---- mimesis-3.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mimesis.spec ++++++ --- /var/tmp/diff_new_pack.CqjnXS/_old 2019-06-19 21:10:34.810636396 +0200 +++ /var/tmp/diff_new_pack.CqjnXS/_new 2019-06-19 21:10:34.814636400 +0200 @@ -12,26 +12,27 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-mimesis -Version: 3.1.0 +Version: 3.2.0 Release: 0 -License: MIT Summary: Fake data generator -Url: https://github.com/lk-geimfari/mimesis +License: MIT Group: Development/Languages/Python -Source: https://github.com/lk-geimfari/mimesis/archive/3.1.0.tar.gz#/mimesis-%{version}.tar.gz +Url: https://github.com/lk-geimfari/mimesis +Source: https://github.com/lk-geimfari/mimesis/archive/v%{version}.tar.gz#/mimesis-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-flake8} -BuildRequires: %{python_module pytest-isort} +BuildRequires: %{python_module pytz} # /SECTION Recommends: python-pytz BuildArch: noarch @@ -57,9 +58,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} rm %{buildroot}%{_prefix}/LICENSE -# Tests require a network connection -# %%check -# %%python_expand pytest-%%{$python_bin_suffix} +%check +sed -i '/--\(flake8\|isort\)/d' setup.cfg +# some tests require a network connection +%pytest -k 'not (test_download_image or test_stock_image)' %files %{python_files} %doc README.rst ++++++ mimesis-3.1.0.tar.gz -> mimesis-3.2.0.tar.gz ++++++ ++++ 12851 lines of diff (skipped)