Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
'copulas>=0.12.1',
'ctgan>=0.11.0',
'deepecho>=0.7.0',
'rdt>=1.17.0',
'rdt>=1.18.2',
'sdmetrics>=0.21.0',
'platformdirs>=4.0',
'pyyaml>=6.0.1',
Expand Down
6 changes: 5 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
from packaging.version import Version

COMPARISONS = {'>=': operator.ge, '>': operator.gt, '<': operator.lt, '<=': operator.le}

EXTERNAL_DEPENDENCY_CAPS = {
'torch': '2.9.0'
}

if not hasattr(inspect, 'getargspec'):
inspect.getargspec = inspect.getfullargspec
Expand Down Expand Up @@ -86,6 +88,8 @@ def install_minimum(c):
if minimum_versions:
install_deps = ' '.join(minimum_versions)
c.run(f'python -m pip install {install_deps}')
for dep, cap in EXTERNAL_DEPENDENCY_CAPS.items():
c.run(f'python -m pip install "{dep}<{cap}"')


@task
Expand Down
Loading