diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80f52a5..a3f1689 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Install ruff @@ -35,9 +35,9 @@ jobs: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install package with test dependencies @@ -50,9 +50,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Install dependencies @@ -67,9 +67,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Build sdist and wheel diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca29440..581d274 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" - name: Build sdist and wheel @@ -42,7 +42,7 @@ jobs: exit 1 fi - name: Upload distribution artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 # keep paired with download-artifact@v8 in the publish job with: name: dist path: dist/ @@ -60,7 +60,7 @@ jobs: id-token: write # required for Trusted Publishing (OIDC) steps: - name: Download distribution artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 # keep paired with upload-artifact@v7 in the build job with: name: dist path: dist/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 868e776..69138a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ to follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Refreshed documentation copyright metadata and moved GitHub Actions workflow dependencies to current Node 24-backed major versions (#60). + ### Fixed - `Manager.monitor_connection` no longer crashes its monitoring thread when the connection drops. Pinging a downed connection raised `ManagerSocketError` (broken socket) or `ManagerError` (the liveness check inside `send_action` failing when the connection dropped just after the loop's own check) inside the thread, which dumped a traceback to stderr and killed the monitor. The monitor now catches both and stops cleanly, logging the reason at debug level when a logger is set. The method also returns the monitoring thread so callers can join it (#3). - `Manager.send_action` no longer raises a raw `AttributeError` when a concurrent `disconnect()` clears the connection between the liveness check and the send. It now drops the just-registered request and raises `ManagerSocketError` instead (#3). diff --git a/doc/conf.py b/doc/conf.py index c495f52..85eaae1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -16,6 +16,7 @@ project = "pystrix" copyright = module.COPYRIGHT +copyright_holder = module.COPYRIGHT.split(", ", 1)[1] version = re.match(r"^(\d+\.\d+)", module.VERSION).group(1) release = module.VERSION @@ -41,7 +42,7 @@ "index", "pystrix.tex", "pystrix Documentation", - re.search(", (.*?) <", module.COPYRIGHT).group(1), + copyright_holder, "manual", ), ] diff --git a/pystrix/__init__.py b/pystrix/__init__.py index cb15305..72a4960 100644 --- a/pystrix/__init__.py +++ b/pystrix/__init__.py @@ -44,4 +44,4 @@ import pystrix.ami VERSION = "1.3.0" -COPYRIGHT = "2013, Neil Tallim " +COPYRIGHT = "2026, IVR Technology Group"