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-pydantic-extra-types] rawhide: Allow python-ulid v4
Date: Tue, 21 Jul 2026 06:38:13 GMT	[thread overview]
Message-ID: <178461589372.1.9847539959948175900.rpms-python-pydantic-extra-types-6377d9cd6338@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-21  6:38 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=178461589372.1.9847539959948175900.rpms-python-pydantic-extra-types-6377d9cd6338@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