public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-humanize] rawhide: Update to v4.17.0
Date: Sat, 14 Nov 2026 18:51:42 GMT [thread overview]
Message-ID: <179468230231.1.14225494507864408220.rpms-python-humanize-9a0ba38d21b3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-humanize
Branch : rawhide
Commit : 9a0ba38d21b351499051ab38679d2cd7388c4d21
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-11-14T19:50:46+01:00
Stats : +10/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-humanize/c/9a0ba38d21b351499051ab38679d2cd7388c4d21?branch=rawhide
Log:
Update to v4.17.0
- Resolves: rhbz#2572615
---
diff --git a/.gitignore b/.gitignore
index 8e12b20..c4f06ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/humanize-4.14.0.tar.gz
/humanize-4.15.0.tar.gz
/humanize-4.16.0.tar.gz
+/humanize-4.17.0.tar.gz
diff --git a/python-humanize.spec b/python-humanize.spec
index 036797d..5590f3b 100644
--- a/python-humanize.spec
+++ b/python-humanize.spec
@@ -1,7 +1,7 @@
%bcond_without check
Name: python-humanize
-Version: 4.16.0
+Version: 4.17.0
Release: %autorelease
Summary: Turns dates in to human readable format, e.g '3 minutes ago'
@@ -11,6 +11,7 @@ Source0: %{pypi_source humanize}
BuildArch: noarch
BuildRequires: python3-devel
+BuildRequires: babel
%global _description %{expand:
@@ -37,8 +38,8 @@ for lib in src/humanize/filesize.py; do
touch -r $lib $lib.new && mv $lib.new $lib
done
-# Remove .po files
-find -name '*.po' -delete
+# Remove prebuilt translations, regenerated in %%build
+find -name '*.mo' -delete
%pyproject_patch_dependency pytest-codspeed:ignore
%pyproject_patch_dependency pytest-cov:ignore
@@ -52,6 +53,9 @@ sed -Ei 's/ ?--cov(-[^ ]+)? +[^ ]+//g' tox.ini
%build
+pybabel --quiet compile --directory src/humanize/locale --domain humanize
+# Ship only the compiled catalogs
+find -name '*.po' -delete
%pyproject_wheel
@@ -62,7 +66,7 @@ sed -Ei 's/ ?--cov(-[^ ]+)? +[^ ]+//g' tox.ini
%if %{with check}
%check
-%tox
+%pytest
%endif
diff --git a/sources b/sources
index 0a1985e..c8deb81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (humanize-4.16.0.tar.gz) = ec5588287d7d5547b7fdf44234f4e52b6726a867dfd9f223e942fdb57b37b7a5e7fc44583a6cfd51f8209732f676d2b20e870e2e3b9a772c786c9cbda7fd5adc
+SHA512 (humanize-4.17.0.tar.gz) = 60f2ff47ed40ec549eb5f2ead2ae313919c5a1fbdd21e289ed041034fed2ce827b4f049fa10501e6e1fb48199dec639f73eada117bd1ba1c8adfa1b2b0d64aea
reply other threads:[~2026-11-14 18:51 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=179468230231.1.14225494507864408220.rpms-python-humanize-9a0ba38d21b3@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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