pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-black



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec  8 07:12:51 UTC 2025

Modified Files:
        pkgsrc/textproc/py-black: Makefile distinfo

Log Message:
py-black: updated to 25.12.0

25.12.0

Highlights

- Black no longer supports running with Python 3.9

Stable style

- Fix bug where comments preceding `# fmt: off`/`# fmt: on` blocks were incorrectly
  removed, particularly affecting Jupytext's `# %% [markdown]` comments
- Fix crash when multiple `# fmt: skip` comments are used in a multi-part if-clause, on
  string literals, or on dictionary entries with long lines
- Fix possible crash when `fmt: ` directives aren't on the top level

Preview style

- Fix `fmt: skip` skipping the line after instead of the line it's on
- Remove unnecessary parentheses from the left-hand side of assignments while preserving
  magic trailing commas and intentional multiline formatting
- Fix `fix_fmt_skip_in_one_liners` crashing on `with` statements
- Fix `fix_fmt_skip_in_one_liners` crashing on annotated parameters
- Fix new lines being added after imports with `# fmt: skip` on them

Packaging

- Releases now include arm64 Windows binaries and wheels

Integrations

- Add `output-file` input to GitHub Action `psf/black` to write formatter output to a
  file for artifact capture and log cleanliness


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/py-black/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-black/Makefile
diff -u pkgsrc/textproc/py-black/Makefile:1.37 pkgsrc/textproc/py-black/Makefile:1.38
--- pkgsrc/textproc/py-black/Makefile:1.37      Fri Nov 14 13:38:33 2025
+++ pkgsrc/textproc/py-black/Makefile   Mon Dec  8 07:12:51 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2025/11/14 13:38:33 adam Exp $
+# $NetBSD: Makefile,v 1.38 2025/12/08 07:12:51 adam Exp $
 
-DISTNAME=      black-25.11.0
+DISTNAME=      black-25.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.32 pkgsrc/textproc/py-black/distinfo:1.33
--- pkgsrc/textproc/py-black/distinfo:1.32      Fri Nov 14 13:38:34 2025
+++ pkgsrc/textproc/py-black/distinfo   Mon Dec  8 07:12:51 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.32 2025/11/14 13:38:34 adam Exp $
+$NetBSD: distinfo,v 1.33 2025/12/08 07:12:51 adam Exp $
 
-BLAKE2s (black-25.11.0.tar.gz) = 3b8f4b9123f3d0c0750ae6fbf32613dfa909e4b299a5a9f2523d122337d70e76
-SHA512 (black-25.11.0.tar.gz) = e6b91cc3772b5a079baf99792140d8d66448b2d17aa27706af5a9c652fca04ed4815dab4fdcaf93721d0b7e85e5fec85ba3fd14f08487a82f558c140a3dfbfd6
-Size (black-25.11.0.tar.gz) = 655669 bytes
+BLAKE2s (black-25.12.0.tar.gz) = 3e6b598a6b7605b8e1aa58f0d657a88660b3e3467b25da08abd22f09b0cb01dd
+SHA512 (black-25.12.0.tar.gz) = 2e67d22218eaba3e5c4f3bbcfe5ea3d305852168cfe7f75edb31ecd4db7b4a3dc349e23f8b93c0e5c5e9c4380cb3cd949733d13b9991b41496a7d17514cd2cea
+Size (black-25.12.0.tar.gz) = 659264 bytes



Home | Main Index | Thread Index | Old Index