Skip to content

Commit

Permalink
Move common client and server dependencies to core dependencies (#863)
Browse files Browse the repository at this point in the history
* Move common client and server dependencies to core dependencies, add Pydantic to core dependencies

* docstring
  • Loading branch information
DiamondJoseph authored Jan 24, 2025
1 parent 049ea3f commit bed06d6
Showing 1 changed file with 16 additions and 54 deletions.
70 changes: 16 additions & 54 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,23 @@ maintainers = [
]
requires-python = ">=3.9"

# All dependencies are optional; it depends on whether you are running
# a client or server (or both) and what data structures you care about.
# Dependencies common to both server and client; additional dependencies are
# available depending on whether you are running client/server/both, and what
# data structures you care about.
# Use pip install tiled[all] to get everything.
dependencies = []
dependencies = [
"httpx >=0.20.0,!=0.23.1",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"msgpack >=1.0.0",
"orjson",
"platformdirs",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"pyyaml",
"typer",
]

classifiers = [
"Development Status :: 4 - Beta",
Expand Down Expand Up @@ -59,36 +72,25 @@ all = [
"fastapi",
"h5netcdf",
"h5py",
"httpx >=0.20.0,!=0.23.1",
"jinja2",
"jmespath",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"openpyxl",
"orjson",
"packaging",
"pandas",
"pillow",
"platformdirs",
"prometheus_client",
"pyarrow",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"rich",
"sparse",
"sqlalchemy[asyncio] >=2",
"starlette >=0.38.0",
"tifffile",
"typer",
"uvicorn[standard]",
"watchfiles",
"xarray",
Expand All @@ -107,22 +109,13 @@ client = [
"dask[array]",
"dask[dataframe]",
"entrypoints",
"httpx >=0.20.0,!=0.23.1",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"orjson",
"pandas",
"platformdirs",
"pyarrow",
"pyyaml",
"rich",
"sparse",
"typer",
"watchfiles",
"xarray",
"zstandard",
Expand Down Expand Up @@ -174,16 +167,7 @@ formats = [
# These are the requirements needed for basic client functionality.
minimal-client = [
"entrypoints",
"httpx >=0.20.0,!=0.23.1",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"msgpack >=1.0.0",
"orjson",
"platformdirs",
"pyyaml",
"rich",
"typer",
"watchfiles",
]
# These are the requirements needed for basic server functionality.
Expand All @@ -197,27 +181,16 @@ minimal-server = [
"canonicaljson",
"dask",
"fastapi",
"httpx >=0.20.0,!=0.23.1",
"jinja2",
"jmespath",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"msgpack >=1.0.0",
"orjson",
"packaging",
"platformdirs",
"prometheus_client",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"sqlalchemy[asyncio] >=2",
"starlette >=0.38.0",
"starlette",
"typer",
"uvicorn[standard]",
"zarr <3",
]
Expand All @@ -239,35 +212,24 @@ server = [
"fastapi",
"h5netcdf",
"h5py",
"httpx >=0.20.0,!=0.23.1",
"jinja2",
"jmespath",
"json-merge-patch",
"jsonpatch",
"jsonschema",
"lz4",
"msgpack >=1.0.0",
"ndindex",
"numpy",
"openpyxl",
"orjson",
"packaging",
"pandas",
"pillow",
"platformdirs",
"prometheus_client",
"pyarrow",
"pydantic >=2, <3",
"pydantic-settings >=2, <3",
"python-dateutil",
"python-jose[cryptography]",
"python-multipart",
"pyyaml",
"sparse",
"sqlalchemy[asyncio] >=2",
"starlette >=0.38.0",
"tifffile",
"typer",
"uvicorn[standard]",
"xarray",
"zarr <3",
Expand Down

0 comments on commit bed06d6

Please sign in to comment.