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

CI: overwrite with RMS package versions #1289

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

mferrera
Copy link
Collaborator

@mferrera mferrera commented Jan 9, 2025

Related to #1288

@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.15%. Comparing base (0375fed) to head (86704c7).
Report is 59 commits behind head on main.

Files with missing lines Patch % Lines
src/xtgeo/grid3d/_grid3d_utils.py 0.00% 1 Missing ⚠️
src/xtgeo/grid3d/grid.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1289      +/-   ##
==========================================
+ Coverage   80.02%   81.15%   +1.12%     
==========================================
  Files          98       94       -4     
  Lines       13680    12438    -1242     
  Branches     2203     1874     -329     
==========================================
- Hits        10948    10094     -854     
+ Misses       1999     1685     -314     
+ Partials      733      659      -74     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mferrera mferrera self-assigned this Jan 9, 2025
@mferrera mferrera requested a review from jcrivenaes January 10, 2025 05:45
@@ -222,7 +222,7 @@ def _get_roff_type_and_size(
return "float", value.size, value.size * (4 if is_binary else 5)
if np.issubdtype(value.dtype, np.double):
return "double", value.size, value.size * (8 if is_binary else 9)
if np.issubdtype(value.dtype, np.unicode_):
if np.issubdtype(value.dtype, np.str_):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will guess this is safe for numpy 1 also?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I see it as far back as numpy 1.20 at least (may be earlier as well)

Copy link
Collaborator

@jcrivenaes jcrivenaes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mferrera
Copy link
Collaborator Author

Added an extra commit for the new ruff

@mferrera mferrera merged commit 294eaa5 into equinor:main Jan 10, 2025
34 checks passed
@mferrera mferrera deleted the fix-numpy-2-stuff branch January 10, 2025 08:55
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.

3 participants