Skip to content

Enable cross-platform installation for IDE support#59

Merged
gregclermont merged 2 commits into
mainfrom
feature/cross-platform-install
Jan 21, 2026
Merged

Enable cross-platform installation for IDE support#59
gregclermont merged 2 commits into
mainfrom
feature/cross-platform-install

Conversation

@gregclermont
Copy link
Copy Markdown
Owner

Summary

  • Enable package installation on macOS for IDE support (type hints, autocompletion)
  • Add platform check in _load_bundled() to give clear error when attempting BPF operations on non-Linux
  • Add sdist build to release workflow for cross-platform pip install
  • Configure uv to resolve dependencies for both Linux and macOS platforms

Test plan

  • Verify uv sync works on Linux
  • Verify uv sync works on macOS
  • Verify pip install -e . works on macOS
  • Verify importing tinybpf on macOS works for type checking
  • Verify BPF operations on macOS fail with clear error message

🤖 Generated with Claude Code

Configure uv to only resolve dependencies for Linux and macOS platforms.
This removes unnecessary Windows-specific packages from the lockfile.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gregclermont gregclermont force-pushed the feature/cross-platform-install branch 2 times, most recently from 53f3fb4 to 618aaa7 Compare January 21, 2026 07:29
…ation

- Add platform check in _load_bundled() to give clear error on non-Linux
- Allow package import on macOS/Windows for IDE type hints
- Add build-sdist job to release workflow
- Include .tar.gz in release artifacts and package index
- Fix .libbpf-version path in release workflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gregclermont gregclermont force-pushed the feature/cross-platform-install branch from 618aaa7 to fe6d84e Compare January 21, 2026 07:31
@gregclermont gregclermont merged commit e66fcde into main Jan 21, 2026
3 checks passed
@gregclermont gregclermont deleted the feature/cross-platform-install branch January 21, 2026 07:33
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.

1 participant