tophat / syrupy

:pancakes: The sweeter pytest snapshot plugin
https://tophat.github.io/syrupy
Apache License 2.0
501 stars 33 forks source link

chore(deps): update dependency setuptools-scm to v8 #815

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
setuptools-scm ^7.1.0 -> ^8.0.0 age adoption passing confidence

Release Notes

pypa/setuptools_scm (setuptools-scm) ### [`v8.0.1`](https://togithub.com/pypa/setuptools_scm/blob/HEAD/CHANGELOG.md#v801) [Compare Source](https://togithub.com/pypa/setuptools_scm/compare/v8.0.0...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`](https://togithub.com/pypa/setuptools_scm/blob/HEAD/CHANGELOG.md#v800) [Compare Source](https://togithub.com/pypa/setuptools_scm/compare/v7.1.0...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](https://togithub.com/pypa/setuptools_scm/issues/527): type annotation in default version template - fix [#​549](https://togithub.com/pypa/setuptools_scm/issues/549): use fallbacks when scm search raises CommandNotFoundError #### bugfixes - fix [#​883](https://togithub.com/pypa/setuptools_scm/issues/883): use HeadersParser to ensure only mime metadata in headers is used - fix [#​884](https://togithub.com/pypa/setuptools_scm/issues/884): parse calver dates from versions with the v prefix - don't use a C locale without UTF-8 support, when running commands.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

tophat-opensource-bot commented 9 months ago

:tada: This PR is included in version 4.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: