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 versioningit requirement from <3.0.0,>=2.2.0 to >=2.2.0,<4.0.0 #31

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 <dependency name> 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)

📚 Documentation preview 📚: https://cafdistribute--31.org.readthedocs.build/en/31/

Updates the requirements on [versioningit](https://github.com/jwodder/versioningit) to permit the latest version.
- [Release notes](https://github.com/jwodder/versioningit/releases)
- [Changelog](https://github.com/jwodder/versioningit/blob/master/CHANGELOG.md)
- [Commits](jwodder/versioningit@v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: versioningit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 29, 2024
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ad1e472) 81.38% compared to head (a88cb73) 81.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage   81.38%   81.38%           
=======================================
  Files           9        9           
  Lines         634      634           
=======================================
  Hits          516      516           
  Misses        118      118           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BenTaylor-TfN BenTaylor-TfN merged commit f9fd9b9 into main Feb 1, 2024
17 checks passed
@BenTaylor-TfN BenTaylor-TfN deleted the dependabot/pip/versioningit-gte-2.2.0-and-lt-4.0.0 branch February 1, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant