public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pipdeptree] rawhide: Update to 3.1.0 (rhbz#2484517)
@ 2026-06-18 10:32 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-06-18 10:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pipdeptree
Branch : rawhide
Commit : 6d9746d700929b24d1f154c5e0c76f9b36b24612
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-06-17T13:46:41+02:00
Stats : +17/-11 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pipdeptree/c/6d9746d700929b24d1f154c5e0c76f9b36b24612?branch=rawhide
Log:
Update to 3.1.0 (rhbz#2484517)
---
diff --git a/.gitignore b/.gitignore
index 37bbc49..7928d88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,3 +47,4 @@
/pipdeptree-2.35.1.tar.gz
/pipdeptree-2.35.2.tar.gz
/pipdeptree-2.35.3.tar.gz
+/pipdeptree-3.1.0.tar.gz
diff --git a/python-pipdeptree.spec b/python-pipdeptree.spec
index 3f42c08..be45123 100644
--- a/python-pipdeptree.spec
+++ b/python-pipdeptree.spec
@@ -6,7 +6,7 @@ packages in form of a dependency tree. It works for packages installed\
globally on a machine as well as in a virtualenv.
Name: python-%{srcname}
-Version: 2.35.3
+Version: 3.1.0
Release: %autorelease
Summary: Command line utility to show dependency tree of packages
@@ -18,6 +18,15 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros >= 0-41
+# Testing dependencies
+# It's easier to list them here than to use sed/patch pyproject.toml heavily.
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pytest-mock)
+BuildRequires: python3dist(pytest-subprocess)
+BuildRequires: python3dist(virtualenv)
+BuildRequires: python3dist(pip-requirements-parser)
+BuildRequires: python3dist(rich)
+BuildRequires: python3dist(graphviz)
%description %_description
@@ -27,21 +36,17 @@ Summary: %{summary}
%description -n python3-%{srcname} %_description
-%pyproject_extras_subpkg -n python3-%{srcname} graphviz
+%pyproject_extras_subpkg -n python3-%{srcname} graphviz rich
%prep
%autosetup -n %{srcname}-%{version} -p1
-# Remove unneeded testing deps
-sed -i "/diff-cover/d;/covdefaults/d;/pytest-cov/d" pyproject.toml
-# Remove version limits from dependencies
-sed -i 's/"virtualenv.*",/"virtualenv",/' pyproject.toml
-sed -i 's/"graphviz.*",/"graphviz",/' pyproject.toml
-sed -i 's/"pytest>.*",/"pytest",/' pyproject.toml
-sed -i 's/"pytest-mock>.*",/"pytest-mock",/' pyproject.toml
+%pyproject_patch_dependency graphviz:drop_constraints
+%pyproject_patch_dependency pip-requirements-parser:drop_constraints
+%pyproject_patch_dependency rich:drop_constraints
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
-%pyproject_buildrequires -x test,graphviz
+%pyproject_buildrequires
%build
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
diff --git a/sources b/sources
index 5924341..c469b7a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pipdeptree-2.35.3.tar.gz) = 4791dabc310c66aa4c3bc054edd8ecb5300f2eac8eae7c564c9f6347bd80ede31c4430e2764f89916d4b344fdb702283d7b3411b0c71413acb2f1994c069f920
+SHA512 (pipdeptree-3.1.0.tar.gz) = cf8717615c017846ab66c72a86ed976c3cd206fd1ae85d2ea96a4aaeff1be7eef64b29d37b1d8226d0b59b13e6e2ac37d36b77d07d08c30b340ccf470848ca39
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 10:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 10:32 [rpms/python-pipdeptree] rawhide: Update to 3.1.0 (rhbz#2484517) Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox