Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ShaharNaveh
Copy link
Contributor

@ShaharNaveh ShaharNaveh commented Jan 31, 2026

Summary by CodeRabbit

  • New Features

    • Android platform now supports SCHED_DEADLINE and SCHED_NORMAL scheduling constants for process scheduling operations.
  • Updates

    • Updated libc library to version 0.2.180.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 31, 2026

📝 Walkthrough

Walkthrough

Added Android-specific POSIX scheduling constants (SCHED_DEADLINE and SCHED_NORMAL) to RustPython's posix module via libc imports. Updated libc version dependency from 0.2.177 to 0.2.180 and adjusted Python documentation references from version 3.13 to 3.14.

Changes

Cohort / File(s) Summary
Android POSIX Scheduling Constants
crates/vm/src/stdlib/posix.rs
Added Android-targeted #[pyattr] exports for SCHED_DEADLINE and SCHED_NORMAL from libc, making these scheduling constants available as Python attributes on Android targets.
Libc Dependency and Documentation
scripts/libc_posix.py
Updated libc version constant from 0.2.177 to 0.2.180 and updated Python os module documentation URL reference from version 3.13 to 3.14.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • youknowone

Poem

🐰 Android hops with scheduling cheer,
DEADLINE and NORMAL, crisp and clear,
Constants exposed for all to see,
While libc dances version 0.2.180 spree! ⚡

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: updating libc to version 0.2.180 and targeting CPython 3.14, which are the primary modifications evident in both modified files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@youknowone youknowone merged commit 07ba834 into RustPython:main Jan 31, 2026
13 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