Skip to content

Commit

Permalink
Add run pipeline (#2)
Browse files Browse the repository at this point in the history
* Add run pipeline

* Limit python versions

* Run uv lock
  • Loading branch information
maxrjones authored Nov 18, 2024
1 parent b4d301c commit 148d81c
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 1,134 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ check: ## Run code quality tools.
@uv run pre-commit run -a
@echo "🚀 Static type checking: Running mypy"
@uv run mypy
# @echo "🚀 Checking for obsolete dependencies: Running deptry"
# @uv run deptry .

.PHONY: test
test: ## Test the code with pytest
Expand Down
22 changes: 8 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Create virtual Zarr store for NASA NEX-GDDP-CMIP6 using VirtualiZ
authors = [{ name = "Max Jones", email = "[email protected]" }]
readme = "README.md"
keywords = ['python']
requires-python = ">=3.10,<4.0"
requires-python = ">=3.11,<3.12"
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 3 - Alpha",
Expand All @@ -13,38 +13,32 @@ classifiers = [
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version"]
dependencies = [
"VirtualiZarr @ git+https://github.com/zarr-developers/VirtualiZarr.git@main",
"fastparquet",
"fsspec",
"h5netcdf",
"dask[complete]",
"h5py",
"kerchunk>=0.2.5",
"netcdf4",
"pytest",
"ruff",
"icechunk",
"kerchunk @ git+https://github.com/mpiannucci/kerchunk@v3",
"s3fs",
"scipy",
"dask[complete]"
"VirtualiZarr @ git+https://github.com/zarr-developers/VirtualiZarr.git@main",
"xarray",
"zarr",
]


[project.urls]
Repository = "https://github.com/developmentseed/virtualize-nex-gddp-cmip6"

[tool.uv]
prerelease = "allow"
dev-dependencies = [
"pooch",
"pytest>=7.2.0",
"pre-commit>=2.20.0",
"pytest-mypy",
"deptry>=0.20.0",
"mypy>=0.991",
"ruff>=0.6.9",
"pandas-stubs",
Expand Down
Loading

0 comments on commit 148d81c

Please sign in to comment.