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

test: fix broken tests due to wild card import #1240

Merged

Conversation

WilliamBergamin
Copy link
Contributor

Summary

The unit tests of #1239 are failing due to wild card imports of adapter dependencies, this PR aims to update the unit tests to allow them to pass with the changes introduced to dependencies

Testing

Run the unit tests

Category

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

Sorry, something went wrong.

@WilliamBergamin WilliamBergamin added area:async area:adapter dependencies Pull requests that update a dependency file tests labels Jan 29, 2025
@WilliamBergamin WilliamBergamin added this to the 1.22.1 milestone Jan 29, 2025
@WilliamBergamin WilliamBergamin requested a review from zimeg January 29, 2025 17:05
@WilliamBergamin WilliamBergamin self-assigned this Jan 29, 2025
@@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
fail-fast: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to allow maintainers to easily tell what versions of python may be affected by failing CI tests

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.96%. Comparing base (63598b0) to head (d5ab68f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1240   +/-   ##
=======================================
  Coverage   90.96%   90.96%           
=======================================
  Files         222      222           
  Lines        7501     7501           
=======================================
  Hits         6823     6823           
  Misses        678      678           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -16,7 +16,7 @@ pyramid>=1,<3
sanic>=20,<21; python_version=="3.6"
sanic>=21,<24; python_version>"3.6" and python_version<="3.8"
sanic>=21,<25; python_version>"3.8"
starlette>=0.14,<1
starlette>=0.19.1,<1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

starlette 0.19.1 is the latest version of this package that supports python 3.6

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM! Thanks for the review comments as well! 🙇🏻

@WilliamBergamin WilliamBergamin merged commit 276eae6 into slackapi:main Jan 29, 2025
14 checks passed
@WilliamBergamin WilliamBergamin deleted the fix-starlette-test-issue branch January 29, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:adapter area:async dependencies Pull requests that update a dependency file tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants