Giter VIP home page Giter VIP logo

Comments (10)

Stranger6667 avatar Stranger6667 commented on June 12, 2024 3

Hi!

Thanks for opening an issue! A WIP PR is here

from pytest-recording.

hartwork avatar hartwork commented on June 12, 2024 3

@Alexander-Serov thanks for the report!

Expected behavior

  • correctly interact with vcrpy==5.0

  • intercept the new exception

I think you meant raising CassetteDecodeError or CassetteNotFoundErrorinstead.

  • suggestion: in future, limit compatibility to a major upstream version only vcrpy~=5.0 and perform major updates manually.

I would like to vote for just vcrpy>=5.0 (or no limit) and leave the rest to the and user / consuming application. Bumping VCR.py from 4.x.x to 5.0.0 is a major version bump in semver so the user has full responsibility in my view.

from pytest-recording.

Stranger6667 avatar Stranger6667 commented on June 12, 2024 2

Thank you @hartwork !

I'll release a new version this week! :) Hopefully, I could also take a look at the tests that are failing on VCRPy 5.0

from pytest-recording.

Alexander-Serov avatar Alexander-Serov commented on June 12, 2024 1

@hartwork agreed on bumping to a major version, and pytest-recording is the user in this case. But to avoid accidents like this one, when the pipeline becomes blocked, I would vote for setting vcrpy>=5.0,<6 in this repo, with the update to 6 done manually. This would give time to the maintainers of this repo to implement changes and test without people like me coming and opening issues. And the end user does not specify a version of vcrpy since it's an internal dep of pytest-recording for us. Just my 2 cents.

@Stranger6667 Thanks for already working on it!

from pytest-recording.

Stranger6667 avatar Stranger6667 commented on June 12, 2024 1

The new version is released! 🎉 Thank you for your patience

from pytest-recording.

Stranger6667 avatar Stranger6667 commented on June 12, 2024

I guess the props for working on the issue should go to @gadomski :)

At this point, instead of failing in runtime, it would be better to note that pytest-recording is compatible only with vcrpy<4.4.0 (there is 1 failing test)

from pytest-recording.

mezhaka avatar mezhaka commented on June 12, 2024

Hi folks, I see the PR #110 has been suspended for now. Is there any plan or intention in this direction?

from pytest-recording.

Stranger6667 avatar Stranger6667 commented on June 12, 2024

hi @mezhaka !

Yes, I'd like to add support for vcrpy==5.0.0, but I don't have the bandwidth at the moment. Meantime, PRs (including those adding partial support) are welcome

from pytest-recording.

hartwork avatar hartwork commented on June 12, 2024

@Stranger6667 thanks for partial, I'll give it another shot right now…

from pytest-recording.

hartwork avatar hartwork commented on June 12, 2024

Pull request #118 now ready for a first round of review.

from pytest-recording.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.