You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SabinaRachocka, Thanks for pointing this out! This parameter was added in Python 3.8: python/cpython#77346
If I add it into our logging module we will loose support of Python 3.6-3.7. I'm not ready to do this :-/
Need to test somehow with **kwargs parameter.
Describe the bug
The RPLogger doesn't accept stacklevel as an argument, which results in an error.
Steps to Reproduce
Steps to reproduce the behavior:
Ex. sqlalchemy 1.4.44
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
> E TypeError: _log() got an unexpected keyword argument 'stacklevel' args = () kwargs = {'stacklevel': 3} level = 20 msg = 'select pg_catalog.version()' selected_level = 20 self = <sqlalchemy.log.InstanceLogger object at 0x7faff18d6700> venv/lib/python3.9/site-packages/sqlalchemy/log.py:179: TypeError
Package versions
Debian GNU/Linux 11 (bullseye)
Python 3.9.15
pytest==7.2.0
pytest-reportportal==5.0.10
reportportal-client==5.2.5
The text was updated successfully, but these errors were encountered: