public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pipdeptree] rawhide: Update to 3.1.0 (rhbz#2484517)
Date: Thu, 18 Jun 2026 10:32:31 GMT	[thread overview]
Message-ID: <178177875155.1.15395999912184704949.rpms-python-pipdeptree-6d9746d70092@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-18 10:32 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=178177875155.1.15395999912184704949.rpms-python-pipdeptree-6d9746d70092@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --cc=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