Skip to content

Commit ab196b8

Browse files
Exclude Faker version 37.11.0 to fix tests on python 3.9 (#2720)
Co-authored-by: Andrew Montanez <[email protected]>
1 parent ae6e1c0 commit ab196b8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
'copulas>=0.12.1',
3939
'ctgan>=0.11.0',
4040
'deepecho>=0.7.0',
41-
'rdt>=1.17.0',
41+
'rdt>=1.18.2',
4242
'sdmetrics>=0.21.0',
4343
'platformdirs>=4.0',
4444
'pyyaml>=6.0.1',

tasks.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
from packaging.version import Version
1414

1515
COMPARISONS = {'>=': operator.ge, '>': operator.gt, '<': operator.lt, '<=': operator.le}
16-
16+
EXTERNAL_DEPENDENCY_CAPS = {
17+
'torch': '2.9.0'
18+
}
1719

1820
if not hasattr(inspect, 'getargspec'):
1921
inspect.getargspec = inspect.getfullargspec
@@ -86,6 +88,8 @@ def install_minimum(c):
8688
if minimum_versions:
8789
install_deps = ' '.join(minimum_versions)
8890
c.run(f'python -m pip install {install_deps}')
91+
for dep, cap in EXTERNAL_DEPENDENCY_CAPS.items():
92+
c.run(f'python -m pip install "{dep}<{cap}"')
8993

9094

9195
@task

0 commit comments

Comments
 (0)