You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR where I'm trying to get it to pass by upgrading ipfshttpclient -> 0.6.1 gitcoinco/web#7561
version = [0, 7, 0], minimum = [0, 4, 22], maximum = [0, 7, 0], blacklist = []
def assert_version(version, minimum=VERSION_MINIMUM, maximum=VERSION_MAXIMUM, blacklist=VERSION_BLACKLIST):
"""Make sure that the given daemon version is supported by this client
version.
Raises
------
~ipfshttpclient.exceptions.VersionMismatch
Parameters
----------
version : str
The actual version of an IPFS daemon
minimum : str
The minimal IPFS daemon version to allowed
maximum : str
The maximum IPFS daemon version to allowed
"""
# Convert version strings to integer tuples
version = list(map(int, version.split('-', 1)[0].split('.')))
minimum = list(map(int, minimum.split('-', 1)[0].split('.')))
maximum = list(map(int, maximum.split('-', 1)[0].split('.')))
if minimum > version or version >= maximum:
> raise exceptions.VersionMismatch(version, minimum, maximum)
E ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.7.0' (not in range: 0.4.22 ≤ … < 0.7.0)
The text was updated successfully, but these errors were encountered:
Since the current release version of the IPFS daemon is 0.7.0 and VERSION_MAXIMUM uses a < operator, there is a version mismatch error (see bugs ipfs-shipyard#239 and ipfs-shipyard#240 ). Simplest fix is bumping max to 0.7.1
Description
ipfshttpclient==0.6.0
image: ipfs/go-ipfs:v0.6.0
CI link: https://travis-ci.org/github/gitcoinco/web/builds/731291982
PR where I'm trying to get it to pass by upgrading ipfshttpclient -> 0.6.1
gitcoinco/web#7561
The text was updated successfully, but these errors were encountered: