22History
33=======
44
5- 2.2 .0 (????-??-??)
5+ 2.3 .0 (????-??-??)
66------------------
7-
87* Python 3.6+ only, support for Python 3.5 has been dropped
98
9+ 2.2.0 (2020-09-07)
10+ ------------------
11+ * Calling the run() function with unnamed arguments (other than the command
12+ list as the first argument) is now deprecated. As a number of arguments
13+ will be removed in a future version the use of unnamed arguments will
14+ cause future confusion. `Use explicit keyword arguments instead (#62). <https://github.com/DiamondLightSource/python-procrunner/pull/62 >`_
15+ * `The run() function debug argument has been deprecated (#63). <https://github.com/DiamondLightSource/python-procrunner/pull/63 >`_
16+ This is only used to debug the NonBlockingStream* classes. Those are due
17+ to be replaced in a future release, so the argument will no longer serve
18+ a purpose. Debugging information remains available via standard logging
19+ mechanisms.
20+ * Final version supporting Python 3.5
21+
10222.1.0 (2020-09-05)
1123------------------
12-
1324* `Deprecated array access on the return object (#60). <https://github.com/DiamondLightSource/python-procrunner/pull/60 >`_
1425 The return object will become a subprocess.CompletedProcess in a future
1526 release, which no longer allows array-based access. For a translation table
1627 of array elements to attributes please see the pull request linked above.
17- * Add a `new parameter 'raise_timeout_exceptions ' (#61). <https://github.com/DiamondLightSource/python-procrunner/pull/61 >`_
28+ * Add a `new parameter 'raise_timeout_exception ' (#61). <https://github.com/DiamondLightSource/python-procrunner/pull/61 >`_
1829 When set to 'True' a subprocess.TimeoutExpired exception is raised when the
1930 process runtime exceeds the timeout threshold. This defaults to 'False' and
2031 will be set to 'True' in a future release.
21- * Final version supporting Python 3.5
2232
23332.0.0 (2020-06-24)
2434------------------
25-
2635* Python 3.5+ only, support for Python 2.7 has been dropped
2736* Deprecated function alias run_process() has been removed
2837* Fixed a stability issue on Windows
2938
30391.1.0 (2019-11-04)
3140------------------
32-
3341* Add Python 3.8 support, drop Python 3.4 support
3442
35431.0.2 (2019-05-20)
3644------------------
37-
3845* Stop environment override variables leaking into the process environment
3946
40471.0.1 (2019-04-16)
4148------------------
42-
4349* Minor fixes on the return object (implement equality,
4450 mark as unhashable)
4551
46521.0.0 (2019-03-25)
4753------------------
48-
4954* Support file system path objects (PEP-519) in arguments
5055* Change the return object to make it similar to
5156 subprocess.CompletedProcess, introduced with Python 3.5+
5257
53580.9.1 (2019-02-22)
5459------------------
55-
5660* Have deprecation warnings point to correct code locations
5761
58620.9.0 (2018-12-07)
5963------------------
60-
6164* Trap UnicodeEncodeError when printing output. Offending characters
6265 are replaced and a warning is logged once. Hints at incorrectly set
6366 PYTHONIOENCODING.
6467
65680.8.1 (2018-12-04)
6669------------------
67-
6870* Fix a few deprecation warnings
6971
70720.8.0 (2018-10-09)
7173------------------
72-
7374* Add parameter working_directory to set the working directory
7475 of the subprocess
7576
76770.7.2 (2018-10-05)
7778------------------
78-
7979* Officially support Python 3.7
8080
81810.7.1 (2018-09-03)
8282------------------
83-
8483* Accept environment variable overriding with numeric values.
8584
86850.7.0 (2018-05-13)
8786------------------
88-
8987* Unicode fixes. Fix crash on invalid UTF-8 input.
9088* Clarify that stdout/stderr values are returned as bytestrings.
9189* Callbacks receive the data decoded as UTF-8 unicode strings
@@ -95,23 +93,19 @@ History
9593
96940.6.1 (2018-05-02)
9795------------------
98-
9996* Maintenance release to add some tests for executable resolution.
10097
101980.6.0 (2018-05-02)
10299------------------
103-
104100* Fix Win32 API executable resolution for commands containing a dot ('.') in
105101 addition to a file extension (say '.bat').
106102
1071030.5.1 (2018-04-27)
108104------------------
109-
110105* Fix Win32API dependency installation on Windows.
111106
1121070.5.0 (2018-04-26)
113108------------------
114-
115109* New keyword 'win32resolve' which only takes effect on Windows and is enabled
116110 by default. This causes procrunner to call the Win32 API FindExecutable()
117111 function to try and lookup non-.exe files with the corresponding name. This
@@ -120,21 +114,17 @@ History
120114
1211150.4.0 (2018-04-23)
122116------------------
123-
124117* Python 2.7 support on Windows. Python3 not yet supported on Windows.
125118
1261190.3.0 (2018-04-17)
127120------------------
128-
129121* run_process() renamed to run()
130122* Python3 compatibility fixes
131123
1321240.2.0 (2018-03-12)
133125------------------
134-
135126* Procrunner is now Python3 3.3-3.6 compatible.
136127
1371280.1.0 (2018-03-12)
138129------------------
139-
140130* First release on PyPI.
0 commit comments