-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make pyuwsgi plugin python 3 compatible #816
Comments
Do you use it or you are a packager ? I am asking because we were thinking about removing it, but if you have a use it for it we can start mantaining it again. Thanks |
I was just looking for a way to run uwsgi from a freezed (cx_freeze) application. TBH, this is just some experimentation so I'm not using it right now, just investigating if this could work in this setup so I can replace gunicorn. |
I am using this. Combined with IMO this should be the default for pip installations at the least, and fixes at least 2-3 pip related bugs in the tracker. |
Is this issue still outstanding, or has it been fixed? |
@unbit any chance this will see some work? If not, I have looked at it a bit, and can commit some more effort to it in a few months. We do use pyuwsgi quite heavily, as it is (to my knowledge) the only way to provide a precompiled uwsgi that does not either: 1. require a dynamic libpython to be installed on the system, or 2. statically link libpython. This is how we build uWSGI wheels for wheels.galaxyproject.org and aside from a few non-showstopping bugs, it works well for Python 2. |
For anybody keeping an eye on this issue (and wanting to build wheels), Lincoln Loop is sponsoring development for it. @unbit just committed a fix for building pyuwsgi on Python 3. From the UWSGI_EMBED_PLUGINS=python make pyuwsgi PYTHON=python3 but I'm hoping we can get to the point where that just happens as part of the pip install. 🤞 |
Thanks for your sponsorship @ipmb! The changes in #1863 make a pip-installable wheel if built with At present, there's no way to specify at We build pyuwsgi wheels as uWSGI (not pyuwsgi) because we're making the explicit decision to give people pyuwsgi if they point |
I published a preliminary I'm hoping to get Once everything is working, I'll remove the pre-release tag from PyPI and hopefully just follow step with uWSGI's release cycle. |
@ipmb Great, this is better than my efforts so far. Two potential outstanding issues with wheels in PyPI (that maybe should get their own issue(s) but I'm mentioning them here since you're currently working on the packaging):
|
Thanks for the feedback @natefoo. I'm definitely fumbling my way through some of the packaging stuff, so your feedback is appreciated.
I'm leaning towards the wheel configuration being opinionated and if you want something different, you can always build your own from the sdist. My current thinking is to bundle zlib, pcre, libyaml, and jansson, but exclude ssl. Would that work for your use case?
Shoot! I didn't realize that. I'm open to any ideas, that's beyond my area of expertise :) Could you try out the latest wheels I uploaded and see how they work for you?
It might make sense to move discussion on the wheels to https://github.com/lincolnloop/pyuwsgi-wheels |
Thanks, I moved the other issues over to lincolnloop/pyuwsgi-wheels#1 and lincolnloop/pyuwsgi-wheels#2. I tested two - both |
This issue can be closed. pyuwsgi is available on PyPI and Python 3 compatible. |
Thanks for the update |
No description provided.
The text was updated successfully, but these errors were encountered: