Skip to content

1.0.3rc1build is missing constants directory #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elip-OE opened this issue Mar 26, 2023 · 1 comment · Fixed by #1096
Closed

1.0.3rc1build is missing constants directory #1095

elip-OE opened this issue Mar 26, 2023 · 1 comment · Fixed by #1096

Comments

@elip-OE
Copy link

elip-OE commented Mar 26, 2023

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:

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

@methane
Copy link
Member

methane commented Mar 27, 2023

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants