Debian Codegraph @

testing/web-platform/tests/tools/third_party/pathlib2/CHANGELOG.rst

raw
1 History
2 -------
3
4 Version 2.3.5
5 ^^^^^^^^^^^^^
6
7 - Fall back to ascii when getfilesystemencoding returns None (see
8 issue #59).
9
10 Version 2.3.4
11 ^^^^^^^^^^^^^
12
13 - Do not raise windows error when calling resolve on a non-existing
14 path in Python 2.7, to match behaviour on Python 3.x (see issue #54).
15
16 - Use the new collections.abc when possible (see issue #53).
17
18 - Sync with upstream pathlib (see issues #47 and #51).
19
20 Version 2.3.3
21 ^^^^^^^^^^^^^
22
23 - Bring back old deprecated dependency syntax to ensure compatibility
24 with older systems (see issue #46).
25
26 - Drop Python 3.3 support, as scandir no longer supports it.
27
28 - Add Python 3.7 support.
29
30 Version 2.3.2
31 ^^^^^^^^^^^^^
32
33 - Hotfix for broken setup.py.
34
35 Version 2.3.1
36 ^^^^^^^^^^^^^
37
38 - Fix tests for systems where filesystem encoding only supports ascii
39 (reported by yurivict, fixed with help of honnibal, see issue #30).
40
41 - Use modern setuptools syntax for specifying conditional scandir
42 dependency (see issue #31).
43
44 - Remove legacy use of support module from old pathlib module (see
45 issue #39). This fixes the tests for Python 3.6.
46
47 - Drop the "from __future__ import unicode_literals" and -Qnew tests
48 as it introduced subtle bugs in the tests, and maintaining separate
49 test modules for these legacy features seems not worth the effort.
50
51 - Drop Python 3.2 support, as scandir no longer supports it.
52
53 Version 2.3.0
54 ^^^^^^^^^^^^^
55
56 - Sync with upstream pathlib from CPython 3.6.1 (7d1017d).
57
58 Version 2.2.1
59 ^^^^^^^^^^^^^
60
61 - Fix conditional scandir dependency in wheel (reported by AvdN, see
62 issue #20 and pull request #21).
63
64 Version 2.2.0
65 ^^^^^^^^^^^^^
66
67 - Sync with upstream pathlib from CPython 3.5.2 and 3.6.0: fix various
68 exceptions, empty glob pattern, scandir, __fspath__.
69
70 - Support unicode strings to be used to construct paths in Python 2
71 (reported by native-api, see issue #13 and pull request #15).
72
73 Version 2.1.0
74 ^^^^^^^^^^^^^
75
76 - Sync with upstream pathlib from CPython 3.5.0: gethomedir, home,
77 expanduser.
78
79 Version 2.0.1
80 ^^^^^^^^^^^^^
81
82 - Fix TypeError exceptions in write_bytes and write_text (contributed
83 by Emanuele Gaifas, see pull request #2).
84
85 Version 2.0
86 ^^^^^^^^^^^
87
88 - Sync with upstream pathlib from CPython: read_text, write_text,
89 read_bytes, write_bytes, __enter__, __exit__, samefile.
90 - Use travis and appveyor for continuous integration.
91 - Fixed some bugs in test code.
92
93 Version 1.0.1
94 ^^^^^^^^^^^^^
95
96 - Pull request #4: Python 2.6 compatibility by eevee.
97
98 Version 1.0
99 ^^^^^^^^^^^
100
101 This version brings ``pathlib`` up to date with the official Python 3.4
102 release, and also fixes a couple of 2.7-specific issues.
103
104 - Python issue #20765: Add missing documentation for PurePath.with_name()
105 and PurePath.with_suffix().
106 - Fix test_mkdir_parents when the working directory has additional bits
107 set (such as the setgid or sticky bits).
108 - Python issue #20111: pathlib.Path.with_suffix() now sanity checks the
109 given suffix.
110 - Python issue #19918: Fix PurePath.relative_to() under Windows.
111 - Python issue #19921: When Path.mkdir() is called with parents=True, any
112 missing parent is created with the default permissions, ignoring the mode
113 argument (mimicking the POSIX "mkdir -p" command).
114 - Python issue #19887: Improve the Path.resolve() algorithm to support
115 certain symlink chains.
116 - Make pathlib usable under Python 2.7 with unicode pathnames (only pure
117 ASCII, though).
118 - Issue #21: fix TypeError under Python 2.7 when using new division.
119 - Add tox support for easier testing.
120
121 Version 0.97
122 ^^^^^^^^^^^^
123
124 This version brings ``pathlib`` up to date with the final API specified
125 in :pep:`428`. The changes are too long to list here, it is recommended
126 to read the `documentation <https://pathlib.readthedocs.org/>`_.
127
128 .. warning::
129 The API in this version is partially incompatible with pathlib 0.8 and
130 earlier. Be sure to check your code for possible breakage!
131
132 Version 0.8
133 ^^^^^^^^^^^
134
135 - Add PurePath.name and PurePath.anchor.
136 - Add Path.owner and Path.group.
137 - Add Path.replace().
138 - Add Path.as_uri().
139 - Issue #10: when creating a file with Path.open(), don't set the executable
140 bit.
141 - Issue #11: fix comparisons with non-Path objects.
142
143 Version 0.7
144 ^^^^^^^^^^^
145
146 - Add '**' (recursive) patterns to Path.glob().
147 - Fix openat() support after the API refactoring in Python 3.3 beta1.
148 - Add a *target_is_directory* argument to Path.symlink_to()
149
150 Version 0.6
151 ^^^^^^^^^^^
152
153 - Add Path.is_file() and Path.is_symlink()
154 - Add Path.glob() and Path.rglob()
155 - Add PurePath.match()
156
157 Version 0.5
158 ^^^^^^^^^^^
159
160 - Add Path.mkdir().
161 - Add Python 2.7 compatibility by Michele Lacchia.
162 - Make parent() raise ValueError when the level is greater than the path
163 length.