Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fake-useragent for 
openSUSE:Factory checked in at 2022-11-21 16:19:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fake-useragent (Old)
 and      /work/SRC/openSUSE:Factory/.python-fake-useragent.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fake-useragent"

Mon Nov 21 16:19:37 2022 rev:4 rq:1036970 version:1.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-fake-useragent/python-fake-useragent.changes  
    2022-11-04 17:42:04.083036835 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fake-useragent.new.1597/python-fake-useragent.changes
    2022-11-21 16:19:39.679875016 +0100
@@ -1,0 +2,24 @@
+Fri Nov 18 23:13:12 UTC 2022 - John Vandenberg <jay...@gmail.com>
+
+- Update to v1.0.1
+  * Add importlib-metadata & importlib-resources as dependencies
+  * Check on specific Python version regarding the importlib resources
+    (python v3.10 or higher) in order to have files() working
+  * importlib_metadata should now also work on Python version before 3.8
+  * Remove obsolete MANIFEST.in file
+- from v1.0.0
+  * Make the JSON Lines data file part of the Python package,
+    data is retrieved locally
+  * Extend the myproject.toml file with package-data support
+  * Remove centralized caching server implementation
+  * Make real unit-tests which should run reliable, fast, independent
+    and without Internet connection
+- from v0.1.14
+  * Improve code quality standards using modern Python >=3.7 syntax
+  * Migrated to pyproject.toml build system format + syntax check
+  * Add additional classifiers to the toml file
+  * Improved tox.ini file
+  * Improved GitHub Actions job using pip cache
+  * And various small fixes
+
+-------------------------------------------------------------------

Old:
----
  fake-useragent-0.1.13.tar.gz

New:
----
  fake-useragent-1.0.1.tar.gz

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

Other differences:
------------------
++++++ python-fake-useragent.spec ++++++
--- /var/tmp/diff_new_pack.Rmilci/_old  2022-11-21 16:19:40.571879597 +0100
+++ /var/tmp/diff_new_pack.Rmilci/_new  2022-11-21 16:19:40.587879679 +0100
@@ -19,19 +19,23 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-fake-useragent
-Version:        0.1.13
+Version:        1.0.1
 Release:        0
 License:        Apache-2.0
 Summary:        Useragent faker package for Python
 URL:            https://github.com/fake-useragent/fake-useragent
 Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/f/fake-useragent/fake-useragent-%{version}.tar.gz
+Source:         
https://github.com/fake-useragent/fake-useragent/archive/refs/tags/%{version}.tar.gz#/fake-useragent-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
+BuildRequires:  %{python_module importlib-resources}
 BuildRequires:  %{python_module pytest}
 # /SECTION
+Requires:       python-importlib-resources
 BuildArch:      noarch
 
 %python_subpackages
@@ -41,20 +45,17 @@
 
 %prep
 %setup -q -n fake-useragent-%{version}
-# https://github.com/fake-useragent/fake-useragent/issues/140
-sed -i 's/import mock/import unittest.mock as mock/' tests/*.py
+rm pytest.ini
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Many tests depend on network
-# https://github.com/fake-useragent/fake-useragent/issues/139
-%pytest -k 'not (test_fake_user_agent or update or cache_server or 
test_utils_get or test_utils_load or test_fake_default_path or 
test_fake_safe_attrs)'
+%pytest
 
 %files %{python_files}
 %license LICENSE

++++++ fake-useragent-0.1.13.tar.gz -> fake-useragent-1.0.1.tar.gz ++++++
++++ 4413 lines of diff (skipped)

Reply via email to