Skip to content

set multiprocessing start method for MacOS#48

Merged
aelanman merged 2 commits into
mainfrom
macos_patch
Apr 15, 2026
Merged

set multiprocessing start method for MacOS#48
aelanman merged 2 commits into
mainfrom
macos_patch

Conversation

@aelanman

Copy link
Copy Markdown
Owner

Closes #47 .

Downloading kernel files fails on MacOS because astropy's downloader uses multiprocessing, which defaults to spawn on Macs vs. fork on linux. This ensures that the fork method is set once the package is imported.

This will not be needed once we've #46 , but fixes an issue for now.

@codecov

codecov Bot commented Apr 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.42%. Comparing base (7c0e88d) to head (794f903).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
lunarsky/__init__.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
- Coverage   86.73%   86.42%   -0.31%     
==========================================
  Files           8        8              
  Lines         618      619       +1     
==========================================
- Hits          536      535       -1     
- Misses         82       84       +2     

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

@aelanman aelanman marked this pull request as ready for review April 15, 2026 14:10
@aelanman aelanman merged commit a2fc187 into main Apr 15, 2026
14 of 16 checks passed
@aelanman aelanman deleted the macos_patch branch April 15, 2026 14:10
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.

[BUG] Unable to run a simple lunarsky script on my macos

1 participant