diff --git a/2.1.2.tar.gz b/2.1.2.tar.gz deleted file mode 100644 index 599626385627308a1efc8c89b574d8052540abd7..0000000000000000000000000000000000000000 Binary files a/2.1.2.tar.gz and /dev/null differ diff --git a/itsdangerous-2.2.0.tar.gz b/itsdangerous-2.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e49a7230a5174bfe51cac4905d6e4668c90bcf64 Binary files /dev/null and b/itsdangerous-2.2.0.tar.gz differ diff --git a/python-itsdangerous.spec b/python-itsdangerous.spec index 50f0c095497d9c835ecec6b0a7213842757df778..40fcd3f3a76a6cabb728ecb8b7649fd0b2965d42 100644 --- a/python-itsdangerous.spec +++ b/python-itsdangerous.spec @@ -1,14 +1,17 @@ %global debug_package %{nil} Name: python-itsdangerous -Version: 2.1.2 +Version: 2.2.0 Release: 1 Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound. License: BSD URL: http://pythonhosted.org/itsdangerous/ -Source0: https://github.com/pallets/itsdangerous/archive/refs/tags/2.1.2.tar.gz +Source0: https://files.pythonhosted.org/packages/9c/cb/8ac0172223afbccb63986cc25049b154ecfb5e85932587206f42317be31d/itsdangerous-2.2.0.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-pytest python3-freezegun +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-flit %description Various helpers to pass data to untrusted environments and to get it back safe and sound. @@ -26,10 +29,10 @@ Data is cryptographically signed to ensure that a token has not been tampered wi %autosetup -n itsdangerous-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} @@ -41,6 +44,13 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} %{python3_sitelib}/itsdangerous*.egg-info/ %changelog +* Wed Jun 12 2024 zeng liwen - 2.2.0-1 +- Update to 2.2.0 +- Drop support for Python 3.7 +- Use modern packaging metadata with pyproject.toml instead of setup.cfg +- Use flit_core instead of setuptools as build backend +- Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("itsdangerous"), instead + * Tue May 31 2022 houyingchao - 2.1.2-1 - Upgrade to 2.1.2