File: Changelog.rst

package info (click to toggle)
python-procset 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 532 kB
  • sloc: python: 2,607; makefile: 22
file content (223 lines) | stat: -rw-r--r-- 6,384 bytes parent folder | download
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
=========
Changelog
=========

All notable changes to this project will be documented in this file.

The format follows the recommendations of
`Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_, and adapts the
markup language to use reStructuredText.

This projects adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.


Unreleased_
===========


1.0_ -- 2019-02-20
==================

Added
-----

- ``ProcSet.iter_slice``, a constant memory iterator with slice semantic


1.0rc1_ -- 2019-02-14
=====================

Added
-----

- Changelog
- support of slices for ``ProcSet.__getitem__``


Changed
-------

- documentation is managed with sphinx, and published on Read the Docs



1.0rc0_ -- 2019-02-07
=====================

Added
-----

- [issue #3, MR !2] full support of set operations for ``ProcSet``:
    - *operand methods* (``|``, ``&``, ``-``, ``^``, ``|=``, ``&=``, ``-=``,
      ``^=``) support set operation (immutable and in-place) with ``ProcSet``
      objects only
    - *plain-text methods* (``.union(…)``, ``.intersection(…)``,
      ``.difference(…)``, ``.symmetric_difference(…)``, ``.update(…)``,
      ``.intersection_update(…)``, ``.difference_update(…)``,
      ``.symmetric_difference_update(…)``) support set operations (both
      immutable and in-place) with any list of arguments that is a valid list
      of arguments for ``ProcSet`` initialization.
      ``.symmetric_difference(…)`` and ``.symmetric_difference_update(…)``
      support a single argument only.

- full support of set comparison methods for ``ProcSet``:
    - *operand methods* (``<=``, ``<``, ``>=``, ``>``) support comparisons with
      ``ProcSet`` objects only
    - *plain-text methods* (``.isdisjoint(…)``, ``.issubset(…)``,
      ``.issuperset(…)``) support comparison with any list of arguments that is
      a valid list of arguments for ``ProcSet`` initialization

- support of index-based access with integers for ``ProcSet`` (e.g., ``self[a]``),
  slice objects (e.g., ``self[a:b:c]``) are not supported yet

- in-place emptying of a ``ProcSet`` (``.clear()``)

- ``.discard(…)`` as an alias for ``.difference_update(…)``


Changed
-------

- cleaned public imports of modules ``procset`` and ``intsetwrap``
- ``ProcInt`` supports construction without specifying ``sup``:
  ``ProcInt(0)`` is the same as ``ProcInt(inf=0, sup=0)``
- ``ProcSet`` supports ``ProcSet`` objects for its initialization
- ``ProcSet.isdisjoint(…)`` is more permissive with the ``other`` argument,
  see the description of added features
- ``ProcSet.insert(…)`` is now an alias for ``.update(…)``: it is more
  permissive with its arguments, see the description of added features


0.4_ -- 2018-02-15
==================

Added
-----

- implement ``.isdisjoint(…)`` for ``ProcSet``


0.3_ -- 2018-02-05
==================

Changed
-------

- ``ProcSet``:
    - [issue #7] rename ``.add(…)`` into ``.insert(…)``
    - optimize performances of ``.__deepcopy__(…)``


0.2_ -- 2018-01-31
==================

Added
-----

- [issue #2] support shallow and deep copy for both ``ProcInt`` and ``ProcSet``
  (see ``copy.copy`` and ``copy.deepcopy``)
- [issue #6] support ``repr`` for ``ProcSet``


0.1.dev5_ -- 2017-09-13
=======================

Fixed
-----

- fix license metadata of package
- [issue #5] packaging of ``intsetwrap`` module


0.1.dev4_ -- 2017-09-11
=======================

Convenience release, nothing to report.


0.1.dev3_ -- 2017-09-11
=======================

Changed
-------

- the project is now licensed under LGPLv3


0.1.dev2_ -- 2017-09-06
=======================

Added
-----

- [issue #4] basic support of in-place set-like operations for ``ProcSet``:
  ``|=``, ``&=``, ``-=``, ``^=``


Fixed
-----

- ``.iscontiguous()`` now returns ``True`` for an empty ``ProcSet``


0.1.dev1_ -- 2017-03-28
=======================

Added
-----

- ``ProcSet``:
    - membership testing (a.k.a., ``in``)
    - iteration over the processors, in decreasing order (a.k.a. ``reversed(…)``)
    - ``.min``, ``.max``, attributes for fast access to the extremal
      processors
    - ``.intervals()``, a method to iterate over the contiguous ranges of a
      ``ProcSet``


0.1.dev0 -- 2017-03-22
======================

Added
-----

- ``ProcInt``, a compact representation of a contiguous processor interval

- ``ProcSet``, a compact representation of processor intervals:
    - parsing from (``.from_str(…)``) / dumping to (``str(…)``) a string
      representation (e.g., ``'0-3 8-15'``)
    - equality testing (``==``)
    - contiguity testing (``.iscontiguous()``)
    - number of processors (``len(…)``)
    - number of contiguous ranges (``.count()``)
    - iteration over the processors in increasing order (a.k.a. ``iter(…)``)
    - convex hull (``.aggregate()``)
    - in-place insertion of processors (``.add(…)``)
    - basic support of immutable set-like operations (returning the resulting
      ``ProcSet`` as a new object): ``|``, ``&``, ``-``, ``^``


Deprecated
----------

- ``intsetwrap`` provides a drop-in replacement module for
  ``interval_set``: it is guaranteed to stay until the first minor release of
  the stable API (i.e., for ``procset<=1.0``)


.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..

.. links to git diffs: https://{gitlab-project-url}/compare/{previous-tag}...{current-tag}

.. _Unreleased: https://gitlab.inria.fr/bleuse/procset.py/compare/v1.0...master
.. _1.0: https://gitlab.inria.fr/bleuse/procset.py/compare/v1.0rc1...v1.0
.. _1.0rc1: https://gitlab.inria.fr/bleuse/procset.py/compare/v1.0rc0...v1.0rc1
.. _1.0rc0: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.4...v1.0rc0
.. _0.4: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.3...v0.4
.. _0.3: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.2...v0.3
.. _0.2: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev5...v0.2
.. _0.1.dev5: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev4...v0.1.dev5
.. _0.1.dev4: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev3...v0.1.dev4
.. _0.1.dev3: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev2...v0.1.dev3
.. _0.1.dev2: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev1...v0.1.dev2
.. _0.1.dev1: https://gitlab.inria.fr/bleuse/procset.py/compare/v0.1.dev0...v0.1.dev1