oprypin / pytest-golden

Plugin for pytest that offloads expected outputs to data files
MIT License
23 stars 2 forks source link

Update to work with latest version of pytest #2

Closed allenporter closed 2 years ago

allenporter commented 2 years ago

When attempting to install with pip and a new version of pytest, pytest-golden

ERROR: Cannot install pytest-golden==0.2.1 and pytest==7.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pytest==7.1.2
    pytest-golden 0.2.1 depends on pytest<7.0.0 and >=6.1.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

I didn't see anything in the project that limits the version of pytest and the tests seemed to run just fine when i forked the repo. Is this constraint being added somewhere in the release process?

oprypin commented 2 years ago

Ah it's just that haven't made a release with https://github.com/oprypin/pytest-golden/commit/99dbd7ef40028acd5e5f9f839cc410f84b3833f0 I'll do that now

allenporter commented 2 years ago

Thank you, confirmed working.