Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-pam for openSUSE:Factory checked in at 2023-12-12 19:32:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-pam (Old) and /work/SRC/openSUSE:Factory/.python-python-pam.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-pam" Tue Dec 12 19:32:48 2023 rev:3 rq:1132693 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-pam/python-python-pam.changes 2018-12-12 17:28:34.198870395 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-pam.new.25432/python-python-pam.changes 2023-12-12 19:33:16.090759174 +0100 @@ -1,0 +2,32 @@ +Tue Dec 12 12:02:21 UTC 2023 - Joan Torres <joan.tor...@suse.com> + +- Version update to 2.0.2: + * Surface fixes: + * Fixed #31 whereby I changed the boolean response in 2.0.0 to + a PAM constant. This reverts to the boolean response as + existed in v1.8.5. The result code is still stored in the + obj.code attribute. + * Added the PamAuthenticate.authenticate() method signature + and docstring to both of the new and legacy interfaces. + * Changed the PamAuthenticate.authenticate() type hinting so it + didn't interfere with the docstring. + + * Under the hood changes: + * Start mocking the libpam methods so we can wholly disassociate + ourselves from the underlying system. This lets us test more + of the actual python code and lets us start injecting errors + to test for. + +- Version update to 2.0.0: + * The surface functionality hasn't changed much but a few bugs + have been fixed. Under the hood, a lot has changed. + Functionality has now been moved into a class that helped with + value tracking. I planned on removing Python 2 support but + was convinced to leave it in for now as apparently there are + still a lot of python2 users. + + * Most testing has moved to occur underneath tox, this is superior + as it provides for testing in a clean environment and an + installed environment. + +------------------------------------------------------------------- Old: ---- python-pam-1.8.4.tar.gz New: ---- python-pam-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-pam.spec ++++++ --- /var/tmp/diff_new_pack.p8NLWO/_old 2023-12-12 19:33:16.850787216 +0100 +++ /var/tmp/diff_new_pack.p8NLWO/_new 2023-12-12 19:33:16.854787363 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-pam # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname python-pam Name: python-python-pam -Version: 1.8.4 +Version: 2.0.2 Release: 0 Summary: Python PAM module using ctypes, py3/py2 License: MIT Group: Development/Languages/Python URL: https://github.com/FirefighterBlu3/python-pam -Source: https://files.pythonhosted.org/packages/source/p/python-pam/%{modname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch + %python_subpackages %description @@ -39,14 +41,15 @@ %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/pam +%{python_sitelib}/python_pam-%{version}* ++++++ python-pam-1.8.4.tar.gz -> python-pam-2.0.2.tar.gz ++++++ ++++ 1691 lines of diff (skipped)