Remove pytest-is-running dependency as it is no longer maintained
If possible we should get rid of such a dependency, because in the future it may prevent us from updating the pytest version.
In https://github.com/adamchainz/pytest-is-running we can see:
Unmaintained (2024-01-02)
I stopped maintaining this package as it doesn’t provide much value over checking whether pytest has been imported:
import sys
if "pytest" in sys.modules:
...
In every project I’ve seen, pytest is only imported when running.
Was noticed by @wkedzierski
Edited by Mateusz Żebrak