Skip to content

Commit

Permalink
Merge pull request #583 from more-itertools/version-8.12.0
Browse files Browse the repository at this point in the history
Release notes for 8.12.0
  • Loading branch information
bbayles committed Nov 24, 2021
2 parents 1ea4324 + 0f7c5c0 commit 2526ee8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
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

0 comments on commit 2526ee8

Please sign in to comment.