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

Add missing test dependency on greenlet #900

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

WillDaSilva
Copy link
Contributor

Without this dependency installed, hundreds of tests fail or error when running pytest after following the instructions in docs/contributing.rst. I encountered this problem while testing the library under macOS - maybe it isn't a problem on other platforms.

@coveralls
Copy link

coveralls commented Apr 24, 2024

Coverage Status

coverage: 92.596%. remained the same
when pulling 89b7dce on WillDaSilva:master
into d366737 on agronholm:master.

@agronholm
Copy link
Owner

agronholm commented Apr 25, 2024

The proper way to ensure that greenlet is installed is to install SQLAlchemy with the asyncio extra:

[project.optional-dependencies]
sqlalchemy = ["sqlalchemy[asyncio] >= 2.0.19"]

See this note for reference.

@agronholm agronholm merged commit d9df123 into agronholm:master Apr 25, 2024
12 checks passed
@agronholm
Copy link
Owner

Ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants