File: CHANGELOG.rst

package info (click to toggle)
python-pytest-shell-utilities 1.9.7-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 604 kB
  • sloc: python: 2,996; makefile: 19
file content (297 lines) | stat: -rw-r--r-- 8,978 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
.. _changelog:

=========
Changelog
=========

Versions follow `Semantic Versioning <https://semver.org>`_ (`<major>.<minor>.<patch>`).

Backward incompatible (breaking) changes will only be introduced in major versions with advance notice in the
**Deprecations** section of releases.

.. towncrier-draft-entries::

.. towncrier release notes start

shell-utilities 1.9.0 (2024-02-23)
==================================

Breaking Changes
----------------

- Drop support for Python older than 3.8 and Pytest older than 7.4.x (`#43 <https://github.com/saltstack/pytest-shell-utilities/issues/43>`_)


Bug Fixes
---------

- The printed output is now the result of `json.dumps` instead of `pprint.pformat` (`#42 <https://github.com/saltstack/pytest-shell-utilities/issues/42>`_)


Trivial/Internal Changes
------------------------

- Several minor changes to the code base:

  * Update copyright headers
  * Update pre-commit hook versions (`#43 <https://github.com/saltstack/pytest-shell-utilities/issues/43>`_)


shell-utilities 1.8.0 (2023-07-02)
==================================

Breaking Changes
----------------

- Drop support for python versions older than 3.7 (`#38 <https://github.com/saltstack/pytest-shell-utilities/issues/38>`_)


Improvements
------------

- Support Python 3.11 (`#40 <https://github.com/saltstack/pytest-shell-utilities/issues/40>`_)


Bug Fixes
---------

- Set minimal attrs version to 22.1.0 (`#28 <https://github.com/saltstack/pytest-shell-utilities/issues/28>`_)


Trivial/Internal Changes
------------------------

- Update the GitHub actions versions and stop using `::set-output` (`#38 <https://github.com/saltstack/pytest-shell-utilities/issues/38>`_)
- Several project internal changes

  * Start running tests against Py3.11 and Pytest `7.3.x` and `7.4.x`
  * Update copyright headers
  * Upgrade to `coverage==7.2.7`
  * Switch to `codecov/codecov-action` (`#39 <https://github.com/saltstack/pytest-shell-utilities/issues/39>`_)


shell-utilities 1.7.0 (2022-09-23)
==================================

Bug Fixes
---------

- ``Subprocess.run()`` now accepts ``shell`` keyword argument like ``subprocess.Popen``. (`#32 <https://github.com/saltstack/pytest-shell-utilities/issues/32>`_)
- The `Subprocess.run()` method can now override the `cwd` (`#33 <https://github.com/saltstack/pytest-shell-utilities/issues/33>`_)


Trivial/Internal Changes
------------------------

- Update pre-commit hook versions (`#34 <https://github.com/saltstack/pytest-shell-utilities/issues/34>`_)


shell-utilities 1.6.0 (2022-07-28)
==================================

Improvements
------------

- The ``shell`` fixture is now ``session`` scoped (`#29 <https://github.com/saltstack/pytest-shell-utilities/issues/29>`_)


shell-utilities 1.5.0 (2022-06-02)
==================================

Improvements
------------

- The minimum python for the code base is now 3.7(we still provide support to Py3.5 and Py3.6 by providing a downgraded source, transparent to the user), and the project is now 100% typed, including the test suite. (`#26 <https://github.com/saltstack/pytest-shell-utilities/issues/26>`_)


Improved Documentation
----------------------

- Improve and switch to google style docstrings (`#24 <https://github.com/saltstack/pytest-shell-utilities/issues/24>`_)


shell-utilities 1.4.0 (2022-05-26)
==================================

Improvements
------------

- ``Daemon.started()`` is now a context manager (`#22 <https://github.com/saltstack/pytest-shell-utilities/issues/22>`_)


shell-utilities 1.3.0 (2022-05-26)
==================================

Improvements
------------

- Support user provided callable functions to confirm that the daemon is up and running (`#20 <https://github.com/saltstack/pytest-shell-utilities/issues/20>`_)


shell-utilities 1.2.1 (2022-05-23)
==================================

Bug Fixes
---------

- Account for ``ProcessLookupError`` when terminating the underlying process. (`#18 <https://github.com/saltstack/pytest-shell-utilities/issues/18>`_)


shell-utilities 1.2.0 (2022-05-20)
==================================

Improvements
------------

- Revert `"Skip test when the GLIBC race conditions are met, instead of failing." <https://github.com/saltstack/pytest-shell-utilities/commit/f79aba3c5c0c7e4bdd895ae422d2f35ed22ea2e6>`_

  It wasn't the right fix/workaround. The right fix can be seen in `the Salt repo <https://github.com/saltstack/salt/pull/62078>`_ (`#16 <https://github.com/saltstack/pytest-shell-utilities/issues/16>`_)


Trivial/Internal Changes
------------------------

- Remove the redundant `wheel` dependency from pyproject.toml.

  The setuptools backend takes care of adding it automatically
  via `setuptools.build_meta.get_requires_for_build_wheel()` since day
  one.  The documentation has historically been wrong about listing it,
  and it has been fixed since.

  See https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a (`#15 <https://github.com/saltstack/pytest-shell-utilities/issues/15>`_)


shell-utilities 1.1.0 (2022-05-16)
==================================

Improvements
------------

- Skip test when the GLIBC race conditions are met, instead of failing (`#13 <https://github.com/saltstack/pytest-shell-utilities/issues/13>`_)


Trivial/Internal Changes
------------------------

- Update pre-commit hooks and test against PyTest 7.0.x and 7.1.x. (`#13 <https://github.com/saltstack/pytest-shell-utilities/issues/13>`_)


shell-utilities 1.0.5 (2022-02-21)
==================================

Bug Fixes
---------

- Fix deprecation message telling to use the wrong property. (`#12 <https://github.com/saltstack/pytest-shell-utilities/issues/12>`_)


shell-utilities 1.0.4 (2022-02-17)
==================================

Improvements
------------

- State from which library the ``DeprecationWarning`` is coming from. (`#9 <https://github.com/saltstack/pytest-shell-utilities/issues/9>`_)


Bug Fixes
---------

- Handle ``None`` values for ``.stdout`` and ``.stderr`` on ``ProcessResult.__str__()`` (`#8 <https://github.com/saltstack/pytest-shell-utilities/issues/8>`_)


shell-utilities 1.0.3 (2022-02-16)
==================================

Bug Fixes
---------

- Fixed issue with ``sdist`` recompression for reproducible packages not iterating though subdirectories contents. (`#7 <https://github.com/saltstack/pytest-shell-utilities/issues/7>`_)


shell-utilities 1.0.2 (2022-02-05)
==================================

Bug Fixes
---------

- Set lower required python to `3.5.2` and avoid issues with `flake8-typing-imports`. (`#6 <https://github.com/saltstack/pytest-shell-utilities/issues/6>`_)


shell-utilities 1.0.1 (2022-01-25)
==================================

Bug Fixes
---------

- Stop casting ``None`` to a string for ``ProcessResult.std{out,err}`` (`#4 <https://github.com/saltstack/pytest-shell-utilities/issues/4>`_)


shell-utilities 1.0.0 (2022-01-25)
==================================

No significant changes.


shell-utilities 1.0.0rc7 (2022-01-25)
=====================================

Trivial/Internal Changes
------------------------

- Improvements before final RC

  * Add ``ProcessResult.std{out,err}.matcher`` example
  * Also generate reproducible packages when uploading a release to pypi
  * The ``twine-check`` nox target now call's the ``build`` target (`#3 <https://github.com/saltstack/pytest-shell-utilities/issues/3>`_)


shell-utilities 1.0.0rc6 (2022-01-24)
=====================================

No significant changes.


shell-utilities 1.0.0rc5 (2022-01-24)
=====================================

Trivial/Internal Changes
------------------------

- Provide a way to create reproducible distribution packages.

  * Stop customizing the ``towncrier`` template. (`#1 <https://github.com/saltstack/pytest-shell-utilities/issues/1>`_)


shell-utilities 1.0.0rc4 (2022-01-23)
=====================================

* ``ProcessResult.stdout`` and ``ProcessResult.stderr`` are now instances of
  ``pytestshellutils.utils.processes.MatchString`` which provides a ``.matcher``
  attribute that returns an instance of ``pytest.LineMatcher``.


shell-utilities 1.0.0rc3 (2022-01-21)
=====================================

* ``cwd`` and ``environ`` are now defined on ``BaseFactory``
* Add ``py.typed`` to state that the package is fully typed
* Fix the ``stacklevel`` value to point to the actual caller of the ``warn_until`` function.
* Fix the deprecated ``ProcessResult.json`` property.


shell-utilities 1.0.0rc2 (2022-01-21)
=====================================

* When passed a string, cast it to ``pathlib.Path`` before calling ``.resolve()``
* Extract ``BaseFactory`` from ``Factory``. It's required on `pytest-salt-factories`_ container
  implementation.


shell-utilities 1.0.0rc1 (2022-01-21)
=====================================

Pre-release of the first working version of the pytest plugin.


.. _pytest-salt-factories: https://github.com/saltstack/pytest-salt-factories