Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Polars Python 0.20.12] Importing polars fails due to 'RuntimeError: unknown feature flag "pclmulqdq"' #14759

Closed
2 tasks done
jasperswallen opened this issue Feb 29, 2024 · 1 comment · Fixed by #14758
Closed
2 tasks done
Labels
bug Something isn't working python Related to Python Polars

Comments

@jasperswallen
Copy link

jasperswallen commented Feb 29, 2024

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

Python 3.11.7 (main, Dec  8 2023, 18:56:58) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import polars as pl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/me/venv/lib/python3.11/site-packages/polars/__init__.py", line 11, in <module>
    polars._cpu_check.check_cpu_flags()
  File "/home/me/venv/lib/python3.11/site-packages/polars/_cpu_check.py", line 231, in check_cpu_flags
    raise RuntimeError(msg)
RuntimeError: unknown feature flag "pclmulqdq"

Log output

No response

Issue description

When importing polars 0.20.12, I receive a runtime error. This is a critical breaking change - Polars 0.20.10 did not raise this error.

Expected behavior

import polars will be functional.

Installed versions

pl.show_versions() cannot be run, since polars cannot be imported.

OS:

22.04 Ubuntu through WSL2. Also seen in 22.04 Ubuntu native machines.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
$ uname -a
Linux <machine name> 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Python:

$ python3 -V
Python 3.11.7
@jasperswallen jasperswallen added bug Something isn't working needs triage Awaiting prioritization by a maintainer python Related to Python Polars labels Feb 29, 2024
@alexander-beedie alexander-beedie removed the needs triage Awaiting prioritization by a maintainer label Feb 29, 2024
@alexander-beedie
Copy link
Collaborator

alexander-beedie commented Feb 29, 2024

@jasperswallen: That release has been removed; we'll push out a follow-up 0.20.13 shortly (and close the hole that allowed the breaking release to escape CI) 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Related to Python Polars
Projects
None yet
2 participants