Skip to content

Commit 8b7bf6f

Browse files
chore: drop mention of Python 2.7 from templates (#245)
Source-Link: googleapis/synthtool@facee4c Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803
1 parent 71b5c94 commit 8b7bf6f

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/.OwlBot.lock.yaml

+1-1
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

noxfile.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,15 @@ def default(session):
104104
constraints_path = str(
105105
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
106106
)
107-
session.install("mock", "pytest", "pytest-cov", "-c", constraints_path)
107+
session.install(
108+
"mock",
109+
"asyncmock",
110+
"pytest",
111+
"pytest-cov",
112+
"pytest-asyncio",
113+
"-c",
114+
constraints_path,
115+
)
108116

109117
install_alembic_for_python_38(session, constraints_path)
110118
session.install("-e", ".", "-c", constraints_path)

scripts/readme-gen/templates/install_deps.tmpl.rst

+1-1
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)