From bec2429079d9a1bc99da210823f3e6495399ea80 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 15:38:52 +0000 Subject: [PATCH 1/4] Initial plan From 996dce06c2e966188e48215efe62bbde3bba8e80 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 15:40:18 +0000 Subject: [PATCH 2/4] Add Dependabot configuration for Python and GitHub Actions dependencies Co-authored-by: dannywillems <6018454+dannywillems@users.noreply.github.com> --- .github/dependabot.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8336f6f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,24 @@ +# Dependabot configuration for LeakIXClient-Python +# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + # Maintain dependencies for pip (Python/Poetry) + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + labels: + - "dependencies" + - "python" + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + labels: + - "dependencies" + - "github-actions" From 6e467c5160a0b7050e2ceb3f7de7723ef1b64d9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 27 Jan 2026 15:40:53 +0000 Subject: [PATCH 3/4] Clarify comment in Dependabot config for pip ecosystem Co-authored-by: dannywillems <6018454+dannywillems@users.noreply.github.com> --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8336f6f..48af516 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ version: 2 updates: - # Maintain dependencies for pip (Python/Poetry) + # Maintain dependencies for Python (pip ecosystem handles pyproject.toml) - package-ecosystem: "pip" directory: "/" schedule: From 644c8010748be5ea67c38104799bd174334a6c59 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Tue, 27 Jan 2026 23:40:08 -0300 Subject: [PATCH 4/4] Modernize to Python 3.13, Poetry 2.3.1, fix formatting --- .github/workflows/actions.yml | 8 ++++---- example/example_client.py | 1 - leakix/client.py | 1 - pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c5f4865..346bd7e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -6,13 +6,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - poetry-version: ["1.4.0"] + python-version: ["3.13"] + poetry-version: ["2.3.1"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install poetry diff --git a/example/example_client.py b/example/example_client.py index 484671d..4dc48b9 100644 --- a/example/example_client.py +++ b/example/example_client.py @@ -5,7 +5,6 @@ from leakix.plugin import Plugin from datetime import datetime, timedelta - API_KEY = decouple.config("API_KEY") CLIENT = Client(api_key=API_KEY) diff --git a/leakix/client.py b/leakix/client.py index d9d259d..63b51c3 100644 --- a/leakix/client.py +++ b/leakix/client.py @@ -11,7 +11,6 @@ from leakix.field import * from leakix.domain import L9Subdomain - __VERSION__ = "0.1.9" diff --git a/pyproject.toml b/pyproject.toml index fbf0557..9f7deae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,12 +5,12 @@ description = "Official python client for LeakIX (https://leakix.net)" authors = ["Danny Willems "] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.13" requests = "*" l9format = "=1.3.1a3" fire = "^0.5.0" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] python-decouple = "*" pytest = "*" black = "*"