Skip to content

Declare ninja as build dependence - #21

Merged
jared321 merged 2 commits into
mainfrom
20Ninja
Oct 20, 2025
Merged

jared321 merged 2 commits into
mainfrom
20Ninja

Conversation

@jared321

@jared321 jared321 commented Oct 20, 2025 •

Copy link
Copy Markdown
Contributor

PR Self-review

  • Carefully review all changes
    • Confirm that the ninja package name is spelled correctly and refers to that correct PyPI package
  • Confirm that all tox tasks passing locally and that both ninja and meson are being installed for tasks that install their package
    • Confirm that neither meson nor ninja is installed alongside bfrescox or bfrescoxpro in their venvs.
  • Ensure that ninja is not installed in system. For each package, build clean venv, install package, confirm automatic installation of ninja, and confirm successful installation.
    • Confirm that neither meson nor ninja is installed alongside bfrescox or bfrescoxpro in their venvs.
  • Review updated RTD content rendered in PR
  • Confirm all actions passing

It appears that the ninja Python package is legitimate and officially linked to
both ninja-build and Meson.  Therefore, adding ninja this way should make
installing both Bfrescox packages much simpler for users.

I confirmed that none of our actions are presently installing ninja manually.  I
suspect that the actions didn't have any issues without this explicit dependence
because I believe that ninja is installed by default in their runners.

This was working with tox locally after I removed ninja from my homebrew
installation.  It also works in a fresh venv build, which was failing before the
dependence was added.
@jared321 jared321 self-assigned this Oct 20, 2025
@codecov-commenter

codecov-commenter commented Oct 20, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.75%. Comparing base (fcb6fe5) to head (e7ad540).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   58.75%   58.75%           
=======================================
  Files          17       17           
  Lines         320      320           
=======================================
  Hits          188      188           
  Misses        132      132           

☔ 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.

Docs built successfully with tox.
@jared321 jared321 changed the title DRAFT: Declare ninja as build dependence Declare ninja as build dependence Oct 20, 2025
@jared321
jared321 merged commit 0c8adfd into main Oct 20, 2025
77 checks passed
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