Skip to content

[BUG]sktime doesn't work with older versions of polars  #7128

@vedantag17

Description

@vedantag17

Describe the bug

polars version on colab is set as 0.20.2 which cause sktime to crash.

To Reproduce

import polars as pl
pl.show_versions()

Expected behavior
The latest version of Polars should be installed via the command.

Additional context
A similar issue was raised before, yet after the changes merged the problem persists.
The issue can be found at: #7056

Versions

  • Details
Polars:               0.20.2
Index type:           UInt32
Platform:             Linux-6.1.85+-x86_64-with-glibc2.35
Python:               3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]

----Optional dependencies----
adbc_driver_manager:  <not installed>
cloudpickle:          2.2.1
connectorx:           <not installed>
deltalake:            <not installed>
fsspec:               2024.6.1
gevent:               <not installed>
matplotlib:           3.7.1
numpy:                1.26.4
openpyxl:             3.1.5
pandas:               2.1.4
pyarrow:              14.0.2
pydantic:             2.9.1
pyiceberg:            <not installed>
pyxlsb:               <not installed>
sqlalchemy:           2.0.34
xlsx2csv:             <not installed>
xlsxwriter:           <not installed>```
</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodule:datatypesdatatypes module: data containers, checkers & converters

    Type

    No type

    Projects

    Status

    Fixed/resolved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions