Skip to content

consider making polars an optional dependency #3676

@dmargala

Description

@dmargala

The size on disk of a python venv for reframe has ballooned from 54M to 264M between reframe 4.9.3 and 4.10.0, largely due to the addition of polars as a dependency. It'd be nice to keep the runtime requirements minimal so that reframe can be included in minimal base system images or containers without impacting overall size too significantly.

> du -csh reframe-env/lib/python3.11/site-packages/* | sort -h | tail -n11
1.2M	reframe-env/lib/python3.11/site-packages/jsonschema
1.3M	reframe-env/lib/python3.11/site-packages/jinja2
2.2M	reframe-env/lib/python3.11/site-packages/ClusterShell
2.7M	reframe-env/lib/python3.11/site-packages/reframe
3.1M	reframe-env/lib/python3.11/site-packages/yaml
9.3M	reframe-env/lib/python3.11/site-packages/polars
11M     reframe-env/lib/python3.11/site-packages/setuptools
12M     reframe-env/lib/python3.11/site-packages/lxml
13M     reframe-env/lib/python3.11/site-packages/pip
202M	reframe-env/lib/python3.11/site-packages/_polars_runtime_32
264M	total

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

Status
Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions