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:           Tue Jan 14 08:38:21 UTC 2025

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

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

0.19.1 — 2025-01-12

Added

- added the optional `inline-snapshot[dirty-equals]` dependency to depend on the dirty-equals version which works in combination with inline-snapshot.

Fixed

- snapshots with pydantic models can now be compared multiple times

    ``` python
    class A(BaseModel):
        a: int

    def test_something():
        for _ in [1, 2]:
            assert A(a=1) == snapshot(A(a=1))
    ```

0.19.0 — 2025-01-10

Added

- You can now specify which tool you want to use to format your code by setting a `format-command` in your 
[configuration](https://15r10nk.github.io/inline-snapshot/latest/configuration/#format-command).

Changed

- **BREAKING-CHANGE** you have to install `inline-snapshot[black]` now if you want to format your code like in the previous versions. This option is not required if you use a `format-command`.

Fixed

- Load default config values even if `[tool.inline-snapshot]` is missing.
  This makes the documented default shortcuts `--review` and `--fix` work.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 pkgsrc/devel/py-inline-snapshot/Makefile:1.3
--- pkgsrc/devel/py-inline-snapshot/Makefile:1.2        Thu Jan  9 10:32:25 2025
+++ pkgsrc/devel/py-inline-snapshot/Makefile    Tue Jan 14 08:38:20 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2025/01/09 10:32:25 adam Exp $
+# $NetBSD: Makefile,v 1.3 2025/01/14 08:38:20 adam Exp $
 
-DISTNAME=      inline_snapshot-0.18.2
+DISTNAME=      inline_snapshot-0.19.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/inline_snapshot/}
@@ -12,11 +12,8 @@ LICENSE=     mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-asttokens>=2.0.5:../../lang/py-asttokens
-DEPENDS+=      ${PYPKGPREFIX}-black>=23.3.0:../../textproc/py-black
-DEPENDS+=      ${PYPKGPREFIX}-click>=8.1.4:../../devel/py-click
 DEPENDS+=      ${PYPKGPREFIX}-executing>=2.1.0:../../lang/py-executing
 DEPENDS+=      ${PYPKGPREFIX}-rich>=13.7.1:../../comms/py-rich
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 TEST_DEPENDS+= ${PYPKGPREFIX}-attrs>=24.3.0:../../devel/py-attrs
 TEST_DEPENDS+= ${PYPKGPREFIX}-dirty-equals>=0.7.0:../../devel/py-dirty-equals
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.75.5:../../devel/py-hypothesis
Index: pkgsrc/devel/py-inline-snapshot/distinfo
diff -u pkgsrc/devel/py-inline-snapshot/distinfo:1.2 pkgsrc/devel/py-inline-snapshot/distinfo:1.3
--- pkgsrc/devel/py-inline-snapshot/distinfo:1.2        Thu Jan  9 10:32:25 2025
+++ pkgsrc/devel/py-inline-snapshot/distinfo    Tue Jan 14 08:38:20 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2025/01/09 10:32:25 adam Exp $
+$NetBSD: distinfo,v 1.3 2025/01/14 08:38:20 adam Exp $
 
-BLAKE2s (inline_snapshot-0.18.2.tar.gz) = 599b6421cecee0fc8d551269d2103df25d83981afa6ab46cad6d2840f4746c43
-SHA512 (inline_snapshot-0.18.2.tar.gz) = 6b370ee0a717834f361b712ee71434362a44e92688df298572a801bbf384d69bd37816b2aa1e701f77d72149fff2ec5da9fceb24980af15de807973451e161c9
-Size (inline_snapshot-0.18.2.tar.gz) = 225777 bytes
+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



Home | Main Index | Thread Index | Old Index