Accepting request 1133418 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1133418 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argon2-cffi?expand=0&rev=13
This commit is contained in:
commit
b298b2b7ee
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
argon2_cffi-23.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
argon2_cffi-23.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 09:14:35 UTC 2023 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- 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 <ecsos@opensuse.org>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user