Skip to content

Commit

Permalink
python -m incremental.update Twisted --newversion 21.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Jul 26, 2021
1 parent 027a483 commit f05d37d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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", 21, 7, 0, release_candidate=3)
__version__ = Version("Twisted", 21, 7, 0)
__all__ = ["__version__"]
4 changes: 2 additions & 2 deletions src/twisted/web/_stan.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _clone(self, obj: "Flattenable", deep: bool) -> "Flattenable":
warn(
"Cloning a Tag which contains a generator is unsafe, "
"since the generator can be consumed only once; "
"this is deprecated since Twisted 21.7.0.rc3 and will raise "
"this is deprecated since Twisted 21.7.0 and will raise "
"an exception in the future",
DeprecationWarning,
)
Expand All @@ -234,7 +234,7 @@ def _clone(self, obj: "Flattenable", deep: bool) -> "Flattenable":
warn(
"Cloning a Tag which contains a coroutine is unsafe, "
"since the coroutine can run only once; "
"this is deprecated since Twisted 21.7.0.rc3 and will raise "
"this is deprecated since Twisted 21.7.0 and will raise "
"an exception in the future",
DeprecationWarning,
)
Expand Down
4 changes: 2 additions & 2 deletions src/twisted/web/test/test_stan.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_cloneGeneratorDeprecation(self) -> None:
DeprecationWarning,
"Cloning a Tag which contains a generator is unsafe, "
"since the generator can be consumed only once; "
"this is deprecated since Twisted 21.7.0.rc3 and will raise "
"this is deprecated since Twisted 21.7.0 and will raise "
"an exception in the future",
sys.modules[Tag.__module__].__file__,
tag.clone,
Expand All @@ -146,7 +146,7 @@ async def asyncFunc() -> NoReturn:
DeprecationWarning,
"Cloning a Tag which contains a coroutine is unsafe, "
"since the coroutine can run only once; "
"this is deprecated since Twisted 21.7.0.rc3 and will raise "
"this is deprecated since Twisted 21.7.0 and will raise "
"an exception in the future",
sys.modules[Tag.__module__].__file__,
tag.clone,
Expand Down

0 comments on commit f05d37d

Please sign in to comment.