Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-allauth for openSUSE:Factory checked in at 2023-11-06 21:13:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-allauth (Old) and /work/SRC/openSUSE:Factory/.python-django-allauth.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-allauth" Mon Nov 6 21:13:46 2023 rev:9 rq:1123462 version:0.58.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-allauth/python-django-allauth.changes 2023-07-30 20:57:57.495286058 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-allauth.new.17445/python-django-allauth.changes 2023-11-06 21:13:50.794311060 +0100 @@ -1,0 +2,15 @@ +Mon Nov 6 00:48:51 UTC 2023 - Marcus Rueckert <mrueck...@suse.de> + +- make it easier to notice to keep buildrequires and runtime + requires version limits in sync. This will also help us to notice + early when the version of other libraries do not match the + requires encoded in the source code. + +------------------------------------------------------------------- +Thu Nov 2 07:54:22 UTC 2023 - Andreas Schneider <a...@cryptomilk.org> + +- Update to v0.58.1 + * See https://github.com/pennersr/django-allauth/blob/0.58.1/ChangeLog.rst + or the ChangeLog.rst included in this package + +------------------------------------------------------------------- Old: ---- django-allauth-0.54.0.tar.gz New: ---- django-allauth-0.58.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-allauth.spec ++++++ --- /var/tmp/diff_new_pack.7EsRfG/_old 2023-11-06 21:13:52.590377173 +0100 +++ /var/tmp/diff_new_pack.7EsRfG/_new 2023-11-06 21:13:52.590377173 +0100 @@ -15,10 +15,24 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# keep in sync in setup.cfg +%global django_min_version 3.2 +%global python3_openid_min_version 3.0.8 +%global requests_oauthlib_min_version 0.3.0 +%global requests_min_version 2.0.0 +%global pyjwt_min_version 1.7 +# optional extra requires +%global python3_saml_min_version 1.15.0 +%global python3_saml_max_version 2.0.0 +%global qrcode_min_version 7.0.0 +# testing +%global pillow_min_version 9.0 +%global pytest_min_version 7.4 +%global pytest_django_min_version 4.5.2 %{?sle15_python_module_pythons} Name: python-django-allauth -Version: 0.54.0 +Version: 0.58.1 Release: 0 Summary: Django authentication, registration, account management License: MIT @@ -26,19 +40,28 @@ URL: https://github.com/pennersr/django-allauth Source: https://files.pythonhosted.org/packages/source/d/django-allauth/django-allauth-%{version}.tar.gz Patch: missing-template-in-test.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module Django >= %{django_min_version}} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module python3-openid >= %{python3_openid_min_version}} +BuildRequires: %{python_module requests-oauthlib >= %{requests_oauthlib_min_version}} +BuildRequires: %{python_module requests >= %{requests_min_version}} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Django >= 2.0 -Requires: python-python3-openid >= 3.0.8 -Requires: python-requests -Requires: python-requests-oauthlib >= 0.3.0 +Requires: python-Django >= %{django_min_version} +Requires: python-python3-openid >= %{python3_openid_min_version} +Requires: python-requests >= %{requests_min_version} +Requires: python-requests-oauthlib >= %{requests_oauthlib_min_version} +Requires: python-PyJWT >= %{pyjwt_min_version} +Recommends: (python-python3-saml >= %{python3_saml_min_version} with python-python3-saml < %{python3_saml_max_version}) +Recommends: python-qrcode >= %{qrcode_min_version} BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Django >= 2.0} -BuildRequires: %{python_module python3-openid >= 3.0.8} -BuildRequires: %{python_module requests-oauthlib >= 0.3.0} -BuildRequires: %{python_module requests} +BuildRequires: %{python_module Pillow >= %{pillow_min_version}} +BuildRequires: %{python_module pytest-django >= %{pytest_django_min_version}} +BuildRequires: %{python_module pytest >= %{pytest_min_version}} +BuildRequires: %{python_module python3-saml >= %{python3_saml_min_version}} +BuildRequires: %{python_module qrcode >= %{qrcode_min_version}} # /SECTION %python_subpackages @@ -48,22 +71,19 @@ %prep %autosetup -p1 -n django-allauth-%{version} -# Five errors reported at https://github.com/pennersr/django-allauth/issues/2210 -# Cern provider test module fails -rm allauth/socialaccount/providers/cern/tests.py # 2 tests failing with KeyError: 'location' (not in response headers) sed -i 's/test_login/_test_login/' allauth/socialaccount/providers/openid/tests.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONPATH=. +export PYTHONPATH="$(pwd)" %python_expand django-admin-%{$python_bin_suffix} test --settings=test_settings %files %{python_files} ++++++ django-allauth-0.54.0.tar.gz -> django-allauth-0.58.1.tar.gz ++++++ ++++ 94399 lines of diff (skipped) ++++++ missing-template-in-test.patch ++++++ --- /var/tmp/diff_new_pack.7EsRfG/_old 2023-11-06 21:13:52.966391015 +0100 +++ /var/tmp/diff_new_pack.7EsRfG/_new 2023-11-06 21:13:52.966391015 +0100 @@ -1,6 +1,8 @@ ---- a/allauth/account/tests.py 2023-07-29 03:13:58.816192704 +0200 -+++ b/allauth/account/tests.py 2023-07-29 03:14:17.592388201 +0200 -@@ -1740,7 +1740,7 @@ +Index: django-allauth-0.58.1/allauth/account/tests/test_ratelimit.py +=================================================================== +--- django-allauth-0.58.1.orig/allauth/account/tests/test_ratelimit.py 2023-11-02 09:22:23.776697894 +0100 ++++ django-allauth-0.58.1/allauth/account/tests/test_ratelimit.py 2023-11-02 09:22:34.456792940 +0100 +@@ -22,7 +22,7 @@ class RateLimitTests(TestCase): reverse("account_reset_password"), data={"email": "a...@b.com"} ) assert resp.status_code == 302 @@ -8,8 +10,8 @@ - reverse("account_reset_password"), data={"email": "a...@b.com"} - ) - assert resp.status_code == 429 -+ #resp = self.client.post( -+ # reverse("account_reset_password"), data={"email": "a...@b.com"} -+ #) -+ #assert resp.status_code == 429 ++ # resp = self.client.post( ++ # reverse("account_reset_password"), data={"email": "a...@b.com"} ++ # ) ++ # assert resp.status_code == 429