Giter VIP home page Giter VIP logo

Comments (6)

oliverfunk avatar oliverfunk commented on May 23, 2024

Okay I see what's happened.

For some reason, the exceptiongroup dep from this project did not install.

The dep. is listed here

'exceptiongroup>=1.0.0rc8; python_version < "3.11"',

Best

from pytest.

whateverforever avatar whateverforever commented on May 23, 2024

same install problem here on python3.10 why this external dependency in the first place? especially in light of recent supply chain attacks

from pytest.

The-Compiler avatar The-Compiler commented on May 23, 2024

@whateverforever You'll need to install pytest properly then, this it not a pytest issue. I feel like I'm stating the obvious here, but the response to supply chain attacks is not to stop using dependencies altogether and reinventing the wheel every time. The dependency is used to provide support for exception groups on older Python versions.

from pytest.

whateverforever avatar whateverforever commented on May 23, 2024

sure, every dependency is used for something. but why use a python3.11 feature if you want to support older versions? there are dependencies on which you depend, and there is fluff.

from pytest.

The-Compiler avatar The-Compiler commented on May 23, 2024

You're free to use Python 3.11, in which case the backport isn't installed. 🤷

from pytest.

nicoddemus avatar nicoddemus commented on May 23, 2024

but why use a python3.11 feature if you want to support older versions?

Just to clarify: we need to support the Python 3.11 feature in the same code base, that's why the backport is used. Note also that users in older versions might also be using the backport, in which case pytest will work as well.

from pytest.

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.