Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-209

Revert temporary changes to pyproject for DeprecationWarnings

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • 1.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers

      To get a number of pull-requests to pass, we had to bypass certain warnings in pytest.
      Once Polars support is there, let's revert the change.

      The following commit is the culprit.

      Author: Casey Clements <casey.clements@mongodb.com>
      Date:   Sat Jan 27 16:07:50 2024 -0500
      
          ARROW-206 ARROW-204 Added temporary pytest filterwarnings for Pandas DeprecationWarnings
      
      diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
      index ee4cc0f..d1828f1 100644
      --- a/bindings/python/pyproject.toml
      +++ b/bindings/python/pyproject.toml
      @@ -105,6 +105,10 @@ filterwarnings = [
         "error",
         # https://github.com/dateutil/dateutil/issues/1314
         "module:datetime.datetime.utc:DeprecationWarning",
      +  # https://jira.mongodb.org/browse/ARROW-204
      +  'ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead.',
      +  # https://jira.mongodb.org/browse/ARROW-206
      +  'ignore:DatetimeTZBlock is deprecated and will be removed in a future version. Use public APIs instead.'
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            casey.clements@mongodb.com Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: