Code Monkey home page Code Monkey logo

Comments (5)

adamchainz avatar adamchainz commented on July 19, 2024

It looks like you're experiencing the same thing as this report in another of my packages: adamchainz/django-htmx#381 . Would you be able to check out that issue and related PR and maybe test them? Then you or I could make an identical PR here.

from django-cors-headers.

captain828 avatar captain828 commented on July 19, 2024

I'll have a look but I can't promise I'll have time to do it this week.

from django-cors-headers.

Royalflamejlh avatar Royalflamejlh commented on July 19, 2024

This is likely affecting all ASGI servers, I'm having the same issue with uvicorn.

from django-cors-headers.

daggaz avatar daggaz commented on July 19, 2024

This causes an incompatibility with asgiref < 3.6.0 as iscoroutinefunction was only added in this commit:
django/asgiref@36f37c9

Maybe update the dependencies to require at least 3.6.0?

from django-cors-headers.

adamchainz avatar adamchainz commented on July 19, 2024

That was done: 7fe1d62#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R46

What tooling did you use to install an incompatible asgiref with? Can you provide a reproduction?

from django-cors-headers.

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.