forked from pool/python-pyupgrade
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f2838a1cc4 | |||
| 26a018031d | |||
| 293dbbe45c | |||
| 9aa5ccbf0e | |||
| 7500dc1a36 | |||
| 014f2e8ec0 | |||
| 924e3a10ab | |||
| a93f3902f2 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:22db026d0bf7e26c9955b45d12cf269f0fe71b32157b3e59ce6792688dd7b5f1
|
|
||||||
size 65582
|
|
||||||
3
python-pyupgrade-3.21.2.tar.gz
Normal file
3
python-pyupgrade-3.21.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:35b0a60b26b2e3a45262331748e757eed5e8ad03a1d7c8b5ef015a0240584fc3
|
||||||
|
size 67006
|
||||||
@@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 8 04:06:59 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.21.2:
|
||||||
|
* fix unstringing multiline string annotations
|
||||||
|
* vendor cookie_re from cpython
|
||||||
|
* regenerate symbols for --py314-plus
|
||||||
|
* Rewrite version_info[0] and version_info.major
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 6 09:28:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.20.0
|
||||||
|
* upgrade asottile/workflows
|
||||||
|
* pyupgrade fixes for python 3.14
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 28 14:14:57 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.19.1:
|
||||||
|
* pyupgrade support for 3.13
|
||||||
|
* run pyupgrade on itself for removal of 3.13 deprecated
|
||||||
|
constructs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 31 12:15:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.17.0:
|
||||||
|
* remove python 3.8 support
|
||||||
|
* rewrite TypeVar defaults for Generator / AsyncGenerator
|
||||||
|
* run pyupgrade on itself
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 24 15:44:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jun 24 15:44:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyupgrade
|
# spec file for package python-pyupgrade
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,23 +18,23 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyupgrade
|
Name: python-pyupgrade
|
||||||
Version: 3.16.0
|
Version: 3.21.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A tool to automatically upgrade syntax for newer versions
|
Summary: A tool to automatically upgrade syntax for newer versions
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/asottile/pyupgrade
|
URL: https://github.com/asottile/pyupgrade
|
||||||
# pypi tarball does not include tests, use github instead. PR for inclusion was denied https://github.com/asottile/pyupgrade/pull/326
|
|
||||||
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
#Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz
|
BuildRequires: %{python_module base >= 3.10}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tokenize-rt >= 3.2.0}
|
BuildRequires: %{python_module tokenize-rt >= 6.1.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-tokenize-rt >= 3.2.0
|
Requires: python-tokenize-rt >= 6.1.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -49,10 +49,10 @@ programming language.
|
|||||||
%setup -q -n pyupgrade-%{version}
|
%setup -q -n pyupgrade-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pyupgrade
|
%python_clone -a %{buildroot}%{_bindir}/pyupgrade
|
||||||
|
|
||||||
@@ -69,6 +69,7 @@ programming language.
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/pyupgrade
|
%python_alternative %{_bindir}/pyupgrade
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pyupgrade
|
||||||
|
%{python_sitelib}/pyupgrade-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user