File setup.py of Package failed_python-http-parser

```python
from setuptools import setup, Extension
from importlib.machinery import SourceFileLoader
import os

# Load version information
version = SourceFileLoader('version', os.path.join('http_parser', '_version.py')).load_module()

# Define the extension module
parser_module = Extension(
    'http_parser.parser',
    sources=['http_parser/http_parser.c', 'http_parser/parser.c'],
    include_dirs=['parser'],
)

# Setup configuration
setup(
    name='http-parser',
    version=version.__version__,
    description='HTTP request/response parser',
    author='Your Name',
    author_email='your.email@example.com',
    url='https://github.com/example/http-parser',
    packages=['http_parser'],
    ext_modules=[parser_module],
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
    ],
    python_requires='>=3.7',
)
```

### Explanation of Changes:
1. **Replaced `imp` with `importlib.machinery.SourceFileLoader`:**
   - The `imp` module is deprecated and removed in Python 3.12. The `importlib.machinery.SourceFileLoader` provides a modern alternative for loading Python source files dynamically.
   
2. **Updated the `load_source` call:**
   - The `load_source` function from `imp` is replaced with `SourceFileLoader(...).load_module()` to ensure compatibility with Python 3.12.

3. **No other changes were made:**
   - The rest of the file remains unchanged to minimize modifications while ensuring functionality.

### Next Steps:
After applying this fix, rebuild the package to verify that the issue is resolved. If additional errors occur, they will need to be addressed based on the new build logs.
openSUSE Build Service is sponsored by