Skip to content

Conversation

@busunkim96
Copy link
Contributor

Python 3.6 went End-of-Life in December. This PR adds 3.6 to the default ignored_versions list in noxfile-template.py, noxfile.py andnoxfile_config.py files.

If we need to run 3.6 in any directories, we can use a noxfile_config that doesn't have 3.6 in the ignore list.

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jan 28, 2022
Copy link
Member

@anguillanneuf anguillanneuf left a comment

Choose a reason for hiding this comment

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

Looks good for Pub/Sub.

@leahecole
Copy link
Collaborator

LGTM for data science onramp

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.8", "3.9", "3.10"],
"ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alecglassford We have you listed in CODEOWNERS for ml_engine, would you know if this change is OK to take?

Copy link
Contributor

Choose a reason for hiding this comment

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

@busunkim96 Hi! I no longer work at the company, so I'm not a good person to answer this question. (You should probably also remove me from CODEOWNERS; sorry that I didn't think to do this before I left!)

Copy link
Collaborator

Choose a reason for hiding this comment

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

@nicain can you take a look at this?

Copy link
Contributor

@nicain nicain Feb 22, 2022

Choose a reason for hiding this comment

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

@ivanmkc PTAL

# You can opt out from the test for specific Python versions.
# Skipping for Python 3.9 due to pyarrow compilation failure.
"ignored_versions": ["2.7", "3.9"],
"ignored_versions": ["2.7", "3.6", "3.9"],
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 directory doesn't seem to have any .py files, maybe the noxfile.py and noxfile_config.py should be deleted? https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/notebooks

Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's check in with @ivanmkc and/or @loferris who know a ton about the current notebooks testing strategy. My instinct is to say that's probably fine to remove those but I want an LGTM from one of those two folks 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine to remove them! We don't currently use nox on notebooks - we should be able to do CI testing on notebooks once we've added the testing pipeline to this repo. LGTM

Copy link
Collaborator

Choose a reason for hiding this comment

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

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.8", "3.9", "3.10"],
"ignored_versions": ["2.7", "3.6", "3.8", "3.9", "3.10"],
Copy link
Contributor

@nicain nicain Feb 22, 2022

Choose a reason for hiding this comment

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

@ivanmkc PTAL

/media/**/*.py @irataxy @GoogleCloudPlatform/python-samples-owners
/memorystore/**/*.py @GoogleCloudPlatform/python-samples-owners
/ml_engine/**/*.py @alecglassford @GoogleCloudPlatform/python-samples-owners
/ml_engine/**/*.py @ivanmkc @GoogleCloudPlatform/python-samples-owners
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nicain could you take this change onto a separate PR?

@davidcavazos
Copy link

LGTM for Dataflow related samples.

@busunkim96 busunkim96 requested a review from nicain February 23, 2022 15:51
@leahecole
Copy link
Collaborator

@engelke does this look ok for appengine?

@busunkim96
Copy link
Contributor Author

@nicain Could you re-review this PR?

@busunkim96 busunkim96 requested a review from a team as a code owner February 25, 2022 18:55
@leahecole leahecole merged commit 79e32fd into main Feb 25, 2022
@leahecole leahecole deleted the remove-3-6 branch February 25, 2022 19:52
meredithslota added a commit to googleapis/python-pubsub that referenced this pull request Mar 10, 2023
acocuzzo added a commit to googleapis/python-pubsub that referenced this pull request Apr 1, 2023
Copied from GoogleCloudPlatform/python-docs-samples#7409

Co-authored-by: Anna Cocuzzo <63511057+acocuzzo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.