facebook / facebook/watchman

pywatchman raises SystemError on Python 3.10

Open
#970 26 comments 23 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The latest version of pywatchman (1.4.1) is not working on Python 3.10.

A `SystemError` occurs which can be reproduced as follows:

```python
import pywatchman
client = pywatchman.client()
client.capabilityCheck()
```

This code will trigger `SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.