public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/psutils] rawhide: 3.3.16 bump
Date: Thu, 06 Aug 2026 06:40:07 GMT [thread overview]
Message-ID: <178599840739.1.8820412773588530184.rpms-psutils-f64758cbef1c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/psutils
Branch : rawhide
Commit : f64758cbef1c74d713a2b3476acc8cfdd7aa8730
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-08-06T08:38:19+02:00
Stats : +96/-10 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/psutils/c/f64758cbef1c74d713a2b3476acc8cfdd7aa8730?branch=rawhide
Log:
3.3.16 bump
---
diff --git a/.gitignore b/.gitignore
index b934844..1a54ec6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ psutils-p17-clean.tar.gz
/psutils-2.09.tar.gz
/psutils-2.10.tar.gz
/psutils-3.3.15.tar.gz
+/psutils-3.3.16.tar.gz
diff --git a/psutils-3.3.16-Revert-Move-tox-config-to-pyproject.toml.patch b/psutils-3.3.16-Revert-Move-tox-config-to-pyproject.toml.patch
new file mode 100644
index 0000000..6c99fdb
--- /dev/null
+++ b/psutils-3.3.16-Revert-Move-tox-config-to-pyproject.toml.patch
@@ -0,0 +1,86 @@
+From b02f627205feaeb13bf8e278ef33549051b0ad37 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Thu, 6 Aug 2026 08:24:51 +0200
+Subject: [PATCH] Revert "Move tox config to pyproject.toml"
+
+This reverts commit 540b3778c886e66e99de2f3d80bac9086a33431c.
+
+pyright, types-coloramam, types-pillow are not yet packaged. Moreover,
+those are relase tests (linters etc.) not helpful for a distribution.
+---
+ pyproject.toml | 22 ----------------------
+ tox.ini | 18 ++++++++++++++++++
+ 2 files changed, 18 insertions(+), 22 deletions(-)
+ create mode 100644 tox.ini
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 90f00bb..cb033b9 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -31,22 +31,13 @@ pstops = "psutils.command.pstops:pstops"
+
+ [project.optional-dependencies]
+ test = [
+- "pyright",
+ "pytest-datafiles",
+- "ruff",
+- "setuptools",
+- "tox",
+- "types-colorama",
+- "types-mock",
+- "types-Pillow",
+- "types-setuptools",
+ "Wand",
+ ]
+
+ [build-system]
+ requires = [
+ "argparse-manpage[setuptools] >= 4.2",
+- "build",
+ "puremagic >= 1.26",
+ "pypdf >= 4.3.0",
+ ]
+@@ -74,16 +65,3 @@ lines-after-imports = 2
+
+ [tool.ruff.lint.pydocstyle]
+ convention = "google"
+-
+-[tool.tox]
+-env_list = ["3.12", "3.13", "3.14"]
+-
+-[tool.tox.env_run_base]
+-description = "Run tests under {base_python}"
+-commands = [
+- ["pyright", "psutils", "tests/*.py", "setup.py"],
+- ["ruff", "check", "psutils", "tests", "setup.py"],
+- ["ruff", "format", "--exit-non-zero-on-format"],
+- ["pytest", "-Wdefault", "{posargs}"],
+-]
+-extras = ["test"]
+diff --git a/tox.ini b/tox.ini
+new file mode 100644
+index 0000000..5642b1a
+--- /dev/null
++++ b/tox.ini
+@@ -0,0 +1,18 @@
++[tox]
++envlist = py312,py313,py314
++
++[testenv]
++deps =
++ argparse-manpage >= 4.2
++ pyright
++ ruff
++ setuptools
++ types-colorama
++ types-Pillow
++ types-mock
++ types-setuptools
++commands =
++ pyright psutils tests/*.py setup.py
++ ruff check psutils tests setup.py
++ pytest -Wdefault {posargs}
++extras = test
+--
+2.55.0
+
diff --git a/psutils.spec b/psutils.spec
index 21f914e..5468eb8 100644
--- a/psutils.spec
+++ b/psutils.spec
@@ -2,8 +2,8 @@
%bcond psutils_enables_tests %{undefined rhel}
Name: psutils
-Version: 3.3.15
-Release: 4%{?dist}
+Version: 3.3.16
+Release: 1%{?dist}
Summary: PDF and PostScript utilities
# COPYING: GPL-3.0 text
# psutils/argparse.py: GPL-3.0-or-later
@@ -48,6 +48,8 @@ License: GPL-3.0-or-later
SourceLicense: GPL-3.0-or-later AND AGPL-3.0-or-later
URL: https://github.com/rrthomas/%{name}
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Disable unhelful linters
+Patch0: psutils-3.3.16-Revert-Move-tox-config-to-pyproject.toml.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: python3-devel >= 3.12
@@ -86,7 +88,7 @@ with "%{_libexecdir}/%{name}/test".
%endif
%prep
-%setup -q
+%autosetup -p1
%generate_buildrequires
%pyproject_buildrequires %{?with_psutils_enables_tests:-x test}
@@ -103,9 +105,6 @@ mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a tests %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
-# Override locale because upstream's PAPERSIZE override does not work.
-# <https://github.com/rrthomas/psutils/issues/91>.
-export LC_ALL=C.UTF-8
export PYTHONDONTWRITEBYTECODE=1
cd %{_libexecdir}/%{name} && exec /usr/bin/pytest
EOF
@@ -115,9 +114,6 @@ chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
%pyproject_check_import
%if %{with psutils_enables_tests}
-# Override locale because upsteam's PAPERSIZE override does not work.
-# <https://github.com/rrthomas/psutils/issues/91>.
-LC_ALL=C.UTF-8
%pytest
%endif
@@ -149,6 +145,9 @@ LC_ALL=C.UTF-8
%endif
%changelog
+* Thu Aug 06 2026 Petr Pisar <ppisar@redhat.com> - 3.3.16-1
+- 3.3.16 bump
+
* Fri Jul 24 2026 Petr Pisar <ppisar@redhat.com> - 3.3.15-4
- Deduplicate COPYING file
diff --git a/sources b/sources
index e3b9023..a308596 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (psutils-3.3.15.tar.gz) = 8ec873b33a21cfbf2386e50341c6a30a216895ceb6e8cc79c2e79e114aa54d9f1146cd04de6d85370b4066d1f57d811892539f9974f1582ab461d6392b648d68
+SHA512 (psutils-3.3.16.tar.gz) = 2721cfe1ad2b7b5de2af40028ef2256146b2d3f48a3e6c73ea870247a0e24edfa7b8551d553ca8469db07c723312090c5e0158a9c3f5bca589bfcd20bdb2a4b7
reply other threads:[~2026-08-06 6:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178599840739.1.8820412773588530184.rpms-psutils-f64758cbef1c@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox