Skip to content

Fix macOS CI: pin Python 3.12 for sonicscrewdriver virtualenv - #33

Merged
edwbaker merged 4 commits into
masterfrom
copilot/fix-macos-latest-job
Aug 22, 2026
Merged

edwbaker merged 4 commits into
masterfrom
copilot/fix-macos-latest-job

Conversation

Copilot AI commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

macOS-latest runners now default to Python 3.14, which has no available distributions for tensorflow or numpy==1.26.4, causing pythonInstall() to fail in CI.

Change

  • R/reticulate-virtualenv.R: Pass python_version="3.12" to virtualenv_create() so the sonicscrewdriver virtualenv is always built against Python 3.12, the latest version supported by all required packages (tensorflow, numpy==1.26.4, scikit-maad, librosa, birdnetlib).
reticulate::virtualenv_create(envname = "sonicscrewdriver", packages = NULL, python_version = "3.12")

Co-authored-by: edwbaker <929684+edwbaker@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job macos-latest (release) Fix macOS CI: pin Python 3.12 for sonicscrewdriver virtualenv Aug 22, 2026
Copilot AI requested a review from edwbaker August 22, 2026 13:34
@edwbaker edwbaker assigned Copilot and unassigned Copilot Aug 22, 2026
@edwbaker
edwbaker marked this pull request as ready for review August 22, 2026 13:56
@codecov

codecov Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.52%. Comparing base (583bf7b) to head (61fbefe).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   83.51%   83.52%           
=======================================
  Files          88       88           
  Lines        3058     3059    +1     
=======================================
+ Hits         2554     2555    +1     
  Misses        504      504           

☔ View full report in Codecov by Harness.
📢 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.

Co-authored-by: edwbaker <929684+edwbaker@users.noreply.github.com>
Co-authored-by: edwbaker <929684+edwbaker@users.noreply.github.com>
@edwbaker
edwbaker merged commit aea69ac into master Aug 22, 2026
7 of 9 checks passed
@edwbaker
edwbaker deleted the copilot/fix-macos-latest-job branch August 22, 2026 14:35
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