GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Simplify noxfile setup. by kurtisvg · Pull Request #2806 · GoogleCloudPlatform/python-docs-samples

Conversation

@kurtisvg

@kurtisvg kurtisvg commented Feb 10, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR simplifies the noxfile setup, causing each project use noxfile.py in the project folder. If no noxfile is found, it will search for a noxfile-template.py in the nearest parent folder and use that instead. This will allow per-project configuration of sample versions (and other tests).

Other things:

  • Tests python 3.6 and 3.7 by default
  • Adds Python 3.8 kokoro build configs (won't be active until job is also updated)
  • Removes the shared testing/requirements.py and added project specific requirements-tests.py instead
  • Configures appengine/standard to only test Python 2.7

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

leahecole reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@kurtisvg
kurtisvg requested a review from a team as a code owner February 10, 2020 16:38
@blunderbuss-gcf blunderbuss-gcf Bot assigned busunkim96 Feb 10, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 10, 2020
@leahecole leahecole mentioned this pull request Feb 10, 2020
re-write authoring guide, add links to other documentation #2728
Merged
crwilcox
crwilcox reviewed Mar 6, 2020
View reviewed changes
Comment thread noxfile-template.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@kurtisvg
kurtisvg force-pushed the simple-nox branch from ee53cc5 to 160cd78 Compare March 30, 2020 22:13
@kurtisvg
kurtisvg requested review from busunkim96, daniel-sanche, djmailhot, gguuss, grant and leahecole as code owners March 30, 2020 22:29
@kurtisvg
kurtisvg requested review from BenWhitehead, alixhami, andrewsg, anguillanneuf, averikitsch, billyjacobson, bradmiro, czahedi, davidcavazos, hongalex, michaelawyu, mmmarklu, nnegrey, shollyman and sirtorry as code owners March 30, 2020 23:40
@kurtisvg
kurtisvg removed request for andrewsg, djmailhot and grant March 30, 2020 23:44
@kurtisvg

kurtisvg commented Apr 2, 2020

Copy link
Copy Markdown
Contributor Author

Admin Merging - Remaining tests are already marked as flakey.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kurtisvg
kurtisvg merged commit 3397e6b into master Apr 2, 2020
@kurtisvg
kurtisvg deleted the simple-nox branch April 2, 2020 02:11
busunkim96 pushed a commit to googleapis/python-texttospeech that referenced this pull request Apr 9, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
efaafc3
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to googleapis/python-texttospeech that referenced this pull request May 13, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
3babc58
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to googleapis/python-texttospeech that referenced this pull request May 13, 2020
@kurtisvg @renovate-bot @busunkim96
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
dc3b715
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to googleapis/python-texttospeech that referenced this pull request May 13, 2020
@kurtisvg @renovate-bot @busunkim96
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
25a9af0
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-videointelligence that referenced this pull request May 19, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
8207cfd
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-vision that referenced this pull request May 20, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
a33c5b2
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-language that referenced this pull request May 20, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
c5336b3
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-dlp that referenced this pull request May 20, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
0f3b4da
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-videointelligence that referenced this pull request May 20, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
e5eb95e
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
busunkim96 pushed a commit to busunkim96/python-videointelligence that referenced this pull request May 20, 2020
@kurtisvg @renovate-bot
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
d21146e
…ples#2806)

* chore(deps): update dependency requests to v2.23.0

* Simplify noxfile and add version control.

* Configure appengine/standard to only test Python 2.7.

* Update Kokokro configs to match noxfile.

* Add requirements-test to each folder.

* Remove Py2 versions from everything execept appengine/standard.

* Remove conftest.py.

* Remove appengine/standard/conftest.py

* Remove 'no-sucess-flaky-report' from pytest.ini.

* Add GAE SDK back to appengine/standard tests.

* Fix typo.

* Roll pytest to python 2 version.

* Add a bunch of testing requirements.

* Remove typo.

* Add appengine lib directory back in.

* Add some additional requirements.

* Fix issue with flake8 args.

* Even more requirements.

* Readd appengine conftest.py.

* Add a few more requirements.

* Even more Appengine requirements.

* Add webtest for appengine/standard/mailgun.

* Add some additional requirements.

* Add workaround for issue with mailjet-rest.

* Add responses for appengine/standard/mailjet.

Co-authored-by: Renovate Bot <[email protected]>
@rsamborski rsamborski mentioned this pull request Nov 8, 2022
migrate code from googleapis/python-kms #8470
Merged
6 of 8 tasks
This was referenced Nov 10, 2022
migrate code from googleapis/python-texttospeech #8483
Merged
migrate code from googleapis/python-datacatalog #8508
Merged
@telpirion telpirion mentioned this pull request Nov 16, 2022
chore(translation): migrate code from googleapis/python-translate #8523
Merged
8 tasks
@arbrown arbrown mentioned this pull request Nov 17, 2022
migrate code from googleapis/python-automl #8528
Merged
8 tasks
@msampathkumar msampathkumar mentioned this pull request Nov 18, 2022
migrate code from googleapis/python-containeranalysis #8529
Merged
8 tasks
@m-strzelczyk m-strzelczyk mentioned this pull request Nov 18, 2022
migrate code from googleapis/python-language #8533
Merged
8 tasks
This was referenced Jan 13, 2023
chore(speech): migrate code from googleapis/python-speech #8982
Merged
chore(dialogflow): migrate code from googleapis/python-dialogflow #9011
Closed
@yil532 yil532 mentioned this pull request Feb 1, 2023
chore(dialogflow): migrate code from googleapis/python-dialogflow #9078
Merged
8 tasks
@MiaCY MiaCY mentioned this pull request Apr 11, 2023
migrate code from googleapis/python-scheduler #9558
Merged
8 tasks
@dizcology dizcology mentioned this pull request Jun 16, 2023
migrate code from googleapis/python-bigquery-datatransfer #10259
Merged
9 tasks
@dizcology dizcology mentioned this pull request Sep 11, 2023
migrate code from googleapis/python-videointelligence #10605
Merged
9 tasks
@Linchin Linchin mentioned this pull request Aug 18, 2025
chore: migrate handwritten samples from googleapis/python-bigquery-storage #13543
Merged
9 tasks
@chalmerlowe chalmerlowe mentioned this pull request Feb 19, 2026
migrate code from googleapis/python-logging #13844
Merged
9 tasks
This was referenced Sep 8, 2026
migrate code from googleapis/python-bigquery #14589
Closed
docs: migrate code from googleapis/python-bigquery googleapis/google-cloud-python#18303
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@noerog noerog noerog left review comments
@leahecole leahecole leahecole approved these changes
@gguuss gguuss Awaiting requested review from gguuss
+2 more reviewers
@crwilcox crwilcox crwilcox left review comments
@busunkim96 busunkim96 busunkim96 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@busunkim96 busunkim96

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@kurtisvg @crwilcox @leahecole @busunkim96 @noerog @googlebot @renovate-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.