From 8b55c33ff165d50e8cff6c2f8fcc23e90bf56449bd14c252c6e2d010369102ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Dec 2023 12:14:13 +0000 Subject: [PATCH] Accepting request 1133133 from home:pgajdos:python pmmu version update OBS-URL: https://build.opensuse.org/request/show/1133133 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argon2-cffi?expand=0&rev=26 --- argon2-cffi-21.3.0.tar.gz | 3 --- argon2_cffi-23.1.0.tar.gz | 3 +++ python-argon2-cffi.changes | 25 +++++++++++++++++++++++++ python-argon2-cffi.spec | 16 ++++++++++------ 4 files changed, 38 insertions(+), 9 deletions(-) delete mode 100644 argon2-cffi-21.3.0.tar.gz create mode 100644 argon2_cffi-23.1.0.tar.gz diff --git a/argon2-cffi-21.3.0.tar.gz b/argon2-cffi-21.3.0.tar.gz deleted file mode 100644 index 5cd09ac..0000000 --- a/argon2-cffi-21.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d384164d944190a7dd7ef22c6aa3ff197da12962bd04b17f64d4e93d934dba5b -size 38446 diff --git a/argon2_cffi-23.1.0.tar.gz b/argon2_cffi-23.1.0.tar.gz new file mode 100644 index 0000000..ea35606 --- /dev/null +++ b/argon2_cffi-23.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:879c3e79a2729ce768ebb7d36d4609e3a78a4ca2ec3a9f12286ca057e3d0db08 +size 42798 diff --git a/python-argon2-cffi.changes b/python-argon2-cffi.changes index e84febb..de91ec7 100644 --- a/python-argon2-cffi.changes +++ b/python-argon2-cffi.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Dec 14 09:14:35 UTC 2023 - Petr Gajdos + +- update to 23.1.0: + * The only new feature is the possibility to pass an own salt + to `argon2.PasswordHasher.hash()`, however a lot has changed + around documentation and packaging to make *argon2-cffi* + maintainable in the future. + * Python 3.6 is not supported anymore. + * The `InvalidHash` exception is deprecated in favor of + `InvalidHashError`. No plans for removal currently exist and + the names can (but shouldn't) be used interchangeably. + * `argon2.hash_password()`, `argon2.hash_password_raw()`, and + `argon2.verify_password()` that have been soft-deprecated + since 2016 are now hard-deprecated. They now raise + `DeprecationWarning`s and will be removed in 2024. + * Official support for Python 3.11 and 3.12. No code changes + were necessary. + * `argon2.exceptions.InvalidHashError` as a replacement for + `InvalidHash`. + * *salt* parameter to `argon2.PasswordHasher.hash()` to allow + for custom salts. This is only useful for specialized use- + cases -- leave it on None unless you know exactly what you + are doing. \#153 + ------------------------------------------------------------------- Fri Jun 9 06:25:05 UTC 2023 - ecsos diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index b29d0ca..c19aa7e 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -18,13 +18,16 @@ %{?sle15_python_module_pythons} Name: python-argon2-cffi -Version: 21.3.0 +Version: 23.1.0 Release: 0 Summary: The Argon2 password hashing algorithm for Python License: MIT URL: https://github.com/hynek/argon2_cffi -Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2_cffi-%{version}.tar.gz BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module hatch-fancy-pypi-readme} +BuildRequires: %{python_module hatch-vcs} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -33,8 +36,9 @@ BuildRequires: python-rpm-macros # For test BuildRequires: %{python_module argon2-cffi-bindings} Requires: python-argon2-cffi-bindings -Provides: python-argon2_cffi -Obsoletes: python-argon2_cffi +Provides: python-argon2_cffi = %{version} +Obsoletes: python-argon2_cffi < %{version} +BuildArch: noarch %python_subpackages %description @@ -42,7 +46,7 @@ A Python module that uses CFFI to access the Argon2 password hashing C library. %prep -%setup -q -n argon2-cffi-%{version} +%autosetup -p1 -n argon2_cffi-%{version} %build export ARGON2_CFFI_USE_SYSTEM=1 @@ -56,7 +60,7 @@ export ARGON2_CFFI_USE_SYSTEM=1 %pytest %files %{python_files} -%doc README.rst AUTHORS.rst FAQ.rst +%doc CHANGELOG.md FAQ.md README.md %license LICENSE %{python_sitelib}/argon2 %{python_sitelib}/argon2_cffi-%{version}.dist-info