Skip to content

Commit 6335bb5

Browse files
committed
Updated dependencies and version bump
1 parent a65a8f9 commit 6335bb5

File tree

5 files changed

+15
-20
lines changed

5 files changed

+15
-20
lines changed

conda_env.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ channels:
77
dependencies:
88
- python=3.8
99
- pytorch>=1.9
10-
- pytorch-lightning>=1.5
11-
- torchmetrics>=0.7
12-
- pyg>=2.0
10+
- pytorch-lightning>=1.5,<1.8
11+
- torchmetrics>=0.7,<0.11
12+
- pyg>=2.0.3
1313
- pip
1414
- pip:
1515
- .
1616
- einops
1717
- hydra-core
1818
- numpy
1919
- omegaconf
20-
- pandas
20+
- pandas>=1.4,<1.5
2121
- scikit-learn
2222
- scipy
2323
- tables
24-
- test-tube
2524
- tqdm

requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ einops
22
hydra-core
33
numpy
44
omegaconf
5-
pandas
6-
pytorch_lightning>=1.5
5+
pandas>=1.4,<1.5
6+
pytorch_lightning>=1.5,<1.9
77
PyYAML
88
scikit_learn
99
scipy
1010
tables
11-
test_tube
12-
torchmetrics>=0.7
11+
torchmetrics>=0.7,<0.11
1312
tqdm

setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import find_packages, setup
22

3-
__version__ = '0.1.1'
3+
__version__ = '0.9.0'
44
URL = 'https://github.com/TorchSpatiotemporal/tsl'
55

66
with open("README.md", "r") as fh:
@@ -9,14 +9,13 @@
99
install_requires = [
1010
'einops',
1111
'numpy',
12-
'pandas',
13-
'pytorch_lightning>=1.5',
12+
'pandas>=1.4,<1.5',
13+
'pytorch_lightning>=1.5,<1.9',
1414
'PyYAML',
1515
'scikit_learn',
1616
'scipy',
1717
'tables',
18-
'test_tube',
19-
'torchmetrics>=0.7',
18+
'torchmetrics>=0.7,<0.11',
2019
'tqdm',
2120
]
2221

@@ -32,7 +31,7 @@
3231

3332
full_install_requires = plot_requires + experiment_requires + [
3433
'holidays',
35-
'neptune-client>=0.14',
34+
'neptune-client>=0.14,<0.17',
3635
'pytorch_fast_transformers'
3736
]
3837

tsl/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
data = LazyLoader('data', globals(), 'tsl.data')
66
datasets = LazyLoader('datasets', globals(), 'tsl.datasets')
77
nn = LazyLoader('nn', globals(), 'tsl.nn')
8-
inference = LazyLoader('inference', globals(), 'tsl.inference')
8+
engines = LazyLoader('engines', globals(), 'tsl.engines')
99

10-
__version__ = '0.1.1'
10+
__version__ = '0.9.0'
1111

1212
epsilon = 5e-8
1313
config = Config()
@@ -20,5 +20,5 @@
2020
'data',
2121
'datasets',
2222
'nn',
23-
'inference'
23+
'engines'
2424
]

tsl/utils/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from .experiment import TslExperiment
21
from .io import (extract_zip,
32
extract_tar,
43
download_url,
@@ -10,4 +9,3 @@
109
files_exist,
1110
precision_stoi,
1211
remove_files)
13-
from .parser_utils import ArgParser

0 commit comments

Comments
 (0)