Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency setuptools_scm to v8 #59

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
setuptools_scm >=6.2 -> >=8.0.4 age adoption passing confidence

Release Notes

pypa/setuptools_scm (setuptools_scm)

v8.0.4

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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.

v7.1.0

Compare Source

  • #​748: use tomllib from stdlib
  • fix #​762: handle non-ascii in setup.cfg
  • #​752: implement fallback file finders for archives
  • #​765: removed coding header in python template
  • declared Python 3.11 support
  • fix #​759: update .git_archival.txt templates match git-describe invocation
  • fix #​772: fix handling of .git-archival.txt from tagged commit

v7.0.5

Compare Source

  • fixes #​742, #​745: correctly hande accidentally released archival files

v7.0.4

Compare Source

  • fix #​727: correctly handle incomplete archival from setuptools_scm_git_archival
  • fix #​691: 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

Compare Source

  • fix mercurial usage when pip primes a isolated environment
  • fix regression for branch names on git + add a test

v7.0.2

Compare Source

  • fix #​723 and #​722: remove bootstrap dependencies
  • ensure we read the distribution name from setup.cfg if needed even for pyproject.toml

v7.0.1

Compare Source

  • fix #​718: Avoid ModuleNotFoundError by requiring importlib_metadata in python<3.8

v7.0.0

Compare Source

  • drop python 3.6 support
  • include git archival support
  • fix #​707: support git version detection even when git protects against mismatched owners
    (common with misconfigured containers, thanks @​chrisburr )
  • fix #​548: correctly handle parsing the commit timestamp of HEAD when log.showSignature is set

v6.4.2

Compare Source

  • fix #​671: NoReturn is not available in painfully dead python 3.6

v6.4.1

Compare Source

  • fix regression #​669: restore get_version signature
  • fix #​668: harden the self-test for distribution extras

v6.4.0

Compare Source

  • compatibility adjustments for setuptools >58
  • only put minimal setuptools version into toml extra to warn people with old strict pins
  • correctly handle hg-git self-use
  • better mercurial detection
  • modernize packaging setup
  • python 3.10 support
  • better handling of setuptools install command deprecation
  • consider pyproject.tomls when running as command
  • use list in git describe command to avoid shell expansions while supporting both windows and posix
  • add --strip-dev flag to python -m setuptools_scm to print the next guessed version cleanly
  • ensure no-guess-dev will fail on bad tags instead of generating invalid versions
  • ensure we use utc everywhere to avoid confusion

v6.3.2

Compare Source

  • fix #​629: correctly convert Version data in tags_to_version parser to avoid errors

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 becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

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

@simoncozens simoncozens merged commit 9faa37b into main Mar 13, 2024
4 checks passed
@renovate renovate bot deleted the renovate/setuptools_scm-8.x branch March 13, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant