Skip to content

Implement removals indicated by deprecations in Cantera 3.0#1605

Merged
ischoegl merged 22 commits intoCantera:mainfrom
speth:remove-deprecated
Aug 27, 2023
Merged

Implement removals indicated by deprecations in Cantera 3.0#1605
ischoegl merged 22 commits intoCantera:mainfrom
speth:remove-deprecated

Conversation

@speth
Copy link
Copy Markdown
Member

@speth speth commented Aug 26, 2023

Changes proposed in this pull request

  • Bump version to 3.1.0a1
  • Remove code slated for removal and changes noted as occurring "after Cantera 3.0"
  • Make relevant simplifications enabled by removal of deprecated code
  • Remove some unused test data files

I tried to break up the "interesting" changes into separate commits. This might be easiest to review on a commit-by-commit basis, where the commits "Remove code deprecated in Cantera 3.0" and "Remove deprecated Python code" consist almost entirely of straight removals of deprecated code.

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

@speth speth force-pushed the remove-deprecated branch 2 times, most recently from 7160e4a to be631b0 Compare August 26, 2023 19:48
@ischoegl ischoegl self-requested a review August 26, 2023 19:51
@speth speth force-pushed the remove-deprecated branch 2 times, most recently from a930ec6 to f666ee9 Compare August 26, 2023 20:08
@speth speth force-pushed the remove-deprecated branch 2 times, most recently from 2a22901 to 866f192 Compare August 26, 2023 20:22
speth added 2 commits August 26, 2023 16:40
This takes care of simple removals of deprecated methods/classes
@speth speth force-pushed the remove-deprecated branch from 866f192 to 07c2acd Compare August 26, 2023 20:40
Copy link
Copy Markdown
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, @speth. I only have one minor thing I found (plus one comment).

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 26, 2023

Codecov Report

Merging #1605 (fcab50a) into main (806842d) will increase coverage by 2.07%.
The diff coverage is 71.07%.

@@            Coverage Diff             @@
##             main    #1605      +/-   ##
==========================================
+ Coverage   70.59%   72.66%   +2.07%     
==========================================
  Files         379      370       -9     
  Lines       59185    56259    -2926     
  Branches    21270    20353     -917     
==========================================
- Hits        41781    40882     -899     
+ Misses      14325    12374    -1951     
+ Partials     3079     3003      -76     
Files Changed Coverage Δ
include/cantera/base/Array.h 96.00% <ø> (ø)
include/cantera/kinetics/BulkKinetics.h 100.00% <ø> (+50.00%) ⬆️
include/cantera/kinetics/ChebyshevRate.h 100.00% <ø> (ø)
include/cantera/kinetics/Falloff.h 93.02% <ø> (+11.39%) ⬆️
include/cantera/kinetics/ImplicitSurfChem.h 100.00% <ø> (ø)
include/cantera/kinetics/InterfaceKinetics.h 87.50% <ø> (ø)
include/cantera/kinetics/InterfaceRate.h 87.87% <ø> (ø)
include/cantera/kinetics/Kinetics.h 32.43% <ø> (-0.24%) ⬇️
include/cantera/kinetics/PlogRate.h 100.00% <ø> (ø)
include/cantera/kinetics/Reaction.h 90.00% <ø> (+5.00%) ⬆️
... and 115 more

... and 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

speth added 2 commits August 26, 2023 21:21
Without this, the error message confusingly mentions being unable to find
the now-removed 'ideal-gas' PDSS model.
@speth speth force-pushed the remove-deprecated branch from 07c2acd to fcab50a Compare August 27, 2023 01:21
@ischoegl ischoegl merged commit 23f183a into Cantera:main Aug 27, 2023
@speth speth deleted the remove-deprecated branch August 27, 2023 03:05
@speth speth mentioned this pull request Aug 29, 2023
5 tasks
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.

2 participants