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

Bump towncrier from 23.11.0 to 24.8.0 #8888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps towncrier from 23.11.0 to 24.8.0.

Release notes

Sourced from towncrier's releases.

Towncrier 24.8.0 (2024-08-23)

Features

  • Add .gitkeep as an ignored filename. (#643)
  • Config ignore option now supports wildcard matching via fnmatch. (#644)
  • Add a config for enforcing issue names using regex. (#649)

Bugfixes

  • The template file is now ignored based only on the file name. (#638)
  • Control of the header formatting is once again completely up to the user when they are writing markdown files (fixes a regression introduced in [docs: Correct grammar in "Data sharing" section #610](twisted/towncrier#610)). (#651)
  • Fixed an issue where issue_template failed recognizing the issue name of files with a non-category suffix (.md) (#654)
  • Fixed a bug where orphan news fragments (e.g. +abc1234.feature) would fail when an issue_pattern is configured. Orphan news fragments are now excempt from issue_pattern checks. (#655)

Deprecations and Removals

  • Moved towncrier version definition from src/towncrier/_version.py to pyproject.toml

    towncrier.__version__ was removed, after being deprecated in 23.6.0. (#640)

Misc

Towncrier 24.8.0rc1 (2024-08-19)

Features

  • Add .gitkeep as an ignored filename.

... (truncated)

Changelog

Sourced from towncrier's changelog.

Towncrier 24.8.0 (2024-08-23)

No changes since the previous release candidate.

Features

  • Add .gitkeep as an ignored filename. ([#643](https://github.com/twisted/towncrier/issues/643) <https://github.com/twisted/towncrier/issues/643>_)
  • Config ignore option now supports wildcard matching via fnmatch <https://docs.python.org/3/library/fnmatch.html#fnmatch.fnmatch>. ([#644](https://github.com/twisted/towncrier/issues/644) <https://github.com/twisted/towncrier/issues/644>)
  • Add a config for enforcing issue names using regex. ([#649](https://github.com/twisted/towncrier/issues/649) <https://github.com/twisted/towncrier/issues/649>_)

Bugfixes

  • The template file is now ignored based only on the file name. ([#638](https://github.com/twisted/towncrier/issues/638) <https://github.com/twisted/towncrier/issues/638>_)
  • Control of the header formatting is once again completely up to the user when they are writing markdown files (fixes a regression introduced in #610). ([#651](https://github.com/twisted/towncrier/issues/651) <https://github.com/twisted/towncrier/issues/651>_)
  • Fixed an issue where issue_template failed recognizing the issue name of files with a non-category suffix (.md) ([#654](https://github.com/twisted/towncrier/issues/654) <https://github.com/twisted/towncrier/issues/654>_)
  • Fixed a bug where orphan news fragments (e.g. +abc1234.feature) would fail when an issue_pattern is configured. Orphan news fragments are now excempt from issue_pattern checks. ([#655](https://github.com/twisted/towncrier/issues/655) <https://github.com/twisted/towncrier/issues/655>_)

Deprecations and Removals

  • Moved towncrier version definition from src/towncrier/_version.py to pyproject.toml

    towncrier.version was removed, after being deprecated in 23.6.0. ([#640](https://github.com/twisted/towncrier/issues/640) <https://github.com/twisted/towncrier/issues/640>_)

Misc

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

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

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot requested a review from webknjaz as a code owner August 26, 2024 11:47
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 26, 2024
@dependabot dependabot bot requested a review from asvetlov as a code owner August 26, 2024 11:47
@github-actions github-actions bot enabled auto-merge (squash) August 26, 2024 11:51
@dependabot dependabot bot force-pushed the dependabot/pip/towncrier-24.8.0 branch from 1f94a90 to 60eb47d Compare August 26, 2024 12:08
Copy link

codecov bot commented Aug 26, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3294 1 3293 26
View the top 1 failed tests by shortest run time
tests.test_client_functional test_stream_request_on_server_eof[pyloop]
Stack Traces | 0.032s run time
aiohttp_client = &lt;function aiohttp_client.&lt;locals&gt;.go at 0x104de33a0&gt;

    #x1B[0m#x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m #x1B[92mtest_stream_request_on_server_eof#x1B[39;49;00m(aiohttp_client: AiohttpClient) -&gt; #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m #x1B[92mhandler#x1B[39;49;00m(request: web.Request) -&gt; web.Response:#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m web.Response(text=#x1B[33m"#x1B[39;49;00m#x1B[33mOK#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, status=#x1B[94m200#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        app = web.Application()#x1B[90m#x1B[39;49;00m
        app.add_routes([web.get(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, handler)])#x1B[90m#x1B[39;49;00m
        app.add_routes([web.put(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, handler)])#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        client = #x1B[94mawait#x1B[39;49;00m aiohttp_client(app)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m #x1B[92mdata_gen#x1B[39;49;00m() -&gt; AsyncIterator[#x1B[96mbytes#x1B[39;49;00m]:#x1B[90m#x1B[39;49;00m
            #x1B[94mfor#x1B[39;49;00m _ #x1B[95min#x1B[39;49;00m #x1B[96mrange#x1B[39;49;00m(#x1B[94m2#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
                #x1B[94myield#x1B[39;49;00m #x1B[33mb#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mjust data#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[94mawait#x1B[39;49;00m asyncio.sleep(#x1B[94m0.1#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m client.session.connector #x1B[95mis#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m #x1B[94mNone#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m client.put(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, data=data_gen()) #x1B[94mas#x1B[39;49;00m resp:#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m #x1B[94m200#x1B[39;49;00m == resp.status#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m #x1B[96mlen#x1B[39;49;00m(client.session.connector._acquired) == #x1B[94m1#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            conn = #x1B[96mnext#x1B[39;49;00m(#x1B[96miter#x1B[39;49;00m(client.session.connector._acquired))#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mwith#x1B[39;49;00m client.get(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m) #x1B[94mas#x1B[39;49;00m resp:#x1B[90m#x1B[39;49;00m
            #x1B[94massert#x1B[39;49;00m #x1B[94m200#x1B[39;49;00m == resp.status#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        #x1B[90m# First connection should have been closed, otherwise server won't know if it#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[90m# received the full message.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
&gt;       conns = #x1B[96mnext#x1B[39;49;00m(#x1B[96miter#x1B[39;49;00m(client.session.connector._conns.values()))#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       StopIteration#x1B[0m

aiohttp_client = &lt;function aiohttp_client.&lt;locals&gt;.go at 0x104de33a0&gt;
app        = &lt;Application 0x104bb7510&gt;
client     = &lt;aiohttp.test_utils.TestClient object at 0x1056602e0&gt;
conn       = &lt;aiohttp.client_proto.ResponseHandler object at 0x104c4b220&gt;
data_gen   = &lt;function test_stream_request_on_server_eof.&lt;locals&gt;.data_gen at 0x1056bf550&gt;
handler    = &lt;function test_stream_request_on_server_eof.&lt;locals&gt;.handler at 0x104de38b0&gt;
resp       = &lt;ClientResponse(http://127.0.0.1:49233/) [200 OK]&gt;
&lt;CIMultiDictProxy('Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '2', 'Date': 'Tue, 17 Sep 2024 11:09:02 GMT', 'Server': 'Python/3.9 aiohttp/4.0.0a2.dev0')&gt;


#x1B[1m#x1B[31mtests/test_client_functional.py#x1B[0m:374: StopIteration

#x1B[33mThe above exception was the direct cause of the following exception:#x1B[0m

pyfuncitem = &lt;Function test_stream_request_on_server_eof[pyloop]&gt;

    #x1B[0m#x1B[94mdef#x1B[39;49;00m #x1B[92mpytest_pyfunc_call#x1B[39;49;00m(pyfuncitem):  #x1B[90m# type: ignore[no-untyped-def]#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""Run coroutines in an event loop instead of a normal function call."""#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        fast = pyfuncitem.config.getoption(#x1B[33m"#x1B[39;49;00m#x1B[33m--aiohttp-fast#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m asyncio.iscoroutinefunction(pyfuncitem.function):#x1B[90m#x1B[39;49;00m
            existing_loop = pyfuncitem.funcargs.get(#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33mproactor_loop#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            ) #x1B[95mor#x1B[39;49;00m pyfuncitem.funcargs.get(#x1B[33m"#x1B[39;49;00m#x1B[33mloop#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[94mNone#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
            #x1B[94mwith#x1B[39;49;00m _runtime_warning_context():#x1B[90m#x1B[39;49;00m
                #x1B[94mwith#x1B[39;49;00m _passthrough_loop_context(existing_loop, fast=fast) #x1B[94mas#x1B[39;49;00m _loop:#x1B[90m#x1B[39;49;00m
                    testargs = {#x1B[90m#x1B[39;49;00m
                        arg: pyfuncitem.funcargs[arg]#x1B[90m#x1B[39;49;00m
                        #x1B[94mfor#x1B[39;49;00m arg #x1B[95min#x1B[39;49;00m pyfuncitem._fixtureinfo.argnames#x1B[90m#x1B[39;49;00m
                    }#x1B[90m#x1B[39;49;00m
&gt;                   _loop.run_until_complete(pyfuncitem.obj(**testargs))#x1B[90m#x1B[39;49;00m

_loop      = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;
existing_loop = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;
fast       = False
pyfuncitem = &lt;Function test_stream_request_on_server_eof[pyloop]&gt;
testargs   = {'aiohttp_client': &lt;function aiohttp_client.&lt;locals&gt;.go at 0x104de33a0&gt;}

#x1B[1m#x1B[31maiohttp/pytest_plugin.py#x1B[0m:224: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;
future = &lt;Task finished name='Task-179' coro=&lt;test_stream_request_on_server_eof() done, defined at .../aiohttp/tests/test_client_functional.py:348&gt; exception=RuntimeError('coroutine raised StopIteration')&gt;

    #x1B[0m#x1B[94mdef#x1B[39;49;00m #x1B[92mrun_until_complete#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m, future):#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""Run until the Future is done.#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m    If the argument is a coroutine, it is wrapped in a Task.#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m    WARNING: It would be disastrous to call run_until_complete()#x1B[39;49;00m
    #x1B[33m    with the same coroutine twice -- it would wrap it in two#x1B[39;49;00m
    #x1B[33m    different Tasks and that can't be good.#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m    Return the Future's result, or raise its exception.#x1B[39;49;00m
    #x1B[33m    """#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m._check_closed()#x1B[90m#x1B[39;49;00m
        #x1B[96mself#x1B[39;49;00m._check_running()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        new_task = #x1B[95mnot#x1B[39;49;00m futures.isfuture(future)#x1B[90m#x1B[39;49;00m
        future = tasks.ensure_future(future, loop=#x1B[96mself#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m new_task:#x1B[90m#x1B[39;49;00m
            #x1B[90m# An exception is raised if the future didn't complete, so there#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            #x1B[90m# is no need to log the "destroy pending task" message#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
            future._log_destroy_pending = #x1B[94mFalse#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        future.add_done_callback(_run_until_complete_cb)#x1B[90m#x1B[39;49;00m
        #x1B[94mtry#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            #x1B[96mself#x1B[39;49;00m.run_forever()#x1B[90m#x1B[39;49;00m
        #x1B[94mexcept#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            #x1B[94mif#x1B[39;49;00m new_task #x1B[95mand#x1B[39;49;00m future.done() #x1B[95mand#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m future.cancelled():#x1B[90m#x1B[39;49;00m
                #x1B[90m# The coroutine raised a BaseException. Consume the exception#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[90m# to not log a warning, the caller doesn't have access to the#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                #x1B[90m# local task.#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
                future.exception()#x1B[90m#x1B[39;49;00m
            #x1B[94mraise#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mfinally#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            future.remove_done_callback(_run_until_complete_cb)#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m future.done():#x1B[90m#x1B[39;49;00m
            #x1B[94mraise#x1B[39;49;00m #x1B[96mRuntimeError#x1B[39;49;00m(#x1B[33m'#x1B[39;49;00m#x1B[33mEvent loop stopped before Future completed.#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
&gt;       #x1B[94mreturn#x1B[39;49;00m future.result()#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       RuntimeError: coroutine raised StopIteration#x1B[0m

future     = &lt;Task finished name='Task-179' coro=&lt;test_stream_request_on_server_eof() done, defined at .../aiohttp/tests/test_client_functional.py:348&gt; exception=RuntimeError('coroutine raised StopIteration')&gt;
new_task   = True
self       = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;

#x1B[1m#x1B[.../Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py#x1B[0m:647: RuntimeError

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@dependabot dependabot bot force-pushed the dependabot/pip/towncrier-24.8.0 branch 5 times, most recently from d98a2ca to 6cf1ef1 Compare September 5, 2024 10:50
@dependabot dependabot bot force-pushed the dependabot/pip/towncrier-24.8.0 branch 5 times, most recently from 32f2ec2 to f682b16 Compare September 16, 2024 10:36
Bumps [towncrier](https://github.com/twisted/towncrier) from 23.11.0 to 24.8.0.
- [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.8.0)

---
updated-dependencies:
- dependency-name: towncrier
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/towncrier-24.8.0 branch from f682b16 to b80a66a Compare September 17, 2024 10:56
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