Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Authlib for openSUSE:Factory checked in at 2022-05-10 15:12:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Authlib (Old) and /work/SRC/openSUSE:Factory/.python-Authlib.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Authlib" Tue May 10 15:12:07 2022 rev:6 rq:975956 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Authlib/python-Authlib.changes 2022-04-21 15:49:27.552367546 +0200 +++ /work/SRC/openSUSE:Factory/.python-Authlib.new.1538/python-Authlib.changes 2022-05-10 15:12:21.295602148 +0200 @@ -1,0 +2,5 @@ +Mon May 9 22:06:00 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Fix tests. + +------------------------------------------------------------------- Old: ---- Authlib-1.0.1.tar.gz New: ---- authlib-1.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Authlib.spec ++++++ --- /var/tmp/diff_new_pack.X6adKo/_old 2022-05-10 15:12:21.815602803 +0200 +++ /var/tmp/diff_new_pack.X6adKo/_new 2022-05-10 15:12:21.823602813 +0200 @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define modname authlib Name: python-Authlib Version: 1.0.1 @@ -25,11 +26,26 @@ Summary: Python library for building OAuth and OpenID Connect servers License: BSD-3-Clause URL: https://authlib.org/ -Source: https://files.pythonhosted.org/packages/source/A/Authlib/Authlib-%{version}.tar.gz +Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements +BuildRequires: %{python_module anyio} +BuildRequires: %{python_module Django} +BuildRequires: %{python_module Flask-SQLAlchemy} +BuildRequires: %{python_module Flask} +BuildRequires: %{python_module SQLAlchemy} +BuildRequires: %{python_module Werkzeug} +BuildRequires: %{python_module cachelib} BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module httpx} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module starlette} +BuildRequires: %{python_module typing_extensions} # /SECTION BuildRequires: fdupes Requires: python-cryptography @@ -41,7 +57,7 @@ A Python library for building OAuth and OpenID Connect servers. %prep -%setup -q -n Authlib-%{version} +%setup -q -n %{modname}-%{version} %build %python_build @@ -50,9 +66,22 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1 +$python -mpytest tests/core +$python -mpytest tests/flask +# gh#lepture/authlib#456 +$python -mpytest tests/jose -k 'not (test_dir_alg_xc20p or test_xc20p_content_encryption_decryption)' +export DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings +$python -mpytest tests/clients +# export DJANGO_SETTINGS_MODULE=tests.django.settings +# $python -mpytest tests/django +} + %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/%{modname} +%{python_sitelib}/Authlib-%{version}*-info %changelog ++++++ Authlib-1.0.1.tar.gz -> authlib-1.0.1.tar.gz ++++++ ++++ 25617 lines of diff (skipped)