← All tasks
pythongetsentry/responses #751Not a task: already works

0.25.5 dropped `py.typed` file breaking mypy type checking

envgap__getsentry__responses-751

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
284e7c39cd397e962d36eca491c8d32a3a048365
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

getsentry/responses #751 · read the original issue
### Describe the bug

The 0.25.5 release seems to have dropped the `py.typed` from the wheel causing mypy to assume there are no types in the package. The result is a bunch of type errors that weren't there before.

### Additional context

_No response_

### Version of `responses`

0.25.5

### Steps to Reproduce

Here is what I'm seeing when I pull the 0.25.3 and 0.25.5 releases from pypi and dumped the contained files.

```
$ sha256sum responses-0.25.3-py3-none-any.whl responses-0.25.5-py3-none-any.whl
521efcbc82081ab8daa588e08f7e8a64ce79b91c39f6e62199b19159bea7dbcb  responses-0.25.3-py3-none-any.whl
b3e1ae252f69301b84146ff615a869a4182fbe17e8b606f1ac54142515dad5eb  responses-0.25.5-py3-none-any.whl
```

### Expected Result

```
$ unzip -t responses-0.25.3-py3-none-any.whl
Archive:  responses-0.25.3-py3-none-any.whl
    testing: responses/__init__.py    OK
    testing: responses/_recorder.py   OK
    testing: responses/matchers.py    OK
    testing: responses/py.typed       OK
    testing: responses/registries.py   OK
    testing: responses/tests/__init__.py   OK
    testing: responses/tests/test_matchers.py   OK
    testing: responses/tests/test_multithreading.py   OK
    testing: responses/tests/test_recorder.py   OK
    testing: responses/tests/test_registries.py   OK
    testing: responses/tests/test_responses.py   OK
    testing: responses-0.25.3.dist-info/LICENSE   OK
    testing: responses-0.25.3.dist-info/METADATA   OK
    testing: responses-0.25.3.dist-info/WHEEL   OK
    testing: responses-0.25.3.dist-info/top_level.txt   OK
    testing: responses-0.25.3.dist-info/RECORD   OK
No errors detected in compressed data of responses-0.25.3-py3-none-any.whl.
```

### Actual Result

```
$ unzip -t responses-0.25.5-py3-none-any.whl
Archive:  responses-0.25.5-py3-none-any.whl
    testing: responses/__init__.py    OK
    testing: responses/_recorder.py   OK
    testing: responses/matchers.py    OK
    testing: responses/registries.py   OK
    testing: responses-0.25.5.dist-info/LICENSE   OK
    testing: responses-0.25.5.dist-info/METADATA   OK
    testing: responses-0.25.5.dist-info/WHEEL   OK
    testing: responses-0.25.5.dist-info/top_level.txt   OK
    testing: responses-0.25.5.dist-info/RECORD   OK
No errors detected in compressed data of responses-0.25.5-py3-none-any.whl.
```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]