summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Moschny <thm@fedoraproject.org>2012-06-22 20:45:43 +0200
committerThomas Moschny <thm@fedoraproject.org>2012-06-22 20:45:43 +0200
commit5d907ffe2c0f16b3fdfb4a3f107f2890f12e43ad (patch)
treed90568f702d9704e8a28414e116da5dd6cfc9c5f
parent708a39949cd5e73c3f63dcdde9f1a594da77205b (diff)
downloadpython-execnet-5d907ffe2c0f16b3fdfb4a3f107f2890f12e43ad.tar.gz
python-execnet-5d907ffe2c0f16b3fdfb4a3f107f2890f12e43ad.tar.xz
python-execnet-5d907ffe2c0f16b3fdfb4a3f107f2890f12e43ad.zip
Update to 1.1.
- Update description. - Remove patch applied upstream.
-rw-r--r--.gitignore1
-rw-r--r--execnet-debugfilename.patch17
-rw-r--r--python-execnet.spec49
-rw-r--r--sources2
4 files changed, 25 insertions, 44 deletions
diff --git a/.gitignore b/.gitignore
index 2fbca32..56df1ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/execnet-1.0.7.tar.gz
/execnet-1.0.8.tar.gz
/execnet-1.0.9.zip
+/execnet-1.1.zip
diff --git a/execnet-debugfilename.patch b/execnet-debugfilename.patch
deleted file mode 100644
index ac84a76..0000000
--- a/execnet-debugfilename.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -r 8900be7ee856 -r 1a63deea3424 testing/test_gateway.py
---- a/testing/test_gateway.py Mon Oct 24 18:03:24 2011 +0200
-+++ b/testing/test_gateway.py Sat Nov 19 07:24:11 2011 +0000
-@@ -350,8 +350,11 @@
- monkeypatch.setenv("TEMP", tmpdir) # windows
- monkeypatch.setenv('EXECNET_DEBUG', "1")
- gw = execnet.makegateway("popen")
-- pid = gw.remote_exec("import os ; channel.send(os.getpid())").receive()
-- slavefile = tmpdir.join("execnet-debug-%s" % pid)
-+ # hack out the debuffilename
-+ fn = gw.remote_exec(
-+ "import execnet;channel.send(execnet.gateway_base.fn)"
-+ ).receive()
-+ slavefile = py.path.local(fn)
- assert slavefile.check()
- slave_line = "creating slavegateway"
- for line in slavefile.readlines():
diff --git a/python-execnet.spec b/python-execnet.spec
index 7a2fa1f..498c9bc 100644
--- a/python-execnet.spec
+++ b/python-execnet.spec
@@ -9,15 +9,13 @@
%global srcname execnet
Name: python-%{srcname}
-Version: 1.0.9
-Release: 3%{?dist}
+Version: 1.1
+Release: 1%{?dist}
Summary: Elastic Python Deployment
Group: Development/Languages
License: GPLv2+ and MIT
URL: http://codespeak.net/execnet
Source0: http://pypi.python.org/packages/source/e/%{srcname}/%{srcname}-%{version}.zip
-# upstream changeset 1a63deea3424
-Patch0: execnet-debugfilename.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
@@ -36,16 +34,14 @@ Conflicts: python-py < 1.1.0
%description
-The execnet package allows to:
+execnet provides a share-nothing model with channel-send/receive
+communication for distributing execution across many Python
+interpreters across version, platform and network barriers. It has a
+minimal and fast API targetting the following uses:
- * instantiate local/remote Python Interpreters
- * send code for execution to one or many Interpreters
- * send and receive data between codeInterpreters through channels
-
-execnet performs zero-install bootstrapping into other interpreters;
-package installation is only required at the initiating side. execnet
-enables interoperation between CPython 2.4-3.1, Jython 2.5 and PyPy
-1.1 and works well on Windows, Linux and OSX systems.
+ * distribute tasks to (many) local or remote CPUs
+ * write and deploy hybrid multi-process applications
+ * write scripts to administer multiple environments
%if 0%{?with_python3}
@@ -56,22 +52,19 @@ Requires: python3-setuptools
%description -n python3-execnet
-The execnet package allows to:
-
- * instantiate local/remote Python Interpreters
- * send code for execution to one or many Interpreters
- * send and receive data between codeInterpreters through channels
-
-execnet performs zero-install bootstrapping into other interpreters;
-package installation is only required at the initiating side. execnet
-enables interoperation between CPython 2.4-3.1, Jython 2.5 and PyPy
-1.1 and works well on Windows, Linux and OSX systems.
+execnet provides a share-nothing model with channel-send/receive
+communication for distributing execution across many Python
+interpreters across version, platform and network barriers. It has a
+minimal and fast API targetting the following uses:
+
+ * distribute tasks to (many) local or remote CPUs
+ * write and deploy hybrid multi-process applications
+ * write scripts to administer multiple environments
%endif # with_python3
%prep
%setup -q -n %{srcname}-%{version}
-%patch0 -p1
# remove shebangs and fix permissions
find . -type f -a \( -name '*.py' -o -name 'py.*' \) \
@@ -112,8 +105,7 @@ rm doc/_build/html/.buildinfo
PYTHONPATH=$(pwd) py.test-%{python_version} -r s
%if 0%{?with_python3}
pushd %{py3dir}
-# see http://bugs.python.org/issue12591
-PYTHONPATH=$(pwd) py.test-%{python3_version} -r s -k-test_subprocess_interaction
+PYTHONPATH=$(pwd) py.test-%{python3_version} -r s
popd
%endif # with_python3
@@ -139,6 +131,11 @@ rm -rf %{buildroot}
%changelog
+* Fri Jun 22 2012 Thomas Moschny <thomas.moschny@gmx.de> - 1.1-1
+- Update to 1.1.
+- Update description.
+- Remove patch applied upstream.
+
* Tue Jan 17 2012 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.9-3
- Add upstream patch for failing test.
diff --git a/sources b/sources
index 72fa0a1..93176f6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ecd392001c62766c2dbf8adaf2fb7dc5 execnet-1.0.9.zip
+be885ccd9612966bb81839670d2da099 execnet-1.1.zip