ITADN

[BUG] New version of attrs got an mypy checking error

#115Closedshenxiangzhuang 创建于 2024-08-06
bug
S
shenxiangzhuangcommented
### Observed behavior Got mypy error in #114 ci execution: ``` crowdkit/aggregation/utils.py:194: error: Returning Any from function declared to return "Series[Any]" [no-any-return] Found 1 error in 1 file (checked 79 source files) ``` The error is caused by the new version of [attrs](https://github.com/python-attrs/attrs/releases/tag/24.1.0). We can reproduce the error by using the newest `24.1.0` version of attrs, and it's ok in old attrs version(`23.2.0`) ### Expected behavior _No response_ ### Python Version 3.8 ### Crowd-Kit Version 1.3.0.post0 ### Other Packages Versions attrs==24.1.0 ### Example code ### Relevant log output _No response_
关闭于 2024-08-07 4 条评论