Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit db8e753

Browse filesBrowse files
chore(python): update release script dependencies (#386)
* chore(python): update release script dependencies Source-Link: googleapis/synthtool@25083af Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e6cbd61f1838d9ff6a31436dfc13717f372a7482a82fc1863ca954ec47bff8c8 * Remove unneeded replacement * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Replace DEFAULT_PYTHON_VERSION with "3.9" * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Mariatta Wijaya <mariattaw@google.com>
1 parent 7c5a138 commit db8e753
Copy full SHA for db8e753

File tree

Expand file treeCollapse file tree

9 files changed

+222
-181
lines changed
Filter options
Expand file treeCollapse file tree

9 files changed

+222
-181
lines changed

‎.github/.OwlBot.lock.yaml

Copy file name to clipboardExpand all lines: .github/.OwlBot.lock.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:7a40313731a7cb1454eef6b33d3446ebb121836738dc3ab3d2d3ded5268c35b6
16+
digest: sha256:e6cbd61f1838d9ff6a31436dfc13717f372a7482a82fc1863ca954ec47bff8c8

‎.github/workflows/docs.yml

Copy file name to clipboardExpand all lines: .github/workflows/docs.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v4
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.9"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Python
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: "3.10"
31+
python-version: "3.9"
3232
- name: Install nox
3333
run: |
3434
python -m pip install --upgrade setuptools pip wheel

‎.github/workflows/lint.yml

Copy file name to clipboardExpand all lines: .github/workflows/lint.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v4
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.8"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

‎.github/workflows/unittest.yml

Copy file name to clipboardExpand all lines: .github/workflows/unittest.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup Python
4242
uses: actions/setup-python@v4
4343
with:
44-
python-version: "3.10"
44+
python-version: "3.8"
4545
- name: Install coverage
4646
run: |
4747
python -m pip install --upgrade setuptools pip wheel

‎.kokoro/docker/docs/Dockerfile

Copy file name to clipboardExpand all lines: .kokoro/docker/docs/Dockerfile
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ RUN apt-get update \
6060
&& rm -rf /var/lib/apt/lists/* \
6161
&& rm -f /var/cache/apt/archives/*.deb
6262

63-
###################### Install python 3.8.11
63+
###################### Install python 3.9.13
6464

65-
# Download python 3.8.11
66-
RUN wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tgz
65+
# Download python 3.9.13
66+
RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz
6767

6868
# Extract files
69-
RUN tar -xvf Python-3.8.11.tgz
69+
RUN tar -xvf Python-3.9.13.tgz
7070

71-
# Install python 3.8.11
72-
RUN ./Python-3.8.11/configure --enable-optimizations
71+
# Install python 3.9.13
72+
RUN ./Python-3.9.13/configure --enable-optimizations
7373
RUN make altinstall
7474

7575
###################### Install pip

‎.kokoro/requirements.in

Copy file name to clipboardExpand all lines: .kokoro/requirements.in
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ typing-extensions
55
twine
66
wheel
77
setuptools
8-
nox
8+
nox
9+
charset-normalizer<3
10+
click<8.1.0

‎.kokoro/requirements.txt

Copy file name to clipboardExpand all lines: .kokoro/requirements.txt
+193-161Lines changed: 193 additions & 161 deletions
Large diffs are not rendered by default.

‎noxfile.py

Copy file name to clipboardExpand all lines: noxfile.py
+12-5Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,16 @@ def cover(session):
291291
session.run("coverage", "erase")
292292

293293

294-
@nox.session(python=DEFAULT_PYTHON_VERSION)
294+
@nox.session(python="3.9")
295295
def docs(session):
296296
"""Build the docs for this library."""
297297

298298
session.install("-e", ".")
299-
session.install("sphinx==4.0.1", "alabaster", "recommonmark")
299+
session.install(
300+
"sphinx==4.0.1",
301+
"alabaster",
302+
"recommonmark",
303+
)
300304

301305
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
302306
session.run(
@@ -313,7 +317,7 @@ def docs(session):
313317
)
314318

315319

316-
@nox.session(python=DEFAULT_PYTHON_VERSION)
320+
@nox.session(python="3.9")
317321
def doctests(session):
318322
# Install all test dependencies, then install this package into the
319323
# virtualenv's dist-packages.
@@ -324,13 +328,16 @@ def doctests(session):
324328
session.run("py.test", "tests/doctests.py")
325329

326330

327-
@nox.session(python=DEFAULT_PYTHON_VERSION)
331+
@nox.session(python="3.9")
328332
def docfx(session):
329333
"""Build the docfx yaml files for this library."""
330334

331335
session.install("-e", ".")
332336
session.install(
333-
"sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
337+
"sphinx==4.0.1",
338+
"alabaster",
339+
"recommonmark",
340+
"gcp-sphinx-docfx-yaml",
334341
)
335342

336343
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)

‎owlbot.py

Copy file name to clipboardExpand all lines: owlbot.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ def system(session, disable_grpc):
179179
assert 1 == s.replace(
180180
"noxfile.py",
181181
r"""\
182-
@nox.session\(python=DEFAULT_PYTHON_VERSION\)
182+
@nox.session\(python="3.9"\)
183183
def docfx\(session\):
184184
""",
185185
"""\
186-
@nox.session(python=DEFAULT_PYTHON_VERSION)
186+
@nox.session(python="3.9")
187187
def doctests(session):
188188
# Install all test dependencies, then install this package into the
189189
# virtualenv's dist-packages.
@@ -194,7 +194,7 @@ def doctests(session):
194194
session.run("py.test", "tests/doctests.py")
195195
196196
197-
@nox.session(python=DEFAULT_PYTHON_VERSION)
197+
@nox.session(python="3.9")
198198
def docfx(session):
199199
""",
200200
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.