Comments (8)
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.
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.
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.
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.
thanks @guzmud
pip install poetry && pip install --no-build-isolation streaming-form-data
worked for me.
from streaming-form-data.
pip install poetry && pip install --no-build-isolation streaming-form-data
worked for me!
from streaming-form-data.
Having the same issue. Workaround works fine but doesn't work well with requirements files.
Subscribing to the thread :)
from streaming-form-data.
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)
- No wheels deployed HOT 3
- Build fails without Python2 headers HOT 5
- Ubuntu Server slow speed HOT 1
- How do you read file name? HOT 2
- Support for AsyncIO HOT 2
- __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) A wheel is created for you to put on pypi. HOT 6
- Any ideas how to deal with excel files in streaming ? HOT 1
- Get file name HOT 2
- Handling multi-valued fields? HOT 10
- Parser won't get registered and receive chunk data as a flask_appbuilder app in airflow webserver ui HOT 5
- How to use to read image file? HOT 2
- Move C declarations to a .pxd file to be available to other Cython modules. HOT 7
- Question: Does it support to parse raw multipart/form-data bodies ? HOT 5
- handler _parser.data_received failed with delimiting multipart stream into parts HOT 1
- `cgi` is being deprecated in 3.13 HOT 1
- smart-open as an optional dependency HOT 3
- How to validate content-type? HOT 7
- Question: Is it possible to raise an error when data for a non-registered target is parsed? HOT 7
- Fails to install with PyPy 3.10 on Windows HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streaming-form-data.