Skip to content

Commit

Permalink
allow msgpack 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Sep 14, 2023
1 parent 1ed7f29 commit c2f2caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
]
license = {text="BSD"}
dependencies = [
"msgpack >=1.0.3, <=1.0.5",
"msgpack >=1.0.3, <1.0.7",
"packaging",
"platformdirs >=3.0.0, <4.0.0; sys_platform == 'darwin'", # for macOS: breaking changes in 3.0.0,
"platformdirs >=2.6.0, <4.0.0; sys_platform != 'darwin'", # for others: 2.6+ works consistently.
Expand Down
2 changes: 1 addition & 1 deletion src/borg/helpers/msgpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def is_supported_msgpack():

if msgpack.version in []: # < add bad releases here to deny list
return False
return (1, 0, 3) <= msgpack.version <= (1, 0, 5)
return (1, 0, 3) <= msgpack.version < (1, 0, 7)


def get_limited_unpacker(kind):
Expand Down

0 comments on commit c2f2caa

Please sign in to comment.