public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-python-ulid] rawhide: Update to 4.2.0 upstream release
@ 2026-11-29 10:02 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-29 10:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-python-ulid
Branch : rawhide
Commit : 3815228cc33d1b6a457bbceb6be1394e9f7f20fe
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-29T10:01:31+00:00
Stats : +19/-8 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-python-ulid/c/3815228cc33d1b6a457bbceb6be1394e9f7f20fe?branch=rawhide
Log:
Update to 4.2.0 upstream release
- Resolves: rhbz#2574406
Upstream tag: 4.2.0
Upstream commit: 4afe4bb7
Commit co-authored by Packit automation (https://packit.dev/)
---
diff --git a/README.packit b/README.packit
index 55f1550..d2f4bee 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.17.0.
+The file was generated using packit 1.17.0.post1.dev7+gd5cdd2e55.
diff --git a/python-python-ulid.spec b/python-python-ulid.spec
index caf8435..df101b4 100644
--- a/python-python-ulid.spec
+++ b/python-python-ulid.spec
@@ -1,3 +1,9 @@
+# Break a python-ulid → pydantic-extra-types → fastapi → sqlmodel → python-ulid
+# dependency cycle.
+%bcond bootstrap 0
+# Without this, we can’t run the sqlalchemy tests.
+%bcond sqlmodel %{without bootstrap}
+
# Note that this is https://pypi.org/project/python-ulid/; the canonical
# project name ulid, https://pypi.org/project/ulid/, belongs to a different and
# apparently defunct project. See
@@ -6,7 +12,7 @@
# Possible confusion with the "ulid" package
# https://github.com/mdomke/python-ulid/issues/13
Name: python-python-ulid
-Version: 4.1.0
+Version: 4.2.0
Release: %autorelease
Summary: Universally unique lexicographically sortable identifier
@@ -20,7 +26,7 @@ Source11: ulid-build.1
Source12: ulid-show.1
BuildSystem: pyproject
-BuildOption(generate_buildrequires): --extras pydantic
+BuildOption(generate_buildrequires): --extras pydantic,sqlalchemy
BuildOption(install): --assert-license ulid
BuildArch: noarch
@@ -30,6 +36,9 @@ BuildArch: noarch
# is easier to maintain a manual list.
BuildRequires: %{py3_dist freezegun}
BuildRequires: %{py3_dist pytest}
+%if %{with sqlmodel}
+BuildRequires: %{py3_dist sqlmodel}
+%endif
%global common_description %{expand:
A ULID is a universally unique lexicographically sortable identifier. It is
@@ -39,7 +48,7 @@ A ULID is a universally unique lexicographically sortable identifier. It is
* Lexicographically sortable!
* Canonically encoded as a 26 character string, as opposed to the 36
character UUID
- * Uses Crockford's base32 for better efficiency and readability (5 bits per
+ * Uses Crockford’s base32 for better efficiency and readability (5 bits per
character)
* Case insensitive
* No special characters (URL safe)
@@ -47,7 +56,6 @@ A ULID is a universally unique lexicographically sortable identifier. It is
For more information have a look at the original specification,
https://github.com/alizain/ulid#specification.}
-# this is here to fix vim's syntax highlighting
%description %{common_description}
@@ -61,7 +69,7 @@ Summary: %{summary}
%description -n python3-python-ulid %{common_description}
-%pyproject_extras_subpkg --name python3-python-ulid pydantic
+%pyproject_extras_subpkg --name python3-python-ulid pydantic sqlalchemy
%generate_buildrequires -p
@@ -80,7 +88,10 @@ install -D --preserve-timestamps --mode 0644 \
%check -a
%pyproject_verify_license
-%pytest --verbose
+%if %{without sqlmodel}
+x="${x-} --ignore=tests/test_sqlalchemy.py"
+%endif
+%pytest ${x-} --verbose
%files -n python3-python-ulid -f %{pyproject_files}
diff --git a/sources b/sources
index 8b3999a..cd6ad62 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-ulid-4.1.0.tar.gz) = 202b2fd63134e27c424f50ffcbf5af97f213d4f4fbd8f8b7c01176d964ae6660646f632eb37d9b200499bf8f51f2611b85ee4909a5bea78c42bf1b12389f8bc0
+SHA512 (python-ulid-4.2.0.tar.gz) = c7046c88a73b59e99d31ea1d4f2a9086c767fd446af54c743a5c489c79acc03b03e1f3ebe891bf454e7906c2ff0ac9ffa9cf58a8edeb8614dd8965f2dd4d6faf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-29 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 10:02 [rpms/python-python-ulid] rawhide: Update to 4.2.0 upstream release Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox