File python-py.changes of Package python-py
431
1
-------------------------------------------------------------------
2
Tue Jan 17 05:13:56 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
3
4
- Remove all traces of py._path.svn{url,wc}. (bsc#1204364, CVE-2022-42969)
5
- Add patch remove-svn-remants.patch to help with that goal.
6
- Refresh pr_222.patch as needed for above.
7
8
-------------------------------------------------------------------
9
Mon Mar 14 10:53:30 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
10
11
- Update in SLE-15 (bsc#1195916, bsc#1196696, jsc#PM-3356, jsc#SLE-23972)
12
- Drop CVE-2020-29651.patch, issue fixed upstream in 1.10.0
13
14
-------------------------------------------------------------------
15
Mon May 3 11:44:11 UTC 2021 - Markéta Machová <mmachova@suse.com>
16
17
- CVE-2020-29651.patch (bsc#1179805, CVE-2020-29651, bsc#1184505)
18
* python-py: regular expression denial of service in svnwc.py
19
20
-------------------------------------------------------------------
21
Fri Feb 19 15:21:06 UTC 2021 - Ben Greiner <code@bnavigator.de>
22
23
- Update to 1.10.0
24
* Fix a regular expression DoS vulnerability in the py.path.svnwc
25
SVN blame functionality (CVE-2020-29651)
26
27
-------------------------------------------------------------------
28
Sat Oct 17 11:43:32 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
29
30
- Devendor apipkg and iniconfig
31
- Add pr_222.patch to activate test suite
32
33
-------------------------------------------------------------------
34
Mon Jun 29 08:51:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
35
36
- Update to 1.9.0
37
* Add type annotation stubs
38
39
-------------------------------------------------------------------
40
Mon Jan 6 12:53:25 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
41
42
- Update to 1.8.1:
43
- Handle ``FileNotFoundError`` when trying to import pathlib in
44
``path.common`` on Python 3.4 (#207).
45
- ``py.path.local.samefile`` now works correctly in Python 3 on
46
Windows when dealing with symlinks.
47
48
-------------------------------------------------------------------
49
Wed Jun 19 10:08:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
50
51
- Switch to multibuild to avoid cycle bsc#1138666
52
53
-------------------------------------------------------------------
54
Wed Feb 27 13:48:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
55
56
- Update to 1.8.0:
57
* add ``"importlib"`` pyimport mode for python3.5+, allowing unimportable test suites
58
to contain identically named modules.
59
* fix ``LocalPath.as_cwd()`` not calling ``os.chdir()`` with ``None``, when
60
being invoked from a non-existing directory.
61
- Drop merged patch separators.patch
62
63
-------------------------------------------------------------------
64
Fri Feb 15 11:19:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
65
66
- Make tests never fail as they are borked on pytest-4 with
67
most probably no intention of being ever fixed
68
69
-------------------------------------------------------------------
70
Fri Feb 15 11:01:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
71
72
- Make tests really pass on pytest 3.x series
73
- Add patch to operate better with serparators (from upstream git):
74
* separators.patch
75
76
-------------------------------------------------------------------
77
Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
78
79
- Drop the doc subpackage, no need for it really
80
- Make sure the tests are realy executed
81
82
-------------------------------------------------------------------
83
Fri Oct 26 13:07:32 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
84
85
- update to 1.7.0
86
* use ``shutil.get_terminal_size()`` in Python 3.3+ to determine the size of the
87
terminal, which produces more accurate results than the previous method.
88
* introduce new ``PY_IGNORE_IMPORTMISMATCH`` environment variable
89
that suppresses ``ImportMismatchError`` exceptions when set to ``1``.
90
* add ``TerminalWriter.width_of_current_line`` (i18n version of
91
``TerminalWriter.chars_on_current_line``), a read-only property
92
that tracks how wide the current line is, attempting to take
93
into account international characters in the calculation.
94
95
-------------------------------------------------------------------
96
Thu Aug 2 12:39:13 UTC 2018 - mimi.vx@gmail.com
97
98
- update to 1.5.4
99
* don't make assumptions about fs case sensitivity in ``make_numbered_dir``.
100
101
-------------------------------------------------------------------
102
Thu May 31 04:37:00 UTC 2018 - toddrme2178@gmail.com
103
104
- update to version 1.5.3
105
* - fix #179: ensure we can support 'from py.error import ...'
106
107
-------------------------------------------------------------------
108
Sun Nov 19 05:51:49 UTC 2017 - arun@gmx.de
109
110
- specfile:
111
* updated url
112
113
- update to version 1.5.2:
114
* fix #169, #170: error importing py.log on Windows: no module named
115
"syslog".
116
117
- changes from version 1.5.1:
118
* fix #167 - prevent pip from installing py in unsupported Python
119
versions.
120
121
-------------------------------------------------------------------
122
Wed Nov 15 07:06:05 UTC 2017 - arun@gmx.de
123
124
- update to version 1.5.0:
125
* python 2.6 and 3.3 are no longer supported
126
* deprecate py.std and remove all internal uses
127
* fix #73 turn py.error into an actual module
128
* path join to / no longer produces leading double slashes
129
* fix #82 - remove unsupportable aliases
130
* fix python37 compatibility of path.sysfind on windows by correctly
131
replacing vars
132
* turn iniconfig and apipkg into vendored packages and ease
133
de-vendoring for distributions
134
* fix #68 remove invalid py.test.ensuretemp references
135
* fix #25 - deprecate path.listdir(sort=callable)
136
* add TerminalWriter.chars_on_current_line read-only property that
137
tracks how many characters have been written to the current line.
138
139
-------------------------------------------------------------------
140
Fri Jun 30 06:02:11 UTC 2017 - aloisio@gmx.com
141
142
- Update to 1.4.34
143
* fix issue119 / pytest issue708 where tmpdir may fail to make
144
numbered directories when the filesystem is case-insensitive.
145
1.4.33:
146
* avoid imports in calls to py.path.local().fnmatch(). Thanks
147
Andreas Pelme for the PR.
148
* fix issue106: Naive unicode encoding when calling fspath() in
149
python2. Thanks Tiago Nobrega for the PR.
150
* fix issue110: unittest.TestCase.assertWarns fails with py
151
imported.
152
153
-------------------------------------------------------------------
154
Thu Feb 23 14:56:48 UTC 2017 - jmatejek@suse.com
155
156
- update to 1.4.32
157
- fix issue70: added ability to copy all stat info in py.path.local.copy.
158
- make TerminalWriter.fullwidth a property. This results in the correct
159
value when the terminal gets resized.
160
- update supported html tags to include recent additions.
161
Thanks Denis Afonso for the PR.
162
- Remove internal code in ``Source.compile`` meant to support earlier Python 3 versions that produced the side effect
163
of leaving ``None`` in ``sys.modules`` when called (see pytest-dev/pytest#2103).
164
Thanks Bruno Oliveira for the PR.
165
166
-------------------------------------------------------------------
167
Wed Oct 5 14:47:53 UTC 2016 - jmatejek@suse.com
168
169
- update for singlespec
170
171
-------------------------------------------------------------------
172
Sat Sep 3 18:33:49 UTC 2016 - p.drouand@gmail.com
173
174
- Update download Url
175
176
-------------------------------------------------------------------
177
Sat Jul 23 13:23:33 UTC 2016 - michael@stroeder.com
178
179
- corrected homepage URL
180
- HTTPS URL for pypi source link
181
- update to version 1.4.31
182
* fix local().copy(dest, mode=True) to also work with unicode.
183
* pass better error message with svn EEXIST paths
184
185
-------------------------------------------------------------------
186
Thu Jul 2 10:01:08 UTC 2015 - aj@ajaissle.de
187
188
- update to version 1.4.30:
189
* fix issue68 an assert with a multiline list comprehension was not
190
reported correctly. Thanks Henrik Heibuerger.
191
192
- changes from version 1.4.29:
193
* fix issue55: revert a change to the statement finding algorithm
194
which is used by pytest for generating tracebacks. Thanks Daniel
195
Hahler for initial analysis.
196
* fix pytest issue254 for when traceback rendering can’t find valid
197
source code. Thanks Ionel Cristian Maries.
198
199
-------------------------------------------------------------------
200
Tue Jun 30 13:45:03 UTC 2015 - aj@ajaissle.de
201
202
- Split documentation into separate package to avoid build loop
203
204
-------------------------------------------------------------------
205
Mon Jun 22 15:13:02 UTC 2015 - tbechtold@suse.com
206
207
- update to 1.4.28:
208
- fix issue64 -- dirpath regression when "abs=True" is passed.
209
- fix issue59: point to new repo site
210
- allow a new ensuresyspath="append" mode for py.path.local.pyimport()
211
so that a neccessary import path is appended instead of prepended to
212
sys.path
213
- strike undocumented, untested argument to py.path.local.pypkgpath
214
- speed up py.path.local.dirpath by a factor of 10
215
216
-------------------------------------------------------------------
217
Wed Feb 4 14:25:30 UTC 2015 - tbechtold@suse.com
218
219
- update to version 1.4.26:
220
- avoid calling normpath twice in py.path.local
221
- py.builtin._reraise properly reraises under Python3 now.
222
- fix issue53 - remove module index, thanks jenisys.
223
- allow posix path separators when "fnmatch" is called.
224
Thanks Christian Long for the complete PR.
225
226
-------------------------------------------------------------------
227
Sat Sep 27 17:35:17 UTC 2014 - dmueller@suse.com
228
229
- update to 1.4.25:
230
- fix issue52: vaguely fix py25 compat of py.path.local (it's not
231
officially supported), also fix docs
232
- fix pytest issue 589: when checking if we have a recursion error
233
check for the specific "maximum recursion depth" text of the exception.
234
- update to 1.4.24:
235
- Fix retrieving source when an else: line has an other statement on
236
the same line.
237
- add localpath read_text/write_text/read_bytes/write_bytes methods
238
as shortcuts and clearer bytes/text interfaces for read/write.
239
Adapted from a PR from Paul Moore.
240
- update to 1.4.23:
241
- use newer apipkg version which makes attribute access on
242
alias modules resolve to None rather than an ImportError.
243
This helps with code that uses inspect.getframeinfo()
244
on py34 which causes a complete walk on sys.modules
245
thus triggering the alias module to resolve and blowing
246
up with ImportError. The negative side is that something
247
like "py.test.X" will now result in None instead of "importerror: pytest"
248
if pytest is not installed. But you shouldn't import "py.test"
249
anyway anymore.
250
- adapt one svn test to only check for any exception instead
251
of specific ones because different svn versions cause different
252
errors and we don't care.
253
254
-------------------------------------------------------------------
255
Wed Jul 30 07:50:37 UTC 2014 - toddrme2178@gmail.com
256
257
- Update to 1.4.22
258
- refactor class-level registry on ForkedFunc child start/finish
259
event to become instance based (i.e. passed into the constructor)
260
- Update to 1.4.21
261
- ForkedFunc now has class-level register_on_start/on_exit()
262
methods to allow adding information in the boxed process.
263
Thanks Marc Schlaich.
264
- ForkedFunc in the child opens in "auto-flush" mode for
265
stdout/stderr so that when a subprocess dies you can see
266
its output even if it didn't flush itself.
267
- refactor traceback generation in light of pytest issue 364
268
(shortening tracebacks). you can now set a new traceback style
269
on a per-entry basis such that a caller can force entries to be
270
isplayed as short or long entries.
271
- win32: py.path.local.sysfind(name) will preferrably return files with
272
extensions so that if "X" and "X.bat" or "X.exe" is on the PATH,
273
one of the latter two will be returned.
274
275
-------------------------------------------------------------------
276
Tue May 6 11:39:52 UTC 2014 - osynge@suse.com
277
278
- Removed unnessisary dependency on python-setuptools especially as this
279
causes a conflict with SLE11sp3
280
281
-------------------------------------------------------------------
282
Wed Mar 12 16:08:39 UTC 2014 - speilicke@suse.com
283
284
- Update to version 1.4.20:
285
+ ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff.
286
+ on python2 modify traceback.format_exception_only to match python3
287
behaviour, namely trying to print unicode for Exception instances
288
+ use a safer way for serializing exception reports (helps to fix
289
pytest issue413)
290
- Drop %check section, we never ran tests. That would need python-pytest
291
and introduce a cycle
292
293
-------------------------------------------------------------------
294
Fri Jan 3 08:30:42 UTC 2014 - mvyskocil@suse.com
295
296
- update to 1.4.19:
297
- merge in apipkg fixes
298
- some micro-optimizations in py/_code/code.py for speeding
299
up pytest runs. Thanks Alex Gaynor for initiative.
300
- check PY_COLORS=1 or PY_COLORS=0 to force coloring/not-coloring
301
for py.io.TerminalWriter() independently from capabilities
302
of the output file. Thanks Marc Abramowitz for the PR.
303
- some fixes to unicode handling in assertion handling.
304
Thanks for the PR to Floris Bruynooghe. (This helps
305
to fix pytest issue 319).
306
- depend on setuptools presence, remove distribute_setup
307
308
-------------------------------------------------------------------
309
Sun Dec 8 21:10:33 UTC 2013 - p.drouand@gmail.com
310
311
- Update to version 1.4.18
312
+ introduce path.ensure_dir() as a synonym for ensure(..., dir=1)
313
+ some unicode/python3 related fixes wrt to path manipulations
314
(if you start passing unicode particular in py2 you might
315
still get problems, though)
316
- Changes from 1.4.17
317
+ make py.io.TerminalWriter() prefer colorama if it is available
318
and avoid empty lines when separator-lines are printed by
319
being defensive and reducing the working terminalwidth by 1
320
+ introduce optional "expanduser" argument to py.path.local
321
to that local("~", expanduser=True) gives the home
322
directory of "user".
323
- Changes from 1.4.16
324
+ fix issue35 - define __gt__ ordering between a local path
325
and strings
326
+ fix issue36 - make chdir() work even if os.getcwd() fails.
327
+ add path.exists/isdir/isfile/islink shortcuts
328
+ introduce local path.as_cwd() context manager.
329
+ introduce p.write(ensure=1) and p.open(ensure=1)
330
where ensure triggers creation of neccessary parent dirs.
331
332
-------------------------------------------------------------------
333
Thu Oct 24 11:10:27 UTC 2013 - speilicke@suse.com
334
335
- Require python-setuptools instead of distribute (upstreams merged)
336
337
-------------------------------------------------------------------
338
Tue Jun 25 11:45:11 UTC 2013 - dmueller@suse.com
339
340
- update to 1.4.15:
341
- majorly speed up some common calling patterns with
342
LocalPath.listdir()/join/check/stat functions considerably.
343
- fix an edge case with fnmatch where a glob style pattern appeared
344
in an absolute path.
345
346
-------------------------------------------------------------------
347
Mon May 27 14:08:03 UTC 2013 - dmueller@suse.com
348
349
- update to 1.4.14:
350
- fix dupfile to work with files that don't carry a mode.
351
- fix getting statementrange/compiling a file ending
352
in a comment line without newline (on python2.5)
353
- for local paths you can pass "mode=True" to a copy()
354
in order to copy permission bits (underlying mechanism
355
is using shutil.copymode)
356
- add paths arguments to py.path.local.sysfind to restrict
357
search to the diretories in the path.
358
- add isdir/isfile/islink to path.stat() objects allowing to perform
359
multiple checks without calling out multiple times
360
- drop py.path.local.__new__ in favour of a simpler __init__
361
- iniconfig: allow "name:value" settings in config files, no space after
362
"name" required
363
- fix issue 27 - NameError in unlikely untested case of saferepr
364
365
-------------------------------------------------------------------
366
Sat Jan 12 16:41:46 UTC 2013 - p.drouand@gmail.com
367
368
- Initial python3 support
369
370
-------------------------------------------------------------------
371
Sat Jan 12 16:40:43 UTC 2013 - p.drouand@gmail.com
372
373
- Update to 1.4.12 version:
374
* fix python2.4 support - for pre-AST interpreters re-introduce
375
old way to find statements in exceptions (closes pytest issue 209)
376
* add tox.ini to distribution
377
* fix issue23 - print *,** args information in tracebacks,
378
thanks Manuel Jacob
379
380
-------------------------------------------------------------------
381
Fri Jun 22 13:34:17 UTC 2012 - saschpe@suse.de
382
383
- Update to version 1.4.9:
384
+ fix bug of path.visit() which would not recognize glob-style patterns
385
for the "rec" recursion argument
386
+ changed iniconfig parsing to better conform, now the chars ";"
387
and "#" only mark a comment at the stripped start of a line
388
+ include recent apipkg-1.2
389
+ change internal terminalwriter.line/reline logic to more nicely
390
support file spinners
391
- Changes from version 1.4.8:
392
+ fix issue 13 - correct handling of the tag name object in xmlgen
393
+ fix issue 14 - support raw attribute values in xmlgen
394
+ fix windows terminalwriter printing/re-line problem
395
+ update distribute_setup.py to 0.6.27
396
397
-------------------------------------------------------------------
398
Mon Feb 20 22:04:23 UTC 2012 - saschpe@gmx.de
399
400
- Update to version 1.4.7:
401
* fix issue11 - own test failure with python3.3 / Thanks Benjamin Peterson
402
* help fix pytest issue 102
403
- Changes from version 1.4.6:
404
* help to fix pytest issue99: unify output of
405
ExceptionInfo.getrepr(style="native") with ...(style="long")
406
* fix issue7: source.getstatementrange() now raises proper error
407
if no valid statement can be found
408
* fix issue8: fix code and tests of svnurl/svnwc to work on subversion 1.7 -
409
note that path.status(updates=1) will not properly work svn-17's status
410
--xml output is broken.
411
* make source.getstatementrange() more resilent about non-python code frames
412
(as seen from jnja2)
413
* make trackeback recursion detection more resilent
414
about the eval magic of a decorator library
415
* iniconfig: add support for ; as comment starter
416
* properly handle lists in xmlgen on python3
417
* normalize py.code.getfslineno(obj) to always return a (string, int) tuple
418
defaulting to ("", -1) respectively if no source code can be found for obj.
419
- Changes from version 1.4.5:
420
* improve some unicode handling in terminalwriter and capturing
421
- Spec file cleanup:
422
* BuildRequire python-distribute instead of setuptools
423
* Simplified macro usage
424
* Removed outdated %clean section
425
426
-------------------------------------------------------------------
427
Thu Jul 14 08:48:35 UTC 2011 - saschpe@suse.de
428
429
- Initial version
430
431