Skip to content

Commit

Permalink
BLD: Bump the minimum nano-utils verion
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Beek committed Sep 1, 2022
1 parent cbf2c8b commit 32535e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions assertionlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
"""AssertionLib."""

import os
import sys
from nanoutils import VersionInfo

from .__version__ import __version__
from .__version__ import __version__ as __version__
if sys.version_info >= (3, 7):
version_info = VersionInfo.from_str(__version__)
else:
version_info = VersionInfo._make(int(i) for i in __version__.split(".") if i.isnumeric())

from .ndrepr import NDRepr, aNDRepr
from .manager import assertion, AssertionManager
Expand All @@ -14,7 +19,7 @@
__doc__ = load_readme(_README, encoding='utf-8')
version_info = VersionInfo.from_str(__version__)

del _README, load_readme, os, VersionInfo
del _README, load_readme, os, sys, VersionInfo

__author__ = "B. F. van Beek"
__email__ = 'b.f.van.beek@vu.nl'
Expand Down
2 changes: 1 addition & 1 deletion assertionlib/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The AssertionLib version."""

__version__ = '3.2.2'
__version__ = '3.2.2.dev0'
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
],
python_requires='>=3.6',
install_requires=[
'Nano-Utils>=0.4.1; python_version<"3.9"',
'Nano-Utils>=1.1.2; python_version>="3.9"',
'Nano-Utils>=0.4.1; python_version=="3.6"',
'Nano-Utils>=2.3.1; python_version>="3.7"',
],
setup_requires=['pytest-runner'] + docs_require,
tests_require=tests_require,
Expand Down

0 comments on commit 32535e5

Please sign in to comment.