Skip to content

python-utils 3.6.0 is triggering an attribute error #38

@christinegu1

Description

@christinegu1

This is being triggered through a particular version of awswrangler, however, I'd like to confirm with you whether or not this attribute does/does not exist in 3.6.0. Please see the error here:


AttributeError Traceback (most recent call last)
in
----> 1 import awswrangler

/opt/conda/lib/python3.8/site-packages/awswrangler/init.py in
8 import logging as _logging
9
---> 10 from awswrangler import ( # noqa
11 athena,
12 catalog,

/opt/conda/lib/python3.8/site-packages/awswrangler/opensearch/init.py in
3 from awswrangler.opensearch._read import search, search_by_sql
4 from awswrangler.opensearch._utils import connect
----> 5 from awswrangler.opensearch._write import create_index, delete_index, index_csv, index_df, index_documents, index_json
6
7 all = [

/opt/conda/lib/python3.8/site-packages/awswrangler/opensearch/_write.py in
9 import boto3
10 import pandas as pd
---> 11 import progressbar
12 from jsonpath_ng import parse
13 from jsonpath_ng.exceptions import JsonPathParserError

/opt/conda/lib/python3.8/site-packages/progressbar/init.py in
1 from datetime import date
2
----> 3 from .utils import (
4 len_color,
5 streams

/opt/conda/lib/python3.8/site-packages/progressbar/utils.py in
7 import logging
8 import datetime
----> 9 from python_utils.time import timedelta_to_seconds, epoch, format_time
10 from python_utils.converters import scale_1024
11 from python_utils.terminal import get_terminal_size

/opt/conda/lib/python3.8/site-packages/python_utils/init.py in
----> 1 from . import (
2 aio,
3 compat,
4 converters,
5 decorators,

/opt/conda/lib/python3.8/site-packages/python_utils/decorators.py in
6 T = types.TypeVar('T')
7 TC = types.TypeVar('TC', bound=types.Container[types.Any])
----> 8 P = types.ParamSpec('P')
9
10

AttributeError: module 'python_utils.types' has no attribute 'ParamSpec'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions