Bug#1025119: python-ratelimiter: (autopkgtest) needs update for python3.11: module 'asyncio' has no attribute 'coroutine'

2022-12-21 Thread Andreas Tille
Control: tags -1 upstream
Control: forwarded -1 https://github.com/RazerM/ratelimiter/issues/18



Bug#1025119: python-ratelimiter: (autopkgtest) needs update for python3.11: module 'asyncio' has no attribute 'coroutine'

2023-01-05 Thread James Addison
Source: python-ratelimiter
Version: 1.2.0.post0-3
Followup-For: Bug #1025119

It looks like the upstream package is no longer maintained[1], so it could be 
challenging to find a good resolution for this bug.

There are a couple of unmerged possible fixes provided by contributors[2][3] -- 
personally, I think that PR11 has stood the test of time and discussion and may 
be a good candidate based on that.

Perhaps we could ask the author of PR11 to confirm whether they would 
positively want their changes to be included in Debian's python-ratelimiter 
package, so that it can continue to be provided with default Python 3.11 on 
Debian?

(I could ask that question to them on GitHub unless anyone else would prefer to)

[1] - https://github.com/RazerM/ratelimiter/issues/17

[2] - https://github.com/RazerM/ratelimiter/pull/11

[3] - https://github.com/RazerM/ratelimiter/pull/19



Bug#1025119: python-ratelimiter: (autopkgtest) needs update for python3.11: module 'asyncio' has no attribute 'coroutine'

2022-11-29 Thread Paul Gevers

Source: python-ratelimiter
Version: 1.2.0.post0-3
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python 
version [0]. With a recent upload of python3-defaults the autopkgtest of 
python-ratelimiter fails in testing when that autopkgtest is run with 
the binary packages of python3-defaults from unstable. It passes when 
run with only packages from testing. In tabular form:


   passfail
python3-defaults   from testing3.10.6-3
python-ratelimiter from testing1.2.0.post0-3
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults 
to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists 
what's new in Python3.11, it may help to identify what needs to be updated.


More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-ratelimiter/28750383/log.gz

Testing with python3.11:
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/ratelimiter.py", line 36, in 


class RateLimiter(object):
  File "/usr/lib/python3/dist-packages/ratelimiter.py", line 127, in 
RateLimiter

__aexit__ = asyncio.coroutine(__exit__)
^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you 
mean: 'coroutines'?

autopkgtest [23:15:36]: test autodep8-python3



OpenPGP_signature
Description: OpenPGP digital signature