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

BLD: Pin swig<4.3.0 #1281

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

mferrera
Copy link
Collaborator

@mferrera mferrera commented Dec 9, 2024

This will create a new 3.9.x version, NOT a 4.0 version where this change has already been made. It is specific to Python 3.8.

Includes a second commit to pass the latest ruff.

See: #1275 #1277

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (version-3.9.x@3b44a9c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/xtgeo/well/well1.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             version-3.9.x    #1281   +/-   ##
================================================
  Coverage                 ?   80.03%           
================================================
  Files                    ?       98           
  Lines                    ?    13681           
  Branches                 ?     2060           
================================================
  Hits                     ?    10949           
  Misses                   ?     1998           
  Partials                 ?      734           

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

@mferrera mferrera self-assigned this Dec 9, 2024
@@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"reekfile = '../xtgeo-testdata/3dgrids/reek/REEK.EGRID'\n",
"reekfile = \"../xtgeo-testdata/3dgrids/reek/REEK.EGRID\"\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Weird RUFF rule here; I think the former looks nicer to read

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.

OK. Is it an idea to restrict RUFF version in pyproject.toml? (to avoid using outdated RUFF versions?)

@mferrera
Copy link
Collaborator Author

mferrera commented Dec 9, 2024

It might be a good idea to restrict it. I'm hoping that these 3.9.x hot fixes won't be necessary at all anymore soon, so might hold off until the presumptive never-next-time.

@mferrera mferrera merged commit 47ba1bc into equinor:version-3.9.x Dec 9, 2024
39 checks passed
@mferrera mferrera deleted the pin-swig-3.9.x branch December 9, 2024 08:12
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