Backports for 2.0.28#2690
Merged
Merged
Conversation
* Fix reload-on-touch/change As part of a fix for unbit#2656, commit 8f1d0e5 introduced a measure to wait for processes to finish work while reloading. The code to do this affects other logic flows was well, breaking the ability to reload uwsgi when a config file changes. This moves the code around a bit so unbit#2656 stays fixed, but reload-on-touch/change works again. Fixes unbit#2681. * Apply suggestions from code review --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* integration-tests: better handling of failures * integration-tests: use notfound as basic request plugin * allow --need-app=0 on command line * integration tests: rename plugins to test envvar to avoid conflict with uwsgi * integration tests: add basic test for jvm jwsgi * integration tests: add basic test for psgi * integration tests: add basic test for cgi * integration tests: add basic test for Ruby rack * integration tests: fix failure when run from another dir * fix test_classic_mountpoints with py3 (Fixes unbit#2554) * integration tests: include manage_script_name tests * integration tests: factor test GET body code
Under certain circumstances Py_ENABLE_SHARED would be False but the static library cannot be found. For example, if you use conda environments or if you use specific versions of MacOS unbit#2109, unbit#2270. pip install would fail in such a situation. In this PR, we adjust the configurations so that the installation script would attempt to use shared library instead of the static one if no static library is found. This fixes pip install for Python 3.10.15 | packaged by conda-forge. It's not clear if this would fix the MacOS problems mentioned in the above issues though, as I am unable to verify those problems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.