Skip to content

Commit

Permalink
Add testcore, testoptional deps to pyproject.toml
Browse files Browse the repository at this point in the history
- To facilitate CI testing with minimal possible set of dependencies.
- Refactor pandas/altair tests to only run when deps installed
- TODO(in this change or future): update CI
  • Loading branch information
akshayka committed Jan 27, 2024
1 parent 30446ec commit 74e3091
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 430 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,23 @@ dev = [
"furo==2023.5.20"
]

testcore = [
"click < 8.1.4", # https://github.com/pallets/click/issues/2558,
# for server testing
"httpx~=0.26.0",
"pytest~=7.4.0",
"pytest-codecov~=0.5.1"
]

testoptional = [
# For testing mo.ui.chart
"pandas>=1.3.0",
"pandas-stubs>=1.3.0",
# polars 0.19.13 requires building maturn from source, but we don't
# have the rust toolchain installed on CI
"polars==0.19.12",
]

[project.urls]
homepage = "https://github.com/marimo-team/marimo"

Expand Down
Loading

0 comments on commit 74e3091

Please sign in to comment.