Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-233

mariadb python adapter installation broken in new 1.1.5 release

    XMLWordPrintable

Details

    • 3.10

    Description

      $ .venv/bin/pip install mariadb_connector
      ERROR: Could not find a version that satisfies the requirement mariadb_connector (from versions: none)
      ERROR: No matching distribution found for mariadb_connector
       
      [notice] A new release of pip available: 22.2.2 -> 22.3.1
      [notice] To update, run: python -m pip install --upgrade pip
      [classic@photon3 foo]$ .venv/bin/pip install mariadb
      Collecting mariadb
      Using cached mariadb-1.1.5.tar.gz (81 kB)
      Preparing metadata (setup.py) ... error
      error: subprocess-exited-with-error
       
      × python setup.py egg_info did not run successfully.
      │ exit code: 1
      ╰─> [8 lines of output]
      Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/tmp/pip-install-lb9lm_ca/mariadb_c78264fab1f14852adee3c7ed0aa3b28/setup.py", line 12, in <module>
      from mariadb_posix import get_config
      File "/tmp/pip-install-lb9lm_ca/mariadb_c78264fab1f14852adee3c7ed0aa3b28/mariadb_posix.py", line 4, in <module>
      from packaging import version
      ModuleNotFoundError: No module named 'packaging'
      [end of output]
       
      note: This error originates from a subprocess, and is likely not a problem with pip.
      error: metadata-generation-failed
       
      × Encountered error while generating package metadata.
      ╰─> See above for output.
       
      note: This is an issue with the package mentioned above, not pip.
      hint: See above for details.
      
      

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              zzzeek Mike Bayer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.