[Twisted-Python] Weekly Bug Summary

2021-02-20 Thread trac



Bug summary
__
Summary for 2021-02-14 through 2021-02-21
  Opened Closed  Total Change
Enhancements:  3  4   1473 -1
Defects:   0  0   1000 +0
Tasks: 2  1 92 +1
Regressions:   0  0  0 +0
Total: 5  5   2567 +0

|== Type Changes   |== Priority Changes   |== Component Changes 
|Enhancement:  -1  |Normal:  +0   |Core:-1  
|Task: +1 |Release Management:  +1  



Total Tickets
Open Tickets



New / Reopened Bugs
__
= Normal =
[#10090] upgrade to mypy==0.800 and mypy-zope==0.2.10 (opened by graingert) (CLOSED, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/10090

[#10091] Release Twisted 21.2 (opened by rodrigc)
taskrelease management http://twistedmatrix.com/trac/ticket/10091

[#10092] Release Twisted 21.2 (opened by rodrigc) (CLOSED, duplicate)
taskrelease management http://twistedmatrix.com/trac/ticket/10092

[#10093] Test and support PyPy 3.7 (opened by altendky) (CLOSED, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/10093

[#10094] maybeDeferred lacks a test for function that returns a Failure (opened by wsanchez)
enhancement core   http://twistedmatrix.com/trac/ticket/10094



Closed Bugs
__
= Normal =
[#9993 ] Implement a release workflow using GitHub Actions (opened by rodrigc, closed by rodrigc, wontfix)
enhancement core   http://twistedmatrix.com/trac/ticket/9993

[#10092] Release Twisted 21.2 (opened by rodrigc, closed by rodrigc, duplicate)
taskrelease management http://twistedmatrix.com/trac/ticket/10092

[#6460 ] twistd should print the subcommand name in its usage error messages (opened by rwall, closed by wsanchez, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/6460

[#10090] upgrade to mypy==0.800 and mypy-zope==0.2.10 (opened by graingert, closed by wsanchez, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/10090

[#10093] Test and support PyPy 3.7 (opened by altendky, closed by Kyle Altendorf , fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/10093



Ticket Lifetime Stats
__
Oldest open ticket - [#50] conch command-line client doesn't work in win32 (since 2003-07-12 14:41:06).
Newest open ticket - [#10094] maybeDeferred lacks a test for function that returns a Failure (since 2021-02-15 13:33:23.983758).

Mean open ticket age: 3018 days, 18:32:43.986709.
Median: 2985 days, 5:15:38.184889.
Standard deviation: 1495 days, 17:32:05.920038.
Interquartile range: 2186 days, 12:11:53.519635.

Mean time between ticket creation and ticket resolution: 617 days, 8:27:24.139509.
Median: 58 days, 6:54:30.
Standard deviation is 1024 days, 4:58:05.536126.
The interquartile range is 810 days, 11:06:24.

Mean time spent in review: 102 days, 0:04:43.769045.
Median: 4 days, 19:14:44.254177.
Standard deviation: 488 days, 0:39:20.301288.
Interquartile range: 23 days, 20:04:47.082472.

Mean number of times a ticket is reviewed: 1.78648164727.
Median: 1
Standard deviation: 1.40884654525.
Interquartile range: 1.


Contributor Stats
__
In the last 4 weeks,
10 unique ticket reporters
4 unique ticket reviewers
6 unique ticket resolvers
In the last 24 weeks,
35 unique ticket reporters
10 unique ticket reviewers
10 unique ticket resolvers
In the last 48 weeks,
58 unique ticket reporters
12 unique ticket reviewers
26 unique ticket resolvers





___
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-20 Thread Richard van der Hoff

On 21/02/2021 00:31, Richard van der Hoff wrote:


On 15/02/2021 02:53, 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*.


Thanks Craig for getting this release ready.

It looks like it is incompatible with Python 3.5.2: exception as 
below. There's no real reason you should care about this, except that 
it is (still!) what Ubuntu 16.04LTS ships with, and Ubuntu claim to 
still be supporting 16.04 until April this year, so this might catch a 
few people by surprise, as it did me[1]. Anyway, I suggest bumping 
`python_requires` in `setup.cfg` 
(https://github.com/twisted/twisted/blob/trunk/setup.cfg#L27), to stop 
the new version being installed on systems where it won't work.


It also breaks compat with treq 20.4 and earlier. This may or may not be 
a thing you care about:


  File "/home/rav/work/synapse/synapse/http/client.py", line 33, in 


    import treq
  File 
"/home/rav/work/synapse/env3/lib/python3.8/site-packages/treq/__init__.py", 
line 5, in 

    from treq.api import head, get, post, put, patch, delete, request
  File 
"/home/rav/work/synapse/env3/lib/python3.8/site-packages/treq/api.py", 
line 5, in 

    from treq.client import HTTPClient
  File 
"/home/rav/work/synapse/env3/lib/python3.8/site-packages/treq/client.py", 
line 11, in 

    from twisted.python.compat import _PY3, unicode
ImportError: cannot import name '_PY3' from 'twisted.python.compat' 
(unknown location)



___
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-20 Thread Richard van der Hoff

On 15/02/2021 02:53, 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*.


Thanks Craig for getting this release ready.

It looks like it is incompatible with Python 3.5.2: exception as below. 
There's no real reason you should care about this, except that it is 
(still!) what Ubuntu 16.04LTS ships with, and Ubuntu claim to still be 
supporting 16.04 until April this year, so this might catch a few people 
by surprise, as it did me[1]. Anyway, I suggest bumping 
`python_requires` in `setup.cfg` 
(https://github.com/twisted/twisted/blob/trunk/setup.cfg#L27), to stop 
the new version being installed on systems where it won't work.


(env3)rav@faith:~$ python3
Python 3.5.2 (default, Oct  7 2020, 17:19:02)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from twisted.python import log
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/home/synapse/env3/lib/python3.5/site-packages/twisted/python/log.py", 
line 20, in 

    from twisted.python import reflect
  File 
"/home/synapse/env3/lib/python3.5/site-packages/twisted/python/reflect.py", 
line 377, in 
    def _safeFormat(formatter: Union[types.FunctionType, Type[str]], o: 
object) -> str:

  File "/usr/lib/python3.5/typing.py", line 552, in __getitem__
    dict(self.__dict__), parameters, _root=True)
  File "/usr/lib/python3.5/typing.py", line 512, in __new__
    for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
  File "/usr/lib/python3.5/typing.py", line 512, in 
    for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
  File "/usr/lib/python3.5/typing.py", line 1077, in __subclasscheck__
    if super().__subclasscheck__(cls):
  File "/usr/lib/python3.5/abc.py", line 225, in __subclasscheck__
    for scls in cls.__subclasses__():
TypeError: descriptor '__subclasses__' of 'type' object needs an argument


[1] Yes, yes, I know. I'm going to fix it real soon, I promise.

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


Re: [Twisted-Python] Release blocker: Use latest pydoctor release ?

2021-02-20 Thread Craig Rodrigues
Hi,

I am confused.  I thought that you and Thomas Graingert had completed all
the automation and had changed the Twisted release scripts to host the
documentation on readthedocs and that was all in place right now.

Is that not the case?

How much more work is necessary to completely host the next Twisted
release's docs on readthedocs?

-- 
Craig

On Saturday, February 20, 2021, Adi Roiban  wrote:

> Hi,
>
> Sorry for the delay.
>
> This was added as a  blocker due to the changes from
> https://github.com/twisted/twisted/pull/1496 and the plan to use Read The
> Docs to
> host the official docs.
>
> This is not a blocker if the official documentation for this release will
> continue to be hosted on the Twisted own server at
> https://twistedmatrix.com/documents/current/
>
> It's a blocker only if the official documentation is to be hosted on Read
> The Docs at docs.twistedmatrix.com
>
> I have updated the ticket to no longer block the release.
>
> Cheers
>
>
> On Sat, 20 Feb 2021 at 02:08, Craig Rodrigues 
> wrote:
>
>> Adi,
>>
>> Is there anything to be done here, or is this still a release blocker?
>>
>> --
>> Craig
>>
>>
>> On Sun, Feb 14, 2021 at 4:15 PM Craig Rodrigues 
>> wrote:
>>
>>> Hi,
>>>
>>> This ticket: Use latest pydoctor release,
>>> https://twistedmatrix.com/trac/ticket/10068
>>>
>>> is marked as a release blocker.
>>>
>>> Has that been resolved or is there more work that needs to be done to
>>> fix that?
>>>
>>> --
>>> Craig
>>>
>>
>
> --
> Adi Roiban
>
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python