From d896664fdbef1cfac4eba9418a884c5f6ed055d5 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sat, 2 Oct 2021 20:34:07 -0700 Subject: [PATCH] Lock packages python dependencies to their current major version - This may help reproduce test failures seen on Github locally - Interfaces shouldn't break within bounds of minor version updates of dependent packages, assuming their following semantic versioning --- environment.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/environment.yml b/environment.yml index 67535adc..e0691da8 100644 --- a/environment.yml +++ b/environment.yml @@ -3,13 +3,13 @@ channels: - conda-forge dependencies: - python=3.* - - numpy=1.21.* - - pytorch - - transformers - - sentence-transformers - - fastapi - - uvicorn - - pyyaml - - pytest - - pillow - - torchvision \ No newline at end of file + - numpy=1.* + - pytorch=1.* + - transformers=4.* + - sentence-transformers=2.0.0 + - fastapi=0.* + - uvicorn=0.* + - pyyaml=5.* + - pytest=6.* + - pillow=8.* + - torchvision=0.* \ No newline at end of file