pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-inline-snapshot
Module Name: pkgsrc
Committed By: adam
Date: Thu Jan 16 08:31:43 UTC 2025
Modified Files:
pkgsrc/devel/py-inline-snapshot: Makefile distinfo
Log Message:
py-inline-snapshot: updated to 0.19.3
0.19.3 — 2025-01-15
Fixed
- raise no assertion for positional arguments inside constructor methods.
0.19.2 — 2025-01-15
Fixed
- fixed a crash when you changed the snapshot to use a custom constructor method for dataclass/pydantic models.
example:
``` python
from inline_snapshot import snapshot
from pydantic import BaseModel
class A(BaseModel):
a: int
@classmethod
def from_str(cls, s):
return cls(a=int(s))
def test_something():
assert A(a=2) == snapshot(A.from_str("1"))
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-inline-snapshot/Makefile \
pkgsrc/devel/py-inline-snapshot/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-inline-snapshot/Makefile
diff -u pkgsrc/devel/py-inline-snapshot/Makefile:1.3 pkgsrc/devel/py-inline-snapshot/Makefile:1.4
--- pkgsrc/devel/py-inline-snapshot/Makefile:1.3 Tue Jan 14 08:38:20 2025
+++ pkgsrc/devel/py-inline-snapshot/Makefile Thu Jan 16 08:31:43 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2025/01/14 08:38:20 adam Exp $
+# $NetBSD: Makefile,v 1.4 2025/01/16 08:31:43 adam Exp $
-DISTNAME= inline_snapshot-0.19.1
+DISTNAME= inline_snapshot-0.19.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/inline_snapshot/}
Index: pkgsrc/devel/py-inline-snapshot/distinfo
diff -u pkgsrc/devel/py-inline-snapshot/distinfo:1.3 pkgsrc/devel/py-inline-snapshot/distinfo:1.4
--- pkgsrc/devel/py-inline-snapshot/distinfo:1.3 Tue Jan 14 08:38:20 2025
+++ pkgsrc/devel/py-inline-snapshot/distinfo Thu Jan 16 08:31:43 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2025/01/14 08:38:20 adam Exp $
+$NetBSD: distinfo,v 1.4 2025/01/16 08:31:43 adam Exp $
-BLAKE2s (inline_snapshot-0.19.1.tar.gz) = 8502dbfe7c088c491129ddd99de0234ad9a909921db81167eb1d1a2561ccb6e4
-SHA512 (inline_snapshot-0.19.1.tar.gz) = 3750de436a5b19002728df954d4b60e30f7fd6ff0ae49e1a0268cf61d5ba40b809ccaf2b8474b9c3a2b9195a9b0edb7ec98dc4d29af77738fab997e566890bd5
-Size (inline_snapshot-0.19.1.tar.gz) = 88072 bytes
+BLAKE2s (inline_snapshot-0.19.3.tar.gz) = 6491011c2a10461125d31219a883b04f651fbea0edc2ef0387df8a1732c40b7e
+SHA512 (inline_snapshot-0.19.3.tar.gz) = b1f3a0123a1f17ffb85cb296861e3558057d45a8a576d72b2dca1ad1ce3151d4354b6bf86f9e0fb21d941d7ee708fd33c3961fdd1c0bad4c7368b720388fcf85
+Size (inline_snapshot-0.19.3.tar.gz) = 88636 bytes
Home |
Main Index |
Thread Index |
Old Index