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

Test CLI using click.testing.CliRunner #481

Closed
bignose-debian opened this issue Feb 15, 2023 · 7 comments · Fixed by #530
Closed

Test CLI using click.testing.CliRunner #481

bignose-debian opened this issue Feb 15, 2023 · 7 comments · Fixed by #530

Comments

@bignose-debian
Copy link
Contributor

bignose-debian commented Feb 15, 2023

The unit test cases for CLI behaviour are using a 'click.testing.CliRunner', which correctly separates the Click behaviour to be tested, versus the particular way an executable program was or was not installed.

There are some remaining test cases that directly invoke a sub-process expecting the 'towncrier' command to be available. These should all use a 'click.testing.CliRunner' to avoid that coupling.

@bignose-debian
Copy link
Contributor Author

The branch wip/issue/481/use-clirunner-consistently (in my personal fork repository) contains a series of commits to address this issue.

The branch currently merges cleanly to the 'trunk' branch.

@SmileyChris
Copy link
Contributor

The branch [wip/issue/481/use-clirunner-consistently]
The branch currently merges cleanly to the 'trunk' branch.

Sounds like you should open up a pull request against your branch then :)

@bignose-debian
Copy link
Contributor Author

Sounds like you should open up a pull request against your branch then :)

Unless I'm mistaken, GitHub has never been able to use its proprietary "pull request" system on remote repositories.

So it's up to the GitHub users to get changes from remote repositories, using the normal Git distributed features.

@adiroiban
Copy link
Member

Thanks Ben for creating this issue on GitHub.

I am sure that when someone will have time for towncrier maintance, they will pick up your changes and try to merge them.

I tried to do a quick review on Salsa, but it looks like trunk branch is not available

https://salsa.debian.org/bignose/towncrier/-/compare/trunk...wip%2Fissue%2F481%2Fuse-clirunner-consistently?from_project_id=35328&straight=false


I will not comment on GitHub vs GitLab.
I am not a supporter of MS nor GitHub.
But for now, GitHub it's what is used by Towncrier devs and it provides tools for open colaboration.

We don't have the resources to run our private GitLab :(

