Skip to content

Commit c48731b

Browse files
committed
Fix requirements.txt max versions
1 parent 963797c commit c48731b

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

CONTRIBUTING.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ Now, here's how to set up `entity-embed` for local development.
8080
$ pytest
8181
$ tox
8282

83-
To get flake8 and tox, just pip install them into your virtualenv.
84-
8583
8. Commit your changes and push your branch to GitHub::
8684

8785
$ git add .

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ https://entity-embed.readthedocs.io
3434

3535
- **Python**: >= 3.6
3636
- **[Numpy](https://numpy.org/)**: >= 1.19.0
37-
- **[PyTorch](https://pytorch.org/)**: >= 1.7.1
38-
- **[PyTorch Lightning](https://pytorch-lightning.readthedocs.io/en/latest/)**: >= 1.1.6
39-
- **[N2](https://github.com/kakao/n2/)**: >= 0.1.7
37+
- **[PyTorch](https://pytorch.org/)**: >= 1.7.1, < 1.9
38+
- **[PyTorch Lightning](https://pytorch-lightning.readthedocs.io/en/latest/)**: >= 1.1.6, < 1.3
39+
- **[N2](https://github.com/kakao/n2/)**: >= 0.1.7, < 1.2
4040

4141
And others, see [requirements.txt](/requirements.txt).
4242

requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
click==7.1.2
2-
more-itertools>=8.6.0
3-
n2>=0.1.7
1+
click==7.1.2,<8.0
2+
more-itertools>=8.6.0,<9.0
3+
n2>=0.1.7,<1.2
44
numpy>=1.19.0
55
ordered-set>=4.0.2
6-
pytorch_lightning>=1.1.6
7-
pytorch-metric-learning>=0.9.98
6+
pytorch_lightning>=1.1.6,<1.3
7+
pytorch-metric-learning>=0.9.98,<1.0
88
regex>=2020.11.13
9-
torch>=1.7.1
10-
torchtext>=0.8.1
9+
torch>=1.7.1,<1.9
10+
torchtext>=0.8,<0.10
11+
torchvision>=0.8.2<0.10
1112
tqdm>=4.53.0

0 commit comments

Comments
 (0)