./devel/py-setuptools_scm, Manage your versions by scm tags

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.1.0, Package name: py312-setuptools_scm-8.1.0, Maintainer: pkgsrc-users

setuptools_scm handles managing your python package versions in
scm metadata. It also handles file finders for the supperted scms.


Required to run:
[devel/py-setuptools] [lang/python37] [textproc/py-toml]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 74.673 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-14 10:08:31 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-setuptools_scm: update to 8.1.0.

correctly handle project config overrides when the version keyword is used \ 
together with pyproject.toml by @RonnyPfannschmidt in #947
prepare v8.0.4 release by @RonnyPfannschmidt in #948
fix #950 - add encoding args to io interaction by @RonnyPfannschmidt in #951
Reword docker usage hint by @WhyNotHugo in #954
Update requires by @jaap3 in #955
Fix rst remnants by @valberg in #958
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #949
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #964
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #971
Fix typo found by codespell by @DimitriPapadopoulos in #965
Make Sphinx usage example clearer by @matt-graham in #973
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #975
GitHub Actions python-tests on the current version of PyPy by @cclauss in #977
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #979
Updated entangled-cli to account for not having rich extra by @jamesbraza in #980
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #983
Documenting SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME} by \ 
@jamesbraza in #981
Fix version file template name in documentation by @crash5 in #982
Bump actions/setup-python from 4 to 5 by @dependabot in #989
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #988
Update URL by @DimitriPapadopoulos in #995
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #992
Bump hynek/build-and-inspect-python-package from 1 to 2 by @dependabot in #991
Bump actions/download-artifact from 3 to 4 by @dependabot in #990
Fix misspelling found by codespell by @DimitriPapadopoulos in #994
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #998
Add a "only-version" version scheme by @thejcannon in #1005
cleanups + bugfixes by @RonnyPfannschmidt in #996
Fix non-escaped markdown in docs by @JCGoran in #1017
Only depend on typing_extensions for Python < 3.10 by @dcermak in #1015
fix 1018 allow non normalized semver by @RonnyPfannschmidt in #1020
pre commit upgrade by @RonnyPfannschmidt in #1021
add 'info' command to cli by @con-f-use in #959
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1023
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1026
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1027
Make .git_archival.txt more reproducible by @LecrisUT in #1033
Read branch data from Mercurial archives by @danchr in #1024
Fix timezone error by @ap-- in #1039
   2023-11-08 00:06:45 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-setuptools_scm: update to 8.0.4.

# v8.0.4

## Changed

- introduce scriv for changelog management
- reconfigure local build backend to use an attribute instead of star imports \ 
from setuptools
- introduce ruff as a linter
- ensure the setuptools version keyword correctly load pyproject.toml configuration
- add build and wheel to the test requirements for regression testing
- move internal toml handling to own module

## Fixed

- fix #925: allow `write_to` to be an absolute path when it's a subdirectory of \ 
the root
- fix #932: ensure type annotations in version file don't cause linter issues
- fix #930: temporary restore `DEFAULT_VERSION_SCHEME` and \ 
`DEFAULT_LOCAL_SCHEME` on the `setuptools_scm` package

# v8.0.3

## bugfix

- fix #918 for good - remove external importlib-metadata to avoid source only loop
- fix #926: ensure mypy on python3.8 works with the version file

# v8.0.2

## bugfix

- fix #919: restore legacy version-file behaviour for external callers + add \ 
Deprecation warning
- fix #918: use packaging from setuptools for self-build
- fix #914: ignore the deprecated git archival plugin as its integrated now
- fix #912: ensure mypy safety of the version template + regression test
- fix #913: use 240s timeout instead of 20 for `git unshallow`
  to account for large repos or slow connections

# v8.0.1

## bugfix

- update version file template to work on older python versions by using type \ 
comments
- ensure tag regex from setup.py is parsed into regex

# v8.0.0

## breaking

- remove legacy version parser api - config arg always required
- turn Configuration into a dataclass
- require configuration to always pass into helpers
- hide file-finders implementation in private module
- renamed setuptools_scm.hacks to setuptools_scm.fallbacks and drop support for \ 
pip-egg-info
- remove trace function and use logging instead
- unify `distance=None` and `distance=0` they should mean the same andwhere \ 
hiding dirty states that are now explicitly dirty
- depend on later importlib for the full selectable api
- move setuptools integration code to private sub-package
- use normalized dist names for the \ 
`SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${DIST_NAME}` env var
- drop support for python 3.7
- introduce `version_file` as replacement for `write_to`

## features

- created a directory for the vcs-versioning package and added it to pypi
- git: expect main as possible default branch
- drop version_from_scm helper
- trim down exposed public api
- no longer self-call twice in setuptools
- add support for version schemes by import
- chores

    - migrate own metadata to pyproject.toml
    - consolidate version schemes
    - stricter tag typing
    - pre-compiled regex
    - move helpers to private modules

- support passing log levels to SETUPTOOLS_SCM_DEBUG
- support using rich.logging as console log handler if installed
- fix #527: type annotation in default version template
- fix #549: use fallbacks when scm search raises CommandNotFoundError

## bugfixes

- fix #883: use HeadersParser to ensure only mime metadata in headers is used
- fix #884: parse calver dates from versions with the v prefix
- don't use a C locale without UTF-8 support, when running commands.
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2023-01-04 11:32:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-setuptools_scm: updated to 7.1.0

v7.1.0
use tomllib from stdlib
handle non-ascii in setup.cfg
implement fallback file finders for archives
removed coding header in python template
declared Python 3.11 support
update .git_archival.txt templates match git-describe invocation
fix handling of .git-archival.txt from tagged commit
   2022-11-05 23:34:30 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Drop obsolete comment
   2022-11-05 23:25:33 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Properly depend on importlib-metadata for Python 3.7. Bump revision.
   2022-10-16 08:32:00 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-setuptools_scam: comment out py-importlib-metadata dependency

This is required per setup.cfg for python < 3.8, but this introduces
a cyclic dependency.

To do: mark this (and everything using it) as not for python 3.7, since
it probably won't work correctly?