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:           Thu Oct 10 09:54:23 UTC 2024

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

Log Message:
py-black: updated to 24.10.0

24.10.0

Highlights

- Black is now officially tested with Python 3.13 and provides Python 3.13
  mypyc-compiled wheels.
- Black will issue an error when used with Python 3.12.5, due to an upstream memory
  safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
  use Python 3.12.6 or Python 3.12.4 instead.
- Black no longer supports running with Python 3.8

style

- Fix crashes involving comments in parenthesised return types or `X | Y` style unions.

- Fix skipping Jupyter cells with unknown `%%` magic

style

- Fix type annotation spacing between * and more complex type variable tuple (i.e. `def
  fn(*args: *tuple[*Ts, T]) -> None: pass`)

Caching

- Fix bug where the cache was shared between runs with and without `--unstable`

Packaging

- Upgrade version of mypyc used to 1.12 beta
- `blackd` now requires a newer version of aiohttp.

Output

- Added Python target version information on parse error
- Add information about Black version to internal error messages


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.28 -r1.29 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.31 pkgsrc/textproc/py-black/Makefile:1.32
--- pkgsrc/textproc/py-black/Makefile:1.31      Sun Aug  4 07:12:14 2024
+++ pkgsrc/textproc/py-black/Makefile   Thu Oct 10 09:54:23 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2024/08/04 07:12:14 adam Exp $
+# $NetBSD: Makefile,v 1.32 2024/10/10 09:54:23 adam Exp $
 
-DISTNAME=      black-24.8.0
+DISTNAME=      black-24.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}
@@ -19,12 +19,10 @@ DEPENDS+=   ${PYPKGPREFIX}-packaging>=22.0
 DEPENDS+=      ${PYPKGPREFIX}-pathspec>=0.9.0:../../devel/py-pathspec
 DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=2:../../misc/py-platformdirs
 # only needed for blackd:
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.10:../../www/py-aiohttp
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.28 pkgsrc/textproc/py-black/distinfo:1.29
--- pkgsrc/textproc/py-black/distinfo:1.28      Sun Aug  4 07:12:14 2024
+++ pkgsrc/textproc/py-black/distinfo   Thu Oct 10 09:54:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2024/08/04 07:12:14 adam Exp $
+$NetBSD: distinfo,v 1.29 2024/10/10 09:54:23 adam Exp $
 
-BLAKE2s (black-24.8.0.tar.gz) = 619ba1ff3d484a57fd4c311e995f7436643ce3c982456c9f68518fa8b8fea481
-SHA512 (black-24.8.0.tar.gz) = 2ba2579964764032d30378232f5874a5d71981eb76706ed12004c08c78eaa56bfb8e0740e513280b9246f54082443c64aa31d31955fdccae9c6e6ba96f54e1cc
-Size (black-24.8.0.tar.gz) = 644810 bytes
+BLAKE2s (black-24.10.0.tar.gz) = 4536edff9931554dd83d24d6fa21298bd3da59941b360e9c17acfe06b85bf6d5
+SHA512 (black-24.10.0.tar.gz) = 36285528b2a3ca9b68b806cf43cf04061f80e0ad5e693c70d2dc254b59d15f41ec5c2a4328d4cda42abe005def2d86d8fc501c1649b223a225c8bddddf82589a
+Size (black-24.10.0.tar.gz) = 645813 bytes



Home | Main Index | Thread Index | Old Index