Coder Social home page Coder Social logo

Comments (8)

siddhantgoel avatar siddhantgoel commented on June 12, 2024 4

Alright, I just uploaded 1.7.1 and this version seems to install fine with a plain pip install streaming-form-data.

Ended up replacing the poetry build backend with a setup.py file and had to drop support for Python 3.5. 🤷‍♂️

from streaming-form-data.

siddhantgoel avatar siddhantgoel commented on June 12, 2024 1

Thanks for the report! I haven't had a look at PEP 517 and haven't yet had a chance to spend time debugging this. I hope I can find some time over the weekend though.

If poetry really is the problem (which would be a shame since I really liked working with it), I could imagine switching the build process to the "barebones" setup that the Cython documentation recommends. That should most likely solve this issue.

from streaming-form-data.

siddhantgoel avatar siddhantgoel commented on June 12, 2024 1

I'm still using poetry on other pure-python projects, so it's not all that bad. 🙂 Thanks for the heads up about the README.

from streaming-form-data.

guzmud avatar guzmud commented on June 12, 2024

I understand why you choose poetry, it's an interesting option for complex packaging. But it seems it is not yet prod-ready on some points / quite unstable yet (just check https://github.com/python-poetry/poetry/issues). If I remember well from my digging, you're not the only case of having some troubles with poetry and the latest pip regarding building environments and paths. Maybe there could be a solution in some regards to poetry configuration / setuptools configuration, honestly it's a shot in the dark.

A solution would be to use gitlab actions, or whatever pipeline you have access to, to upload some built versions to pypi for the most common architectures. I know it defeats a bit the point behind opting for poetry, but it may ask less digging and/or work on your side. Maybe

Anyway. I'm not sure I have more time to dig around and try to find the root cause, but if I do, I'll forward the information. Thanks for answering so quickly, good luck !

from streaming-form-data.

ofershaham avatar ofershaham commented on June 12, 2024

thanks @guzmud

pip install poetry && pip install --no-build-isolation streaming-form-data

worked for me.

from streaming-form-data.

elektronik2k5 avatar elektronik2k5 commented on June 12, 2024

pip install poetry && pip install --no-build-isolation streaming-form-data worked for me!

from streaming-form-data.

alexpilk avatar alexpilk commented on June 12, 2024

Having the same issue. Workaround works fine but doesn't work well with requirements files.
Subscribing to the thread :)

from streaming-form-data.

guzmud avatar guzmud commented on June 12, 2024

Well, I'm sorry you had to throw poetry away, all my sympathies.

Just so you know, it's working perfectly now, though you may want to edit your README, installation part, to specify at least build-essential is required.

If someone wants to test the proper install in a lightweight environment, feel free to check with :
docker run --rm python:3.8-slim-buster sh -c "apt-get update && apt-get install -y build-essential && pip install streaming-form-data"

Anyway, thank you @siddhantgoel , keep up the good work (I let you close this issue).

from streaming-form-data.

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.