Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 16, 2025

Bumps twisted from 24.11.0 to 25.5.0.

Release notes

Sourced from twisted's releases.

Towncrier 25.5.0

Twisted 25.5.0 (2025-06-07)

Bugfixes

  • twisted.internet.runner.procmon.ProcessMonitor: startProcess() catches exceptions raised by reactor.spawnProcess() and attempts to restart the failed process. (#12421)

Deprecations and Removals

  • twisted.trial.unittest.TestCase.deferSetUp, twisted.trial.unittest.TestCase.deferTestMethod, twisted.trial.unittest.TestCase.deferTearDown, and twisted.trial.unittest.TestCase.deferRunCleanups were removed and converted to private methods. These functions expose so much of the internal structure of TestCase that it makes the code hard to change. (#12388)
  • twisted.internet.defer.waitForDeferred twisted.internet.defer.deferredGenerator have been removed. They have been deprecated since Twisted 15.0.0 (#12404)
  • twisted.internet.defer.Deferred.callbacks attribute has been deprecated. (#12407)

Misc

Conch

Bugfixes

  • twisted.conch.client.direct.SSHClientTransport.verifyHostKey no longer crashes with an encoding error while attempting to verify the peer's IP address. This means that the conch command-line tool will no longer fail host key verification with 'bad host key' when using a known hosts file containing only plaintext, rather than hashed, hostnames. (#12414)

Web

Features

  • The twisted.web.websockets module has been added, adding a websockets server and client based on the wsproto library. (#4173)
  • twisted.web.server.Site can now be created with a parsePOSTFormSubmission=False parameter to disable parsing of HTTP request bodies. (#12412)

Bugfixes

... (truncated)

Changelog

Sourced from twisted's changelog.

Twisted 25.5.0 (2025-06-07)

This is the last release with support for Python 3.8. No changes since 25.5.0.rc1.

Bugfixes

  • twisted.internet.runner.procmon.ProcessMonitor: startProcess() catches exceptions raised by reactor.spawnProcess() and attempts to restart the failed process. (#12421)

Deprecations and Removals

  • twisted.trial.unittest.TestCase.deferSetUp, twisted.trial.unittest.TestCase.deferTestMethod, twisted.trial.unittest.TestCase.deferTearDown, and twisted.trial.unittest.TestCase.deferRunCleanups were removed and converted to private methods. These functions expose so much of the internal structure of TestCase that it makes the code hard to change. (#12388)
  • twisted.internet.defer.waitForDeferred twisted.internet.defer.deferredGenerator have been removed. They have been deprecated since Twisted 15.0.0 (#12404)
  • twisted.internet.defer.Deferred.callbacks attribute has been deprecated. (#12407)

Misc

Conch

Bugfixes


- twisted.conch.client.direct.SSHClientTransport.verifyHostKey no longer crashes with an encoding error while attempting to verify the peer's IP address. This means that the `conch` command-line tool will no longer fail host key verification with 'bad host key' when using a known hosts file containing only plaintext, rather than hashed, hostnames. ([#12414](https://github.com/twisted/twisted/issues/12414))

Web

Features

  • The twisted.web.websockets module has been added, adding a websockets server and client based on the wsproto library. (#4173)
  • twisted.web.server.Site can now be created with a parsePOSTFormSubmission=False parameter to disable parsing of HTTP request bodies. (#12412)

Bugfixes


- twisted.web.http.Request.addCookie now supports the `none` value for cookie's `samesite` attribute. ([#10088](https://github.com/twisted/twisted/issues/10088))
</tr></table> 

... (truncated)

Commits
  • 932f2f8 Update for final release.
  • d28bf6c Use rolling version.
  • 662f2a9 Update year.
  • 4509d4e tox -e towncrier
  • ab7970a websocket server and client protocols based on wsproto package (#12397)
  • cc19085 sigh I guess I gotta let the line wrap
  • 8ec9b15 make the monkeypatching method private and document it
  • b6b1efc remove unnecessary method that adds no clarity
  • d9af53d fix warning
  • 7af6cc3 document MyWSP per code review
  • Additional commits viewable in compare view

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 added dependencies pull requests that update a dependency file python pull requests that update Python code labels Jun 16, 2025
@Pierre-Sassoulas
Copy link
Member

Do we want to wait a little for this ? Or test both ?

@nicoddemus
Copy link
Member

I think testing against the latest is fine, in #13502 we are testing the standard unittest support for both versions.

I suspect in this case is more of a matter of testing pytest-twisted itself.

Bumps [twisted](https://github.com/twisted/twisted) from 24.11.0 to 25.5.0.
- [Release notes](https://github.com/twisted/twisted/releases)
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst)
- [Commits](twisted/twisted@twisted-24.11.0...twisted-25.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@bluetech bluetech force-pushed the dependabot/pip/testing/plugins_integration/twisted-25.5.0 branch from f868b9d to 842fb2b Compare June 18, 2025 07:15
@nicoddemus nicoddemus merged commit 5a7a91b into main Jun 18, 2025
36 checks passed
@nicoddemus nicoddemus deleted the dependabot/pip/testing/plugins_integration/twisted-25.5.0 branch June 18, 2025 09:14
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 python pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants