Skip to content

Commit

Permalink
Remove unnecessary lower bound on version that confuses bumpversion
Browse files Browse the repository at this point in the history
Versions before 0.4.1 won't have this code, so still won't emit this warning
  • Loading branch information
JelleAalbers committed Feb 13, 2023
1 parent d7af2a9 commit 0151a89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wimprates/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
__version__ = '0.4.1'

from packaging import version
if version.parse('0.4.1') < version.parse(__version__) < version.parse('0.6.0'):
# Remove this warning at some point
if version.parse(__version__) < version.parse('0.6.0'):
import warnings
warnings.warn(
'Default WIMP parameters are changed in accordance with '
Expand Down

0 comments on commit 0151a89

Please sign in to comment.