Sync from SUSE:SLFO:Main python-Faker revision 9916cf5b978e3d5b69950d55255032bb

This commit is contained in:
Adrian Schröter 2024-12-13 10:46:55 +01:00
parent d84f244c52
commit 4226883405
4 changed files with 193 additions and 20 deletions

BIN
Faker-18.11.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Faker-26.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,178 @@
-------------------------------------------------------------------
Mon Aug 5 11:02:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 26.1.0
* Add more entries to `sk_SK` Geo provider.
-------------------------------------------------------------------
Sat Jun 29 16:42:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 26.0.0:
* Fix upper limit of nb_elements.
* Remove duplicate entry in currency provider.
* Change `pydecimal` type hint for `min_value`, `max_value` to
allow `int`s.
* Add support for Nigerian Yoruba names and surnames (`yo_NG`).
-------------------------------------------------------------------
Tue Jun 11 08:06:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 25.8.0:
* Add handshake emoji with different color variations to emoji
provider list.
* Add missing translation for countries in `pt-BR`.
* Fix data in geo for `pl_PL`.
-------------------------------------------------------------------
Thu Jun 6 08:44:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 25.5.0:
* Fix data in geo for `pl_PL`. Thanks @george0st.
* Add landmarks in `geo` for `pl_PL`. Thanks @george0st.
* Add more iOS versions to `user_agent`. Thanks @george0st.
* Update VAT generation in `nl_BE` to align with correct
Belgian format. Thanks @JorisSpruyt.
-------------------------------------------------------------------
Fri May 10 13:52:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 25.1.0:
* Add geo for `pl_PL`. Thanks @george0st.
* Add geo for `sk_SK`. Thanks @george0st.
-------------------------------------------------------------------
Fri May 3 07:29:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 25.0.1:
* Add type stub file to `setup.py`.
* Include type stubs in release.
* Add job provider for `cs_CZ`.
* Add geo provider for `sk_SK`.
* Clean up data in `sk_SK` job provider.
* Remove offensive word from `pl_PL` lorem provider.
* Tune `cs_CZ` phone number validation.
* Update list of `first_name_*` and `last_name` in `pt_BR`
`PersonProvider`.
* Update `uk_UA` phone provider.
* Fix wrong pricetag format in `ru_RU` locale.
* Update last names for `de_DE` locale.
* Update phone number formats for `cs_CZ`, `sk_SK`.
* Update versions in `user_agent` provider.
* Add type hints stubs.
* Add address words for `cs_CZ`.
-------------------------------------------------------------------
Fri Mar 22 19:34:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.3.0:
* Add phone number formats to nl_BE.
* Return capitalized city names in `hu_HU`.
* Add `uk-UA` credit card provider.
* Upgrade `uk_UA` person provider.
* Fix prefix for male `bg_BG` names
* Add Grenville to `land_coords` in geo provider.
* Fix Kyiv name.
* Fix returning random data for person provider in `et_EE`
locale when the same seed value is set.
* Add person, bank provider for `sk_SK` locale.
* fix: update `pydecimal` algorithm to ensure left part is not
generated with a leading 0.
* Allow Uniqueness and Localization.
* Add `uk_UA` lorem provider.
* Consistently throw an error if the start of a daterange is
after the end.
* Add `uk_UA` automotive provider
-------------------------------------------------------------------
Tue Jan 30 12:06:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 22.6.0:
* Add support for birthday and gender to `uk_UA` `ssn` method.
* Add area code `830000` to `zh_CN`. Thanks @antik.
* Add `area_code` parameter to `ssn` provider for `zh_CN`.
* Add `http_status_code` to internet provider.
-------------------------------------------------------------------
Sat Jan 20 19:22:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 22.4.0:
* Add `fa_IR` localization for currency provider. Thanks
@parsariyahi.
* Add bank provider for `uk_UA`. Thanks @SanderFtn.
* Add bank provider for `cs_CZ`. Thanks @george0st.
-------------------------------------------------------------------
Mon Jan 8 21:00:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 22.1.0:
* Add support for multiple file systems path rules.
-------------------------------------------------------------------
Sat Jan 6 17:12:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 22.0.0:
* Remove dot from `file_name` when `extention` is the empty
string.
* Allow extension in `file_path` to take a list of allowed
extensions, or empty for "no extension".
* Fix typo in `ru_RU` company names.
-------------------------------------------------------------------
Sat Dec 16 21:17:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 21.0.0:
* Fix: random sign in `pyfloat` when `positive=False`.
* Add company provider and NUSS for `es_ES` locale.
* Add official support for Python 3.12.
* Make `unix_time` always return floats.
* Fix `pydecimal` crash on float `min_value` or `max_value`.
* Fix type hint for `unix_time`.
* Support platform-specific second precision. Thanks @cknv.
* Add more entries in `cs_CZ`'s geo
* Fix latest days of the month as birth day in italian SSN.
* Add `geo` provider for `cs_CZ`
* Fix handling for finnish ssn where `min_age` and `max_age`
are the same
* Add a few street names to `cs_CZ`
* Add words to lorem for `cs_CZ`
* Add color for `cs_CZ`
-------------------------------------------------------------------
Tue Oct 17 15:45:31 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Update to 19.10.0:
- Update names and phone numbers for cs_CZ. Thanks @george0st.
- Revert "fix type error in pyfloat when max_value is None"
from v19.6.2.
- Use DE base for de_CH AddressProvider. Thanks @nchiapol.
- Fix person Latvian provider.
- Add Gender support for Latvian (lv_LV) names. Thanks
@OskarsPakers.
- Add MAC Address Multicast. Thanks @d3vyce.
- fix type error in pyfloat when max_value is None. Thanks
@HugoJP1.
- Bump actions/checkout from 3 to 4 (#1909). Thanks
@dependabot[bot].
- Add addresses for en_BD. Thanks @aamibhoot.
- Add color_rgb, color_rgb_float, color_hsv and
color_hsl. Thanks @fdemmer.
- Add schemes and deep argument to uri method.
- Remove spurious space in uk_UA first_name. Thanks @Romissevd.
- Add weighting to dynamic providers. Thanks @pauldechorgnat.
- Add support for South African Zulu (zu_ZA) names and last
names. Thanks @iamkhaya.
- Add ja_JP locale for datetime. Thanks @cyanghsieh.
- Drop support for Python 3.7
- Drop support for 32 bit systems.
- Add elector_code for es_MX SSN provider. Thanks
@edgarrmondragon.
- Add .optional proxy that may or may not return a fake
value. Thanks @ligne.
- Add fake automotive vin number function. Thanks @cyanghsieh.
- Fix area codes for fr_FR mobile phone numbers. Thanks
@QuentinFchx.
- Remove unnecessary dependence on random2, ukpostcodeparser.
-------------------------------------------------------------------
Sun Jun 25 18:47:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -101,7 +276,7 @@ Fri Feb 10 10:01:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
Wed Feb 1 20:31:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- drop python 3.7 specific dependencies - not in any existing SUSE
distribution anymore
distribution anymore
-------------------------------------------------------------------
Wed Dec 7 14:05:18 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
@ -128,12 +303,12 @@ Thu Dec 1 17:52:47 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
Mon Nov 7 20:07:23 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v15.2.0
* Add banks for en_IN locale. Thanks @ChiragMangukia.
* Add banks for en_IN locale. Thanks @ChiragMangukia.
-------------------------------------------------------------------
Thu Oct 27 19:32:31 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v15.1.1
- Update to v15.1.1
* Fix ImportError on python <3.7.2
- Update to v15.1.0
* Add enum provider.
@ -163,7 +338,7 @@ Thu Sep 22 19:05:23 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 14.0.0
* Fix Provider._parse_date_time to support timestamps. Thanks @mochi-moshi.
- Update to 13.16.0
* automotive: add de_CH license plates. Thanks @gsilvan.
* automotive: add de_CH license plates. Thanks @gsilvan.
-------------------------------------------------------------------
Tue Aug 2 13:48:56 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
@ -374,7 +549,7 @@ Sun May 16 12:06:29 UTC 2021 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Thu Feb 18 13:32:16 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- Update to 6.3.0:
- Update to 6.3.0:
* Add sk_SK automotive provider.
* Add current_country, current_country_code and administrative_unit
* Fix pyfloat returning zeros when positive=True.
@ -408,7 +583,7 @@ Wed Jan 6 04:50:57 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
* Add SSN, company name, address, and license plate providers for th_TH.
Thanks @bact.
* Add postcode format, country names, person prefix weights, and update
phone number format for th_TH. Thanks @bact.
phone number format for th_TH. Thanks @bact.
- Update changelog filename in the specfile
-------------------------------------------------------------------
@ -443,7 +618,7 @@ Fri Nov 6 04:35:07 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
* Update zh_CN ssn provider to support gender. Thanks @mapoor.
* Fix typo in de_DE job provider. Thanks @datadominik.
* or_IN Odia person's name added. Thanks @soumendrak.
* Remove datetime_safe shim subclass in favor of native Python datetime.datetime. Thanks @samcrang.
* Remove datetime_safe shim subclass in favor of native Python datetime.datetime. Thanks @samcrang.
-------------------------------------------------------------------
Thu Aug 27 13:52:17 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
@ -502,7 +677,7 @@ Mon May 4 08:37:02 UTC 2020 - Johannes Grassler <johannes.grassler@suse.com>
* Added support for UK counties. Thanks @neilav.
* Added color provider for no_NO license plates. Thanks @bjorskog.
* Made value_types a keyword argument in python provider. Thanks @slafs.
-------------------------------------------------------------------
Mon Mar 16 10:32:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
@ -541,7 +716,7 @@ Fri Feb 28 21:23:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>
* Currency Provider improvements
* Date-Time Provider improvements
* translit fix
Thanks @valestel.
* Add Birth Number to czech locale. Thanks @Jengah.
* Add persons provider for ``fr_QC``. Thanks @Lionesk.
@ -589,9 +764,9 @@ Tue Sep 24 08:58:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
Wed Jul 24 09:39:48 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 2.0.0
* Breaking change: Only allow providers to use OrderedDict s, to
* 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
* 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.
@ -621,7 +796,7 @@ Thu May 23 08:28:50 UTC 2019 - pgajdos@suse.com
Fri Apr 26 06:26:07 UTC 2019 - pgajdos@suse.com
- version update to 1.0.5
* Add min and max values for ``pyfloat`` and ``pydecimal``.
* Add min and max values for ``pyfloat`` and ``pydecimal``.
Thanks @Lrcezimbra.
* Add ``months`` and ``M`` to the syntax for ``start_date`` and
``end_date``. Thanks @anneclairebrld.

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Faker
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,18 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-Faker
Version: 18.11.1
Version: 26.1.0
Release: 0
Summary: Python package that generates fake data
License: MIT
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 freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6.0.1}
BuildRequires: %{python_module python-dateutil >= 2.4}
BuildRequires: %{python_module random2}
BuildRequires: %{python_module text-unidecode >= 1.3}
BuildRequires: %{python_module validators >= 0.13.0}
BuildRequires: %{python_module wheel}
@ -38,7 +36,7 @@ BuildRequires: python-rpm-macros
Requires: python-python-dateutil >= 2.4
Requires: python-text-unidecode >= 1.3
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Obsoletes: python3-fake-factory < %{version}-%{release}
Provides: python3-fake-factory = %{version}-%{release}
BuildArch: noarch