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

DeprecationWarning: builtin type Row has no __module__ attribute

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 1.0.4
    • 1.0.5
    • Generic
    • None

    Description

      The unit test suite generates a warning in test_cursor.py line 322: "DeprecationWarning: builtin type Row has no _module_ attribute

      This is caused by #17941: Since Python 3.6 the sequence description of a sequence type should contain the module name:

      Instead of "Row" the sequence description must be "mariadb.Row".

      Attachments

        Activity

          georg Georg Richter created issue -
          georg Georg Richter made changes -
          Field Original Value New Value
          Description The unit test suite generates a warning in test_cursor.py line 322: "DeprecationWarning: builtin type Row has no __module__ attribute

          This is caused by [|17941|https://bugs.python.org/issue17941]: Since Python 3.6 the sequence description of a sequence type should contain the module name:

          Instead of "Row" the sequence description must be "mariadb.Row".
          The unit test suite generates a warning in test_cursor.py line 322: "DeprecationWarning: builtin type Row has no __module__ attribute

          This is caused by [#17941|https://bugs.python.org/issue17941]: Since Python 3.6 the sequence description of a sequence type should contain the module name:

          Instead of "Row" the sequence description must be "mariadb.Row".
          georg Georg Richter added a comment -

          fixed in rev. 4a5d02a1b1cfc5c06ea32892630cbce0e9ba3057

          georg Georg Richter added a comment - fixed in rev. 4a5d02a1b1cfc5c06ea32892630cbce0e9ba3057
          georg Georg Richter made changes -
          issue.field.resolutiondate 2020-11-16 06:37:08.0 2020-11-16 06:37:08.313
          georg Georg Richter made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 115787 ] MariaDB v4 [ 135690 ]

          People

            georg Georg Richter
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.