Download raw body.
[wip] devel/py-pydantic 2.8.2 devel/py-pydantic-core-2.21.0
On 2024/08/20 14:51, Landry Breuil wrote:
> Le Mon, Aug 19, 2024 at 05:29:44PM +0200, Renaud Allard a écrit :
> >
> >
> > On 8/19/24 5:12 PM, Stuart Henderson wrote:
> > > Dirty-equals uses hatchling not setuptools_scm, see pyproject.toml
> > >
> > > "method to make python code easier" - pfft. How about this instead?
> > > "simplify asserts in tests by misusing __eq__"?
> > >
> > Indeed, that didn't mean much.
>
> this version is ok with me, or i can import it with another ok. as for
> the last iteration of the rust-based py-pydantic-core, the last
> submission had a n empty patches/ subdir and PLIST.orig in the tarball,
> but those can be skipped with cvs import too.
>
I imported it with these changes on top
diff --git a/devel/py-dirty-equals/Makefile b/devel/py-dirty-equals/Makefile
index 209489d..af81698 100644
--- a/devel/py-dirty-equals/Makefile
+++ b/devel/py-dirty-equals/Makefile
@@ -17,10 +17,13 @@ MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= hatchling
-MODPY_PYTEST= Yes
TEST_DEPENDS= devel/py-appdirs${MODPY_FLAVOR} \
devel/py-more-itertools${MODPY_FLAVOR} \
+ devel/py-pydantic${MODPY_FLAVOR}
+
+# needs pytest-examples
+MODPY_PYTEST_ARGS= --ignore tests/test_docs.py
FLAVORS= python3
FLAVOR= python3
[wip] devel/py-pydantic 2.8.2 devel/py-pydantic-core-2.21.0