← All tasks
pythonPyMySQL/PyMySQL #1095Verified, not scored yet

1.0.3rc1build is missing `constants` directory

envgap__PyMySQL__PyMySQL-1095

01 / FAILURE SIGNATURE

As reported upstream

ModuleNotFoundError: No module named 'pymysql.constants'
Not scored yet.
  • The failure reproduces in a clean container and the known fix makes the project run; it has not been scored yet.

02 / ENVIRONMENT RECIPE

Base commit
d0c2871192b9a53733f32158dade3ea2e1847eab
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

PyMySQL/PyMySQL #1095 · read the original issue
**Describe the bug**

The build in pypi lack the constants directory, causing the module to be unusable



**To Reproduce**

Complete steps to reproduce the behavior:

install pymysql 1.0.3rc1



Code:



```py

>>> import pymysql

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "pymysql/__init__.py", line 26, in <module>

    from .constants import FIELD_TYPE

ModuleNotFoundError: No module named 'pymysql.constants'



```





**Expected behavior**

import succeed



**Environment**

 - OS: linux

 - PyMySQL version: 1.0.3rc1



**Additional context**

N/A

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
[]