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

Remove python_minimal interface #1745

Merged

Conversation

bryanwweber
Copy link
Member

@bryanwweber bryanwweber commented Jul 29, 2024

Changes proposed in this pull request

  • Remove the python_minimal interface
  • Refactor the configuration for the Python/Cython interface to simplify
  • Use version specifiers in the setup.cfg.in file. Requires the packaging package; pkg_resources is deprecated anyways.

If applicable, fill in the issue number this pull request is fixing

Closes Cantera/enhancements#208

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

The message provides migration information.
Switch to prefer the shorter 'y' and 'n' strings to configure the Python
package, rather than 'full' and 'none'. Since we no longer need
'minimal' anymore, we can simplify this.
Simplify configuration of the Python package and move the config
checking to a separate function in buildutils.py.
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.04%. Comparing base (a1ee588) to head (8832890).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1745   +/-   ##
=======================================
  Coverage   73.04%   73.04%           
=======================================
  Files         381      381           
  Lines       54164    54164           
  Branches     9240     9240           
=======================================
  Hits        39562    39562           
  Misses      11633    11633           
  Partials     2969     2969           

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

@bryanwweber bryanwweber requested review from speth and ischoegl July 30, 2024 11:11
ischoegl
ischoegl previously approved these changes Jul 30, 2024
Copy link
Member

@ischoegl ischoegl left a comment

Choose a reason for hiding this comment

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

Thanks, @bryanwweber … this looks good to me.

@bryanwweber
Copy link
Member Author

Thanks @ischoegl! I noticed some potential Name/Key errors when I was doing a last look, so I pushed a fix in 8832890

@bryanwweber bryanwweber merged commit 6a9a7bb into Cantera:main Jul 30, 2024
50 checks passed
@bryanwweber bryanwweber deleted the bryan-remove-the-python_minimal-interface branch July 30, 2024 14:02
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.

Remove the python_minimal interface
2 participants