-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat: Expose LTS CPU in show_versions() #19193
Conversation
@@ -12,4 +12,5 @@ def test_show_versions(capsys: Any) -> None: | |||
out, _ = capsys.readouterr() | |||
assert "Python" in out | |||
assert "Polars" in out | |||
assert "LTS CPU" in out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some other fields that we can test for - should i add those too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What were you thinking about testing? Either way, not in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version info
Index type
and Platform
@@ -137,7 +137,6 @@ jobs: | |||
if: matrix.architecture == 'x86-64' | |||
env: | |||
IS_LTS_CPU: ${{ matrix.package == 'polars-lts-cpu' }} | |||
IS_MACOS: ${{ matrix.os == 'macos-13' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was unused
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19193 +/- ##
=======================================
Coverage 79.64% 79.65%
=======================================
Files 1532 1532
Lines 209131 209135 +4
Branches 2416 2416
=======================================
+ Hits 166570 166592 +22
+ Misses 42015 41997 -18
Partials 546 546 ☔ View full report in Codecov by Sentry. |
closes #19109
This PR both exposes LTS CPU in
show_versions()
and fixes an issue in the release workflow where the_POLARS_LTS_CPU
wasn't set correctly.The LTS CPU was originally supposed to be taken into account by
check_cpu_flags
however, because of the mentioned issue it was practically always False and so we can deem it safe to remove it from that check