From 2841872e1c8dbb20982414e6ee1e80d89caba4be Mon Sep 17 00:00:00 2001 From: Sergey Shepelev Date: Sat, 13 Feb 2016 18:19:04 +0500 Subject: [PATCH] v0.18.3 release --- NEWS | 8 ++++++++ bin/build-website.bash | 2 +- bin/release | 18 +++++++++--------- doc/real_index.html | 2 +- eventlet/__init__.py | 2 +- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 393d58e..36afee1 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,22 @@ +0.18.3 +====== +* wsgi: Use buffered writes - fixes partial socket.send without custom + writelines(); Github issue #295 +* wsgi: TCP_NODELAY enabled by default + 0.18.2 ====== * wsgi: Fix data loss on partial writes (socket.send); Thanks to Jakub Stasiak 0.18.1 ====== +* IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1 * patcher: Fix AttributeError in subprocess communicate() * greenio: Fix "TypeError: an integer is required" in sendto() 0.18.0 ====== +* IMPORTANT: do not use Eventlet 0.18.0 and 0.18.1 * greenio: Fixed a bug that could cause send() to start an endless loop on ENOTCONN; Thanks to Seyeong Kim * wsgi: Fixed UNIX socket address being trimmed in "wsgi starting" log; Thanks diff --git a/bin/build-website.bash b/bin/build-website.bash index 4c677c3..6fd4e01 100755 --- a/bin/build-website.bash +++ b/bin/build-website.bash @@ -53,7 +53,7 @@ rm -f "doc/changelog.rst" if [ $commit -eq 1 ]; then echo "3. Updating git branch gh-pages" - source_name=`git describe --dirty --tags HEAD` + source_name=`git describe --dirty --tags` git branch --track gh-pages origin/gh-pages || true git checkout gh-pages git ls-files |grep -Ev '^.gitignore$' |xargs rm -f diff --git a/bin/release b/bin/release index 90c1f8c..49d1082 100755 --- a/bin/release +++ b/bin/release @@ -8,6 +8,9 @@ fi . $PWD/venv-release/bin/activate pip install -e $PWD +version= +version_next= + main() { branch="${1-$(git symbolic-ref --short HEAD)}" version="$(python -c 'import eventlet; print(eventlet.__version__)')" @@ -16,8 +19,6 @@ main() { echo "Must be on master" >&2 exit 1 fi - create_commit - exit 1 if [[ -n "$(git status --short -uall)" ]]; then echo "Tree must be clean. git status:" >&2 echo "" >&2 @@ -70,7 +71,7 @@ create_commit() { git diff confirm "Ready to commit? [Yn] " || exit 1 - git commit -a -m "v$version release" + git commit -a -m "v$version_next release" echo "Re-exec $0 to continue" >&2 exec $0 @@ -78,17 +79,16 @@ create_commit() { bump_version() { local current=$version - local next echo "Current version: '$current'" >&2 echo -n "Enter next version (empty to abort): " >&2 - read next - if [[ -z "$next" ]]; then + read version_next + if [[ -z "$version_next" ]]; then exit 1 fi - echo "Next version: '$next'" >&2 + echo "Next version: '$version_next'" >&2 local current_tuple="${current//./, }" - local next_tuple="${next//./, }" + local next_tuple="${version_next//./, }" local version_path="eventlet/__init__.py" echo "Updating file '$version_path'" >&2 if ! sed -i '' -e "s/($current_tuple)/($next_tuple)/" "$version_path"; then @@ -103,7 +103,7 @@ bump_version() { local doc_path="doc/real_index.html" echo "Updating file '$doc_path'" >&2 - if ! sed -i '' -e "s/$current/$next/g" "$doc_path"; then + if ! sed -i '' -e "s/$current/$version_next/g" "$doc_path"; then echo "sed error $?" >&2 exit 1 fi diff --git a/doc/real_index.html b/doc/real_index.html index 2be3b7d..038dd93 100644 --- a/doc/real_index.html +++ b/doc/real_index.html @@ -54,7 +54,7 @@ pip install eventlet

Alternately, you can download the source archive:

diff --git a/eventlet/__init__.py b/eventlet/__init__.py index 7fc6937..f614d75 100644 --- a/eventlet/__init__.py +++ b/eventlet/__init__.py @@ -1,4 +1,4 @@ -version_info = (0, 18, 2) +version_info = (0, 18, 3) __version__ = '.'.join(map(str, version_info)) try: