[project] name = "polarify-use-case" channels = ["conda-forge"] platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"] [tasks] postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ." start = 'python -c "import sys; print(f\"Python version: {sys.version}\"); import polars; print(f\"Polars version: {polars.__version__}\")"' [dependencies] python = ">=3.9" pip = "*" polars = ">=0.14.24,<0.21" [feature.py39.dependencies] python = "3.9.*" [feature.py310.dependencies] python = "3.10.*" [feature.py311.dependencies] python = "3.11.*" [feature.py312.dependencies] python = "3.12.*" [feature.pl017.dependencies] polars = "0.17.*" [feature.pl018.dependencies] polars = "0.18.*" [feature.pl019.dependencies] polars = "0.19.*" [feature.pl020.dependencies] polars = "0.20.*" [feature.test.dependencies] pytest = "*" pytest-md = "*" pytest-emoji = "*" hypothesis = "*" [feature.test.tasks] test = "pytest -s" [feature.lint.dependencies] pre-commit = "*" [feature.lint.tasks] lint = "pre-commit run --all" [environments] default = ["test"] pl017 = ["pl017", "py310", "test"] pl018 = ["pl018", "py39", "test"] pl019 = ["pl019", "py39", "test"] pl020 = ["pl020", "py312", "test"] py39 = ["py39", "test"] py310 = ["py310", "test"] py311 = ["py311", "test"] py312 = ["py312", "test"] lint = ["lint"] ## test this with: #pixi run test #pixi run -e pl017 test #pixi run -e pl018 test #pixi run -e pl019 test #pixi run -e pl020 test #pixi run start #pixi run -e py39 start #pixi run -e py310 start #pixi run -e py311 start #pixi run -e py312 start