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

Bump to v0.7.3 #712

Merged
merged 11 commits into from
Nov 6, 2024
Prev Previous commit
Next Next commit
Add dependencies to pyproject.toml
tomvothecoder committed Nov 6, 2024
commit 507fddb9127fba0bae639daa64d8e78d7371138f
30 changes: 28 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -22,14 +22,40 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
keywords = ["xcdat"]
dependencies = []
dependencies = [
"cf_xarray >=0.9.1",
"cftime",
"dask",
"netcdf4",
"numpy >=2.0.0,<3.0.0",
"pandas",
"python-dateutil",
"xarray >=2024.03.0",
"xesmf >=0.8.7",
"xgcm",
]

[project.optional-dependencies]
test = ["pytest>=3"]
test = ["pytest", "pytest-cov"]
docs = [
"sphinx",
"sphinx-autosummary-accessors",
"sphinx-book-theme",
"sphinx-copybutton",
"nbsphinx",
"sphinx-design",
"pandoc",
"ipython",
"gsw-xarray",
]
dev = ["types-python-dateutil", "pre-commit", "ruff", "mypy"]

[tool.setuptools.packages.find]
include = ["xcdat", "xcdat.*"]

[tool.setuptools.dynamic]
version = { attr = "xcdat.version.__version__" }

[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
3 changes: 1 addition & 2 deletions tbump.toml
Original file line number Diff line number Diff line change
@@ -20,8 +20,7 @@ tag_template = "v{new_version}"
# For each file to patch, add a [[file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[file]]
src = "setup.py"

tomvothecoder marked this conversation as resolved.
Show resolved Hide resolved
[[file]]
src = "xcdat/__init__.py"