Re: [Twisted-Python] Twisted 21.2.0rc1 Release Candidate Announcement

2021-02-15 Thread Glyph
Thank you Craig for getting this out!  On Valentines day, no less :-) ❤️.

Very excited that the release train is back on the tracks! 

It's been a very rough year.  Thank you to everyone who contributed to the 225 
tickets that have been closed during this release, and thanks also to everyone 
else who is trying to accelerate the progress of the next release so the next 
one won't be such a massive effort to get out!

-g

> On Feb 14, 2021, at 6:53 PM, Craig Rodrigues  wrote:
> 
> It's time for another Twisted release!
> 
> There are two major announcements for this release:
> 
> - Python 2.7 support has been dropped.  Twisted 21.2.0 supports Python 3.5 
> and higher only
> - This will be the last Twisted release to support Python 3.5.
> 
> Twisted 21.2.0rc1 brings the following:
> - twist dns --pyzone now works on Python 3
> - twisted.web.twcgi now works on Python 3
> - all tests pass on all platforms on Python 3.8, including asyncio tests on 
> Windows
> - tests pass on Python 3.9 (thanks to Michał Górny)
> - type hints, as specified in PEP 484, are now used in functions throughout 
> the codebase
> - mypy (static type checker) is now run over the codebase during CI to help 
> detect problems, and help improve the use of types
> - code in is now formatted with Black (thanks to Tom Most)
> - many CI and automation improvements (thanks to Adi Roiban and Thomas 
> Grainger)
> - many more fixes (225 tickets closed!)
> 
> 
> You can install by running this command:
> 
>   python -m pip install Twisted==21.2.0rc1
> 
> The full tarball is available at:
> https://pypi.org/project/Twisted/21.2.0rc1/#files 
> 
> 
> The full NEWS file with all changes is at:
> https://github.com/twisted/twisted/blob/twisted-21.2.0rc1/NEWS.rst 
> 
> 
> Please test it, and let me know how your applications fare, good or bad!
> If nothing comes up, 21.2 will release very soon.
> 
> --
> Craig
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted 21.2.0rc1 Release Candidate Announcement

2021-02-15 Thread Craig Rodrigues
On Monday, February 15, 2021, Kyle Altendorf  wrote:

>
> NonLocalExitTests
> test_returnValueNonLocalDeferred ... [FAIL]
> test_returnValueNonLocalWarning ... [FAIL]
>
> Ticketed as https://twistedmatrix.com/trac/ticket/10093.
>
>
>
>
Thanks for the testing, detailed analysis, and ticket.  If you can come up
with a relatively simple fix in the next week,  I'm ok the cherry-picking
that into the release.

--
Craig
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted 21.2.0rc1 Release Candidate Announcement

2021-02-15 Thread Kyle Altendorf
On 2021-02-14 21:53, Craig Rodrigues wrote:

> Please test it, and let me know how your applications fare, good or bad!

Hi Craig,

Thanks for all the work to get us into the next Twisted release.

All,

I went ahead and set pip_pre=true in pytest-twisted's tox.ini to try it
out and got warnings/errors with PyPy 3.7 about use of t.i.d.returnValue
claiming it should only be used in @inlineCallbacks decorated functions
even though the location complained about is such. Only PyPy 3.7, not
PyPy 3.6 nor CPython 3.7. Linux, macOS, and Windows all failed.

https://github.com/pytest-dev/pytest-twisted/pull/134/checks?check_run_id=1904583062

I also pulled a branch and PR off of the release branch and added PyPy
3.7 to the matrix. CI failed on PyPy 3.7.

https://github.com/twisted/twisted/pull/1515/checks?check_run_id=1904809978

NonLocalExitTests
test_returnValueNonLocalDeferred ... [FAIL]
test_returnValueNonLocalWarning ... [FAIL]

Ticketed as https://twistedmatrix.com/trac/ticket/10093.

Seems like it might be an easy special-case fix so I'll take a look. I
don't know if this qualifies as a releaser blocker or not, or if it can
get cherry picked into the release anyways. Others will have to weigh in
on that.  I guess it's basically just lack of support for a 'new' PyPy
version.  PyPy 3.7 beta was released in November and alpha in September.
 I understand choosing not to bother fitting this in, but after blowing
past CPython 3.8 and 3.9 released it would be nice to actually be all
around caught up.

Cheers,
-kyle___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python