botbuilder-python icon indicating copy to clipboard operation
botbuilder-python copied to clipboard

SyntaxWarning errors on downstream dependencies

Open roshanjrajan opened this issue 1 year ago • 2 comments

Version

4.15.0

Describe the bug

When importing botbuilder, i get the following errors.

/usr/local/lib/python3.10/site-packages/recognizers_date_time/date_time/utilities.py:552: SyntaxWarning: 'int' object is not subscriptable; perhaps you missed a comma?
bias = 0[0]

/usr/local/lib/python3.10/site-packages/recognizers_number/number/extractors.py:37: SyntaxWarning: "is" with a literal. Did you mean "=="?
if source is None or len(source.strip()) is 0:

To Reproduce

Importing botbuilder core and schema through teams-ai package.

Expected behavior

Normally, I would make an issue with the corresponding package. But it hasn't been committed to in the last year. I expect the SyntaxWarnings to be filtered out or fixed.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

roshanjrajan avatar Jul 18 '24 22:07 roshanjrajan

Sorry to ping, but is there anything we can do here? @tracyboehrer

roshanjrajan avatar Aug 08 '24 23:08 roshanjrajan

any update on this issue? :)

KirannBhavaraju avatar Mar 07 '25 10:03 KirannBhavaraju