Coder Social home page Coder Social logo

Comments (4)

gi0baro avatar gi0baro commented on August 28, 2024 2

@Dominick-Peluso-Bose upgrading maturin didn't solve the issue.

It seems we're not alone as pydantic-core seems to suffer from the same issue (pydantic/pydantic-core#362).
I gonna stop releasing musl wheels so I can proceed with the next patch release, and dig into this more in the following days.

from granian.

gi0baro avatar gi0baro commented on August 28, 2024 1

@Dominick-Peluso-Bose can you please check with different Python versions (3.9-3.10)? Sounds like something is wrong with the build system (maturin)..

from granian.

gi0baro avatar gi0baro commented on August 28, 2024 1

I gonna try upgrading maturin and run some tests.
In case that won't work this will need for sure a lot of debugging, probably with the support of PyO3 community..

from granian.

Dominick-Peluso-Bose avatar Dominick-Peluso-Bose commented on August 28, 2024

It seems like it's the same deal with Python 3.10:

Python version: 3.10.9
OS version: Alpine Linux v3.17

 Traceback (most recent call last):
   File "/usr/local/bin/granian", line 5, in <module>
     from granian import cli
  File "/usr/local/lib/python3.10/site-packages/granian/__init__.py", line 1, in <module>
    from .server import Granian
 File "/usr/local/lib/python3.10/site-packages/granian/server.py", line 12, in <module>
    from ._granian import ASGIWorker, RSGIWorker, WSGIWorker
 ImportError: Error relocating /usr/local/lib/python3.10/site-packages/granian/_granian.cpython-310-x86_64-linux-gnu.so: __stack_chk_fail: initial-exec TLS resolves to dynamic definition in /usr/local/lib/python3.10/site-packages/granian/_granian.cpython-310-x86_64-linux-gnu.so

from granian.

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.