Skip to content

Fix corner cases in installation process#2039

Merged
ischoegl merged 7 commits intoCantera:mainfrom
speth:build-install-fixups
Nov 14, 2025
Merged

Fix corner cases in installation process#2039
ischoegl merged 7 commits intoCantera:mainfrom
speth:build-install-fixups

Conversation

@speth
Copy link
Copy Markdown
Member

@speth speth commented Nov 10, 2025

Changes proposed in this pull request

  • Fix building/installing when sphinx_docs=y is specified via cantera.conf
  • Install docs when running scons install after previously running scons doxygen sphinx (as opposed to using the sticky sphinx_docs=y and doxygen_docs=y options)
  • Avoid adding -isystem /usr to pkg-config compiler flags, which can break the compilation
  • Avoid unnecessarily rebuilding the Python wheel during scons install
  • Fix incremental builds always rebuilding the Python wheel on Linux (or other OSes with fully case-sensitive filesystems)

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

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

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.41%. Comparing base (61d5c5b) to head (415bd06).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2039   +/-   ##
=======================================
  Coverage   76.41%   76.41%           
=======================================
  Files         463      463           
  Lines       54952    54952           
  Branches     9308     9308           
=======================================
  Hits        41990    41990           
  Misses       9831     9831           
  Partials     3131     3131           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Reflects setuptools 75.3.1 change to enforce lowercase package names.
This change only affects Linux and other OSes with fully case-sensitive
filesystems. macOS and Windows would see the build artifact as existing
even though the capitalization was different.
Also eliminate extra 'html' subdirectory in install destination
@speth speth force-pushed the build-install-fixups branch from a9629a9 to 415bd06 Compare November 11, 2025 22:43
@speth speth marked this pull request as ready for review November 12, 2025 19:19
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!

@ischoegl ischoegl merged commit 0a3d0df into Cantera:main Nov 14, 2025
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants