-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
python 3.10 support #4866
python 3.10 support #4866
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
core/dbt/tests/fixtures/project.py
Outdated
@@ -14,6 +15,13 @@ | |||
|
|||
# These are the fixtures that are used in dbt core functional tests | |||
|
|||
# Logbook warnings are ignored so we don't have to fork logbook to support python 3.10. | |||
# This _only_ works for tests in `tests/` that use the project fixture. | |||
@pytest.fixture(scope="class") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this needs to be a fixture because I can't conceive of a situation in which a test would want to turn the warning back on. So I think it would be better to just put it in the code, maybe right above setup_event_handler in the project fixture?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. Updated!
resolves #4562 / CT-30
Description
Fixes known 3.10 bugs and logbook deprecations triggered by using 3.10
Checklist