Skip to content
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

Unlisted dependency on python-dateutil>=2.8.1 in woodwork 0.16.0 #1393

Closed
rwedge opened this issue Apr 22, 2022 · 1 comment · Fixed by #1397
Closed

Unlisted dependency on python-dateutil>=2.8.1 in woodwork 0.16.0 #1393

rwedge opened this issue Apr 22, 2022 · 1 comment · Fixed by #1397
Assignees
Labels
bug Something isn't working

Comments

@rwedge
Copy link
Contributor

rwedge commented Apr 22, 2022

Woodwork imports ParserError from python-dateutil but ParserError was introduced in python-dateutil 2.8.1 while pandas 1.3.x requires python-dateutil>=2.7.3

pandas 1.4.x requires python-dateutil>=2.8.1

Introduced by #1365

Before python-dateutil 2.8.1 the same errors were ValueError, see dateutil/dateutil#881

@rwedge rwedge added the bug Something isn't working label Apr 22, 2022
@rwedge
Copy link
Contributor Author

rwedge commented Apr 25, 2022

To reproduce:

In clean python environment:

pip install woodwork==0.16.1 pandas<1.4 python-dateutil<2.8

import woodwork as ww
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/woodwork/__init__.py", line 7, in <module>
    from .type_sys import type_system
  File "/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/woodwork/type_sys/__init__.py", line 1, in <module>
    from .type_system import type_system
  File "/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/woodwork/type_sys/type_system.py", line 3, in <module>
    from .inference_functions import (
  File "/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/woodwork/type_sys/inference_functions.py", line 10, in <module>
    from woodwork.type_sys.utils import _is_categorical_series, col_is_datetime
  File "/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/woodwork/type_sys/utils.py", line 2, in <module>
    from dateutil.parser import ParserError
ImportError: cannot import name 'ParserError' from 'dateutil.parser' (/Users/roy.wedge/opt/miniconda3/envs/testww/lib/python3.8/site-packages/dateutil/parser/__init__.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants