FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ci: do not run 3.6 tests by default by busunkim96 · Pull Request #7409 · GoogleCloudPlatform/python-docs-samples · GitHub

ci: do not run 3.6 tests by default - #7409

Merged
leahecole merged 7 commits into
mainfrom
remove-3-6
Feb 25, 2022
Merged

ci: do not run 3.6 tests by default#7409
leahecole merged 7 commits into
mainfrom
remove-3-6

Conversation

Copy link
Copy Markdown
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 Bot added the samples Issues that are directly related to samples. label Jan 28, 2022

anguillanneuf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good for Pub/Sub.

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@nicain can you take a look at this?

nicain Feb 22, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@ivanmkc PTAL

Comment thread notebooks/noxfile_config.py Outdated
# 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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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"],

nicain Feb 22, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@ivanmkc PTAL

Comment thread .github/CODEOWNERS Outdated
/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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown

LGTM for Dataflow related samples.

busunkim96 requested a review from nicain February 23, 2022 15:51

Copy link
Copy Markdown
Collaborator

@engelke does this look ok for appengine?

Copy link
Copy Markdown
Contributor Author

@nicain Could you re-review this PR?

busunkim96 requested a review from a team as a code owner February 25, 2022 18:55
leahecole merged commit 79e32fd into main Feb 25, 2022
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>
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 2, 2026
Copied from GoogleCloudPlatform/python-docs-samples#7409

Co-authored-by: Anna Cocuzzo <63511057+acocuzzo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.


Back | FazBrowse Home | New Git URL