Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.0b1 #169

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
1.1.0b1 (2024-10-01)
====================

Features
--------

- Declare supported Python version support ">= 3.7" in dist meta `#129 <https://github.com/sarugaku/resolvelib/issues/129>`_

- Improve exception chaining when ResolutionImpossible raises during backjumping `#133 <https://github.com/sarugaku/resolvelib/issues/133>`_

- Switch from pyi files to modern annotations based type hinting `#135 <https://github.com/sarugaku/resolvelib/issues/135>`_

- In tests the commentjson test dependency with re.sub `#141 <https://github.com/sarugaku/resolvelib/issues/141>`_

- Deduplicate failure causes to save memory and reduce backtracking overhead `#143 <https://github.com/sarugaku/resolvelib/issues/143>`_

- New `narrow_requirement_selection` provider method giving option for
providers to reduce the number of times sort key `get_preference` is
called in long running backtrack `#145 <https://github.com/sarugaku/resolvelib/issues/145>`_

- Run tests against Python 3.12, 3.13, and use latest version of CI dependencies `#153 <https://github.com/sarugaku/resolvelib/issues/153>`_

- Update py2ndex script to use metadata files, skip 404, and support PEP 723 `#156 <https://github.com/sarugaku/resolvelib/issues/156>`_

- Replace setuptools.cfg and mypy.ini with pyproject.toml `#157 <https://github.com/sarugaku/resolvelib/issues/157>`_

- Add tests type "unvisited" to functional Python tests to ensure backjumping
is correctly skipping candidates `#158 <https://github.com/sarugaku/resolvelib/issues/158>`_

- Switch from flake8 to ruff for linting `#160 <https://github.com/sarugaku/resolvelib/issues/160>`_

- Enable automatic TYPE_CHECK guarding for imports only used for type hinting
via ruff rules TCH and FA `#166 <https://github.com/sarugaku/resolvelib/issues/166>`_


Bug Fixes
---------

- Fix example reporter_demo `get_preference` method which requires arg `backtrack_causes` `#136 <https://github.com/sarugaku/resolvelib/issues/136>`_

- Clarify the docstrings for `providers.py` `#138 <https://github.com/sarugaku/resolvelib/issues/138>`_

- Pin Black version for linting to prevent CI failures `#150 <https://github.com/sarugaku/resolvelib/issues/150>`_

- In unexpected situation where broken_state.mapping is empty, stop backtracking,
and continue resolution (rather than throwing ResolutionImpossible) `#152 <https://github.com/sarugaku/resolvelib/issues/152>`_

- During backtracking check if the current broken state is an incompatible dependency,
if not stop backtracking and continue resolution. `#155 <https://github.com/sarugaku/resolvelib/issues/155>`_

- Separate AbstractResolver and Resolver into different modules `#162 <https://github.com/sarugaku/resolvelib/issues/162>`_

- Separate resolvers into different modules `#163 <https://github.com/sarugaku/resolvelib/issues/163>`_

- Export criterion in resolvers to keep compatibility `#164 <https://github.com/sarugaku/resolvelib/issues/164>`_

- Enable isorting via ruff `#165 <https://github.com/sarugaku/resolvelib/issues/165>`_

1.0.1 (2023-03-09)
==================

Expand Down
1 change: 0 additions & 1 deletion news/129.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/133.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/135.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/136.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/138.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/141.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/143.feature

This file was deleted.

3 changes: 0 additions & 3 deletions news/145.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/150.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions news/152.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/153.feature

This file was deleted.

2 changes: 0 additions & 2 deletions news/155.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/156.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/157.feature

This file was deleted.

2 changes: 0 additions & 2 deletions news/158.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/160.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/162.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/163.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/164.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/165.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions news/166.feature

This file was deleted.

2 changes: 1 addition & 1 deletion src/resolvelib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ResolutionTooDeep",
]

__version__ = "1.0.2.dev0"
__version__ = "1.1.0b1"


from .providers import AbstractProvider
Expand Down
Loading