google / google/magika

python tests suite fails on windows

Open
#789 2 comments 0 reactions 0 assignees View on GitHub
help wanted python testing
Dominant language
Rust
Stars
18.6k
Forks
1.2k
Avg merge
3d 12h
Merged PRs (30d)
20

Description

The tests suite at https://github.com/google/magika/blob/main/.github/workflows/python-test-suite.yml somehow fails when running it on windows.

Some of the failures are about mypy (rightfully) complaining about the signal module, but even when commenting that out, other issues pop out when running the tests. These include some misdetection-related checks, which is very weird as nothing should change depending on the operating system.

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/python-test-suite.yml and reproduce the Python test suite on Windows. Investigate the mypy signal-module failures and the misdetection-related test failures; the work is done when the Windows suite passes without OS-dependent misdetections.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.