Skip to content

Commit 547d256

Browse files
chalmerlowerenovate-botgcf-owl-bot[bot]
authored
chore: updates owlbot and renovate.json to help control dependency when Python 3.9 is used. (#1227)
* chore(deps): update all dependencies * add checks to avoid overwriting dependency when using python 3.9 * Update samples/snippets/requirements.txt * Update renovate.json * updates name of test to match upstream refactor * blocks a class with tests for content BQ does not support * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Mend Renovate <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d5474a9 commit 547d256

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

owlbot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# exclude gh actions as credentials are needed for tests
5454
".github/workflows",
5555
"README.rst",
56+
"renovate.json",
5657
],
5758
)
5859

renovate.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,12 @@
88
"ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml"],
99
"pip_requirements": {
1010
"fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"]
11-
}
11+
},
12+
"packageRules": [
13+
{
14+
"matchFileNames": ["requirements.txt"],
15+
"matchStrings": ["geoalchemy2(.*); python_version == '3.9'"],
16+
"allowedVersions": ">= 0.17.1, < 0.18.0"
17+
}
18+
]
1219
}

samples/snippets/requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
alembic==1.16.4; python_version >= '3.9'
22
certifi==2025.7.14
33
charset-normalizer==3.4.2
4-
geoalchemy2==0.17.1
4+
geoalchemy2===0.17.1; python_version == '3.9'
5+
geoalchemy2==0.18.0; python_version >= '3.10'
56
google-api-core[grpc]==2.25.1
67
google-auth==2.40.3
7-
google-cloud-bigquery==3.35.0; python_version >= '3.9'
8+
google-cloud-bigquery==3.35.1; python_version >= '3.9'
89
google-cloud-core==2.4.3
910
google-crc32c==1.7.1; python_version >= '3.9'
1011
google-resumable-media==2.7.2
1112
googleapis-common-protos==1.70.0
1213
greenlet==3.2.3; python_version >= '3.9'
13-
grpcio==1.73.1; python_version >= '3.9'
14-
grpcio-status==1.73.1; python_version >= '3.9'
14+
grpcio==1.74.0; python_version >= '3.9'
15+
grpcio-status==1.74.0; python_version >= '3.9'
1516
idna==3.10
1617
importlib-resources==6.5.2; python_version >= '3.9'
1718
mako==1.3.10; python_version >= '3.9'

tests/sqlalchemy_dialect_compliance/test_dialect_compliance.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@
5555
)
5656

5757
from sqlalchemy.testing.suite.test_reflection import (
58-
BizarroCharacterFKResolutionTest,
58+
BizarroCharacterTest,
5959
ComponentReflectionTest,
60+
ComponentReflectionTestExtra,
6061
HasTableTest,
6162
)
6263

@@ -615,6 +616,7 @@ def test_no_results_for_non_returning_insert(cls):
615616
pass
616617

617618

619+
del ComponentReflectionTestExtra # Multiple tests re: CHECK CONSTRAINTS, etc which
618620
del ComponentReflectionTest # Multiple tests re: CHECK CONSTRAINTS, etc which
619621
# BQ does not support
620622
# class ComponentReflectionTest(_ComponentReflectionTest):
@@ -629,7 +631,7 @@ def test_no_results_for_non_returning_insert(cls):
629631
# pass
630632

631633
del ArrayTest # only appears to apply to postgresql
632-
del BizarroCharacterFKResolutionTest
634+
del BizarroCharacterTest
633635
del HasTableTest.test_has_table_cache # TODO confirm whether BQ has table caching
634636
del DistinctOnTest # expects unquoted table names.
635637
del HasIndexTest # BQ doesn't do the indexes that SQLA is loooking for.

0 commit comments

Comments
 (0)