-
Notifications
You must be signed in to change notification settings - Fork 125
test: upload DATE column with various dtypes #420
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
Conversation
…igquery-pandas into issue362-to_gbq-date
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.
Looks good, with a question about (not) hardcoding the Python version for db-dtypes
system tests.
@@ -146,7 +146,11 @@ def system(session): | |||
# Install all test dependencies, then install this package into the | |||
# virtualenv's dist-packages. | |||
session.install("mock", "pytest", "google-cloud-testutils", "-c", constraints_path) | |||
session.install("-e", ".[tqdm]", "-c", constraints_path) | |||
if session.python == "3.9": |
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.
So, we only want to test db-types
under a single Python version, 3.9 in this case? It's not a range restriction?
Does the 3.9 version have any specific meaning, or is it more like "recent, but not the latest" kind of choice?
If the latter, we could probably say SYSTEM_TEST_PYTHON_VERSIONS[-2]
to avoid hardcoding.
Update: I see this will be removed in the follow-up PR (#423).
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 think that was because we needed some code paths where it wasn't present, but #423 adds db-dtypes as a proper dependency.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #362 🦕