I wrote a test to experiment with pandera for DataFrame validation. I put the validation schema in a pytest fixture and passed it to the unit test I had. Now, I have this odd issue: when I pip install pandera into my virtual environment, pytest stops workings, the entire test suite fails to run (not just this one test), and I get this import error:
ImportError: cannot import name 'Config' from 'pytest'
I'm using python3.10.
I do have an __init__.py file in my test folder, but that was not an issue before. I only get this error when I install pandera
I blew the virtual environment and created a fresh one without pandera installed, and the other unit tests I had in the suite passed just fine. Installed pandera and the same import error showed up.
Has anybody run into this before?