Skip to content

Commit 458596c

Browse files
chore: drop mention of Python 2.7 from templates (#74)
Source-Link: googleapis/synthtool@facee4c Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0f8f839 commit 458596c

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:a1a891041baa4ffbe1a809ac1b8b9b4a71887293c9101c88e8e255943c5aec2d
3+
digest: sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803

packages/google-cloud-org-policy/noxfile.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,15 @@ def default(session):
114114
constraints_path = str(
115115
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
116116
)
117-
session.install("asyncmock", "pytest-asyncio", "-c", constraints_path)
118-
119-
session.install("mock", "pytest", "pytest-cov", "-c", constraints_path)
117+
session.install(
118+
"mock",
119+
"asyncmock",
120+
"pytest",
121+
"pytest-cov",
122+
"pytest-asyncio",
123+
"-c",
124+
constraints_path,
125+
)
120126

121127
session.install("-e", ".", "-c", constraints_path)
122128

packages/google-cloud-org-policy/scripts/readme-gen/templates/install_deps.tmpl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Install Dependencies
1212
.. _Python Development Environment Setup Guide:
1313
https://cloud.google.com/python/setup
1414

15-
#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
15+
#. Create a virtualenv. Samples are compatible with Python 3.6+.
1616

1717
.. code-block:: bash
1818

0 commit comments

Comments
 (0)