Codebase list python-procrunner / fresh-snapshots/main HISTORY.rst
fresh-snapshots/main

Tree @fresh-snapshots/main (Download .tar.gz)

HISTORY.rst @fresh-snapshots/main

e00f039
d9d67cf
e00f039
7582483
 
 
1774296
 
 
b47ecc7
 
 
 
8d40216
 
238e835
 
e00f039
816697a
 
 
 
 
76cbd98
 
6ca16b7
 
7582483
331ab3b
 
 
 
e6eed6e
126171f
93bc57e
be46388
126171f
3f4864a
 
abb67e6
 
 
 
e1f5d0a
 
 
 
469afdb
e1f5d0a
abb67e6
a1ec2d8
 
8941325
a1ec2d8
 
 
2547860
a1ec2d8
 
 
 
7eac829
 
03753f2
3f715f6
7eac829
03753f2
4f20796
 
 
 
fbc4ce4
 
 
 
e11c446
 
 
 
 
f401be9
17bf3f1
 
d6213fe
 
17bf3f1
5258eb5
 
 
 
39e58d2
 
 
 
 
 
f74bbb2
 
 
 
cb35e07
 
 
 
 
72fa7b3
 
 
 
a6dcecf
 
 
 
79d5885
 
 
 
 
 
 
 
 
107e74d
 
 
 
1bbdb60
 
 
 
 
73fa71e
 
 
 
9296d07
 
e40c851
 
 
 
df68a3b
e40c851
f4c0d78
 
 
 
e40c851
 
cb70ecf
bba18dc
cb70ecf
 
 
 
 
e00f039
 
 
History
==================

3.0.0 (2022-01-??)
------------------
* Drop Python 3.6 support
* The run() function now returns a subprocess.CompletedProcess object,
  which no longer allows array access operations
  (those were deprecated in `#60 <https://github.com/DiamondLightSource/python-procrunner/pull/60>`_)
* The run() argument 'raise_timeout_exception' is now set by default,
  a 'False' value will lead to a UserWarning and a behavioural change.
  The argument is now deprecated and will be removed in a future version.
  (previously introduced in `#61 <https://github.com/DiamondLightSource/python-procrunner/pull/61>`_)
* Calling the run() function with multiple unnamed arguments is no longer supported
  (previously deprecated in `#62 <https://github.com/DiamondLightSource/python-procrunner/pull/62>`_)
* The run() function no longer accepts a 'debug' argument
  (previously deprecated in `#63 <https://github.com/DiamondLightSource/python-procrunner/pull/63>`_)

2.3.3 (2022-03-23)
------------------
* Allow specifying 'preexec_fn' and 'creationflags' keywords, which will be passed through to
  the subprocess call

2.3.2 (2022-01-28)
------------------
* The run() function now understands stdin=subprocess.DEVNULL to close the subprocess stdin,
  rather than to connect through the existing stdin, which is the current default

2.3.1 (2021-10-25)
------------------
* Add Python 3.10 support

2.3.0 (2020-10-29)
------------------
* Add Python 3.9 support, drop Python 3.5 support
* Fix a file descriptor leak on subprocess execution

2.2.0 (2020-09-07)
------------------
* Calling the run() function with unnamed arguments (other than the command
  list as the first argument) is now deprecated. As a number of arguments
  will be removed in a future version the use of unnamed arguments will
  cause future confusion. `Use explicit keyword arguments instead (#62). <https://github.com/DiamondLightSource/python-procrunner/pull/62>`_
* `The run() function debug argument has been deprecated (#63). <https://github.com/DiamondLightSource/python-procrunner/pull/63>`_
  This is only used to debug the NonBlockingStream* classes. Those are due
  to be replaced in a future release, so the argument will no longer serve
  a purpose. Debugging information remains available via standard logging
  mechanisms.
* Final version supporting Python 3.5

2.1.0 (2020-09-05)
------------------
* `Deprecated array access on the return object (#60). <https://github.com/DiamondLightSource/python-procrunner/pull/60>`_
  The return object will become a subprocess.CompletedProcess in a future
  release, which no longer allows array-based access. For a translation table
  of array elements to attributes please see the pull request linked above.
* Add a `new parameter 'raise_timeout_exception' (#61). <https://github.com/DiamondLightSource/python-procrunner/pull/61>`_
  When set to 'True' a subprocess.TimeoutExpired exception is raised when the
  process runtime exceeds the timeout threshold. This defaults to 'False' and
  will be set to 'True' in a future release.

2.0.0 (2020-06-24)
------------------
* Python 3.5+ only, support for Python 2.7 has been dropped
* Deprecated function alias run_process() has been removed
* Fixed a stability issue on Windows

1.1.0 (2019-11-04)
------------------
* Add Python 3.8 support, drop Python 3.4 support

1.0.2 (2019-05-20)
------------------
* Stop environment override variables leaking into the process environment

1.0.1 (2019-04-16)
------------------
* Minor fixes on the return object (implement equality,
  mark as unhashable)

1.0.0 (2019-03-25)
------------------
* Support file system path objects (PEP-519) in arguments
* Change the return object to make it similar to
  subprocess.CompletedProcess, introduced with Python 3.5+

0.9.1 (2019-02-22)
------------------
* Have deprecation warnings point to correct code locations

0.9.0 (2018-12-07)
------------------
* Trap UnicodeEncodeError when printing output. Offending characters
  are replaced and a warning is logged once. Hints at incorrectly set
  PYTHONIOENCODING.

0.8.1 (2018-12-04)
------------------
* Fix a few deprecation warnings

0.8.0 (2018-10-09)
------------------
* Add parameter working_directory to set the working directory
  of the subprocess

0.7.2 (2018-10-05)
------------------
* Officially support Python 3.7

0.7.1 (2018-09-03)
------------------
* Accept environment variable overriding with numeric values.

0.7.0 (2018-05-13)
------------------
* Unicode fixes. Fix crash on invalid UTF-8 input.
* Clarify that stdout/stderr values are returned as bytestrings.
* Callbacks receive the data decoded as UTF-8 unicode strings
  with unknown characters replaced by \ufffd (unicode replacement
  character). Same applies to printing of output.
* Mark stdin broken on Windows.

0.6.1 (2018-05-02)
------------------
* Maintenance release to add some tests for executable resolution.

0.6.0 (2018-05-02)
------------------
* Fix Win32 API executable resolution for commands containing a dot ('.') in
  addition to a file extension (say '.bat').

0.5.1 (2018-04-27)
------------------
* Fix Win32API dependency installation on Windows.

0.5.0 (2018-04-26)
------------------
* New keyword 'win32resolve' which only takes effect on Windows and is enabled
  by default. This causes procrunner to call the Win32 API FindExecutable()
  function to try and lookup non-.exe files with the corresponding name. This
  means .bat/.cmd/etc.. files can now be run without explicitly specifying
  their extension. Only supported on Python 2.7 and 3.5+.

0.4.0 (2018-04-23)
------------------
* Python 2.7 support on Windows. Python3 not yet supported on Windows.

0.3.0 (2018-04-17)
------------------
* run_process() renamed to run()
* Python3 compatibility fixes

0.2.0 (2018-03-12)
------------------
* Procrunner is now Python3 3.3-3.6 compatible.

0.1.0 (2018-03-12)
------------------
* First release on PyPI.