summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2016-06-06 13:32:52 -0700
committerJeff Quast <contact@jeffquast.com>2016-06-06 13:32:52 -0700
commit38ed591f830d575ac83640549820ce43c15ccb88 (patch)
tree8028aa21e9d07a8af2a1d644477e2636712ed925
parentd2664ffe568d9bbea007397d42519acdb256cfe7 (diff)
downloadpexpect-38ed591f830d575ac83640549820ce43c15ccb88.tar.gz
Prepare for 4.2.0 release for spawn_env_path change
-rw-r--r--doc/conf.py4
-rw-r--r--doc/history.rst9
-rw-r--r--pexpect/__init__.py2
3 files changed, 12 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 992c286..f3de534 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -52,9 +52,9 @@ copyright = u'2013, Noah Spurrier and contributors'
# built documents.
#
# The short X.Y version.
-version = '4.1'
+version = '4.2'
# The full version, including alpha/beta/rc tags.
-release = '4.1.0'
+release = '4.2.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/doc/history.rst b/doc/history.rst
index f43afb7..1b3b4ab 100644
--- a/doc/history.rst
+++ b/doc/history.rst
@@ -4,6 +4,15 @@ History
Releases
--------
+Version 4.2
+```````````
+
+* Change: When an ``env`` parameter is specified to the :class:`~.spawn` or
+ :class:`~.run` family of calls containing a value for ``PATH``, its value is
+ used to discover the target executable from a relative path, rather than the
+ current process's environment ``PATH``. This mirrors the behavior of
+ :func:`subprocess.Popen` in the standard library.
+
Version 4.0
```````````
diff --git a/pexpect/__init__.py b/pexpect/__init__.py
index c737663..045fe36 100644
--- a/pexpect/__init__.py
+++ b/pexpect/__init__.py
@@ -75,7 +75,7 @@ if sys.platform != 'win32':
from .pty_spawn import spawn, spawnu
from .run import run, runu
-__version__ = '4.1.0'
+__version__ = '4.2.0'
__revision__ = ''
__all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'spawnu', 'run', 'runu',
'which', 'split_command_line', '__version__', '__revision__']