Karthikeyan Singaravelan

Results 222 issues of Karthikeyan Singaravelan

The deprecated aliases have been removed in python/cpython#28268

https://github.com/sloria/TextBlob/blob/f3affab64f96a8d5f8b42b645ef160f8ef98bb06/textblob/_text.py#L14 Ref : https://github.com/python/cpython/pull/19108 The PR was reverted but the change will be introduced again in future version.

Deprecation warnings are raised due to invalid escape sequences in Python 3.8 . Below is a log of the warnings raised during compiling all the python files. Using raw strings...

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this. ``` find . -iname '*.py'...

Use collections.abc instead ``` texar/tf/modules/encoders/hierarchical_encoders.py 259: if not isinstance(medium, collections.Sequence): 358: if isinstance(x, collections.Sequence): texar/tf/utils/utils.py 580: if isinstance(value, collections.MutableMapping): ```

The deprecated aliases were removed in Python 3.11 in python/cpython#28268 . ``` rollbar/test/starlette_tests/test_logger.py: self.assertDictContainsSubset(expected_scope, scope) rollbar/test/starlette_tests/test_middleware.py: self.assertDictContainsSubset(expected_scope, scope) rollbar/test/fastapi_tests/test_logger.py: self.assertDictContainsSubset(expected_scope, scope) rollbar/test/fastapi_tests/test_middleware.py: self.assertDictContainsSubset(expected_scope, scope) rollbar/test/fastapi_tests/test_routing.py: self.assertDictContainsSubset(expected_scope, scope) ```