aurzenligl / pytest-logger

Pytest plugin configuring handlers for loggers from Python logging module.
MIT License
35 stars 11 forks source link

fixed pytest warning #33

Closed nikaswoon closed 11 months ago

nikaswoon commented 1 year ago

PytestDeprecationWarning: The hookimpl LoggerPlugin.pytest_runtest_makereport uses old-style configuration options (marks or attributes). Please use the pytest.hookimpl(hookwrapper=True) decorator instead to configure the hooks. See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers

kostyay commented 11 months ago

@aurzenligl can this be merged?

aurzenligl commented 11 months ago

Sure, let's merge this :+1:

jthakurH commented 9 months ago

@aurzenligl can you please create new version with above change? I see the warning and it might lead to failure in later version of pytest

aurzenligl commented 8 months ago

@jthakurH, I'm working on ci (github workflows) and soon will release new pytest-logger

aurzenligl commented 8 months ago

@jthakurH, infrastructure modernized, 1.0.0 released along with the fix.

jthakurH commented 8 months ago

Awesome. Thanks @aurzenligl