Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Faker for openSUSE:Factory 
checked in at 2024-06-07 15:02:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Faker (Old)
 and      /work/SRC/openSUSE:Factory/.python-Faker.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Faker"

Fri Jun  7 15:02:18 2024 rev:55 rq:1178962 version:25.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Faker/python-Faker.changes        
2024-05-13 01:24:22.834201470 +0200
+++ /work/SRC/openSUSE:Factory/.python-Faker.new.24587/python-Faker.changes     
2024-06-07 15:02:30.813907837 +0200
@@ -1,0 +2,10 @@
+Thu Jun  6 08:44:57 UTC 2024 - Dirk Müller <dmuel...@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.
+
+-------------------------------------------------------------------

Old:
----
  Faker-25.1.0.tar.gz

New:
----
  Faker-25.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Faker.spec ++++++
--- /var/tmp/diff_new_pack.8oltyu/_old  2024-06-07 15:02:31.665938876 +0200
+++ /var/tmp/diff_new_pack.8oltyu/_new  2024-06-07 15:02:31.665938876 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-Faker
-Version:        25.1.0
+Version:        25.5.0
 Release:        0
 Summary:        Python package that generates fake data
 License:        MIT

++++++ Faker-25.1.0.tar.gz -> Faker-25.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/CHANGELOG.md 
new/Faker-25.5.0/CHANGELOG.md
--- old/Faker-25.1.0/CHANGELOG.md       2024-05-08 23:21:35.000000000 +0200
+++ new/Faker-25.5.0/CHANGELOG.md       2024-06-04 22:17:38.000000000 +0200
@@ -1,5 +1,21 @@
 ## Changelog
 
