pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-env



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 18 16:47:37 UTC 2026

Modified Files:
        pkgsrc/devel/py-test-env: Makefile PLIST distinfo

Log Message:
py-test-env: updated to 1.8.6

1.8.6 (2026-11-17)

Fixed

- Escape non-printable characters in the `--pytest-env-verbose` header so each assignment stays on one line
- Expand `${VAR}` in `.env` files with the kept value when `env_files_skip_if_set` skips the file's own assignment
- Keep an existing variable when an entry combines `skip_if_set` (`D:`) with `unset` (`U:`)
- Name the file when a TOML file found during discovery does not parse, and skip files whose `pytest_env` is not a table
- Raise `FileNotFoundError` for an empty `--envfile` value instead of loading the configured env files
- Read `[pytest_env]` from a custom-named TOML file selected with `-c` instead of a sibling or parent file
- Reject INI `env` lines with an unknown flag or no variable name instead of applying them
- Reject native TOML entry tables with unknown keys, non-boolean flags or no value instead of applying them
- Resolve `--envfile` against the invocation directory before the project root, so `--envfile ../file` loads the file it
  names
- Skip directories and other non-regular entries named like a TOML configuration file during discovery

Security

- Report an invalid `{VAR}` template as a usage error that names the entry instead of printing an environment value

Packaging

- Every wheel now carries a [PEP 770](https://peps.python.org/pep-0770/) CycloneDX SBOM in its `.dist-info/sboms`
  directory, written at build time by [python-sbom](https://github.com/tox-dev/python-sbom)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-test-env/Makefile \
    pkgsrc/devel/py-test-env/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-test-env/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-test-env/Makefile
diff -u pkgsrc/devel/py-test-env/Makefile:1.20 pkgsrc/devel/py-test-env/Makefile:1.21
--- pkgsrc/devel/py-test-env/Makefile:1.20      Mon Nov 16 10:44:52 2026
+++ pkgsrc/devel/py-test-env/Makefile   Wed Nov 18 16:47:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2026/11/16 10:44:52 adam Exp $
+# $NetBSD: Makefile,v 1.21 2026/11/18 16:47:37 adam Exp $
 
-DISTNAME=      pytest_env-1.8.5
+DISTNAME=      pytest_env-1.8.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-env/}
@@ -13,6 +13,7 @@ LICENSE=      mit
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>=25.1:../../devel/py-hatch-fancy-pypi-readme
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.5:../../devel/py-hatch-vcs
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.32.4:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sbom>=0.1.2:../../devel/py-sbom
 DEPENDS+=      ${PYPKGPREFIX}-dotenv>=1.2.4:../../devel/py-dotenv
 DEPENDS+=      ${PYPKGPREFIX}-test>=9.1.1:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-covdefaults>=2.3:../../devel/py-covdefaults
Index: pkgsrc/devel/py-test-env/distinfo
diff -u pkgsrc/devel/py-test-env/distinfo:1.20 pkgsrc/devel/py-test-env/distinfo:1.21
--- pkgsrc/devel/py-test-env/distinfo:1.20      Mon Nov 16 10:44:52 2026
+++ pkgsrc/devel/py-test-env/distinfo   Wed Nov 18 16:47:37 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2026/11/16 10:44:52 adam Exp $
+$NetBSD: distinfo,v 1.21 2026/11/18 16:47:37 adam Exp $
 
-BLAKE2s (pytest_env-1.8.5.tar.gz) = 874a3cfe0bc3bc8f3ee63b892e5d7d8e1d9c3322e387b8d7a02dda7dc43b1fd3
-SHA512 (pytest_env-1.8.5.tar.gz) = 888f68fa22a3bfa1c8a4812a19a2c2f8b43dd70e59cd77c95048879d9cc132825e7c8a8899fe54c521fc432a1757876be14c486ba73764d43d2918e913a45fb4
-Size (pytest_env-1.8.5.tar.gz) = 52398 bytes
+BLAKE2s (pytest_env-1.8.6.tar.gz) = d1d585f731d0caed8b63e2be1f914a27321c919d070615b7131c4bfee00b7942
+SHA512 (pytest_env-1.8.6.tar.gz) = c71e76ff5a8f01683ffaa467ec9f6a755eb3d9ff4a319c104a6cd36ae1b847d74f4666f964536156c5246e72ae83cf4cbd67ead4467c933d5b217d156603f418
+Size (pytest_env-1.8.6.tar.gz) = 59367 bytes

Index: pkgsrc/devel/py-test-env/PLIST
diff -u pkgsrc/devel/py-test-env/PLIST:1.3 pkgsrc/devel/py-test-env/PLIST:1.4
--- pkgsrc/devel/py-test-env/PLIST:1.3  Sat Oct 28 19:57:07 2023
+++ pkgsrc/devel/py-test-env/PLIST      Wed Nov 18 16:47:37 2026
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2023/10/28 19:57:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/11/18 16:47:37 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/sboms/pytest-env.cdx.json
 ${PYSITELIB}/pytest_env/__init__.py
 ${PYSITELIB}/pytest_env/__init__.pyc
 ${PYSITELIB}/pytest_env/__init__.pyo



Home | Main Index | Thread Index | Old Index