I tried to login into Debian Gitlab, but I got - Access blocked: Debian Salsa can only be used within its organisation :( ... and on the Debian docs I read "Your account will be locked until a gitlab administrator enables it." . I understand that spam accounts are hard to block.

@bignose-debian
Copy link
Contributor Author

bignose-debian commented Feb 22, 2023

But for now, GitHub it's what is used by Towncrier devs and it provides tools for open colaboration.

Since neither GitHub nor GitLab provide a way to openly collaborate between repository hosts, feel free to comment here on this issue, if you have suggestions or changes for my proposed merge.

@hynek
Copy link
Member

hynek commented Jun 23, 2023

As Adi wrote, there's no way for us to extract a patch to apply since your repo lacks our main branch (trunk).

@bignose-debian
Copy link
Contributor Author

As Adi wrote, there's no way for us to extract a patch to apply

Note that there's no need to extract a patch; we're both using Git for version control, and our repositories are compatible using normal Git operations. You can bring the commits directly from another repository, no need to work with patch files.

Anyone working on this repository can get changes from remote repositories, using the normal Git distributed features.

I have now updated the branch so that it merges cleanly to the current 'trunk' branch; you can follow the above GitHub documentation, to bring those commits into your repository.

@hynek hynek linked a pull request Jul 9, 2023 that will close this issue
@hynek hynek closed this as completed in #530 Jul 9, 2023
github-actions bot pushed a commit to aio-libs/aiohttp that referenced this issue Oct 24, 2023
Bumps [towncrier](https://github.com/twisted/towncrier) from 23.6.0 to
23.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/releases">towncrier's
releases</a>.</em></p>
<blockquote>
<h2>Towncrier 23.10.0</h2>
<h1>towncrier 23.10.0 (2023-10-23)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
<h2>Towncrier 23.10.0rc1</h2>
<h1>towncrier 23.10.0rc1 (2023-10-23)</h1>
<h2>Features</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/blob/trunk/NEWS.rst">towncrier's
changelog</a>.</em></p>
<blockquote>
<h1>towncrier 23.10.0 (2023-10-24)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/twisted/towncrier/commit/347e9440ae8507adfc22f5c993f4496b20d49ec5"><code>347e944</code></a>
Update for final release.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/ee857403c9a09ca7055f93dd8784e84b5cc2bb3a"><code>ee85740</code></a>
Do RC1 instead of RC0.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0c3b82c9be435e23019b7064a57fbd7210f54300"><code>0c3b82c</code></a>
venv/bin/towncrier build --yes</li>
<li><a
href="https://github.com/twisted/towncrier/commit/610247f8e0e2146cadb9f46937047dc08f923eab"><code>610247f</code></a>
Update version.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0b023fa95926470482418d4e11f9ae9f0ada7d56"><code>0b023fa</code></a>
Config location separate from directory containing news file and
fragments (#...</li>
<li><a
href="https://github.com/twisted/towncrier/commit/3f24b6ef7e0c17f3e559b957526598c287774b70"><code>3f24b6e</code></a>
Whitespace between releases can be configured in the template. (<a
href="https://redirect.github.com/twisted/towncrier/issues/553">#553</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/7f37ab5daa72f5a761db1bf14cba1e2d3d87422d"><code>7f37ab5</code></a>
docs(tutorial): Cleanup duplicate backtick typo (<a
href="https://redirect.github.com/twisted/towncrier/issues/551">#551</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/5b732be979642c5b9ab4d22df6fb70ff4bd3ff2f"><code>5b732be</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/twisted/towncrier/issues/549">#549</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/239f84102c374e7395cdc0a50f7b4171cc8c3e83"><code>239f841</code></a>
use markdown default template in markdown docs (<a
href="https://redirect.github.com/twisted/towncrier/issues/546">#546</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/806bec1248b0ea8b86db21e0ce90b1849d3cd721"><code>806bec1</code></a>
Add 3.12 (<a
href="https://redirect.github.com/twisted/towncrier/issues/541">#541</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/twisted/towncrier/compare/23.6.0...23.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=towncrier&package-manager=pip&previous-version=23.6.0&new-version=23.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions bot pushed a commit to aio-libs/aiohttp that referenced this issue Oct 24, 2023
Bumps [towncrier](https://github.com/twisted/towncrier) from 23.6.0 to
23.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/releases">towncrier's
releases</a>.</em></p>
<blockquote>
<h2>Towncrier 23.10.0</h2>
<h1>towncrier 23.10.0 (2023-10-23)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
<h2>Towncrier 23.10.0rc1</h2>
<h1>towncrier 23.10.0rc1 (2023-10-23)</h1>
<h2>Features</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/blob/trunk/NEWS.rst">towncrier's
changelog</a>.</em></p>
<blockquote>
<h1>towncrier 23.10.0 (2023-10-24)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/twisted/towncrier/commit/347e9440ae8507adfc22f5c993f4496b20d49ec5"><code>347e944</code></a>
Update for final release.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/ee857403c9a09ca7055f93dd8784e84b5cc2bb3a"><code>ee85740</code></a>
Do RC1 instead of RC0.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0c3b82c9be435e23019b7064a57fbd7210f54300"><code>0c3b82c</code></a>
venv/bin/towncrier build --yes</li>
<li><a
href="https://github.com/twisted/towncrier/commit/610247f8e0e2146cadb9f46937047dc08f923eab"><code>610247f</code></a>
Update version.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0b023fa95926470482418d4e11f9ae9f0ada7d56"><code>0b023fa</code></a>
Config location separate from directory containing news file and
fragments (#...</li>
<li><a
href="https://github.com/twisted/towncrier/commit/3f24b6ef7e0c17f3e559b957526598c287774b70"><code>3f24b6e</code></a>
Whitespace between releases can be configured in the template. (<a
href="https://redirect.github.com/twisted/towncrier/issues/553">#553</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/7f37ab5daa72f5a761db1bf14cba1e2d3d87422d"><code>7f37ab5</code></a>
docs(tutorial): Cleanup duplicate backtick typo (<a
href="https://redirect.github.com/twisted/towncrier/issues/551">#551</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/5b732be979642c5b9ab4d22df6fb70ff4bd3ff2f"><code>5b732be</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/twisted/towncrier/issues/549">#549</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/239f84102c374e7395cdc0a50f7b4171cc8c3e83"><code>239f841</code></a>
use markdown default template in markdown docs (<a
href="https://redirect.github.com/twisted/towncrier/issues/546">#546</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/806bec1248b0ea8b86db21e0ce90b1849d3cd721"><code>806bec1</code></a>
Add 3.12 (<a
href="https://redirect.github.com/twisted/towncrier/issues/541">#541</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/twisted/towncrier/compare/23.6.0...23.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=towncrier&package-manager=pip&previous-version=23.6.0&new-version=23.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
xiangxli pushed a commit to xiangxli/aiohttp that referenced this issue Dec 4, 2023
Bumps [towncrier](https://github.com/twisted/towncrier) from 23.6.0 to
23.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/releases">towncrier's
releases</a>.</em></p>
<blockquote>
<h2>Towncrier 23.10.0</h2>
<h1>towncrier 23.10.0 (2023-10-23)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[aio-libs#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[aio-libs#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[aio-libs#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[aio-libs#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[aio-libs#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[aio-libs#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[aio-libs#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[aio-libs#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[aio-libs#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[aio-libs#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[aio-libs#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[aio-libs#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[aio-libs#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
<h2>Towncrier 23.10.0rc1</h2>
<h1>towncrier 23.10.0rc1 (2023-10-23)</h1>
<h2>Features</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/twisted/towncrier/blob/trunk/NEWS.rst">towncrier's
changelog</a>.</em></p>
<blockquote>
<h1>towncrier 23.10.0 (2023-10-24)</h1>
<p>No significant changes since the previous release candidate.</p>
<h2>Features</h2>
<ul>
<li>
<p>Python 3.12 is now officially supported.
(<code>[aio-libs#541](twisted/towncrier#541)
&lt;https://github.com/twisted/towncrier/issues/541&gt;</code>_)</p>
</li>
<li>
<p>Initial support was added for monorepo-style setup.
One project with multiple independent news files stored in separate
sub-directories, that share the same towncrier config.
(<code>[aio-libs#548](twisted/towncrier#548)
&lt;https://github.com/twisted/towncrier/issues/548&gt;</code>_)</p>
</li>
<li>
<p>Two newlines are no longer always added between the current release
notes and the previous content.
The newlines are now defined only inside the template.</p>
<p><strong>Important! If you're using a custom template and want to keep
the same whitespace between releases, you may have to modify your
template.</strong>
(<code>[aio-libs#552](twisted/towncrier#552)
&lt;https://github.com/twisted/towncrier/issues/552&gt;</code>_)</p>
</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Towncrier now vendors the click-default-group package that prevented
installations on modern Pips.
(<code>[aio-libs#540](twisted/towncrier#540)
&lt;https://github.com/twisted/towncrier/issues/540&gt;</code>_)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>The markdown docs now use the default markdown template rather than
a simpler custom one.
(<code>[aio-libs#545](twisted/towncrier#545)
&lt;https://github.com/twisted/towncrier/issues/545&gt;</code>_)</li>
<li>Cleanup a duplicate backtick in the tutorial.
(<code>[aio-libs#551](twisted/towncrier#551)
&lt;https://github.com/twisted/towncrier/issues/551&gt;</code>_)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>The support for Python 3.7 has been dropped.
(<code>[aio-libs#521](twisted/towncrier#521)
&lt;https://github.com/twisted/towncrier/issues/521&gt;</code>_)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>[aio-libs#481](twisted/towncrier#481)
&lt;https://github.com/twisted/towncrier/issues/481&gt;</code><em>,
<code>[aio-libs#520](twisted/towncrier#520)
&lt;https://github.com/twisted/towncrier/issues/520&gt;</code></em>,
<code>[aio-libs#522](twisted/towncrier#522)
&lt;https://github.com/twisted/towncrier/issues/522&gt;</code><em>,
<code>[aio-libs#523](twisted/towncrier#523)
&lt;https://github.com/twisted/towncrier/issues/523&gt;</code></em>,
<code>[aio-libs#529](twisted/towncrier#529)
&lt;https://github.com/twisted/towncrier/issues/529&gt;</code><em>,
<code>[aio-libs#536](twisted/towncrier#536)
&lt;https://github.com/twisted/towncrier/issues/536&gt;</code></em></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/twisted/towncrier/commit/347e9440ae8507adfc22f5c993f4496b20d49ec5"><code>347e944</code></a>
Update for final release.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/ee857403c9a09ca7055f93dd8784e84b5cc2bb3a"><code>ee85740</code></a>
Do RC1 instead of RC0.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0c3b82c9be435e23019b7064a57fbd7210f54300"><code>0c3b82c</code></a>
venv/bin/towncrier build --yes</li>
<li><a
href="https://github.com/twisted/towncrier/commit/610247f8e0e2146cadb9f46937047dc08f923eab"><code>610247f</code></a>
Update version.</li>
<li><a
href="https://github.com/twisted/towncrier/commit/0b023fa95926470482418d4e11f9ae9f0ada7d56"><code>0b023fa</code></a>
Config location separate from directory containing news file and
fragments (#...</li>
<li><a
href="https://github.com/twisted/towncrier/commit/3f24b6ef7e0c17f3e559b957526598c287774b70"><code>3f24b6e</code></a>
Whitespace between releases can be configured in the template. (<a
href="https://redirect.github.com/twisted/towncrier/issues/553">#553</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/7f37ab5daa72f5a761db1bf14cba1e2d3d87422d"><code>7f37ab5</code></a>
docs(tutorial): Cleanup duplicate backtick typo (<a
href="https://redirect.github.com/twisted/towncrier/issues/551">#551</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/5b732be979642c5b9ab4d22df6fb70ff4bd3ff2f"><code>5b732be</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/twisted/towncrier/issues/549">#549</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/239f84102c374e7395cdc0a50f7b4171cc8c3e83"><code>239f841</code></a>
use markdown default template in markdown docs (<a
href="https://redirect.github.com/twisted/towncrier/issues/546">#546</a>)</li>
<li><a
href="https://github.com/twisted/towncrier/commit/806bec1248b0ea8b86db21e0ce90b1849d3cd721"><code>806bec1</code></a>
Add 3.12 (<a
href="https://redirect.github.com/twisted/towncrier/issues/541">#541</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/twisted/towncrier/compare/23.6.0...23.10.0">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=towncrier&package-manager=pip&previous-version=23.6.0&new-version=23.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 a pull request may close this issue.

4 participants