Update to version 2.5.0 #1

Merged
dgarcia merged 2 commits from mgrossu/python-pytest-pycodestyle:main into main 2025-11-10 15:29:24 +01:00
4 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27cfebd52774ad55cceadce959913892b3b0989fc02400ef76a004a8b32ab5c9
size 5284

BIN
pytest_pycodestyle-2.5.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 7 15:04:58 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- update to 2.5.0:
* Migrate from setup.py to pyproject.toml
* Remove py.io dependency
- removed the setup.py in spec files
-------------------------------------------------------------------
Wed May 7 06:58:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-pycodestyle
Version: 2.4.1
Version: 2.5.0
Release: 0
Summary: Pytest plugin to run pycodestyle
License: MIT
@@ -48,7 +48,9 @@ pytest plugin to run pycodestyle in python tests
%prep
%setup -q -n pytest_pycodestyle-%{version}
sed -i -e 's:~=:>=:g' setup.py
%if 0%{?suse_version} <= 1500
Review

Is this really needed. Just fix it everywhere. Or even better, I have better experience with patches than with complicated sed stuff. Also, send it upstream.

Is this really needed. Just fix it everywhere. Or even better, I have better experience with patches than with complicated sed stuff. Also, send it upstream.
sed -i 's/license = "MIT"/license = { text = "MIT" }/' pyproject.toml
%endif
%build
%pyproject_wheel