Skip to content

Commit

Permalink
Upgrade the versions of some dependencies, including torch and pydicom.
Browse files Browse the repository at this point in the history
Later versions include some security fixes.
  • Loading branch information
jsilter committed Apr 24, 2024
1 parent ca790d7 commit 5cc0ac1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author_email =
license_file = LICENSE.txt
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
version = 1.2.0
version = 1.2.1
# url =
project_urls =
; Documentation = https://.../docs
Expand All @@ -32,22 +32,23 @@ python_requires = >=3.8
# Version specifiers like >=2.2,<3.0 avoid problems due to API changes in
# new major versions. This works if the required packages follow Semantic Versioning.
# For more information, check out https://semver.org/.
# Use --find-links https://download.pytorch.org/whl/cu113/torch_stable.html for torch libraries
# Use --find-links https://download.pytorch.org/whl/cu117/torch_stable.html for torch libraries
install_requires =
importlib-metadata; python_version>="3.8"
numpy==1.24.1
torch==1.11.0+cu113; sys_platform != "darwin"
torch==1.11.0; sys_platform == "darwin"
torchvision==0.12.0+cu113; sys_platform != "darwin"
torchvision==0.12.0; sys_platform == "darwin"
pytorch_lightning==1.5.6
torch==1.13.1+cu117; sys_platform != "darwin"
torch==1.13.1; sys_platform == "darwin"
torchvision==0.14.1+cu117; sys_platform != "darwin"
torchvision==0.14.1; sys_platform == "darwin"
pytorch_lightning==1.6.0
scikit-learn==1.0.2
tqdm==4.62.3
lifelines==0.26.4
opencv-python==4.5.4.60
opencv-python-headless==4.5.4.60
albumentations==1.1.0
pydicom==2.2.2
pillow>=10.2.0
pydicom==2.3.0
torchio==0.18.74
gdown==4.6.0

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ deps =
# flake8
# mypy
# black
install_command = pip install --pre --find-links https://download.pytorch.org/whl/cu113/torch_stable.html {opts} {packages}
install_command = pip install --pre --find-links https://download.pytorch.org/whl/cu117/torch_stable.html {opts} {packages}
commands =
pytest {posargs}
# black {toxinidir}/sybil --check
Expand Down

0 comments on commit 5cc0ac1

Please sign in to comment.