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 towncrier requirement from ~=23.11 to ~=24.7 #9857

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Updates the requirements on towncrier to permit the latest version.

Release notes

Sourced from towncrier's releases.

Towncrier 24.7.1 (2024-07-31)

Bugfixes

  • When the template file is stored in the same directory with the news fragments, it is automatically ignored when checking for valid fragment file names. (#632)

Misc

Changelog

Sourced from towncrier's changelog.

Towncrier 24.7.1 (2024-07-31)

No significant changes since the previous release candidate.

Bugfixes

  • When the template file is stored in the same directory with the news fragments, it is automatically ignored when checking for valid fragment file names. ([#632](https://github.com/twisted/towncrier/issues/632) <https://github.com/twisted/towncrier/issues/632>_)

Misc

  • [#629](https://github.com/twisted/towncrier/issues/629) <https://github.com/twisted/towncrier/issues/629>, [#630](https://github.com/twisted/towncrier/issues/630) <https://github.com/twisted/towncrier/issues/630>

Towncrier 24.7.0 (2024-07-31)

No changes since the previous release candidate.

Features

  • towncrier build now handles removing news fragments which are not part of the git repository. For example, uncommitted or unstaged files. ([#357](https://github.com/twisted/towncrier/issues/357) <https://github.com/twisted/towncrier/issues/357>_)

  • Inferring the version of a Python package now tries to use the metadata of the installed package before importing the package explicitly (which only looks for [package].__version__). ([#432](https://github.com/twisted/towncrier/issues/432) <https://github.com/twisted/towncrier/issues/432>_)

  • If no filename is given when doing towncrier create, interactively ask for the issue number and fragment type (and then launch an interactive editor for the fragment content).

    Now by default, when creating a fragment it will be appended with the filename option's extension (unless an extension is explicitly provided). For example, towncrier create 123.feature will create news/123.feature.rst. This can be changed in configuration file by setting add_extension = false.

    A new line is now added by default to the end of the fragment contents. This can be reverted in the configuration file by setting add_newline = false. ([#482](https://github.com/twisted/towncrier/issues/482) <https://github.com/twisted/towncrier/issues/482>_)

  • The temporary file towncrier create creates now uses the correct .rst or .md extension, which may help your editor with with syntax highlighting. ([#594](https://github.com/twisted/towncrier/issues/594) <https://github.com/twisted/towncrier/issues/594>_)

  • Running towncrier will now traverse back up directories looking for the configuration file. ([#601](https://github.com/twisted/towncrier/issues/601) <https://github.com/twisted/towncrier/issues/601>_)

  • The towncrier create action now uses sections defined in your config (either interactively, or via the new --section option). ([#603](https://github.com/twisted/towncrier/issues/603) <https://github.com/twisted/towncrier/issues/603>_)

  • News fragments are now sorted by issue number even if they have non-digit characters.

    For example::

    - some issue ([gh-3](https://github.com/twisted/towncrier/issues/3), [gh-10](https://github.com/twisted/towncrier/issues/10))
    - another issue ([gh-4](https://github.com/twisted/towncrier/issues/4))
    - yet another issue ([gh-11](https://github.com/twisted/towncrier/issues/11))
    

    The sorting algorithm groups the issues first by non-text characters and then by number. ([#608](https://github.com/twisted/towncrier/issues/608) <https://github.com/twisted/towncrier/issues/608>_)

  • The title_format configuration option now uses a markdown format for markdown templates. ([#610](https://github.com/twisted/towncrier/issues/610) <https://github.com/twisted/towncrier/issues/610>_)

  • newsfragment categories can now be marked with check = false, causing them to be ignored in towncrier check ([#617](https://github.com/twisted/towncrier/issues/617) <https://github.com/twisted/towncrier/issues/617>_)

  • towncrier check will now fail if any news fragments have invalid filenames.

... (truncated)

Commits

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 <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)

Updates the requirements on [towncrier](https://github.com/twisted/towncrier) to permit the latest version.
- [Release notes](https://github.com/twisted/towncrier/releases)
- [Changelog](https://github.com/twisted/towncrier/blob/trunk/NEWS.rst)
- [Commits](twisted/towncrier@23.11.0...24.7.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependency Label for github dependabot Skip news 🔇 This change does not require a changelog entry labels Aug 5, 2024
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.80%. Comparing base (de6e6fa) to head (42dd493).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9857   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files         174      174           
  Lines       18932    18932           
=======================================
  Hits        18137    18137           
  Misses        795      795           

Copy link
Contributor

github-actions bot commented Aug 5, 2024

🤖 Effect of this PR on checked open source code: 🤖

Effect on music21:
The following messages are now emitted:

  1. invalid-name:
    Attribute name "id" doesn't conform to '[a-z_][A-Za-z0-9_]{2,30}$' pattern
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/prebase.py#L293
  2. redefined-variable-type:
    Redefinition of thisObject type from music21.note.Note to music21.note.GeneralNote
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/humdrum/spineParser.py#L2375

The following messages are no longer emitted:

  1. invalid-name:
    Attribute name "id" doesn't conform to '[a-z_][A-Za-z0-9_]{2,30}$' pattern
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/base.py#L577
  2. redefined-variable-type:
    Redefinition of thisObject type from music21.note.Note to music21.note.GeneralNote
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/humdrum/spineParser.py#L2378

Effect on pytest:
The following messages are no longer emitted:

  1. redefined-variable-type:
    Redefinition of file type from _io.TextIOWrapper to colorama.ansitowin32.StreamWrapper
    https://github.com/pytest-dev/pytest/blob/5a0158368798f466ac74c8e89aef40829cd86d5c/src/_pytest/_io/terminalwriter.py#L84

This comment was generated for commit 42dd493

@Pierre-Sassoulas Pierre-Sassoulas merged commit afd7b50 into main Aug 5, 2024
44 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the dependabot/pip/towncrier-approx-eq-24.7 branch August 5, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Label for github dependabot Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant