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-python-ulid] f43: Update to 3.2.0 (close RHBZ#2501767)
Date: Fri, 17 Jul 2026 21:01:30 GMT [thread overview]
Message-ID: <178432209025.1.3461987589115997791.rpms-python-python-ulid-ea6f3c72ae9d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-python-ulid
Branch : f43
Commit : ea6f3c72ae9d4fdae5a4b85e3a5c662da11ca30b
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-17T21:23:45+01:00
Stats : +16/-85 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-python-ulid/c/ea6f3c72ae9d4fdae5a4b85e3a5c662da11ca30b?branch=f43
Log:
Update to 3.2.0 (close RHBZ#2501767)
---
diff --git a/.gitignore b/.gitignore
index 7664e02..1153bd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/python_ulid-2.7.0.tar.gz
/python_ulid-3.0.0.tar.gz
/python_ulid-3.1.0.tar.gz
+/python-ulid-3.2.0.tar.gz
diff --git a/0001-Depend-on-typing-extensions-for-Python-3.11-avoid-it.patch b/0001-Depend-on-typing-extensions-for-Python-3.11-avoid-it.patch
deleted file mode 100644
index fe9b1c6..0000000
--- a/0001-Depend-on-typing-extensions-for-Python-3.11-avoid-it.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From a2719467253b66191b2ae148bb88e47b1101fd3f Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 3 Feb 2026 11:04:29 +0000
-Subject: [PATCH] Depend on typing-extensions for Python<3.11; avoid it
- otherwise
-
-Conditionalize the import of `typing_extensions`, needed only in Python
-3.10 and older; use `typing` instead for Python 3.11 and later. Add a
-dependency on `typing-extensions`, appropriately conditioned on the
-Python interpreter version.
-
-Based on https://github.com/mdomke/python-ulid/pull/47 and
-https://github.com/mdomke/python-ulid/pull/47#issuecomment-3431221960.
-
-Fixes https://github.com/mdomke/python-ulid/issues/44.
----
- pyproject.toml | 3 +++
- ulid/__init__.py | 6 +++++-
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 5c3b252..c28114c 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -26,6 +26,9 @@ classifiers = [
- "Programming Language :: Python :: 3.13",
- "Topic :: Software Development :: Libraries",
- ]
-+dependencies = [
-+ "typing-extensions; python_version < '3.11'",
-+]
-
- [project.urls]
- Homepage = "https://github.com/mdomke/python-ulid"
-diff --git a/ulid/__init__.py b/ulid/__init__.py
-index d327385..d457081 100644
---- a/ulid/__init__.py
-+++ b/ulid/__init__.py
-@@ -2,6 +2,7 @@ from __future__ import annotations
-
- import functools
- import os
-+import sys
- import time
- import uuid
- from datetime import datetime
-@@ -13,7 +14,10 @@ from typing import Generic
- from typing import TYPE_CHECKING
- from typing import TypeVar
-
--from typing_extensions import Self
-+if sys.version_info >= (3, 11):
-+ from typing import Self
-+else:
-+ from typing_extensions import Self
-
- from ulid import base32
- from ulid import constants
---
-2.52.0
-
diff --git a/python-python-ulid.spec b/python-python-ulid.spec
index 36b2749..a1a73f2 100644
--- a/python-python-ulid.spec
+++ b/python-python-ulid.spec
@@ -6,46 +6,28 @@
# Possible confusion with the "ulid" package
# https://github.com/mdomke/python-ulid/issues/13
Name: python-python-ulid
-Version: 3.1.0
+Version: 3.2.0
Release: %autorelease
Summary: Universally unique lexicographically sortable identifier
# SPDX
License: MIT
URL: https://github.com/mdomke/python-ulid
-Source0: %{pypi_source python_ulid}
+Source0: %{url}/archive/%{version}/python-ulid-%{version}.tar.gz
# Man pages hand-written for Fedora in groff_man(7) format based on --help
Source10: ulid.1
Source11: ulid-build.1
Source12: ulid-show.1
-# Depend on typing-extensions for Python<3.11; avoid it otherwise
-#
-# Conditionalize the import of `typing_extensions`, needed only in Python 3.10
-# and older; use `typing` instead for Python 3.11 and later. Add a dependency
-# on `typing-extensions`, appropriately conditioned on the Python interpreter
-# version.
-#
-# Based on https://github.com/mdomke/python-ulid/pull/47 and
-# https://github.com/mdomke/python-ulid/pull/47#issuecomment-3431221960.
-#
-# Fixes https://github.com/mdomke/python-ulid/issues/44.
-#
-# Without changes to uv.lock, since we don’t use the lockfile and to avoid
-# merge conflicts.
-#
-# Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2436255.
-Patch: 0001-Depend-on-typing-extensions-for-Python-3.11-avoid-it.patch
-
BuildSystem: pyproject
BuildOption(generate_buildrequires): --extras pydantic
BuildOption(install): --assert-license ulid
BuildArch: noarch
-# Test dependencies are defined in [envs.default] in hatch.toml. They have
-# tight version pins and include coverage tools; it is easier to maintain a
-# manual list.
+# Test dependencies are defined in the “dev” dependeny group, which has tight
+# version pins and includes coverage tools and other unwanted dependencies; it
+# is easier to maintain a manual list.
BuildRequires: %{py3_dist freezegun}
BuildRequires: %{py3_dist pytest}
@@ -61,6 +43,7 @@ A ULID is a universally unique lexicographically sortable identifier. It is
character)
* Case insensitive
* No special characters (URL safe)
+ * Monotonic sort order (correctly detects and handles the same millisecond)
For more information have a look at the original specification,
https://github.com/alizain/ulid#specification.}
@@ -81,6 +64,14 @@ Summary: %{summary}
%pyproject_extras_subpkg -n python3-python-ulid pydantic
+%generate_buildrequires -p
+export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
+
+
+%build -p
+export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
+
+
%install -a
install -D --preserve-timestamps --mode 0644 \
--target '%{buildroot}%{_mandir}/man1' \
diff --git a/sources b/sources
index 67ab8f2..3bab44c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python_ulid-3.1.0.tar.gz) = f21fc70133a839934e9b3f4b2ec756a5a68440cdeedd4aacbf60e93843c845d5600f1c9368178cd37226a80fa08ddb2239a29fbd04c916ff64f29a811dc71943
+SHA512 (python-ulid-3.2.0.tar.gz) = 8e7a5065d42eb413d6395a629c15f8a579402cab63b27a51b9447fbd613d7b6011184cf30d85aa4b14c667ac67da7600e3c1b727797ef27714b2de68cdda6b70
reply other threads:[~2026-07-17 21:01 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=178432209025.1.3461987589115997791.rpms-python-python-ulid-ea6f3c72ae9d@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