benoitc / benoitc/http-parser

Python 3.12 installation fails

Open
#99 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
C
Stars
345
Forks
94
PR merge metrics
No merged PRs in 30d

Description

```
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-btpgg84o/http-parser_a6c14b2ad3cd4d90a8e000168824cb8d/setup.py", line 12, in
from imp import load_source
ModuleNotFoundError: No module named 'imp'
[end of output]
```

`imp` is deprecated and was removed with 3.12

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the repository's setup.py and the import of imp shown in the traceback. Verify the installation under Python 3.12; it is done when the package can be installed without the ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.