Skip to content

Commit 428228e

Browse files
chore: drop mention of Python 2.7 from templates (#423)
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 72ce8b5 commit 428228e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-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-firestore/noxfile.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,16 @@ def default(session):
9393
constraints_path = str(
9494
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
9595
)
96-
session.install("asyncmock", "pytest-asyncio", "-c", constraints_path)
97-
9896
session.install(
99-
"mock", "pytest", "pytest-cov", "aiounittest", "-c", constraints_path
97+
"mock",
98+
"asyncmock",
99+
"pytest",
100+
"pytest-cov",
101+
"pytest-asyncio",
102+
"-c",
103+
constraints_path,
100104
)
105+
session.install("aiounittest", "-c", constraints_path)
101106

102107
session.install("-e", ".", "-c", constraints_path)
103108

packages/google-cloud-firestore/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)