Skip to content

Commit 982d9f7

Browse files
committed
Release 1.2.1
1 parent 96540c0 commit 982d9f7

File tree

4 files changed

+39
-32
lines changed

4 files changed

+39
-32
lines changed

CHANGELOG.rst

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,41 @@
1+
1.2.1 (2025-10-11)
2+
==================
3+
4+
Bug Fixes
5+
---------
6+
7+
- Add extra guard to prevent the states from being exhausted during backjumping. `#195 <https://github.com/sarugaku/resolvelib/issues/195>`_
8+
- Change ``Mapping`` to ``dict`` in resolution ``Result`` type annotations. `#193 <https://github.com/sarugaku/resolvelib/issues/193>`_
9+
110
1.2.0 (2025-06-26)
211
==================
312

413
Significant Changes
514
-------------------
615

716
- Drop support for EOL Python versions 3.7 and 3.8. `#187 <https://github.com/sarugaku/resolvelib/issues/187>`_
8-
17+
918

1019
Features
1120
--------
1221

1322
- Perform optimistic backjumping until reaching a cutoff and then
1423
fallback to regular backjumping. `#188 <https://github.com/sarugaku/resolvelib/issues/188>`_
15-
24+
1625

1726
Bug Fixes
1827
---------
1928

2029
- Include tests in sdist. `#173 <https://github.com/sarugaku/resolvelib/issues/173>`_
21-
30+
2231
- Drop `wheel` from direct build dependencies. `#175 <https://github.com/sarugaku/resolvelib/issues/175>`_
23-
32+
2433
- Display PyPI URL on GH UI when releasing from GHA. `#177 <https://github.com/sarugaku/resolvelib/issues/177>`_
25-
34+
2635
- Configure `setuptools` to produce `py3`-tagged wheels. `#178 <https://github.com/sarugaku/resolvelib/issues/178>`_
27-
36+
2837
- Fix PyPI project page link on README.rst. `#181 <https://github.com/sarugaku/resolvelib/issues/181>`_
29-
38+
3039
1.1.0 (2024-10-31)
3140
==================
3241

@@ -40,57 +49,57 @@ Features
4049
--------
4150

4251
- Declare supported Python version support ">= 3.7" in dist meta `#129 <https://github.com/sarugaku/resolvelib/issues/129>`_
43-
52+
4453
- Improve exception chaining when ResolutionImpossible raises during backjumping `#133 <https://github.com/sarugaku/resolvelib/issues/133>`_
45-
54+
4655
- Switch from pyi files to modern annotations based type hinting `#135 <https://github.com/sarugaku/resolvelib/issues/135>`_
47-
56+
4857
- In tests the commentjson test dependency with re.sub `#141 <https://github.com/sarugaku/resolvelib/issues/141>`_
49-
58+
5059
- Deduplicate failure causes to save memory and reduce backtracking overhead `#143 <https://github.com/sarugaku/resolvelib/issues/143>`_
51-
60+
5261
- New `narrow_requirement_selection` provider method giving option for
5362
providers to reduce the number of times sort key `get_preference` is
5463
called in long running backtrack `#145 <https://github.com/sarugaku/resolvelib/issues/145>`_
55-
64+
5665
- Run tests against Python 3.12, 3.13, and use latest version of CI dependencies `#153 <https://github.com/sarugaku/resolvelib/issues/153>`_
57-
66+
5867
- Update py2ndex script to use metadata files, skip 404, and support PEP 723 `#156 <https://github.com/sarugaku/resolvelib/issues/156>`_
59-
68+
6069
- Replace setuptools.cfg and mypy.ini with pyproject.toml `#157 <https://github.com/sarugaku/resolvelib/issues/157>`_
61-
70+
6271
- Add tests type "unvisited" to functional Python tests to ensure backjumping
6372
is correctly skipping candidates `#158 <https://github.com/sarugaku/resolvelib/issues/158>`_
64-
73+
6574
- Switch from flake8 to ruff for linting `#160 <https://github.com/sarugaku/resolvelib/issues/160>`_
66-
75+
6776
- Enable automatic TYPE_CHECK guarding for imports only used for type hinting
6877
via ruff rules TCH and FA `#166 <https://github.com/sarugaku/resolvelib/issues/166>`_
69-
78+
7079

7180
Bug Fixes
7281
---------
7382

7483
- Fix example reporter_demo `get_preference` method which requires arg `backtrack_causes` `#136 <https://github.com/sarugaku/resolvelib/issues/136>`_
75-
84+
7685
- Clarify the docstrings for `providers.py` `#138 <https://github.com/sarugaku/resolvelib/issues/138>`_
77-
86+
7887
- Pin Black version for linting to prevent CI failures `#150 <https://github.com/sarugaku/resolvelib/issues/150>`_
79-
88+
8089
- In unexpected situation where broken_state.mapping is empty, stop backtracking,
8190
and continue resolution (rather than throwing ResolutionImpossible) `#152 <https://github.com/sarugaku/resolvelib/issues/152>`_
82-
91+
8392
- During backtracking check if the current broken state is an incompatible dependency,
8493
if not stop backtracking and continue resolution. `#155 <https://github.com/sarugaku/resolvelib/issues/155>`_
85-
94+
8695
- Separate AbstractResolver and Resolver into different modules `#162 <https://github.com/sarugaku/resolvelib/issues/162>`_
87-
96+
8897
- Separate resolvers into different modules `#163 <https://github.com/sarugaku/resolvelib/issues/163>`_
89-
98+
9099
- Export criterion in resolvers to keep compatibility `#164 <https://github.com/sarugaku/resolvelib/issues/164>`_
91-
100+
92101
- Enable isorting via ruff `#165 <https://github.com/sarugaku/resolvelib/issues/165>`_
93-
102+
94103
1.0.1 (2023-03-09)
95104
==================
96105

@@ -118,7 +127,7 @@ Features
118127
- A new reporter hook ``rejecting_candidate`` is added, replacing ``backtracking``.
119128
The hook is called every time the resolver rejects a conflicting candidate before
120129
trying out the next one in line. `#101 <https://github.com/sarugaku/resolvelib/issues/101>`_
121-
130+
122131

123132
Bug Fixes
124133
---------

news/193.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/195.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/resolvelib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"__version__",
1212
]
1313

14-
__version__ = "1.2.1.dev0"
14+
__version__ = "1.2.1"
1515

1616

1717
from .providers import AbstractProvider

0 commit comments

Comments
 (0)