pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-vcs-versioning
Module Name: pkgsrc
Committed By: adam
Date: Wed Sep 23 09:34:04 UTC 2026
Modified Files:
pkgsrc/devel/py-vcs-versioning: Makefile distinfo
Log Message:
py-vcs-versioning: updated to 2.4.1
2.4.1 (2026-09-16)
Fixed
- The error raised when a `.jj/` directory is found but `jj` is not installed now names the environment variables that actually disable jj discovery (`SETUPTOOLS_SCM_DISABLE_JJ=1` /
`VCS_VERSIONING_DISABLE_JJ=1`) instead of an unprefixed `DISABLE_JJ=1`, which was never read.
- The "unable to detect version" error now names the environment variables the
running integration actually reads. It previously suggested
`SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME}` unconditionally,
which is not read by `vcs-versioning` on its own (or by any other integrator),
and it named setuptools-scm as the failing tool regardless of which one ran.
When the distribution name is known the suggested variable is spelled out in
full. When it is not, the generic variables are suggested instead, with a note
that the per-distribution `..._FOR_<DIST>` form needs a dist name to match --
the previous message offered a `${NORMALIZED_DIST_NAME}` template that could
never be filled in.
- Warn when file discovery is suppressed while a VCS marker sits in the
project directory. `scm_search_known_failed()` means an integrator already
looked and found no checkout, so a `.git`, `.hg` or `.jj` right there
contradicts it and the artifact is about to lose every tracked file. That
combination was the signature of the pretend-version regression and stayed
invisible for three releases. Parent directories are not searched, since an
unpacked sdist inside an unrelated checkout is the case the suppression
exists for, and roots listed in `IGNORE_VCS_ROOTS` are skipped.
Miscellaneous
- Environment variable names are now built in one place (`env_var_name` /
`EnvReader.candidate_names`), shared by the lookup in `EnvReader.read` and by
every error message that suggests a variable, so a message cannot name a
variable the lookup would not honour.
The "repository found in a parent directory" error no longer offers a
`get_version(relative_to=...)` call to integrators that do not ship one; the
remaining options are renumbered instead.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-vcs-versioning/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-vcs-versioning/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-vcs-versioning/Makefile
diff -u pkgsrc/devel/py-vcs-versioning/Makefile:1.12 pkgsrc/devel/py-vcs-versioning/Makefile:1.13
--- pkgsrc/devel/py-vcs-versioning/Makefile:1.12 Fri Sep 4 05:12:43 2026
+++ pkgsrc/devel/py-vcs-versioning/Makefile Wed Sep 23 09:34:04 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2026/09/04 05:12:43 adam Exp $
+# $NetBSD: Makefile,v 1.13 2026/09/23 09:34:04 adam Exp $
-DISTNAME= vcs_versioning-2.3.4
+DISTNAME= vcs_versioning-2.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vcs_versioning/}
Index: pkgsrc/devel/py-vcs-versioning/distinfo
diff -u pkgsrc/devel/py-vcs-versioning/distinfo:1.11 pkgsrc/devel/py-vcs-versioning/distinfo:1.12
--- pkgsrc/devel/py-vcs-versioning/distinfo:1.11 Fri Sep 4 05:12:43 2026
+++ pkgsrc/devel/py-vcs-versioning/distinfo Wed Sep 23 09:34:04 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2026/09/04 05:12:43 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/09/23 09:34:04 adam Exp $
-BLAKE2s (vcs_versioning-2.3.4.tar.gz) = b2aba435e53a55c195f6a789e2e48b726e936b2b6d979c890440c847c45756ce
-SHA512 (vcs_versioning-2.3.4.tar.gz) = 6eebdf57d70f994e9f760c736fd66613eb639d72ee71737d9a8e9fb05edcc07a6532f0ee16dc4f6296f502f903300b86042892f57fe14ee4ab50fe10bc54dd8a
-Size (vcs_versioning-2.3.4.tar.gz) = 149647 bytes
+BLAKE2s (vcs_versioning-2.4.1.tar.gz) = cf58fe7c62a952ede846622abec3e788b29265e1134f57a6601cc84ff613d534
+SHA512 (vcs_versioning-2.4.1.tar.gz) = 88c60d71a654ef159ea112ba2e7459936471c61dc46ed216728f1cac31d38e4d71de303ff07a550ac7c2bc7a2104dabfbcc20aa86c6c76b0d40b0e0642445473
+Size (vcs_versioning-2.4.1.tar.gz) = 164222 bytes
Home |
Main Index |
Thread Index |
Old Index