Skip to content

Defer ctypes-dependent startup imports - #5218

Open
guedou wants to merge 1 commit into
secdev:masterfrom
guedou:no-ctypes
Open

guedou wants to merge 1 commit into
secdev:masterfrom
guedou:no-ctypes

Conversation

@guedou

@guedou guedou commented Oct 4, 2026

Copy link
Copy Markdown
Member

This PR proposes a fix to #4951.

@codecov

codecov Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.36364% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.13%. Comparing base (e2e35c0) to head (80bf242).

Files with missing lines Patch % Lines
scapy/arch/common.py 56.25% 7 Missing ⚠️
scapy/layers/bluetooth.py 50.00% 7 Missing ⚠️
scapy/arch/linux/__init__.py 60.00% 2 Missing ⚠️
scapy/supersocket.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5218      +/-   ##
==========================================
- Coverage   81.14%   81.13%   -0.01%     
==========================================
  Files         393      393              
  Lines       98325    98349      +24     
==========================================
+ Hits        79786    79797      +11     
- Misses      18539    18552      +13     
Files with missing lines Coverage Δ
scapy/automaton.py 81.45% <100.00%> (+0.05%) ⬆️
scapy/supersocket.py 77.74% <80.00%> (-0.19%) ⬇️
scapy/arch/linux/__init__.py 82.77% <60.00%> (-0.19%) ⬇️
scapy/arch/common.py 67.94% <56.25%> (-4.78%) ⬇️
scapy/layers/bluetooth.py 90.65% <50.00%> (-0.49%) ⬇️

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

AI-Assisted: yes (GPT-5.4)
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