public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pydantic-extra-types] rawhide: Allow python-ulid v4
@ 2026-07-21  6:38 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-21  6:38 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pydantic-extra-types
Branch : rawhide
Commit : 6377d9cd63383fffe11b49ab0959ee047f48bdbb
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-21T07:37:30+01:00
Stats  : +26/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pydantic-extra-types/c/6377d9cd63383fffe11b49ab0959ee047f48bdbb?branch=rawhide

Log:
Allow python-ulid v4

---
diff --git a/pydantic-extra-types-2.11.2-python-ulid-v4.patch b/pydantic-extra-types-2.11.2-python-ulid-v4.patch
new file mode 100644
index 0000000..6f39c91
--- /dev/null
+++ b/pydantic-extra-types-2.11.2-python-ulid-v4.patch
@@ -0,0 +1,22 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 0a3a9daa..848a6dd8 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -49,7 +49,7 @@ all = [
+     'jsonschema>=4.0.0',
+     'semver>=3.0.2',
+     'python-ulid>=1,<2; python_version<"3.9"',
+-    'python-ulid>=1,<4; python_version>="3.9"',
++    'python-ulid>=1,<5; python_version>="3.9"',
+     'pendulum>=3.0.0,<4.0.0',
+     'pymongo>=4.0.0,<5.0.0',
+     'pytz>=2024.1',
+@@ -64,7 +64,7 @@ jsonschema = ['jsonschema>=4.0.0']
+ semver = ['semver>=3.0.2']
+ python_ulid = [
+     'python-ulid>=1,<2; python_version<"3.9"',
+-    'python-ulid>=1,<4; python_version>="3.9"',
++    'python-ulid>=1,<5; python_version>="3.9"',
+ ]
+ pendulum = ['pendulum>=3.0.0,<4.0.0']
+ cron = ['cron-converter>=1.2.2']

diff --git a/python-pydantic-extra-types.spec b/python-pydantic-extra-types.spec
index 7638c16..79e7470 100644
--- a/python-pydantic-extra-types.spec
+++ b/python-pydantic-extra-types.spec
@@ -22,6 +22,10 @@ Source:         %{forgesource}
 
 # fix: Adjust tests for Pydantic 2.13
 Patch:          %{forgeurl}/commit/6f0217de5e26b99d09ffd9bb95da415779e6bef6.patch
+# Allow python-ulid version 4.x
+# https://github.com/pydantic/pydantic-extra-types/pull/412
+# (without changes to uv.lock, which we don’t use)
+Patch:          pydantic-extra-types-2.11.2-python-ulid-v4.patch
 
 BuildArch:      noarch
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-21  6:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21  6:38 [rpms/python-pydantic-extra-types] rawhide: Allow python-ulid v4 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