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

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


Branch: CURRENT, Version: 8.0.4, Package name: py311-setuptools_scm-8.0.4, 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: 72.539 KB

Version history: (Expand)


CVS history: (Expand)


   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?
   2022-10-14 16:03:02 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-setuptools_scm: add missing dependencies

Add test status in comment.

Bump PKGREVISION.
   2022-10-13 14:11:12 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-setuptools_scm: updated to 7.0.5

v7.0.5
=======
* correctly hande accidentally released archival files

v7.0.4
=======
* correctly handle incomplete archivals from setuptools_scm_git_archival
* correctly handle specifying root in pyproject.toml
* correct root override check condition (to ensure absolute path matching)
* allow root by the cli to be considered relative to the cli (using abspath)

v7.0.3
=======
* fix mercurial usage when pip primes a isolated environment
* fix regression for branch names on git + add a test

v7.0.2
=======
* remove bootstrap dependencies
* bugfix: ensure we read the distribution name from setup.cfg
  if needed even for pyproject

v7.0.1
=======
* Avoid `ModuleNotFoundError` by requiring importlib_metadata in python < 3.8

v7.0.0
=======
* drop python 3.6 support
* include git archival support
* support git version detection even when git protects against mistmatched owners