Skip to content

Commit

Permalink
removed explicit version checks of dependencies such as serpent
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Feb 10, 2020
1 parent b580800 commit cff82fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Pyro5/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import contextlib
try:
import msgpack
if msgpack.version < (0, 5, 2):
raise RuntimeError("requires msgpack 0.5.2 or better")
except ImportError:
msgpack = None
from . import errors
Expand All @@ -31,15 +29,6 @@
log = logging.getLogger("Pyro5.serializers")


if '-' in serpent.__version__:
ver = serpent.__version__.split('-', 1)[0]
else:
ver = serpent.__version__
ver = tuple(map(int, ver.split(".")))
if ver < (1, 27):
raise RuntimeError("requires serpent 1.27 or better")


all_exceptions = {}
for name, t in vars(builtins).items():
if type(t) is type and issubclass(t, BaseException):
Expand Down
2 changes: 2 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Change Log
**Pyro 5.8**

- cython compatibility fix
- removed explicit version checks of dependencies such as serpent.
This fixes crash error when dealing with prerelease versions that didn't match the pattern.


**Pyro 5.7**
Expand Down

0 comments on commit cff82fe

Please sign in to comment.