Limit ShopifyAPI prior to API version 2022-07

The current Fulfillment usage is no more supported.

issue11746
review413611003
This commit is contained in:
Cédric Krier committed 2022-10-10 18:51:28 +02:00
1 parent aaad84a14f
commit 606df6261b
1 file changed
+2 -1
+2 -1
View File
@@ -61,7 +61,8 @@ else:
break
if local_version:
version += '+' + '.'.join(local_version)
requires = ['ShopifyAPI', 'pyactiveresource', 'python-sql', 'python-dateutil']
requires = [
'ShopifyAPI<12.0.0', 'pyactiveresource', 'python-sql', 'python-dateutil']
for dep in info.get('depends', []):
if not re.match(r'(ir|res)(\W|$)', dep):
requires.append(get_require_version('trytond_%s' % dep))