Skip to content

Commit

Permalink
tox -e towncrie
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Aug 17, 2023
1 parent 30f014a commit 7f7f423
Show file tree
Hide file tree
Showing 53 changed files with 105 additions and 46 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2001-2022
Copyright (c) 2001-2023
Allen Short
Amber Hawkie Brown
Andrew Bennetts
Expand Down
102 changes: 102 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,108 @@ https://twisted.org/trac/ticket/<number>

.. towncrier release notes start
Twisted 23.8.0.rc1 (2023-08-17)
===============================

Features
--------

- reactor.spawnProcess() now uses posix_spawnp when possible, making it much more efficient (#5710)
- Twisted now officially supports Python 3.11. (#10343)
- twisted.internet.defer.Deferred.fromFuture now has a more precise type annotation. (#11753)
- twisted.internet.defer._ConcurrencyPrimitive.__aexit__ now has a more precise type annotation. (#11795)
- `twisted.internet.defer.race` has been added as a way to get the first available result from a list of Deferreds. (#11817)
- The CI suite was updated to execute the tests using a Python 3.12 pre-release (#11857)


Bugfixes
--------

- twisted.conch.scripts.ckeygen now substitutes a default of "~/.ssh/id_rsa" if no keyfile is specified. (#6607)
- Correct type hints for `IHostnameResolver.resolveHostName` and `IResolverSimple.getHostByName`. (#10276)
- `twist conch --auth=sshkey` can now authenticate users without a traceback again, thanks to twisted.conch.unix.UnixConchUser no longer being incorrectly instantiated with `bytes`. In the course of this fix, some type hinting has also been applied to `twisted.cred.portal`. (#11626)
- twisted.internet.gireactor now works with Gtk4, and is tested and supported in CI again. (#11705)
- When interrupted with control-C, `trial -j` no longer obscures tracebacks for
any errors caused by that interruption with an `UnboundLocalError` due to a bug
in its own implementation. Note that there are still several internal
tracebacks that will be emitted upon exiting, because tearing down the test
runner mid-suite is still not an entirely clean operation, but it should at
least be possible to see errors reported from, for example, a test that is
hanging more clearly. (#11707)
- PortableGIReactor and PortableGtkReactor are no longer necessary and are now aliases of GIReactor and Gtk2Reactor respectively, improving the performance of any applications using them. (#11738)
- The Twisted package dependencies were updated to minimum versions that
will work with latest Twisted codebase. (#11740)
- Deferred's type annotations have been made more comprehensive, precise, correct, and strict. You may notice new type errors in your applications; be sure to check on those because they may represent real type errors! (#11772)
- To prevent parsing errors and ensure validity when serializing HTML comments, twisted.web.template.flattenString has been updated to escape the --> sequence within comments. (#11804)
- BadZipfile (with a small f) has been deprecated since Python 3.2,
use BadZipFile (big F) instead, added in 3.2. (#11821)
- `twisted.web.template` now avoids unnecessary copying and is faster, particularly for templates with deep nesting. (#11834)
- `twisted.web.template` now avoids some unecessary evaluation of type annotations and is faster. (#11835)
- utcfromtimestamp has been deprecated since Python 3.12,
use fromtimestamp(x, timezone.utc).replace(tzinfo=None) instead. (#11908)


Deprecations and Removals
-------------------------

- Optional dependency "extras" names like `conch_nacl` now use hyphens rather than underscores to comply with PEP 685. The old names will be supported until the end of 2023. (#11655)
- twisted.internet.gtk2reactor, twisted.internet.gtk3reactor, and twisted.internet.glib2reactor are now deprecated in favor of twisted.internet.gireactor. (#11705)
- The minimum supported version of PyPy has been updated to 3.9. (#11836)


Misc
----

- #10149, #10310, #10345, #11708, #11723, #11742, #11746, #11748, #11751, #11764, #11766, #11768, #11776, #11788, #11799, #11806, #11824, #11828, #11830, #11856, #11859, #11877, #11894


Conch
-----

Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- PyAsn1 has been removed as a conch dependency.

twisted.conch.ssh.keys.Key no longer supports loading "alternate" OpenSSH private keys.
These are some private keys that at some point were handled by OpenSSH but for which no specification exists.
For more info about these OpenSSH keys see https://github.com/twisted/twisted/issues/3008. (#11843)
- Due to changes in the way raw private key byte serialization are handled in Cryptography, and widespread support for Ed25519 in current versions of OpenSSL, we no longer support PyNaCl as a fallback for Ed25519 keys in Conch. (#11871)


Web
---

Misc
~~~~

- #11815, #11879


Mail
----

No significant changes.


Words
-----

No significant changes.


Names
-----

No significant changes.


Trial
-----

No significant changes.


Twisted 22.10.0 (2022-10-30)
============================

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Or, for speed, use pre-commit directly::
Copyright
---------

All of the code in this distribution is Copyright (c) 2001-2022 Twisted Matrix Laboratories.
All of the code in this distribution is Copyright (c) 2001-2023 Twisted Matrix Laboratories.

Twisted is made available under the MIT license.
The included `LICENSE <LICENSE>`_ file describes this in detail.
Expand Down
5 changes: 0 additions & 5 deletions src/twisted/conch/newsfragments/11843.removal

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/conch/newsfragments/11871.removal

This file was deleted.

2 changes: 1 addition & 1 deletion src/twisted/copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
longversion = str(_longversion)

copyright = """\
Copyright (c) 2001-2022 Twisted Matrix Laboratories.
Copyright (c) 2001-2023 Twisted Matrix Laboratories.
See LICENSE for details."""

disclaimer = """
Expand Down
1 change: 0 additions & 1 deletion src/twisted/newsfragments/10149.misc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/10276.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/10310.misc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/10343.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/10345.misc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11626.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11655.removal

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11705.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11705.removal

This file was deleted.

7 changes: 0 additions & 7 deletions src/twisted/newsfragments/11707.bugfix

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11738.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions src/twisted/newsfragments/11740.bugfix

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11753.feature

This file was deleted.

Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11772.bugfix

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11795.feature

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11804.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions src/twisted/newsfragments/11806.misc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11817.feature

This file was deleted.

2 changes: 0 additions & 2 deletions src/twisted/newsfragments/11821.bugfix

This file was deleted.

Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11834.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11835.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/11836.removal

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11857.feature

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/11894.misc

This file was deleted.

2 changes: 0 additions & 2 deletions src/twisted/newsfragments/11908.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/5710.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/6607.bugfix

This file was deleted.

Empty file.
Empty file.

0 comments on commit 7f7f423

Please sign in to comment.