public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-bidict] f45: Update to 0.24.0 (close RHBZ#2523223)
Date: Tue, 25 Aug 2026 07:59:21 GMT [thread overview]
Message-ID: <178764476152.1.9413638366233774315.rpms-python-bidict-bd81334681f5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-bidict
Branch : f45
Commit : bd81334681f5243b13bf85929d743522bddd64ee
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-25T08:42:33+01:00
Stats : +25/-19 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-bidict/c/bd81334681f5243b13bf85929d743522bddd64ee?branch=f45
Log:
Update to 0.24.0 (close RHBZ#2523223)
https://bidict.readthedocs.io/en/v0.24.0/changelog.html
There is at least one breaking change, the removal of `bidict.metadata`.
---
diff --git a/python-bidict.spec b/python-bidict.spec
index b5ef504..5045fa6 100644
--- a/python-bidict.spec
+++ b/python-bidict.spec
@@ -1,30 +1,19 @@
Name: python-bidict
-Version: 0.23.1
+Version: 0.24.0
Release: %autorelease
Summary: Bidirectional mapping library for Python
License: MPL-2.0
URL: https://bidict.readthedocs.io
-Source: https://github.com/jab/bidict/archive/v%{version}/bidict-%{version}.tar.gz
+%global forgeurl https://github.com/jab/bidict
+Source: %{forgeurl}/archive/v%{version}/bidict-%{version}.tar.gz
BuildSystem: pyproject
+BuildOption(generate_buildrequires): --dependency-groups test
BuildOption(install): --assert-license bidict
BuildArch: noarch
-# In 0.23.1, test dependencies are in dev-deps/test.in. Later, they are moved
-# to a test dependency group in pyproject.toml. In either case, we must curate
-# them: we don’t want benchmarks, coverage analysis, linters, etc, and
-# pytest-sphinx, while perhaps potentially useful, is not packaged. See
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters.
-BuildRequires: %{py3_dist pytest}
-BuildRequires: %{py3_dist hypothesis}
-BuildRequires: %{py3_dist pytest-xdist}
-BuildRequires: %{py3_dist typing-extensions}
-# The sortedcontainers dependency is mentioned in documentation, but does not
-# appear in a doctest that we actually run. The sortedcollections dependency is
-# used for only one doctest, which we ignore.
-
%global common_description %{expand:
The bidirectional mapping library for Python.}
@@ -38,8 +27,20 @@ Summary: %{summary}
%prep -a
-# Since we have omitted pytest-benchmark, this would not be recognized.
-sed --regexp-extended --in-place '/--benchmark/d' pytest.ini
+# We must work with what we have, and compatibility is good in practice.
+%pyproject_patch_dependency uv_build:drop_upper
+
+# We have no use for benchmarking
+%pyproject_patch_dependency pytest-benchmark:ignore
+# Not packaged; potentially useful, but we can get by without it
+%pyproject_patch_dependency pytest-sphinx:ignore
+# Not packaged; used for only one doctest, which we ignore
+%pyproject_patch_dependency sortedcollections:ignore
+# Mentioned in documentation, but doesn’t appear in an actual doctest
+%pyproject_patch_dependency sortedcontainers:ignore
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency ty:ignore
%check -a
@@ -48,7 +49,12 @@ sed --regexp-extended --in-place '/--benchmark/d' pytest.ini
# is otherwise not needed in Fedora at all.
ignore="${ignore-} --ignore=docs/extending.rst"
-%pytest ${ignore-}
+# Python 3.15.0rc1:
+# test_remove_fails_clean_when_a_backing_mapping_refuses[popitem-bidict] fails
+# https://github.com/jab/bidict/issues/407
+k="${k-}${k+ and }not test_remove_fails_clean_when_a_backing_mapping_refuses[popitem-bidict]"
+
+%pytest ${ignore-} -k "${k-}"
%files -n python3-bidict -f %{pyproject_files}
diff --git a/sources b/sources
index a939d58..97b890c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bidict-0.23.1.tar.gz) = 795e29b61c1717dd34807c60ce598fc6a142decebd0545378bdc728f397e2050f52cf11212075ba60e22553031e9727fcbaae26891f531219075f6f58e457d05
+SHA512 (bidict-0.24.0.tar.gz) = 1ed5a958e267af7db8618bcbd2b925201348b7e10e9541e4c4462f0ac5a4a1386d1ff3a629acafaae3c8d87af636c817ee0b4cbeabf70ed86f6aa0407892b163
reply other threads:[~2026-08-25 7:59 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=178764476152.1.9413638366233774315.rpms-python-bidict-bd81334681f5@fedoraproject.org \
--to=code@musicinmybrain.net \
--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