Transport-for-the-North / caf.distribute

https://cafdistribute.readthedocs.io/en/stable/
Other
0 stars 1 forks source link

Update versioningit requirement from <3.0.0,>=2.2.0 to >=2.2.0,<4.0.0 #24

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 11 months ago

Updates the requirements on versioningit to permit the latest version.

Release notes

Sourced from versioningit's releases.

v3.0.0 — Support onbuild with Hatch

  • Migrated from setuptools to hatch
  • Support using the onbuild step with Hatch
  • Breaking: The build_dir argument passed to Versioningit.do_onbuild() and onbuild method callables has been changed to an OnbuildFileProvider ABC
Changelog

Sourced from versioningit's changelog.

v3.0.0 (2023-12-13)

  • Migrated from setuptools to hatch
  • Support using the onbuild step with Hatch
  • Breaking: The build_dir argument passed to Versioningit.do_onbuild() and onbuild method callables has been changed to an OnbuildFileProvider ABC

v2.3.0 (2023-11-19)

  • Always read .hg_archival.txt files using UTF-8 encoding
  • Added support for using versioningit with Hatch

v2.2.1 (2023-09-22)

  • Raise a ConfigError if the selected tool.versioningit.format field is not a string
  • Update tests for pydantic 2.0
  • Update tests for Python 3.12
  • Support Python 3.12

v2.2.0 (2023-02-11)

  • The custom setuptools command classes can now be imported directly from the versioningit.cmdclass module as an alternative to calling get_cmdclasses()

v2.1.0 (2022-10-25)

  • Drop support for Python 3.6
  • Support Python 3.11
  • Use tomllib on Python 3.11

v2.0.1 (2022-08-01)

  • Don't run the onbuild step under setuptools' upcoming PEP 660 editable mode (contributed by @​abravalheri)

v2.0.0 (2022-06-12)

  • The {version} placeholder in the "basic" format step has been renamed to {base_version}. The old name remains usable, but is deprecated.
    • Breaking: The version argument passed to Versioningit.do_format() and format method callables has been renamed to base_version.
  • A {version_tuple} field, along with the fields available in the format step, is now available for use in templates in the write and onbuild steps.
    • New step and subtable: "template-fields"
    • Breaking: The version arguments passed to Versioningit.do_write(), Versioningit.do_onbuild(), run_onbuild(),

... (truncated)

Commits
  • 8e86565 v3.0.0 — Support onbuild with Hatch
  • 1bc3347 Merge pull request #53 from jwodder/onbuild
  • ba530a7 Add a versionadded:: to the docs for onbuild + Hatch
  • a6507b5 Docs wording tweaks
  • 22e5fb4 Better way to suppress errors
  • 82136be Update docs
  • 83e5fc8 Add docstrings to new "onbuild" classes
  • f19ce41 Dedicated tests of file providers
  • 17e4c19 Warn if configuring onbuild via versioningit table when using hatch
  • 1fab146 [skip ci] Update CHANGELOG; set next version to 3.0.0
  • Additional commits viewable in compare view


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (30e4c8c) 85.09% compared to head (d954830) 81.38%. Report is 96 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #24 +/- ## ========================================== - Coverage 85.09% 81.38% -3.71% ========================================== Files 7 9 +2 Lines 416 634 +218 ========================================== + Hits 354 516 +162 - Misses 62 118 +56 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.