+### [v25.5.0 - 
2024-05-04](https://github.com/joke2k/faker/compare/v25.4.0...v25.5.0)
+
+* Fix data in geo for `pl_PL`. Thanks @george0st.
+
+### [v25.4.0 - 
2024-05-03](https://github.com/joke2k/faker/compare/v25.3.0...v25.4.0)
+
+* Add landmarks in `geo` for `pl_PL`. Thanks @george0st.
+
+### [v25.3.0 - 
2024-05-28](https://github.com/joke2k/faker/compare/v25.2.0...v25.3.0)
+
+* Add more iOS versions to `user_agent`. Thanks @george0st.
+
+### [v25.2.0 - 
2024-05-13](https://github.com/joke2k/faker/compare/v25.1.0...v25.2.0)
+
+* Update VAT generation in `nl_BE` to align with correct Belgian format. 
Thanks @JorisSpruyt.
+
 ### [v25.1.0 - 
2024-05-08](https://github.com/joke2k/faker/compare/v25.0.1...v25.1.0)
 
 * Add geo for `pl_PL`. Thanks @george0st.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/CONTRIBUTING.rst 
new/Faker-25.5.0/CONTRIBUTING.rst
--- old/Faker-25.1.0/CONTRIBUTING.rst   2024-04-04 16:05:57.000000000 +0200
+++ new/Faker-25.5.0/CONTRIBUTING.rst   2024-06-04 22:16:42.000000000 +0200
@@ -11,6 +11,7 @@
 -  Clearly describe the issue including steps to reproduce when it is a bug.
 -  Make sure you fill in the earliest version that you know has the issue.
 -  Fork the repository on GitHub
+-  Please only make changes or add data to locales you're familiar with.
 
 Making Changes
 --------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/Faker.egg-info/PKG-INFO 
new/Faker-25.5.0/Faker.egg-info/PKG-INFO
--- old/Faker-25.1.0/Faker.egg-info/PKG-INFO    2024-05-08 23:27:08.000000000 
+0200
+++ new/Faker-25.5.0/Faker.egg-info/PKG-INFO    2024-06-04 22:18:19.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Faker
-Version: 25.1.0
+Version: 25.5.0
 Summary: Faker is a Python package that generates fake data for you.
 Home-page: https://github.com/joke2k/faker
 Author: joke2k
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/PKG-INFO new/Faker-25.5.0/PKG-INFO
--- old/Faker-25.1.0/PKG-INFO   2024-05-08 23:27:09.551867500 +0200
+++ new/Faker-25.5.0/PKG-INFO   2024-06-04 22:18:20.182764000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Faker
-Version: 25.1.0
+Version: 25.5.0
 Summary: Faker is a Python package that generates fake data for you.
 Home-page: https://github.com/joke2k/faker
 Author: joke2k
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/VERSION new/Faker-25.5.0/VERSION
--- old/Faker-25.1.0/VERSION    2024-05-08 23:22:33.000000000 +0200
+++ new/Faker-25.5.0/VERSION    2024-06-04 22:18:07.000000000 +0200
@@ -1 +1 @@
-25.1.0
+25.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/faker/__init__.py 
new/Faker-25.5.0/faker/__init__.py
--- old/Faker-25.1.0/faker/__init__.py  2024-05-08 23:22:33.000000000 +0200
+++ new/Faker-25.5.0/faker/__init__.py  2024-06-04 22:18:07.000000000 +0200
@@ -2,6 +2,6 @@
 from faker.generator import Generator
 from faker.proxy import Faker
 
-VERSION = "25.1.0"
+VERSION = "25.5.0"
 
 __all__ = ("Factory", "Generator", "Faker")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Faker-25.1.0/faker/providers/address/it_IT/__init__.py 
new/Faker-25.5.0/faker/providers/address/it_IT/__init__.py
--- old/Faker-25.1.0/faker/providers/address/it_IT/__init__.py  2023-02-28 
21:39:57.000000000 +0100
+++ new/Faker-25.5.0/faker/providers/address/it_IT/__init__.py  2024-06-03 
16:06:05.000000000 +0200
@@ -4,11 +4,7 @@
 
 
 def getcities(fulldict):
-    cities = []
-    for cap in fulldict:
-        for c in fulldict[cap]:
-            cities.append(c[0]) if c[0] not in cities else cities
-    return cities
+    return list({c[0] for _cap, cities in fulldict.items() for c in cities})
 
 
 class Provider(AddressProvider):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/faker/providers/file/__init__.py 
new/Faker-25.5.0/faker/providers/file/__init__.py
--- old/Faker-25.1.0/faker/providers/file/__init__.py   2024-04-29 
17:31:08.000000000 +0200
+++ new/Faker-25.5.0/faker/providers/file/__init__.py   2024-06-03 
16:06:05.000000000 +0200
@@ -337,7 +337,7 @@
         if prefix is None:
             prefix = self.random_element(self.unix_device_prefixes)
         suffix: str = self.random_element(string.ascii_lowercase)
-        path = "/dev/{}{}".format(prefix, suffix)
+        path = f"/dev/{prefix}{suffix}"
         return path
 
     def unix_partition(self, prefix: Optional[str] = None) -> str:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/faker/providers/geo/pl_PL/__init__.py 
new/Faker-25.5.0/faker/providers/geo/pl_PL/__init__.py
--- old/Faker-25.1.0/faker/providers/geo/pl_PL/__init__.py      2024-05-08 
23:19:51.000000000 +0200
+++ new/Faker-25.5.0/faker/providers/geo/pl_PL/__init__.py      2024-06-04 
22:16:42.000000000 +0200
@@ -5,25 +5,44 @@
     # Source:
     #   https://latitude.to/map/pl/poland/cities/
     land_coords = (
-        ("52.22977", "21.01178", "Warsaw", "PL", "Europe/Warsaw"),
-        ("51.75", "19.46667", "Łódź", "PL", "Europe/Warsaw"),
-        ("50.06143", "19.93658", "Krakow", "PL", "Europe/Warsaw"),
-        ("51.1", "17.03333", "Wrocław", "PL", "Europe/Warsaw"),
-        ("52.40692", "16.92993", "Poznań", "PL", "Europe/Warsaw"),
-        ("54.35205", "18.64637", "Gdańsk", "PL", "Europe/Warsaw"),
-        ("53.42894", "14.55302", "Szczecin", "PL", "Europe/Warsaw"),
-        ("53.1235", "18.00762", "Bydgoszcz", "PL", "Europe/Warsaw"),
-        ("51.25", "22.56667", "Lublin", "PL", "Europe/Warsaw"),
-        ("50.25841", "19.02754", "Katowice", "PL", "Europe/Warsaw"),
-        ("53.13333", "23.16433", "Białystok", "PL", "Europe/Warsaw"),
-        ("54.51889", "18.53188", "Gdynia", "PL", "Europe/Warsaw"),
-        ("50.79646", "19.12409", "Częstochowa", "PL", "Europe/Warsaw"),
-        ("50.28682", "19.10385", "Sosnowiec", "PL", "Europe/Warsaw"),
-        ("51.40253", "21.14714", "Radom", "PL", "Europe/Warsaw"),
-        ("52.1934", "21.03487", "Mokotów", "PL", "Europe/Warsaw"),
-        ("53.01375", "18.59814", "Toruń", "PL", "Europe/Warsaw"),
-        ("50.87033", "20.62752", "Kielce", "PL", "Europe/Warsaw"),
-        ("50.29761", "18.67658", "Gliwice", "PL", "Europe/Warsaw"),
-        ("50.32492", "18.78576", "Zabrze", "PL", "Europe/Warsaw"),
-        ("50.34802", "18.93282", "Bytom", "PL", "Europe/Warsaw"),
+        ("52.22977", "21.01178", "Warsaw", "PL", "Europe/Warszawa"),
+        ("51.75", "19.46667", "Łódź", "PL", "Europe/Warszawa"),
+        ("50.06143", "19.93658", "Krakow", "PL", "Europe/Warszawa"),
+        ("51.1", "17.03333", "Wrocław", "PL", "Europe/Warszawa"),
+        ("52.40692", "16.92993", "Poznań", "PL", "Europe/Warszawa"),
+        ("54.35205", "18.64637", "Gdańsk", "PL", "Europe/Warszawa"),
+        ("53.42894", "14.55302", "Szczecin", "PL", "Europe/Warszawa"),
+        ("53.1235", "18.00762", "Bydgoszcz", "PL", "Europe/Warszawa"),
+        ("51.25", "22.56667", "Lublin", "PL", "Europe/Warszawa"),
+        ("50.25841", "19.02754", "Katowice", "PL", "Europe/Warszawa"),
+        ("53.13333", "23.16433", "Białystok", "PL", "Europe/Warszawa"),
+        ("54.51889", "18.53188", "Gdynia", "PL", "Europe/Warszawa"),
+        ("50.79646", "19.12409", "Częstochowa", "PL", "Europe/Warszawa"),
+        ("50.28682", "19.10385", "Sosnowiec", "PL", "Europe/Warszawa"),
+        ("51.40253", "21.14714", "Radom", "PL", "Europe/Warszawa"),
+        ("52.1934", "21.03487", "Mokotów", "PL", "Europe/Warszawa"),
+        ("53.01375", "18.59814", "Toruń", "PL", "Europe/Warszawa"),
+        ("50.87033", "20.62752", "Kielce", "PL", "Europe/Warszawa"),
+        ("50.29761", "18.67658", "Gliwice", "PL", "Europe/Warszawa"),
+        ("50.32492", "18.78576", "Zabrze", "PL", "Europe/Warszawa"),
+        ("50.34802", "18.93282", "Bytom", "PL", "Europe/Warszawa"),
+        ("49.82245", "19.04686", "Bielsko-Biala", "PL", "Europe/Warszawa"),
+        ("53.77995", "20.49416", "Olsztyn", "PL", "Europe/Warszawa"),
+        ("50.04132", "21.99901", "Rzeszów", "PL", "Europe/Warszawa"),
+        ("52.15051", "21.05041", "Ursynów", "PL", "Europe/Warszawa"),
+        ("50.2584", "18.85632", "Ruda Śląska", "PL", "Europe/Warszawa"),
+        ("52.2401", "20.98869", "Wola", "PL", "Europe/Warszawa"),
+        ("50.09713", "18.54179", "Rybnik", "PL", "Europe/Warszawa"),
+        ("52.29242", "20.93531", "Bielany", "PL", "Europe/Warszawa"),
+        ("50.31818", "19.2374", "Dąbrowa Górnicza", "PL", "Europe/Warszawa"),
+        ("50.13717", "18.96641", "Tychy", "PL", "Europe/Warszawa"),
+        ("50.67211", "17.92533", "Opole", "PL", "Europe/Warszawa"),
+        ("54.1522", "19.40884", "Elblag", "PL", "Europe/Warszawa"),
+        ("52.54682", "19.70638", "Płock", "PL", "Europe/Warszawa"),
+        ("50.77141", "16.28432", "Wałbrzych", "PL", "Europe/Warszawa"),
+        ("52.73679", "15.22878", "Gorzów Wielkopolski", "PL", 
"Europe/Warszawa"),
+        ("52.29185", "21.04845", "Targówek", "PL", "Europe/Warszawa"),
+        ("52.64817", "19.0678", "Włocławek", "PL", "Europe/Warszawa"),
+        ("51.93548", "15.50643", "Zielona Góra", "PL", "Europe/Warszawa"),
+        ("50.01381", "20.98698", "Tarnów", "PL", "Europe/Warszawa"),
     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/faker/providers/ssn/nl_BE/__init__.py 
new/Faker-25.5.0/faker/providers/ssn/nl_BE/__init__.py
--- old/Faker-25.1.0/faker/providers/ssn/nl_BE/__init__.py      2023-02-09 
21:33:45.000000000 +0100
+++ new/Faker-25.5.0/faker/providers/ssn/nl_BE/__init__.py      2024-05-13 
18:01:49.000000000 +0200
@@ -57,8 +57,18 @@
     vat_id_formats = ("BE##########",)
 
     def vat_id(self) -> str:
+        vat_id_random_section = "#######"
+
+        vat_id_possible_initial_numbers = ("0", "1")
         """
         http://ec.europa.eu/taxation_customs/vies/faq.html#item_11
-        :return: A random Belgian VAT ID
+        https://en.wikipedia.org/wiki/VAT_identification_number
+        :return: A random Belgian VAT ID starting with 0 or 1 and has a 
correct checksum with a modulo 97 check
         """
-        return self.bothify(self.random_element(self.vat_id_formats))
+        generated_initial_number: str = 
self.random_element(vat_id_possible_initial_numbers)
+        vat_without_check = 
self.bothify(f"{generated_initial_number}{vat_id_random_section}")
+        vat_as_int = int(vat_without_check)
+        vat_check = 97 - (vat_as_int % 97)
+        vat_check_str = f"{vat_check:0>2}"
+
+        return f"BE{vat_without_check}{vat_check_str}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Faker-25.1.0/faker/providers/user_agent/__init__.py 
new/Faker-25.5.0/faker/providers/user_agent/__init__.py
--- old/Faker-25.1.0/faker/providers/user_agent/__init__.py     2024-04-29 
17:31:08.000000000 +0200
+++ new/Faker-25.5.0/faker/providers/user_agent/__init__.py     2024-06-03 
16:06:04.000000000 +0200
@@ -117,11 +117,16 @@
     # sources
     # https://en.wikipedia.org/wiki/IOS_version_history
     ios_versions: ElementsType[str] = (
+        "1.1.5",
+        "2.2.1",
         "3.1.3",
+        "3.2.2",
         "4.2.1",
+        "4.3.5",
         "5.1.1",
         "6.1.6",
         "7.1.2",
+        "8.4.1",
         "9.3.5",
         "9.3.6",
         "10.3.3",
@@ -129,12 +134,15 @@
         "11.4.1",
         "12.4.4",
         "12.4.8",
+        "12.5.7",
         "13.5.1",
+        "13.7",
         "14.2",
         "14.2.1",
         "14.8.1",
         "15.8.2",
         "16.7.6",
+        "16.7.7",
         "17.1",
         "17.1.1",
         "17.1.2",
@@ -143,6 +151,7 @@
         "17.3",
         "17.3.1",
         "17.4",
+        "17.4.1",
     )
 
     def mac_processor(self) -> str:

Reply via email to