Skip to content

Commit accfb6f

Browse files
renovate-botgcf-owl-bot[bot]leahecole
authored
chore(deps): update dependency scipy to v1.14.0 (GoogleCloudPlatform#11950)
* chore(deps): update dependency scipy to v1.14.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix incompatibilities --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Leah Cole <[email protected]>
1 parent 0d29c30 commit accfb6f

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

appengine/flexible/scipy/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ numpy==2.0.0; python_version > '3.9'
55
numpy==1.26.4; python_version == '3.9'
66
numpy==1.24.4; python_version == '3.8'
77
pillow==10.3.0
8-
scipy==1.10.1; python_version == '3.8'
9-
scipy==1.13.1; python_version < '3.8'
8+
scipy==1.10.1; python_version <= '3.9'
109
scipy==1.14.0; python_version > '3.9'

appengine/flexible_python37_and_earlier/scipy/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ numpy==1.26.4; python_version == '3.9'
77
numpy==1.24.4; python_version == '3.8'
88
numpy==1.21.6; python_version == '3.7'
99
pillow==10.3.0
10-
scipy==1.11.1
10+
scipy==1.14.0
1111
Werkzeug==3.0.3

composer/workflows/airflow_db_cleanup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ def cleanup_sessions():
468468

469469
try:
470470
logging.info("Deleting sessions...")
471-
count_statement = "SELECT COUNT(*) AS cnt FROM session WHERE expiry < now()::timestamp(0);"
471+
count_statement = (
472+
"SELECT COUNT(*) AS cnt FROM session WHERE expiry < now()::timestamp(0);"
473+
)
472474
before = session.execute(text(count_statement)).one_or_none()["cnt"]
473475
session.execute(text("DELETE FROM session WHERE expiry < now()::timestamp(0);"))
474476
after = session.execute(text(count_statement)).one_or_none()["cnt"]

composer/workflows/simple.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,10 @@ def greeting():
5555

5656
# An instance of an operator is called a task. In this case, the
5757
# hello_python task calls the "greeting" Python function.
58-
hello_python = PythonOperator(
59-
task_id="hello", python_callable=greeting
60-
)
58+
hello_python = PythonOperator(task_id="hello", python_callable=greeting)
6159

6260
# Likewise, the goodbye_bash task calls a Bash script.
63-
goodbye_bash = BashOperator(
64-
task_id="bye", bash_command="echo Goodbye."
65-
)
61+
goodbye_bash = BashOperator(task_id="bye", bash_command="echo Goodbye.")
6662
# [END composer_simple_operators]
6763

6864
# [START composer_simple_relationships]

0 commit comments

Comments
 (0)