Repository navigation
chore: update nodriver to 0.50.6 and drop the obsolete encoding patch - #1344
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1344 +/- ##
==========================================
- Coverage 92.11% 92.10% -0.02%
==========================================
Files 50 50
Lines 7728 7728
Branches 1341 1341
==========================================
- Hits 7119 7118 -1
Misses 400 400
- Partials 209 210 +1
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ℹ️ Description
nodriverfrom 0.50.3 to 0.50.6.cdp/network.pyas valid UTF-8, so our post-install encoding patch is obsolete and removed.core/connection.py(incl.Connection.send) is unchanged between 0.50.3 and 0.50.6, so the flat-mode session retry patch for Chromium 148+ is still needed and still applied.📋 Changes Summary
pyproject.toml/pdm.lock:nodriver==0.50.6(lock updated with--update-reuse, only nodriver changes).scripts/fix_nodriver.py: drop thecdp/network.pyencoding fix; theConnection.sendretry patch stays. On install the hook now reportsconnection.py -> fixed.ads.py,find_in_page.py) and__init__.py.Tested locally with a fresh venv: format, lint and the full test suite (incl. browser integration tests) pass; a live read-only
listrun with Chromium 154 logged in and listed all ads, no-32601/retry in the log.⚙️ Type of Change
✅ Checklist
pdm run test).pdm run format).pdm run lint).By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Summary by CodeRabbit