fix strictversions

This commit is contained in:
Cayo Puigdefabregas 2023-07-11 16:19:05 +02:00
parent 765858ac1b
commit 415bc65f4b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from distutils.version import StrictVersion
from distutils.version import LooseVersion
from itertools import chain
from decouple import config
@ -59,7 +59,7 @@ class DevicehubConfig(Config):
SCHEMA = config('SCHEMA', 'dbtest')
HOST = config('HOST', 'localhost')
API_HOST = config('API_HOST', 'localhost')
MIN_WORKBENCH = StrictVersion('11.0a1') # type: StrictVersion
MIN_WORKBENCH = LooseVersion('11.0a1')
"""The minimum version of ereuse.org workbench that this devicehub
accepts. we recommend not changing this value.
"""
@ -75,7 +75,7 @@ class DevicehubConfig(Config):
API_DOC_CLASS_DISCRIMINATOR = 'type'
PRICE_SOFTWARE = PriceSoftware.Ereuse
PRICE_VERSION = StrictVersion('1.0')
PRICE_VERSION = LooseVersion('1.0')
PRICE_CURRENCY = Currency.EUR
"""Official versions."""