CyMySQL icon indicating copy to clipboard operation
CyMySQL copied to clipboard

Cannot download on Python 3.13

Open lokalius opened this issue 6 months ago • 1 comments

I can not install from Python3.13 through pip install cymysql

Collecting cymysql
  Using cached cymysql-1.1.0.tar.gz (52 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/home/logarius/.local/share/virtualenvs/zq-yyp-dawrtoff-hCBWKNHg/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/home/logarius/.local/share/virtualenvs/zq-yyp-dawrtoff-hCBWKNHg/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/logarius/.local/share/virtualenvs/zq-yyp-dawrtoff-hCBWKNHg/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-w_slo459/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-w_slo459/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-w_slo459/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 4, in <module>
      ModuleNotFoundError: No module named 'cymysql'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I feel like it might be an issue with the setup.py file.

>> python --version
Python 3.13.3

lokalius avatar Jul 11 '25 08:07 lokalius

Sorry.

1.1.1 has been released.

Please try pip install

nakagami avatar Jul 11 '25 08:07 nakagami