microsoft/botbuilder-python

SyntaxWarning errors on downstream dependencies

Opened this issue · 1 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.

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