microsoft / botbuilder-python

The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
http://botframework.com
MIT License
694 stars 278 forks source link

Bot Builder Python SDK issues with incompatible Python names #2161

Closed jjstirrup closed 1 week ago

jjstirrup commented 2 weeks ago

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using.

Describe the bug

Give a clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Follow instructions to here: https://github.com//microsoft/botbuilder-python?tab=readme-ov-file#running-unit-tests
  2. Run 'pytest'
  3. See error ERROR collecting libraries/botbuilder-integration-applicationinsights-aiohttp/tests/test_aiohttp_processor.py ImportError while importing test module 'C:\Users\XXXXXXX\botbuilder-python\libraries\botbuilder-integration-applicationinsights-aiohttp\tests\test_aiohttp_processor.py'. Hint: make sure your test modules/packages have valid Python names.

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

gandiddi commented 1 week ago

Hi @jjstirrup, please run the pip install -e commands. Once they have run successfully, you can proceed with the unit tests. If you still face the same issue, let me know which Python and SDK versions you are using.

gandiddi commented 1 week ago

@jjstirrup Hope you were able to resolve the issue. Please let me know if you're still experiencing any problems or need further assistance. Thanks!

gandiddi commented 1 week ago

Closing the issue as we haven't heard back from the user. Feel free to reopen or create a new issue if further assistance is needed. Thanks!