Skip to content

Commit 499ea8c

Browse files
authored
fix(deps): update dependency nox to v2025 (#32)
Removes Python 3.9 support as well, since the 'mcp' dependency only supports Python 3.10 or higher.
1 parent 3f849bb commit 499ea8c

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ env/
5252
venv/
5353
.venv/
5454

55+
# pyenv
56+
.python-version
57+
5558
# Test logs
5659
coverage.xml
5760
*sponge_log.xml

analytics_mcp/tools/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def _get_package_version_with_fallback():
3535

3636

3737
# Client information that adds a custom user agent to all API requests.
38-
_CLIENT_INFO = ClientInfo(user_agent=f"analytics-mcp/{_get_package_version_with_fallback()}")
38+
_CLIENT_INFO = ClientInfo(
39+
user_agent=f"analytics-mcp/{_get_package_version_with_fallback()}"
40+
)
3941

4042
# Read-only scope for Analytics Admin API and Analytics Data API.
4143
_READ_ONLY_ANALYTICS_SCOPE = (

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import os
1717
import pathlib
1818

19-
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
19+
PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
2020

2121
TEST_COMMAND = [
2222
"coverage",

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[project]
22
name = "google-analytics-mcp"
33
version = "0.1.0"
4-
requires-python = ">=3.9, <3.14"
4+
# Lower bound of 3.10 due to the 'mcp' dependency:
5+
# https://github.com/modelcontextprotocol/python-sdk/blob/main/pyproject.toml
6+
requires-python = ">=3.10, <3.14"
57
license = "Apache-2.0"
68
dependencies = [
79
"google-analytics-data==0.18.19",
@@ -17,6 +19,6 @@ google-analytics-mcp = "analytics_mcp.server:run_server"
1719
[project.optional-dependencies]
1820
dev = [
1921
"black",
20-
"nox >= 2020.12.31, < 2022.6"
22+
"nox >=2025.5.1, <2026"
2123
]
2224

0 commit comments

Comments
 (0)