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 notes for 8.12.0 #583

Merged
merged 3 commits into from Nov 24, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/versions.rst
Expand Up @@ -5,6 +5,13 @@ Version History
.. automodule:: more_itertools
:noindex:

8.12.0
------

* Bug fixes
* Some documentation issues were fixed (thanks to Masynchin, spookylukey, astrojuanlu, and stephengmatthews)
* Python 3.5 support was temporarily restored (thanks to mattbonnell)

8.11.0
------

Expand Down
4 changes: 2 additions & 2 deletions more_itertools/more.py
Expand Up @@ -643,13 +643,13 @@ def strictly_n(iterable, n, too_short=None, too_long=None):
if too_short is None:
too_short = lambda item_count: raise_(
ValueError,
f'Too few items in iterable (got {item_count})',
'Too few items in iterable (got {})'.format(item_count),
)

if too_long is None:
too_long = lambda item_count: raise_(
ValueError,
f'Too many items in iterable (got at least {item_count})',
'Too many items in iterable (got at least {})'.format(item_count),
)

it = iter(iterable)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -35,7 +35,7 @@ def get_long_description():
license='MIT',
packages=['more_itertools'],
package_data={'more_itertools': ['py.typed', '*.pyi']},
python_requires='>=3.6',
python_requires='>=3.5',
url='https://github.com/more-itertools/more-itertools',
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down