From a83048eb3faf4978ab95ab75ed88b5ba2d3bfdb77c307c706320ca6353b8c1af Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 19 Jul 2019 20:33:26 +0000 Subject: [PATCH 1/2] Accepting request 717144 from home:seanmarlow:branches:devel:languages:python Update ipaddress requirements. Attempt to install for python2 does not install the required ipaddress package. OBS-URL: https://build.opensuse.org/request/show/717144 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=28 --- python-Faker.changes | 5 +++++ python-Faker.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-Faker.changes b/python-Faker.changes index 25f20b0..0f18b7a 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 19 20:16:51 UTC 2019 - Sean Marlow + +- Update ipaddress requirements. + ------------------------------------------------------------------- Thu May 23 08:28:50 UTC 2019 - pgajdos@suse.com diff --git a/python-Faker.spec b/python-Faker.spec index 0603175..21e7d33 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -32,14 +32,15 @@ BuildRequires: %{python_module freezegun >= 0.3.11} BuildRequires: %{python_module mock} BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest >= 3.8.0} +BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module python-dateutil >= 2.4} BuildRequires: %{python_module random2 >= 1.0.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10} BuildRequires: %{python_module text-unidecode >= 1.2} BuildRequires: fdupes -BuildRequires: python-ipaddress BuildRequires: python-rpm-macros +BuildRequires: python2-ipaddress Requires: python-python-dateutil >= 2.4 Requires: python-setuptools Requires: python-six >= 1.10 @@ -47,9 +48,8 @@ Requires: python-text-unidecode >= 1.2 Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch -BuildRequires: %{python_module pytest-runner} %ifpython2 -Requires: python-ipaddress +Requires: python2-ipaddress Obsoletes: %{oldpython}-fake-factory < %{version} Provides: %{oldpython}-fake-factory = %{version} %endif From defdb448e8823fd5570d408fdb99c2d7289d8d42dd3502be10940f88c95a5314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 24 Jul 2019 11:35:38 +0000 Subject: [PATCH 2/2] Accepting request 718189 from home:mcalabkova:branches:devel:languages:python - update to version 2.0.0 * Breaking change: Only allow providers to use OrderedDict s, to avoid any more PYTHONHASHSEED problems. * Remove some validations from Faker and delegate it to an external library, validators. * Add an "Invalid SSN" generator to the en_US SSN Provider. * Loosen version restrictions on freezegun and random2. * Add date_of_birth and sex argument to pesel Provider (pl_PL). * Fix datetime parsing on environments with negative offsets. OBS-URL: https://build.opensuse.org/request/show/718189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=29 --- Faker-1.0.7.tar.gz | 3 --- Faker-2.0.0.tar.gz | 3 +++ python-Faker.changes | 13 +++++++++++++ python-Faker.spec | 9 ++++----- 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 Faker-1.0.7.tar.gz create mode 100644 Faker-2.0.0.tar.gz diff --git a/Faker-1.0.7.tar.gz b/Faker-1.0.7.tar.gz deleted file mode 100644 index e2de366..0000000 --- a/Faker-1.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60477f757a80f665bbe1fb3d1cfe5d205ec7b99d5240114de7b27b4c25d236ca -size 831042 diff --git a/Faker-2.0.0.tar.gz b/Faker-2.0.0.tar.gz new file mode 100644 index 0000000..1852804 --- /dev/null +++ b/Faker-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96ad7902706f2409a2d0c3de5132f69b413555a419bacec99d3f16e657895b47 +size 834573 diff --git a/python-Faker.changes b/python-Faker.changes index 0f18b7a..0459e55 100644 --- a/python-Faker.changes +++ b/python-Faker.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jul 24 09:39:48 UTC 2019 - Marketa Calabkova + +- update to version 2.0.0 + * Breaking change: Only allow providers to use OrderedDict s, to + avoid any more PYTHONHASHSEED problems. + * Remove some validations from Faker and delegate it to an + external library, validators. + * Add an "Invalid SSN" generator to the en_US SSN Provider. + * Loosen version restrictions on freezegun and random2. + * Add date_of_birth and sex argument to pesel Provider (pl_PL). + * Fix datetime parsing on environments with negative offsets. + ------------------------------------------------------------------- Fri Jul 19 20:16:51 UTC 2019 - Sean Marlow diff --git a/python-Faker.spec b/python-Faker.spec index 21e7d33..94f2358 100644 --- a/python-Faker.spec +++ b/python-Faker.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Faker -Version: 1.0.7 +Version: 2.0.0 Release: 0 Summary: Python package that generates fake data License: MIT @@ -27,17 +27,16 @@ Group: Development/Languages/Python URL: https://github.com/joke2k/faker Source: https://files.pythonhosted.org/packages/source/F/Faker/Faker-%{version}.tar.gz BuildRequires: %{python_module UkPostcodeParser >= 1.1.1} -BuildRequires: %{python_module email_validator >= 1.0.2} -BuildRequires: %{python_module freezegun >= 0.3.11} +BuildRequires: %{python_module freezegun} BuildRequires: %{python_module mock} -BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest >= 3.8.0} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module python-dateutil >= 2.4} -BuildRequires: %{python_module random2 >= 1.0.1} +BuildRequires: %{python_module random2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10} BuildRequires: %{python_module text-unidecode >= 1.2} +BuildRequires: %{python_module validators >= 0.13.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-ipaddress