diff --git a/argon2-cffi-21.3.0.tar.gz b/argon2-cffi-21.3.0.tar.gz deleted file mode 100644 index 9c3c79e..0000000 Binary files a/argon2-cffi-21.3.0.tar.gz and /dev/null differ diff --git a/argon2_cffi-23.1.0.tar.gz b/argon2_cffi-23.1.0.tar.gz new file mode 100644 index 0000000..eb1305f Binary files /dev/null and b/argon2_cffi-23.1.0.tar.gz differ diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index 55abeb6..50f5083 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-argon2-cffi -Version: 21.3.0 +Version: 23.1.0 Release: 1 Summary: The secure Argon2 password hashing algorithm. License: MIT URL: https://argon2-cffi.readthedocs.io/ -Source0: %{pypi_source argon2-cffi} +Source0: %{pypi_source argon2_cffi} BuildArch: noarch %description @@ -19,6 +19,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-flit +BuildRequires: python3-hatchling python3-hatch-vcs python3-hatch-fancy-pypi-readme %description -n python3-argon2-cffi CFFI-based Argon2 Bindings for Python @@ -29,7 +30,7 @@ Provides: python3-argon2-cffi-doc CFFI-based Argon2 Bindings for Python %prep -%autosetup -n argon2-cffi-%{version} +%autosetup -n argon2_cffi-%{version} %build %pyproject_build @@ -45,13 +46,22 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files -n python3-argon2-cffi %{python3_sitelib}/* -%doc README.rst +%doc README.md %license LICENSE %files help %{_docdir}/* %changelog +* Fri Apr 19 2024 yueyuankun - 23.1.0-1 +- Update to 23.1.0 +- The InvalidHash exception is deprecated in favor of InvalidHashError +- argon2.hash_password(), argon2.hash_password_raw(), and argon2.verify_password() that have been soft-deprecated since 2016 are now hard-deprecated +- Official support for Python 3.11 and 3.12 +- Python 3.6 is not supported anymore +- argon2.exceptions.InvalidHashError as a replacement for InvalidHash +- salt parameter to argon2.PasswordHasher.hash() to allow for custom salts + * Thu Apr 27 2023 wangkai <13474090681@163.com> - 21.3.0-1 - Update to 21.3.0 - Obsoletes subpackage python-argon2-cffi-help