Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove upper bounds from dependencies #1480

Merged
merged 2 commits into from
Jul 20, 2023
Merged
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
86 changes: 43 additions & 43 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
# setuptools 61+ required for pyproject.toml support
"setuptools>=61,<69",
"setuptools>=61",
]
build-backend = "setuptools.build_meta"

Expand All @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
name = "torchgeo"
description = "TorchGeo: datasets, samplers, transforms, and pre-trained models for geospatial data"
readme = "README.md"
requires-python = ">=3.9,<4"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [
{name = "Adam J. Stewart", email = "ajstewart426@gmail.com"},
Expand All @@ -37,75 +37,75 @@ classifiers = [
]
dependencies = [
# einops 0.3+ required for einops.repeat
"einops>=0.3,<0.7",
"einops>=0.3",
# fiona 1.8.19+ required to fix erroneous warning
# https://github.com/Toblerity/Fiona/issues/986
"fiona>=1.8.19,<2",
"fiona>=1.8.19",
# kornia 0.6.9+ required for kornia.augmentation.RandomBrightness
"kornia>=0.6.9,<0.7",
"kornia>=0.6.9",
# lightly 1.4.4+ required for MoCo v3 support
"lightly>=1.4.4",
# lightning 1.8+ is first release
"lightning>=1.8,<3",
"lightning>=1.8",
# matplotlib 3.3.3+ required for Python 3.9 wheels
"matplotlib>=3.3.3,<4",
"matplotlib>=3.3.3",
# numpy 1.19.3+ required by Python 3.9 wheels
"numpy>=1.19.3,<2",
"numpy>=1.19.3",
# pillow 8+ required for Python 3.9 wheels
"pillow>=8,<11",
"pillow>=8",
# pyproj 3+ required for Python 3.9 wheels
"pyproj>=3,<4",
"pyproj>=3",
# rasterio 1.2+ required for Python 3.9 wheels
"rasterio>=1.2,<2",
"rasterio>=1.2",
# rtree 1+ required for len(index), index & index, index | index
"rtree>=1,<2",
"rtree>=1",
# segmentation-models-pytorch 0.2+ required for smp.losses module
"segmentation-models-pytorch>=0.2,<0.4",
"segmentation-models-pytorch>=0.2",
# shapely 1.7.1+ required for Python 3.9 wheels
"shapely>=1.7.1,<3",
"shapely>=1.7.1",
# timm 0.4.12 required by segmentation-models-pytorch
"timm>=0.4.12,<0.10",
"timm>=0.4.12",
# torch 1.12+ required by torchvision
"torch>=1.12,<3",
"torch>=1.12",
# torchmetrics 0.10+ required for binary/multiclass/multilabel classification metrics
"torchmetrics>=0.10,<2",
"torchmetrics>=0.10",
# torchvision 0.13+ required for torchvision.models._api.WeightsEnum
"torchvision>=0.13,<0.16",
"torchvision>=0.13",
]
dynamic = ["version"]

[project.optional-dependencies]
datasets = [
# h5py 3+ required for Python 3.9 wheels
"h5py>=3,<4",
"h5py>=3",
# laspy 2+ required for laspy.read
"laspy>=2,<3",
"laspy>=2",
# opencv-python 4.4.0.46+ required for Python 3.9 wheels
"opencv-python>=4.4.0.46,<5",
"opencv-python>=4.4.0.46",
# pandas 1.1.3+ required for Python 3.9 wheels
"pandas>=1.1.3,<3",
"pandas>=1.1.3",
# pycocotools 2.0.5+ required for cython 3+ support
"pycocotools>=2.0.5,<3",
"pycocotools>=2.0.5",
# pyvista 0.29+ required for to avoid segfault during testing
"pyvista>=0.29,<0.41",
"pyvista>=0.29",
# radiant-mlhub 0.3+ required for newer tqdm support required by lightning
"radiant-mlhub>=0.3,<0.6",
"radiant-mlhub>=0.3",
# rarfile 4+ required for wheels
"rarfile>=4,<5",
"rarfile>=4",
# scikit-image 0.18+ required for numpy 1.17+ compatibility
# https://github.com/scikit-image/scikit-image/issues/3655
"scikit-image>=0.18,<0.22",
"scikit-image>=0.18",
# scipy 1.6.2+ required for scikit-image 0.18+ compatibility
"scipy>=1.6.2,<2",
"scipy>=1.6.2",
# zipfile-deflate64 0.2+ required for extraction bugfix:
# https://github.com/brianhelba/zipfile-deflate64/issues/19
"zipfile-deflate64>=0.2,<0.3",
"zipfile-deflate64>=0.2",
]
docs = [
# ipywidgets 7+ required by nbsphinx
"ipywidgets>=7,<9",
"ipywidgets>=7",
# nbsphinx 0.8.5 fixes bug with nbformat attributes
"nbsphinx>=0.8.5,<0.10",
"nbsphinx>=0.8.5",
# release versions missing files, must install from master
"pytorch-sphinx-theme",
# sphinx 4+ required for autodoc_typehints_description_target = documented
Expand All @@ -115,32 +115,32 @@ docs = [
]
style = [
# black 21.8+ required for Jupyter support
"black[jupyter]>=21.8,<24",
"black[jupyter]>=21.8",
# flake8 3.8+ depends on pyflakes 2.2+, which fixes a bug with mypy error code ignores:
# https://github.com/PyCQA/pyflakes/pull/455
"flake8>=3.8,<7",
"flake8>=3.8",
# isort 5.8+ required for extend_skip option
"isort[colors]>=5.8,<6",
"isort[colors]>=5.8",
# pydocstyle 6.1+ required for pyproject.toml support
"pydocstyle[toml]>=6.1,<7",
"pydocstyle[toml]>=6.1",
# pyupgrade 2.8+ required for --py39-plus flag
"pyupgrade>=2.8,<4",
"pyupgrade>=2.8",
]
tests = [
# hydra-core 1+ required for omegaconf 2 support
"hydra-core>=1,<2",
"hydra-core>=1",
# mypy 0.900+ required for pyproject.toml support
"mypy>=0.900,<2",
"mypy>=0.900",
# nbmake 1.3.3+ required for variable mocking
"nbmake>=1.3.3,<2",
"nbmake>=1.3.3",
# omegaconf 2+ required by lightning, 2.0.1+ required by hydra-core
"omegaconf>=2.0.1,<3",
"omegaconf>=2.0.1",
# pytest 6.2+ required for pytest.MonkeyPatch
"pytest>=6.2,<8",
"pytest>=6.2",
# pytest-cov 2.4+ required for pytest --cov flags
"pytest-cov>=2.4,<5",
"pytest-cov>=2.4",
# tensorboard 2.9.1+ required by lightning
"tensorboard>=2.9.1,<3",
"tensorboard>=2.9.1",
]
all = [
"torchgeo[datasets,docs,style,tests]",
Expand Down