Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
python-version:
- "3.11"
- "3.12"
- "3.13"
fail-fast: true
steps:
- uses: actions/checkout@v5
Expand Down
184 changes: 92 additions & 92 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
[project]
name = "ftw-tools"
version = "2.0.0b2"
description = "Fields of The World (FTW) Command Line Interface (CLI) for data management, ML processing, and more."
readme = "README.md"
license = "MIT"
license-files = [ "LICENSE" ]
authors = [
{ name = "Hannah Kerner", email = "[email protected]" },
{ name = "Matthias Mohr", email = "[email protected]" },
{ name = "Caleb Robinson", email = "[email protected]" },
{ name = "Aninda Ghosh", email = "[email protected]" },
{ name = "Chris Holmes", email = "[email protected]" },
{ name = "Snehal Chaudhari", email = "[email protected]" },
]
requires-python = ">=3.11,<3.13"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.2.1,<9",
"dask[distributed]>=2025.5.1",
"fiboa-cli==0.7",
"fiona>=1.9,<2",
"geopandas>=0.14,<2",
"kornia>=0.7,<1",
"lightning>=2,<2.6",
"matplotlib>=3.7,<4",
"notebook>=7,<8",
"numpy>=1.24,<3",
"odc-stac>=0.4,<1", # see https://github.com/fieldsoftheworld/ftw-baselines/issues/77
"planetary-computer>=1,<2",
"pyarrow==16.1", # CRITICAL: filesystem registration error with newer versions, see https://github.com/apache/arrow/issues/44696
"pyproj>=3.6,<4",
"pystac>=1.8,<2",
"pyyaml>=6,<7",
"rasterio>=1.3,<2",
"rioxarray>=0.15,<1",
"scikit-image>=0.25.2,<2",
"scipy>=1.11,<2",
"tenacity>=9.1.2,<10",
"tensorboard>=2.15,<3",
"torch>=2.2,<2.9",
"torchgeo>=0.7,<1", # see https://github.com/fieldsoftheworld/ftw-baselines/issues/79
"torchvision>=0.17,<0.23",
"tqdm>=4.65,<5",
"wget",
]
optional-dependencies.all = [ "ftw-tools[delineate-anything,dev]" ]
optional-dependencies.delineate-anything = [ "ultralytics>=8.3.187,<9" ]
optional-dependencies.dev = [
"build",
"hatchling",
"pre-commit>=4,<=5",
"pytest>=7.4,<9",
"ruff>=0.1,<1",
"twine",
]
urls.Changelog = "https://github.com/fieldsoftheworld/ftw-baselines/blob/main/CHANGELOG.md"
urls.Homepage = "https://fieldsofthe.world/"
urls.Issues = "https://github.com/fieldsoftheworld/ftw-baselines/issues"
urls.Repository = "https://github.com/fieldsoftheworld/ftw-baselines.git"
scripts.ftw = "ftw_tools.cli:ftw"
[tool.ruff]
extend-exclude = [ "*.ipynb" ]
fix = true
format.quote-style = "double"
format.skip-magic-trailing-comma = true
lint.isort.split-on-trailing-comma = false
[tool.flake8]
max-line-length = 88
extend-ignore = [ "E203" ]
exclude = [ "data/", ".git/" ]
[tool.pytest.ini_options]
norecursedirs = [ ".ipynb_checkpoints", "data", "__pycache__" ]
pythonpath = [ "." ]
testpaths = [ "tests" ]
tmp_path_retention_count = 1
tmp_path_retention_policy = "failed"
[build-system]
build-backend = "hatchling.build"

requires = [ "hatchling" ]

[project]
name = "ftw-tools"
version = "2.0.0b2"
description = "Fields of The World (FTW) Command Line Interface (CLI) for data management, ML processing, and more."
readme = "README.md"
license = "MIT"
license-files = [ "LICENSE" ]
authors = [
{ name = "Hannah Kerner", email = "[email protected]" },
{ name = "Matthias Mohr", email = "[email protected]" },
{ name = "Caleb Robinson", email = "[email protected]" },
{ name = "Aninda Ghosh", email = "[email protected]" },
{ name = "Chris Holmes", email = "[email protected]" },
{ name = "Snehal Chaudhari", email = "[email protected]" },
]

requires-python = ">=3.11,<3.14"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"click>=8.2.1,<9",
"dask[distributed]>=2025.5.1",
"fiboa-cli==0.7",
"fiona>=1.9,<2",
"geopandas[all]>=0.14,<2",
"kornia>=0.7,<1",
"lightning>=2,<2.6",
"matplotlib>=3.7,<4",
"notebook>=7,<8",
"numpy>=1.24,<3",
"odc-stac>=0.4,<1", # see https://github.com/fieldsoftheworld/ftw-baselines/issues/77
"planetary-computer>=1,<2", # NOTE: v21+ resolves filesystem registration conflicts with pip-installed GDAL, see https://github.com/apache/arrow/issues/44696
"pyproj>=3.6,<4",
"pystac>=1.8,<2",
"pyyaml>=6,<7",
"rasterio>=1.3,<2",
"rioxarray>=0.15,<1",
"scikit-image>=0.25.2,<2",
"scipy>=1.11,<2",
"tenacity>=9.1.2,<10",
"tensorboard>=2.15,<3",
"torch>=2.2,<2.9",
"torchgeo>=0.7,<1", # see https://github.com/fieldsoftheworld/ftw-baselines/issues/79
"torchvision>=0.17,<0.23",
"tqdm>=4.65,<5",
"wget",
]
optional-dependencies.all = [ "ftw-tools[delineate-anything,dev]" ]
optional-dependencies.delineate-anything = [ "ultralytics>=8.3.187,<9" ]
optional-dependencies.dev = [
"build",
"hatchling",
"pre-commit>=4,<=5",
"pytest>=7.4,<9",
"ruff>=0.1,<1",
"twine",
]
urls.Changelog = "https://github.com/fieldsoftheworld/ftw-baselines/blob/main/CHANGELOG.md"
urls.Homepage = "https://fieldsofthe.world/"
urls.Issues = "https://github.com/fieldsoftheworld/ftw-baselines/issues"
urls.Repository = "https://github.com/fieldsoftheworld/ftw-baselines.git"
scripts.ftw = "ftw_tools.cli:ftw"

[tool.ruff]
extend-exclude = [ "*.ipynb" ]
fix = true

format.quote-style = "double"
format.skip-magic-trailing-comma = true
lint.isort.split-on-trailing-comma = false

[tool.flake8]
max-line-length = 88
extend-ignore = [ "E203" ]
exclude = [ "data/", ".git/" ]

[tool.pytest.ini_options]
norecursedirs = [ ".ipynb_checkpoints", "data", "__pycache__" ]
pythonpath = [ "." ]
testpaths = [ "tests" ]
tmp_path_retention_count = 1
tmp_path_retention_policy = "failed"
Loading
Loading