pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-setuptools_scm
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 20 19:16:11 UTC 2025
Modified Files:
pkgsrc/devel/py-setuptools_scm: Makefile PLIST distinfo
Log Message:
py-setuptools_scm: update to 9.2.0.
# Changelog
## v9.2.0
### Added
- add simplified activation via `setuptools-scm[simple]` extra
A new streamlined way to enable version inference without requiring a `[tool.setuptools_scm]` section.
When `setuptools-scm[simple]` is in `build-system.requires` and `version` is in `project.dynamic`,
version inference is automatically enabled with default settings.
### removed
- unchecked simplified activation - too many projects use setups where it would fail
### changed
- refine activation logic and add unittest for the relevant cases instead of trying to speedrun setuptools
## v9.1.1
### fixed
- fix #1194: correctly handle version keyword when pyproject metadata is missing
## v9.1.1
### fixed
- fix #1194: correctly handle version keyword when pyproject metadata is missing
## v9.1.0
### fixed
- complete reiteration of the decision logic for enabling version inference on setuptools_scm
- shared logic for the important parts
- proper deferring based in precedence of finalize options vs version keyword
- unittestable for the parsing parts and the decision steps
## v9.0.3 (yanked)
### fixed
- fix 1184: verify version is dynamic if the dependency is used as indicator for enabling
## v9.0.2 (yanked)
### Fixed
- fix #1184: in case setuptools-scm is a indirect dependency and no pyproject.toml section exists - don't infer the version
## v9.0.1 (yanked)
### Fixed
- fix #1180: ensure version dumping works when no scm_version is given (problems in downstreams)
- fix #1181: config - reintroduce control over when we expect a section to be present
as it turns out there's valid use cases where setuptools_scm is not direct part of the dependencies
- add codespell pre-commit hook
## v9.0.0 (yanked)
### Breaking
- fix #1019: pass python version build tags from scm version to results properly
### Added
- add `setuptools-scm` console_scripts entry point to make the CLI directly executable
- make Mercurial command configurable by environment variable `SETUPTOOLS_SCM_HG_COMMAND`
- fix #1099 use file modification times for dirty working directory timestamps instead of current time
- fix #1059: add `SETUPTOOLS_SCM_PRETEND_METADATA` environment variable to override individual ScmVersion fields
- add `scm` parameter support to `get_version()` function for nested SCM configuration
- fix #987: expand documentation on git archival files and add cli tools for good defaults
- fix #311: document github/gitlab ci pipelines that enable auto-upload to test-pypi/pypi
- fix #1022: allow `version_keyword` to override `infer_version` when configuration differs
- fix #554: document `fallback_root` parameter in programmatic usage and configuration
### Changed
- add `pip` to test optional dependencies for improved uv venv compatibility
- migrate to selectable entrypoints for better extensibility
- improve typing for entry_points
- refactor file modification time logic into shared helper function for better maintainability
- reduce complexity of HgWorkdir.get_meta method by extracting focused helper methods
- fix #1150: enable setuptools-scm when we are a build requirement
- feature #1154: add the commit id the the default version file template
- drop scriv
- fix #921: document setuptools version requirements more consistently - 61 as minimum asn 8 as recommended minimum
### Fixed
- fix #1145: ensure GitWorkdir.get_head_date returns consistent UTC dates regardless of local timezone
- fix #687: ensure calendar versioning tests use consistent time context to prevent failures around midnight in non-UTC timezones
- reintroduce Python 3.9 entrypoints shim for compatibility
- fix #1136: update customizing.md to fix missing import
- fix #1001: document the missing version schemes and add examples in the docs
- fix #1115: explicitly document file finder behaviour
- fix #879: add test that validates case different behavior on windows
- migrate git describe command to new scm config
- add support for failing on missing submodules
- fix #279: expand errors when scm can be found upwards and relative_to wasn't used
- fix #577: introduce explicit scmversion node and short node
- fix #1100: add workaround for readthedocs worktress to the docs
- fix #790: document shallow fail for rtd
- fix #474: expand version not found error message to provide clearer guidance about SETUPTOOLS_SCM_PRETEND_VERSION_FOR_* environment variables
- fix #324: document/recommend the v tag prefix
- fix #501: add py.typed
- fix #804: git - use fallback version instead of 0.0 when no version is found at all
- fix #1139: use logging.lastResort instead of a own replica to avoid polluting logging._handlerList
- fix #873: don't infer version in cli if --no-version is given
- fix #535: accept tags from a release action in the gh ui
- fix #1073: explain namespaces for release-branch-semver
- fix #1052: use consistent node hash length across all SCM backends
- fix #1045: reindent the `__all__` in the version template for better readability
- fix #968: harden environment override finding with better normalization and typo suggestions
- fix #846: add support for failing on missing submodules
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/py-setuptools_scm/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-setuptools_scm/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/py-setuptools_scm/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-setuptools_scm/Makefile
diff -u pkgsrc/devel/py-setuptools_scm/Makefile:1.45 pkgsrc/devel/py-setuptools_scm/Makefile:1.46
--- pkgsrc/devel/py-setuptools_scm/Makefile:1.45 Thu Apr 24 06:56:06 2025
+++ pkgsrc/devel/py-setuptools_scm/Makefile Wed Aug 20 19:16:11 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2025/04/24 06:56:06 adam Exp $
+# $NetBSD: Makefile,v 1.46 2025/08/20 19:16:11 wiz Exp $
-DISTNAME= setuptools_scm-8.3.1
+DISTNAME= setuptools_scm-9.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools_scm/}
@@ -16,6 +16,7 @@ TEST_DEPENDS+= git-base-[0-9]*:../../dev
TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv>=20:../../devel/py-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0:../../devel/py-test-timeout
USE_LANGUAGES= # none
@@ -28,8 +29,11 @@ DEPENDS+= ${PYPKGPREFIX}-typing-extensio
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
.endif
-# test status as of 8.2.0
-# 1 failed, 252 passed, 12 skipped, 1 xfailed
+# test status as of 9.2.0
+# 2 failed, 386 passed, 15 skipped, 1 xfailed
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} setuptools-scm setuptools-scm-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-setuptools_scm/PLIST
diff -u pkgsrc/devel/py-setuptools_scm/PLIST:1.11 pkgsrc/devel/py-setuptools_scm/PLIST:1.12
--- pkgsrc/devel/py-setuptools_scm/PLIST:1.11 Sat Apr 12 15:53:26 2025
+++ pkgsrc/devel/py-setuptools_scm/PLIST Wed Aug 20 19:16:11 2025
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.11 2025/04/12 15:53:26 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2025/08/20 19:16:11 wiz Exp $
+bin/setuptools-scm-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -15,6 +16,9 @@ ${PYSITELIB}/setuptools_scm/__main__.pyo
${PYSITELIB}/setuptools_scm/_cli.py
${PYSITELIB}/setuptools_scm/_cli.pyc
${PYSITELIB}/setuptools_scm/_cli.pyo
+${PYSITELIB}/setuptools_scm/_compat.py
+${PYSITELIB}/setuptools_scm/_compat.pyc
+${PYSITELIB}/setuptools_scm/_compat.pyo
${PYSITELIB}/setuptools_scm/_config.py
${PYSITELIB}/setuptools_scm/_config.pyc
${PYSITELIB}/setuptools_scm/_config.pyo
@@ -45,21 +49,33 @@ ${PYSITELIB}/setuptools_scm/_integration
${PYSITELIB}/setuptools_scm/_integration/pyproject_reading.py
${PYSITELIB}/setuptools_scm/_integration/pyproject_reading.pyc
${PYSITELIB}/setuptools_scm/_integration/pyproject_reading.pyo
+${PYSITELIB}/setuptools_scm/_integration/setup_cfg.py
+${PYSITELIB}/setuptools_scm/_integration/setup_cfg.pyc
+${PYSITELIB}/setuptools_scm/_integration/setup_cfg.pyo
${PYSITELIB}/setuptools_scm/_integration/setuptools.py
${PYSITELIB}/setuptools_scm/_integration/setuptools.pyc
${PYSITELIB}/setuptools_scm/_integration/setuptools.pyo
${PYSITELIB}/setuptools_scm/_integration/toml.py
${PYSITELIB}/setuptools_scm/_integration/toml.pyc
${PYSITELIB}/setuptools_scm/_integration/toml.pyo
+${PYSITELIB}/setuptools_scm/_integration/version_inference.py
+${PYSITELIB}/setuptools_scm/_integration/version_inference.pyc
+${PYSITELIB}/setuptools_scm/_integration/version_inference.pyo
${PYSITELIB}/setuptools_scm/_log.py
${PYSITELIB}/setuptools_scm/_log.pyc
${PYSITELIB}/setuptools_scm/_log.pyo
${PYSITELIB}/setuptools_scm/_modify_version.py
${PYSITELIB}/setuptools_scm/_modify_version.pyc
${PYSITELIB}/setuptools_scm/_modify_version.pyo
+${PYSITELIB}/setuptools_scm/_node_utils.py
+${PYSITELIB}/setuptools_scm/_node_utils.pyc
+${PYSITELIB}/setuptools_scm/_node_utils.pyo
${PYSITELIB}/setuptools_scm/_overrides.py
${PYSITELIB}/setuptools_scm/_overrides.pyc
${PYSITELIB}/setuptools_scm/_overrides.pyo
+${PYSITELIB}/setuptools_scm/_requirement_cls.py
+${PYSITELIB}/setuptools_scm/_requirement_cls.pyc
+${PYSITELIB}/setuptools_scm/_requirement_cls.pyo
${PYSITELIB}/setuptools_scm/_run_cmd.py
${PYSITELIB}/setuptools_scm/_run_cmd.pyc
${PYSITELIB}/setuptools_scm/_run_cmd.pyo
@@ -87,6 +103,7 @@ ${PYSITELIB}/setuptools_scm/hg_git.pyo
${PYSITELIB}/setuptools_scm/integration.py
${PYSITELIB}/setuptools_scm/integration.pyc
${PYSITELIB}/setuptools_scm/integration.pyo
+${PYSITELIB}/setuptools_scm/py.typed
${PYSITELIB}/setuptools_scm/scm_workdir.py
${PYSITELIB}/setuptools_scm/scm_workdir.pyc
${PYSITELIB}/setuptools_scm/scm_workdir.pyo
Index: pkgsrc/devel/py-setuptools_scm/distinfo
diff -u pkgsrc/devel/py-setuptools_scm/distinfo:1.37 pkgsrc/devel/py-setuptools_scm/distinfo:1.38
--- pkgsrc/devel/py-setuptools_scm/distinfo:1.37 Thu Apr 24 06:56:06 2025
+++ pkgsrc/devel/py-setuptools_scm/distinfo Wed Aug 20 19:16:11 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.37 2025/04/24 06:56:06 adam Exp $
+$NetBSD: distinfo,v 1.38 2025/08/20 19:16:11 wiz Exp $
-BLAKE2s (setuptools_scm-8.3.1.tar.gz) = 51392a808dd3a5d45244946cec80d4821ce07a5970a18c5e007f70cbb35f1cdd
-SHA512 (setuptools_scm-8.3.1.tar.gz) = e924abf81c7ee466241c5d66c39b416c8b308f01df9e1498c55ad6ed9812fbf883d8bcafd6fdcdcb96c5ec42b868ae04088de1870ca09a650fa07eb3ea9901c8
-Size (setuptools_scm-8.3.1.tar.gz) = 78088 bytes
+BLAKE2s (setuptools_scm-9.2.0.tar.gz) = dbe844f9c806d7379473251815b552a81974e5e577f2a6111de9bca149eb6058
+SHA512 (setuptools_scm-9.2.0.tar.gz) = da76f5440d03cadc545d0ed4275476c2d5b42013a100ee3948e77a05fdb61087fe208785bbb460d96423da7f6849b5eab45914f0054b21fd1d0c36ce0eac1795
+Size (setuptools_scm-9.2.0.tar.gz) = 201229 bytes
Home |
Main Index |
Thread Index |
Old Index