Skip to content

update pl.datatypes.UInt32 to resolve errors#45

Open
sherlyn99 wants to merge 1 commit intomainfrom
fix_new_polars_bug
Open

update pl.datatypes.UInt32 to resolve errors#45
sherlyn99 wants to merge 1 commit intomainfrom
fix_new_polars_bug

Conversation

@sherlyn99
Copy link
Collaborator

Error encountered when using polars-u64-idx v1.33.1:

  File "/home/y1weng/mambaforge/envs/micov_installation/lib/python3.12/site-packages/micov/_constants.py", line 8, in <module>
    COLUMN_START_DTYPE = pl.UInt32
                         ^^^^^^^^^
AttributeError: module 'polars' has no attribute 'UInt32'

Starting from polars-u64-idx v1.22, polars requires pl.datatypes.UInt32 instead of pl.UInt32.

@wasade
Copy link
Member

wasade commented Oct 12, 2025

If we do this we need to pin the allowed version of polars, can that be added to to pyproject?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants