From 28f99790df7990178bf8674bad826a77bcd4b7bb Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Thu, 17 Apr 2025 13:19:50 -0400 Subject: [PATCH 01/10] chore: update blunderbuss.yml (#1288) --- .github/blunderbuss.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/blunderbuss.yml b/.github/blunderbuss.yml index bc2a8baf0..b7613e75d 100644 --- a/.github/blunderbuss.yml +++ b/.github/blunderbuss.yml @@ -13,9 +13,10 @@ # limitations under the License. assign_issues: - - jackwotherspoon + - hessjcg - kgala2 assign_prs: - - jackwotherspoon + - hessjcg + - kgala2 From de5b7c42bd64b064bacc49b19c2943aa8904a366 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 23 Apr 2025 14:34:51 +0100 Subject: [PATCH 02/10] chore(deps): Update dependencies for github (#1239) --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/coverage.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/scorecard.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3ad697530..3b89abf21 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,16 +46,16 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 with: languages: ${{ matrix.language }} # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually - name: Autobuild - uses: github/codeql-action/autobuild@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c7bc450d3..48ff407b2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,9 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: - python-version: "3.10" + python-version: "3.13" - run: pip install nox coverage diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe36139c5..2c5224829 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,9 +25,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: - python-version: "3.12" + python-version: "3.13" - name: Install nox run: pip install nox diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 6302818e1..9de87d423 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -40,7 +40,7 @@ jobs: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 + uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1 with: results_file: results.sarif results_format: sarif @@ -57,7 +57,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: SARIF file path: results.sarif @@ -65,6 +65,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 with: sarif_file: resultsFiltered.sarif diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e5d0b002..a881f74e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: ${{ matrix.python-version }} @@ -156,7 +156,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 with: python-version: ${{ matrix.python-version }} From 1e8215a75500358a3641e50d7ec2bd2dae08075c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 23 Apr 2025 16:32:58 +0100 Subject: [PATCH 03/10] chore(deps): update python-nonmajor (#1252) --- requirements-test.txt | 8 ++++---- requirements.txt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements-test.txt b/requirements-test.txt index 7d276cbf2..59c5171e3 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,13 +1,13 @@ pytest==8.3.5 mock==5.2.0 -pytest-cov==6.0.0 -pytest-asyncio==0.25.3 -SQLAlchemy[asyncio]==2.0.39 +pytest-cov==6.1.1 +pytest-asyncio==0.26.0 +SQLAlchemy[asyncio]==2.0.40 sqlalchemy-pytds==1.0.2 sqlalchemy-stubs==0.4 PyMySQL==1.1.1 pg8000==1.31.2 asyncpg==0.30.0 -python-tds==1.16.0 +python-tds==1.16.1 aioresponses==0.7.8 pytest-aiohttp==1.1.0 diff --git a/requirements.txt b/requirements.txt index 1dc6bc047..7098157da 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ aiofiles==24.1.0 -aiohttp==3.11.14 +aiohttp==3.11.18 cryptography==44.0.2 dnspython==2.7.0 Requests==2.32.3 -google-auth==2.38.0 +google-auth==2.39.0 From 27f6de3268605fe9d03913ba351bb754c0c9ff5c Mon Sep 17 00:00:00 2001 From: Colin Chambachan Date: Tue, 6 May 2025 11:15:44 -0400 Subject: [PATCH 04/10] chore: switch to ruff linter (#1289) --- google/cloud/sql/connector/client.py | 2 +- google/cloud/sql/connector/connector.py | 1 - google/cloud/sql/connector/refresh_utils.py | 1 + google/cloud/sql/connector/resolver.py | 4 +- noxfile.py | 49 ++++----------------- pyproject.toml | 12 +++++ tests/unit/mocks.py | 2 +- tests/unit/test_client.py | 2 +- tests/unit/test_connector.py | 2 +- tests/unit/test_refresh_utils.py | 8 ++-- 10 files changed, 32 insertions(+), 51 deletions(-) diff --git a/google/cloud/sql/connector/client.py b/google/cloud/sql/connector/client.py index 11508ce17..2e1fbc20d 100644 --- a/google/cloud/sql/connector/client.py +++ b/google/cloud/sql/connector/client.py @@ -22,9 +22,9 @@ import aiohttp from cryptography.hazmat.backends import default_backend from cryptography.x509 import load_pem_x509_certificate + from google.auth.credentials import TokenState from google.auth.transport import requests - from google.cloud.sql.connector.connection_info import ConnectionInfo from google.cloud.sql.connector.connection_name import ConnectionName from google.cloud.sql.connector.exceptions import AutoIAMAuthNotSupported diff --git a/google/cloud/sql/connector/connector.py b/google/cloud/sql/connector/connector.py index c76092a40..05eaa51df 100755 --- a/google/cloud/sql/connector/connector.py +++ b/google/cloud/sql/connector/connector.py @@ -28,7 +28,6 @@ import google.auth from google.auth.credentials import Credentials from google.auth.credentials import with_scopes_if_required - import google.cloud.sql.connector.asyncpg as asyncpg from google.cloud.sql.connector.client import CloudSQLClient from google.cloud.sql.connector.enums import DriverMapping diff --git a/google/cloud/sql/connector/refresh_utils.py b/google/cloud/sql/connector/refresh_utils.py index a90d40536..447c0b480 100644 --- a/google/cloud/sql/connector/refresh_utils.py +++ b/google/cloud/sql/connector/refresh_utils.py @@ -24,6 +24,7 @@ from typing import Any, Callable import aiohttp + from google.auth.credentials import Credentials from google.auth.credentials import Scoped import google.auth.transport.requests diff --git a/google/cloud/sql/connector/resolver.py b/google/cloud/sql/connector/resolver.py index 7d717ca05..7143c1047 100644 --- a/google/cloud/sql/connector/resolver.py +++ b/google/cloud/sql/connector/resolver.py @@ -14,11 +14,11 @@ import dns.asyncresolver +from google.cloud.sql.connector.connection_name import _is_valid_domain +from google.cloud.sql.connector.connection_name import _parse_connection_name from google.cloud.sql.connector.connection_name import ( _parse_connection_name_with_domain_name, ) -from google.cloud.sql.connector.connection_name import _is_valid_domain -from google.cloud.sql.connector.connection_name import _parse_connection_name from google.cloud.sql.connector.connection_name import ConnectionName from google.cloud.sql.connector.exceptions import DnsResolutionError diff --git a/noxfile.py b/noxfile.py index e54fd3987..f04756241 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,9 +20,6 @@ import nox -BLACK_VERSION = "black==24.10.0" -ISORT_VERSION = "isort==5.13.2" - LINT_PATHS = ["google", "tests", "noxfile.py"] TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"] @@ -36,32 +33,16 @@ def lint(session): """ session.install("-r", "requirements.txt") session.install( - "flake8", - "flake8-annotations", + "ruff", "mypy", - BLACK_VERSION, - ISORT_VERSION, "twine", "build", "importlib_metadata==7.2.1", ) session.run( - "isort", - "--fss", - "--check-only", - "--diff", - "--profile=black", - "--force-single-line-imports", - "--dont-order-by-type", - "--single-line-exclusions=typing", - "-w=88", - *LINT_PATHS, - ) - session.run("black", "--check", "--diff", *LINT_PATHS) - session.run( - "flake8", - "google", - "tests", + "ruff", + "check", + *LINT_PATHS, ) session.run( "mypy", @@ -75,28 +56,16 @@ def lint(session): session.run("python", "-m", "build", "--sdist") session.run("twine", "check", "--strict", "dist/*") - @nox.session() def format(session): """ - Run isort to sort imports. Then run black - to format code to uniform standard. + Run Ruff to automatically format code. """ - session.install(BLACK_VERSION, ISORT_VERSION) - # Use the --fss option to sort imports using strict alphabetical order. - # See https://pycqa.github.io/isort/docs/configuration/options.html#force-sort-within-sectionss - session.run( - "isort", - "--fss", - "--profile=black", - "--force-single-line-imports", - "--dont-order-by-type", - "--single-line-exclusions=typing", - "-w=88", - *LINT_PATHS, - ) + session.install("ruff") session.run( - "black", + "ruff", + "check", + "--fix", *LINT_PATHS, ) diff --git a/pyproject.toml b/pyproject.toml index 8a694369b..cbf0dd10f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,3 +82,15 @@ exclude = ['docs/*', 'samples/*'] [tool.pytest.ini_options] asyncio_mode = "auto" + +[tool.ruff.lint] +extend-select = ["I"] + +[tool.ruff.lint.isort] +force-single-line = true +force-sort-within-sections = true +order-by-type = false +single-line-exclusions = ["typing"] + +[tool.ruff.format] +quote-style = "double" diff --git a/tests/unit/mocks.py b/tests/unit/mocks.py index 66bf64a32..28c2fc307 100644 --- a/tests/unit/mocks.py +++ b/tests/unit/mocks.py @@ -31,10 +31,10 @@ from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.x509.oid import NameOID + from google.auth import _helpers from google.auth.credentials import Credentials from google.auth.credentials import TokenState - from google.cloud.sql.connector.connector import _DEFAULT_UNIVERSE_DOMAIN from google.cloud.sql.connector.utils import generate_keys from google.cloud.sql.connector.utils import write_to_file diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index cfe509470..2ecefe220 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -17,10 +17,10 @@ from aiohttp import ClientResponseError from aioresponses import aioresponses -from google.auth.credentials import Credentials from mocks import FakeCredentials import pytest +from google.auth.credentials import Credentials from google.cloud.sql.connector.client import CloudSQLClient from google.cloud.sql.connector.utils import generate_keys from google.cloud.sql.connector.version import __version__ as version diff --git a/tests/unit/test_connector.py b/tests/unit/test_connector.py index 498c947cc..157697723 100644 --- a/tests/unit/test_connector.py +++ b/tests/unit/test_connector.py @@ -19,10 +19,10 @@ from typing import Union from aiohttp import ClientResponseError -from google.auth.credentials import Credentials from mock import patch import pytest # noqa F401 Needed to run the tests +from google.auth.credentials import Credentials from google.cloud.sql.connector import Connector from google.cloud.sql.connector import create_async_connector from google.cloud.sql.connector import IPTypes diff --git a/tests/unit/test_refresh_utils.py b/tests/unit/test_refresh_utils.py index 119e92c7a..2d4cdb853 100644 --- a/tests/unit/test_refresh_utils.py +++ b/tests/unit/test_refresh_utils.py @@ -20,19 +20,19 @@ import datetime from conftest import SCOPES # type: ignore -import google.auth -from google.auth.credentials import Credentials -from google.auth.credentials import TokenState -import google.oauth2.credentials from mock import Mock from mock import patch import pytest # noqa F401 Needed to run the tests +import google.auth +from google.auth.credentials import Credentials +from google.auth.credentials import TokenState from google.cloud.sql.connector.refresh_utils import _downscope_credentials from google.cloud.sql.connector.refresh_utils import _exponential_backoff from google.cloud.sql.connector.refresh_utils import _is_valid from google.cloud.sql.connector.refresh_utils import _seconds_until_refresh from google.cloud.sql.connector.refresh_utils import retry_50x +import google.oauth2.credentials @pytest.fixture From 31ec9ca2a25d3fcb378d89d78684993fc3bd0d3b Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Tue, 6 May 2025 12:38:29 -0400 Subject: [PATCH 05/10] chore: update code coverage to use proper python version (#1293) --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 48ff407b2..b24bb0493 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -37,7 +37,7 @@ jobs: - name: Calculate base code coverage run: | - nox --sessions unit-3.10 + nox --sessions unit-3.13 coverage report --show-missing export CUR_COVER=$(coverage report | awk '$1 == "TOTAL" {print $NF+0}') echo "CUR_COVER=$CUR_COVER" >> $GITHUB_ENV @@ -51,7 +51,7 @@ jobs: - name: Calculate PR code coverage run: | - nox --sessions unit-3.10 + nox --sessions unit-3.13 coverage report --show-missing export PR_COVER=$(coverage report | awk '$1 == "TOTAL" {print $NF+0}') echo "PR_COVER=$PR_COVER" >> $GITHUB_ENV From 47faae8a452a11e9bcdd70a9e490286b6737187a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 May 2025 19:16:26 +0200 Subject: [PATCH 06/10] chore(deps): Update dependencies for github (#1291) --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/coverage.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/scorecard.yml | 2 +- .github/workflows/tests.yml | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3b89abf21..d138d8c9d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,16 +46,16 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 + uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18 with: languages: ${{ matrix.language }} # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually - name: Autobuild - uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 + uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 + uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b24bb0493..11ccad0f2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: "3.13" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2c5224829..80ceed519 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: "3.13" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 9de87d423..6597427e0 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -65,6 +65,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 + uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18 with: sarif_file: resultsFiltered.sarif diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a881f74e4..3aa188397 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: ${{ matrix.python-version }} @@ -56,7 +56,7 @@ jobs: - id: auth name: Authenticate to Google Cloud - uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 + uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10 with: workload_identity_provider: ${{ vars.PROVIDER_NAME }} service_account: ${{ vars.SERVICE_ACCOUNT }} @@ -156,7 +156,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: ${{ matrix.python-version }} @@ -167,7 +167,7 @@ jobs: name: Authenticate to Google Cloud # only needed for Flakybot on periodic (schedule) and continuous (push) events if: ${{ github.event_name == 'schedule' || github.event_name == 'push' }} - uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 + uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10 with: workload_identity_provider: ${{ vars.PROVIDER_NAME }} service_account: ${{ vars.SERVICE_ACCOUNT }} From 260ccf91f23a9e40d3d031b3258c43e7bbb2e97f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 May 2025 19:24:11 +0200 Subject: [PATCH 07/10] chore(deps): update python-nonmajor (#1292) --- requirements-test.txt | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-test.txt b/requirements-test.txt index 59c5171e3..726b8d308 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -2,7 +2,7 @@ pytest==8.3.5 mock==5.2.0 pytest-cov==6.1.1 pytest-asyncio==0.26.0 -SQLAlchemy[asyncio]==2.0.40 +SQLAlchemy[asyncio]==2.0.41 sqlalchemy-pytds==1.0.2 sqlalchemy-stubs==0.4 PyMySQL==1.1.1 diff --git a/requirements.txt b/requirements.txt index 7098157da..8b2194394 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ aiofiles==24.1.0 aiohttp==3.11.18 -cryptography==44.0.2 +cryptography==44.0.3 dnspython==2.7.0 Requests==2.32.3 -google-auth==2.39.0 +google-auth==2.40.1 From 9e920b9a711494597140ed6f2b0d5badd2eaa1f4 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 May 2025 19:32:15 +0200 Subject: [PATCH 08/10] chore(deps): update dependency cryptography to v45 (#1294) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8b2194394..1952ba277 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ aiofiles==24.1.0 aiohttp==3.11.18 -cryptography==44.0.3 +cryptography==45.0.2 dnspython==2.7.0 Requests==2.32.3 google-auth==2.40.1 From dc907ef18905959b5116032f66fff78b9cddc13d Mon Sep 17 00:00:00 2001 From: kgala2 Date: Tue, 20 May 2025 13:24:20 -0700 Subject: [PATCH 09/10] fix: bump dependencies to latest (#1295) From 21a38d602beb980d80cf4f414773c1cd2b3bdd7d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 May 2025 13:34:43 -0700 Subject: [PATCH 10/10] chore(main): release 1.18.2 (#1296) --- CHANGELOG.md | 7 +++++++ google/cloud/sql/connector/version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 823a77a01..26374034b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.18.2](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/compare/v1.18.1...v1.18.2) (2025-05-20) + + +### Bug Fixes + +* bump dependencies to latest ([#1295](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/issues/1295)) ([dc907ef](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/commit/dc907ef18905959b5116032f66fff78b9cddc13d)) + ## [1.18.1](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/compare/v1.18.0...v1.18.1) (2025-04-16) diff --git a/google/cloud/sql/connector/version.py b/google/cloud/sql/connector/version.py index edbff2e69..ad763d279 100644 --- a/google/cloud/sql/connector/version.py +++ b/google/cloud/sql/connector/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.18.1" +__version__ = "1.18.2"