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:           Fri Oct 16 17:52:19 UTC 2026

Modified Files:
        pkgsrc/devel/py-inline-snapshot: Makefile PLIST distinfo

Log Message:
py-inline-snapshot: updated to 0.36.1

0.36.1 — 2026-10-12

Changed

- Defer generating source representations until they are needed, improving performance when comparing matching snapshots with updates disabled.
- Speed up snapshot conversion for literal constants, especially in large lists and dictionaries.
- Built-in literal values are always managed; attempting to register their types as unmanaged raises `TypeError`.
- Scope unmanaged type registrations to the current snapshot context, inheriting registrations from the parent context.
- Speed up snapshot comparisons by avoiding unnecessary deep copies of immutable built-in values.
- Speed up snapshot conversion by reading AST constant values directly instead of compiling and evaluating them.

Fixed

- Respect `show-updates` in the short report, hiding snapshot representation change messages when it is disabled.

0.36.0 — 2026-10-02

Added

- The `customize` hook now receives a `snapshot_value` argument with the
  corresponding existing snapshot value, or `...` when there is no
  corresponding snapshot.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-inline-snapshot/Makefile \
    pkgsrc/devel/py-inline-snapshot/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-inline-snapshot/PLIST

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.19 pkgsrc/devel/py-inline-snapshot/Makefile:1.20
--- pkgsrc/devel/py-inline-snapshot/Makefile:1.19       Thu Sep  3 11:47:41 2026
+++ pkgsrc/devel/py-inline-snapshot/Makefile    Fri Oct 16 17:52:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2026/09/03 11:47:41 adam Exp $
+# $NetBSD: Makefile,v 1.20 2026/10/16 17:52:18 adam Exp $
 
-DISTNAME=      inline_snapshot-0.35.4
+DISTNAME=      inline_snapshot-0.36.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/inline_snapshot/}
@@ -34,11 +34,6 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-subte
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/pyversion.mk"
-.if ${PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=2.0.0:../../textproc/py-tomli
-.endif
-
 pre-test:
        cd ${BUILDLINK_DIR}/bin && ${LN} -sf ${PREFIX}/bin/pytest-${PYVERSSUFFIX} pytest
 
Index: pkgsrc/devel/py-inline-snapshot/distinfo
diff -u pkgsrc/devel/py-inline-snapshot/distinfo:1.19 pkgsrc/devel/py-inline-snapshot/distinfo:1.20
--- pkgsrc/devel/py-inline-snapshot/distinfo:1.19       Thu Sep  3 11:47:41 2026
+++ pkgsrc/devel/py-inline-snapshot/distinfo    Fri Oct 16 17:52:19 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2026/09/03 11:47:41 adam Exp $
+$NetBSD: distinfo,v 1.20 2026/10/16 17:52:19 adam Exp $
 
-BLAKE2s (inline_snapshot-0.35.4.tar.gz) = 1ce1a8d942317bf918373d4d508092323e13004decee74fc664b5b54aafeba42
-SHA512 (inline_snapshot-0.35.4.tar.gz) = 8e3e7537b21c012607337eb3792f79e2c96fb4befb034b8079453c1bdbfd58f8ceb494b9008be9eabce449e76e9eb6e6bb492e2cbacb14508abbe8226297d178
-Size (inline_snapshot-0.35.4.tar.gz) = 2537089 bytes
+BLAKE2s (inline_snapshot-0.36.1.tar.gz) = 1a53d3f4a0beb69f26b2dc3aac6bd3296e0d667a5da5e65f321a289c74d3059c
+SHA512 (inline_snapshot-0.36.1.tar.gz) = 93316cfe66f8cbf1780ff65f701049c4acf1c1b37f273b22f6b4ecd750a1667e6b297da6760ebcc278b65db32bb28fa1fc20192a017e8082b7bdb11dc724a3c5
+Size (inline_snapshot-0.36.1.tar.gz) = 2563979 bytes

Index: pkgsrc/devel/py-inline-snapshot/PLIST
diff -u pkgsrc/devel/py-inline-snapshot/PLIST:1.8 pkgsrc/devel/py-inline-snapshot/PLIST:1.9
--- pkgsrc/devel/py-inline-snapshot/PLIST:1.8   Thu Sep  3 11:47:41 2026
+++ pkgsrc/devel/py-inline-snapshot/PLIST       Fri Oct 16 17:52:18 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2026/09/03 11:47:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/10/16 17:52:18 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -55,6 +55,9 @@ ${PYSITELIB}/inline_snapshot/_customize/
 ${PYSITELIB}/inline_snapshot/_customize/_custom_unmanaged.py
 ${PYSITELIB}/inline_snapshot/_customize/_custom_unmanaged.pyc
 ${PYSITELIB}/inline_snapshot/_customize/_custom_unmanaged.pyo
+${PYSITELIB}/inline_snapshot/_customize/_uncustomized.py
+${PYSITELIB}/inline_snapshot/_customize/_uncustomized.pyc
+${PYSITELIB}/inline_snapshot/_customize/_uncustomized.pyo
 ${PYSITELIB}/inline_snapshot/_exceptions.py
 ${PYSITELIB}/inline_snapshot/_exceptions.pyc
 ${PYSITELIB}/inline_snapshot/_exceptions.pyo



Home | Main Index | Thread Index | Old Index