Skip to content

Expose more compatibility constants and ensure StopBits is numerical#78

Merged
puddly merged 3 commits intodevfrom
puddly/pyserial-migration-constants
May 4, 2026
Merged

Expose more compatibility constants and ensure StopBits is numerical#78
puddly merged 3 commits intodevfrom
puddly/pyserial-migration-constants

Conversation

@puddly
Copy link
Copy Markdown
Owner

@puddly puddly commented May 4, 2026

Expand the migration guide to show how to migrate things like PARITY_NONE to Parity.NONE. I've also exported a few top-level constants we were missing.

StopBits has been converted into a float enum so that equality checks keep working.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.69%. Comparing base (ff630dd) to head (bc06afe).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #78      +/-   ##
==========================================
- Coverage   90.73%   90.69%   -0.04%     
==========================================
  Files          22       22              
  Lines        3367     3375       +8     
==========================================
+ Hits         3055     3061       +6     
- Misses        312      314       +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.

@puddly puddly merged commit b4a65e7 into dev May 4, 2026
39 of 40 checks passed
@puddly puddly deleted the puddly/pyserial-migration-constants branch May 4, 2026 21:28
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