Coder Social home page Coder Social logo

Comments (4)

andy-maier avatar andy-maier commented on July 28, 2024 1

Thanks for the quick response.
That explains why the error appears.

And the setup.py based install that happily installs 4.8.0rc1 on Python 3.7 is not really your problem, I guess. It is just another indicator that we should get off of setup.py based installs.

As far as I'm concerned, this issue can be closed.

from typing_extensions.

andy-maier avatar andy-maier commented on July 28, 2024 1

The pip based install process correctly does pick up an older version.
It is only the setup.py based install that ends up installing 4.8.0rc1 on Python 3.7, and the install folks have long recommended to no longer use setup.py for install. I'll remove the setup.py based install from our install tests.

from typing_extensions.

AlexWaygood avatar AlexWaygood commented on July 28, 2024

4.8.0rc1 no longer supports Python 3.7 (as Python 3.7 is now end-of-life), and this is stated in our pyproject.toml file:

requires-python = ">=3.8"

from typing_extensions.

AlexWaygood avatar AlexWaygood commented on July 28, 2024

Looks like you're doing some complicated stuff here: https://github.com/pywbem/nocaselist/blob/master/tests/installtest/test_install.sh

All I can say is that pip install typing_extensions on Python 3.7 should cause pip's resolver to pick an older version of typing_extensions, as pip looks at the requires-python field before selecting which version to install. That means one of the following must be going on:

  1. There's a bug in pip's resolver
  2. you're doing something... Strange in your script that's confusing pip's resolver somehow and meaning that it's selecting a version of typing_extensions that's incompatible with Python 3.7 :-)

I haven't looked too deeply here, but I suspect it's (2) ;-)

from typing_extensions.

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.