• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

funilrys / PyFunceble / 20530599664
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 26 Dec 2025 10:42PM UTC
Jobs 1
Files 210
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Dec 2025 10:35PM UTC coverage: 96.567%. First build
20530599664

push

github

funilrys
Add a locking mechanism when accessing CSV files.

This patch touches #435.

Indeed, as discovered by @Yuki2718 and @DandelionSprout, our processes sometimes
trigger a PermissionError exception on Windows.

While testing with one of the latest builds of Windows 11 (Pro), I was able to
reproduce the issue sometimes and therefore analyze it in more detail. It turns out
that in some rare cases, 2 processes are simultaneously attempting to read the same
CSV file.

This patch attempts to solve the problem by introducing a shared lock which - for now
- only affect Windows-Users. When running on Windows, all processes will share a lock
that blocks when 2 processes try to access the same ressource at the same time.

Contributors:
  * @Yuki2718
  * @DandelionSprout

28 of 30 new or added lines in 11 files covered. (93.33%)

11730 of 12147 relevant lines covered (96.57%)

11.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
94.74
PyFunceble/dataset/base.py
Jobs
ID Job ID Ran Files Coverage
1 20530599664.1 26 Dec 2025 10:43PM UTC 210
96.57
GitHub Action Run
Source Files on build 20530599664
  • Tree
  • List 210
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e6ee2b56 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc