Skip to content

Commit

Permalink
python -m incremental.update Twisted --newversion
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Oct 31, 2023
1 parent 2d15c00 commit f3f3389
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ https://twisted.org/trac/ticket/<number>

.. towncrier release notes start
Twisted 23.10.0.rc1 (2023-10-24)
================================
Twisted 23.10.0 (2023-10-31)
============================

No changes since 23.10.0.rc1.


Features
--------
Expand Down
2 changes: 1 addition & 1 deletion src/twisted/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

from incremental import Version

__version__ = Version("Twisted", 23, 10, 0, release_candidate=1)
__version__ = Version("Twisted", 23, 10, 0)
__all__ = ["__version__"]
2 changes: 1 addition & 1 deletion src/twisted/web/domhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from twisted.web.microdom import escape, getElementsByTagName, unescape

warningString = "twisted.web.domhelpers was deprecated at {}".format(
getVersionString(Version("Twisted", 23, 10, 0, release_candidate=1))
getVersionString(Version("Twisted", 23, 10, 0))
)
warnings.warn(warningString, DeprecationWarning, stacklevel=3)

Expand Down
2 changes: 1 addition & 1 deletion src/twisted/web/microdom.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from twisted.web.sux import ParseError, XMLParser

warningString = "twisted.web.microdom was deprecated at {}".format(
getVersionString(Version("Twisted", 23, 10, 0, release_candidate=1))
getVersionString(Version("Twisted", 23, 10, 0))
)
warnings.warn(warningString, DeprecationWarning, stacklevel=3)

Expand Down
2 changes: 1 addition & 1 deletion src/twisted/web/test/test_domhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_deprecation(self):
warnings = self.flushWarnings([self.test_deprecation])
self.assertEqual(1, len(warnings))
self.assertEqual(
"twisted.web.domhelpers was deprecated at Twisted 23.10.0.rc1",
"twisted.web.domhelpers was deprecated at Twisted 23.10.0",
warnings[0]["message"],
)

Expand Down
2 changes: 1 addition & 1 deletion src/twisted/web/test/test_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ def test_deprecation(self) -> None:
warnings = self.flushWarnings([self.test_deprecation])
self.assertEqual(1, len(warnings))
self.assertEqual(
"twisted.web.microdom was deprecated at Twisted 23.10.0.rc1",
"twisted.web.microdom was deprecated at Twisted 23.10.0",
warnings[0]["message"],
)

Expand Down

0 comments on commit f3f3389

Please sign in to comment.