-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support python 3.12 version #72
Support python 3.12 version #72
Conversation
9492b6a
to
df7feb7
Compare
sorry, not work with python3.12, so I close this. |
What was the error with 3.12? |
Here are some reasons for error.
Still trying, but not yet successful. |
The error has been resolved and I reopen this PR. |
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.
One question about dependencies and also why do we need to pin the pandas/numpy version?
pyproject.toml
Outdated
agate = ">=1.7.0,<1.10" | ||
google-cloud-bigquery = "^3" | ||
pydantic = "^1.9.0" | ||
tenacity = "^8.2" | ||
networkx = ">=2.3,<4.0" | ||
pyyaml = "~6" | ||
typer = "~0" | ||
numpy = [ |
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 package has a dependency on numpy or pandas directly. Should this be set in the dev dependencies instead?
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 was wrong, I'll set it up again in dev dependencies.
numpy 1.24 that has distutils doesn't support python 3.12 because we can't use distutils with python 3.12.
python 3.8 is supported by pandas up to 2.0.3.
We need to build pandas locally, because pandas for python3.12 does not exist in pypi with versions up to 2.1.0.
If we can accept local builds taking longer, no need to specify this. (In my environment it took 9 minutes.)
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.
fixed 9024a23
Thank you for your review and merging. |
Description
dbt-core v1.8 supports python 3.12 too.
Let's supported dbt-dry-run with 3.12.
We can also check test on multiple python version.
Checklist:
make verify
and fixed any linting or test errorsmake integration
against a Big Query instance