wasi: fix os.environb byte handling - #8476
Conversation
Part of: RustPython#4583 This will enable -m test for wasi preview 1 Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesOS string conversion
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Now that test module is enable, I have ran the 466 test files in the Lib/test. I wanted to briefly share the results here. Looks like we have quite a bit to work on now 🦦
|
Part of: RustPython#4583 This will enable -m test for wasi preview 1 Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
Part of: #4583
Summary
RustPython WASIp1 did not preserve raw bytes in os.environb, causing python -m test to fail during setup.
This will enable -m test for wasi preview 1
Below is the example of running test_support on wasmer
Summary by CodeRabbit