achimnol / aiotools

Idiomatic asyncio utilties
https://aiotools.readthedocs.io
MIT License
153 stars 11 forks source link

Allow import from windows environment #47

Closed youknowone closed 2 years ago

youknowone commented 2 years ago

aiotools.fork raises error for windows. The comments on fork module say it supports specific version of linux

File "c:\users\user\projects\aiotools\src\aiotools\fork.py", line 41, in <module> 
 _libc = ctypes.CDLL(None)  
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3312.0_x64__qbz5n2kfra8p0\lib\ctypes\__init__.py", line 364, in __init__                                                                                               
  if '/' in name or '\\' in name: 
codecov[bot] commented 2 years ago

Codecov Report

Merging #47 (e2a58cb) into main (210bfb0) will increase coverage by 0.09%. The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   78.68%   78.78%   +0.09%     
==========================================
  Files          16       16              
  Lines        1323     1329       +6     
==========================================
+ Hits         1041     1047       +6     
  Misses        282      282              
Impacted Files Coverage Δ
src/aiotools/__init__.py 95.23% <92.30%> (+1.90%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 210bfb0...e2a58cb. Read the comment docs.