Skip to content

Commit

Permalink
update pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Sep 23, 2024
1 parent c178634 commit 3f08c3d
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,25 @@ dependencies = [
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
# "extras" (e.g. for `pip install .[test]`)
[project.optional-dependencies]
v3 = ["zarr==v3.0.0-alpha.4"]
v2 = ["zarr<3.0.0a0"]
# add dependencies used for testing here
test = ["zarr<3.0.0a0", "pytest", "pytest-cov"]

# add anything else you like to have in your dev environment here
dev = [
dev2 = [
"zarr<3.0.0a0",
"ipython",
"pytest",
"pytest-cov",
"notebook",
"mypy",
"pdbpp", # https://github.com/pdbpp/pdbpp
"pre-commit",
"rich", # https://github.com/Textualize/rich
"ruff"
]

dev3 = [
"zarr==v3.0.0-alpha.4",
"ipython",
"pytest",
"pytest-cov",
Expand All @@ -58,7 +71,7 @@ dev = [
"pdbpp", # https://github.com/pdbpp/pdbpp
"pre-commit",
"rich", # https://github.com/Textualize/rich
"ruff",
"ruff"
]


Expand Down Expand Up @@ -173,11 +186,9 @@ platforms = ["osx-arm64"]
# anndata = { path = "../anndata/", editable = true }
ngio = { path = ".", editable = true }

#[tool.pixi.environments]
#default = { solve-group = "default" }
#v3 = { features = ["v3"], solve-group = "v3" }
#v2 = { features = ["v2"], solve-group = "v2" }
#dev2 = { features = ["dev"], solve-group = "v2" }
#dev3 = { features = ["dev"], solve-group = "v3" }
#test = { features = ["test"], solve-group = "v2" }
[tool.pixi.environments]
default = { solve-group = "default" }
dev2 = { features = ["dev2"], solve-group = "v2" }
dev3 = { features = ["dev3"], solve-group = "v3" }
test = { features = ["test"], solve-group = "v2_test" }

0 comments on commit 3f08c3d

Please sign in to comment.