From c028ccd8bf35334f2185c77b3d42e6cd4e78af1f Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Sat, 06 Apr 2024 21:13:40 +0200
Subject: [PATCH] Add pydantic_core Python project

---
 components/python/pydantic_core/patches/01-pytest-plugins.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/components/python/pydantic_core/patches/01-pytest-plugins.patch b/components/python/pydantic_core/patches/01-pytest-plugins.patch
new file mode 100644
index 0000000..176b798
--- /dev/null
+++ b/components/python/pydantic_core/patches/01-pytest-plugins.patch
@@ -0,0 +1,14 @@
+pytest-pretty and pytest-speed are not needed to run tests
+
+--- pydantic_core-2.18.0/tests/requirements.txt.orig
++++ pydantic_core-2.18.0/tests/requirements.txt
+@@ -12,9 +12,7 @@
+ # pytest-examples currently depends on aiohttp via black; we don't want to build
+ # it on platforms like aarch64 musllinux in CI
+ pytest-examples==0.0.10; implementation_name == "cpython" and platform_machine == 'x86_64'
+-pytest-speed==0.3.5
+ pytest-mock==3.14.0
+-pytest-pretty==1.2.0
+ pytest-timeout==2.3.1
+ pytz==2024.1
+ # numpy doesn't offer prebuilt wheels for all versions and platforms we test in CI e.g. aarch64 musllinux

--
Gitblit v1.9.3