pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Thu Oct 29 12:25:01 UTC 2026
Modified Files:
pkgsrc/devel/py-flit: Makefile distinfo
pkgsrc/devel/py-flit_core: Makefile distinfo
Log Message:
py-flit py-flit_core: updated to 4.2.0
Version 4.2
Flit now has a policy against using AI/LLMs for development.
Sdist include & exclude patterns are now matched regardless of Unicode normalisation form. This fixes a potential security issue, where a sensitive file may be published in an sdist even though it
appears to match an exclusion rule. This may also depend on the filesystem, e.g. a rule that matches on Linux may not match on Mac, because Mac filesystems perform unicode normalisation.
If you have sensitive information in your project folder and you rely on include/exclude patterns to keep it out of sdists, it’s still a good idea to check them carefully. A malicious contributor
could still use other tricks, such as Unicode lookalike characters, to make a pattern that doesn’t do what it appears to.
Flit will now refuse to build an sdist with symlinks that point outside of the project directory. This is a security issue for a consumer unpacking the sdist, and the consumer still needs to verify
it, but this makes it harder to accidentally produce an sdist which consumers will reject.
Similarly, Flit will refuse to build wheels with symlinks pointing outside of the project directory, or using a README from outside the project directory. Either of these routes could previously have
included files from the build machine into a wheel.
This change does not make it safe to build arbitrary untrusted packages with Flit; code from the package may still be executed. The aim is to make building more predictable, to reduce what needs to
be manually verified. If you do not trust the source of a package, it is best to only attempt to build it in a secure sandbox with no access to sensitive information.
Allow environment markers to start with a parenthesised clause
Text in [] brackets in requirements should only be name normalised if it is the name of an extra group
Allow uploading to PyPI with a configured URL missing the trailing slash
Fix flit install --symlink installing into a directory with spaces in the path
Improved error messages for various cases, including hiding tracebacks in more cases where they are not informative
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-flit/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-flit/distinfo
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-flit_core/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-flit_core/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-flit/Makefile
diff -u pkgsrc/devel/py-flit/Makefile:1.13 pkgsrc/devel/py-flit/Makefile:1.14
--- pkgsrc/devel/py-flit/Makefile:1.13 Sun Sep 27 09:33:10 2026
+++ pkgsrc/devel/py-flit/Makefile Thu Oct 29 12:25:01 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2026/09/27 09:33:10 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2026/10/29 12:25:01 adam Exp $
-DISTNAME= flit-4.1.0
+DISTNAME= flit-4.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/flit/}
@@ -10,15 +10,15 @@ HOMEPAGE= https://flit.readthedocs.io/
COMMENT= Simple packaging tool for simple packages
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
-DEPENDS+= ${PYPKGPREFIX}-flit_core>=4.1.0:../../devel/py-flit_core
-DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
-DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-tomli_w-[0-9]*:../../textproc/py-tomli_w
-TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
-TEST_DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-flit_core>=${PKGVERSION_NOREV}:../../devel/py-flit_core
+DEPENDS+= ${PYPKGPREFIX}-pip>=0:../../devel/py-pip
+DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-tomli_w>=0:../../textproc/py-tomli_w
+TEST_DEPENDS+= ${PYPKGPREFIX}-responses>=0:../../net/py-responses
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-testpath>=0:../../devel/py-testpath
+TEST_DEPENDS+= ${PYPKGPREFIX}-tomli>=0:../../textproc/py-tomli
USE_LANGUAGES= # none
Index: pkgsrc/devel/py-flit/distinfo
diff -u pkgsrc/devel/py-flit/distinfo:1.12 pkgsrc/devel/py-flit/distinfo:1.13
--- pkgsrc/devel/py-flit/distinfo:1.12 Sun Sep 27 09:33:10 2026
+++ pkgsrc/devel/py-flit/distinfo Thu Oct 29 12:25:01 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2026/09/27 09:33:10 wiz Exp $
+$NetBSD: distinfo,v 1.13 2026/10/29 12:25:01 adam Exp $
-BLAKE2s (flit-4.1.0.tar.gz) = e2c409b13f553062c4509e2f18a7edd4d5cd2a4fd34fa9e1c1d18e8da7325d74
-SHA512 (flit-4.1.0.tar.gz) = 3875572d922f940b5bc562b39e0c88f1166b3a819590d1ba13a73e80c2b9a43c2c237a9ab8c44e9ac405ab1d8368952e1264a1e7010e844ebb3e8faccc2b76e5
-Size (flit-4.1.0.tar.gz) = 157085 bytes
+BLAKE2s (flit-4.2.0.tar.gz) = 96d86ea92c6404998b2efe9bf73c73c8b853880aa1c2670c110257445c283217
+SHA512 (flit-4.2.0.tar.gz) = 001fe8d3e6e6acb80a9e94eb9fdb75e32ba1f8af80da7aa703d0187bffb58d6183b1784c726e1396d2e196602fdf3b557776021b94c1a19277c0e620f9bdc54e
+Size (flit-4.2.0.tar.gz) = 166311 bytes
SHA1 (patch-tests_test__find__python__executable.py) = 2b7c61dca228c54db79ce9a78608c4b5c03800bb
Index: pkgsrc/devel/py-flit_core/Makefile
diff -u pkgsrc/devel/py-flit_core/Makefile:1.13 pkgsrc/devel/py-flit_core/Makefile:1.14
--- pkgsrc/devel/py-flit_core/Makefile:1.13 Sat Sep 26 10:12:14 2026
+++ pkgsrc/devel/py-flit_core/Makefile Thu Oct 29 12:25:01 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2026/09/26 10:12:14 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2026/10/29 12:25:01 adam Exp $
-DISTNAME= flit_core-4.1.0
+DISTNAME= flit_core-4.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/flit-core/}
@@ -10,8 +10,8 @@ HOMEPAGE= https://flit.readthedocs.io/
COMMENT= Distribution-building parts of Flit
LICENSE= modified-bsd
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-testpath>=0:../../devel/py-testpath
USE_LANGUAGES= # none
PY_PATCHPLIST= yes
Index: pkgsrc/devel/py-flit_core/distinfo
diff -u pkgsrc/devel/py-flit_core/distinfo:1.9 pkgsrc/devel/py-flit_core/distinfo:1.10
--- pkgsrc/devel/py-flit_core/distinfo:1.9 Sat Sep 26 10:12:14 2026
+++ pkgsrc/devel/py-flit_core/distinfo Thu Oct 29 12:25:01 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2026/09/26 10:12:14 wiz Exp $
+$NetBSD: distinfo,v 1.10 2026/10/29 12:25:01 adam Exp $
-BLAKE2s (flit_core-4.1.0.tar.gz) = e43cf0a596eb7bd7b255fc6d6bd65d981696feb9d6c5ae176573ccc8b3acb718
-SHA512 (flit_core-4.1.0.tar.gz) = a6f65a6af0c164886a35f7709684d967c24a49bf302c57590cb1a97b64a3a6f6a6bcbb488c5d3a24c927bf04db183e4f0f23fa50b3545c969fa9c50035e19bca
-Size (flit_core-4.1.0.tar.gz) = 54678 bytes
+BLAKE2s (flit_core-4.2.0.tar.gz) = e833e9af16023bc6774f39f2e3e6ac6b577f83556d8ffff724da080692a6bfab
+SHA512 (flit_core-4.2.0.tar.gz) = c1f9d4144499fa9e69567c54ca20439d21fc42705eb019c3dfd8e1ff08b56d52d0641dd65f7cd3fb42f8d7b994380371c2f27c0a4a8794b34ed1ad8354e2bdb5
+Size (flit_core-4.2.0.tar.gz) = 59707 bytes
Home |
Main Index |
Thread Index |
Old Index