Skip to content

Update Dependencies Jul 16 (auto) - #573

Merged
maread99 merged 2 commits into
masterfrom
claude/zealous-brahmagupta-tsye5e
Jul 16, 2026
Merged

Update Dependencies Jul 16 (auto)#573
maread99 merged 2 commits into
masterfrom
claude/zealous-brahmagupta-tsye5e

Conversation

@maread99

Copy link
Copy Markdown
Owner

Summary

Routine dependency update produced via the dependencies-management skill.

  • Bumped uv and ran uv lock --upgrade, then re-synced requirements.txt and the environment.
  • Updated GitHub Actions pins (preserving existing pinning style):
    • astral-sh/setup-uv: v8.2.0v8.3.2
    • actions/checkout@v7, actions/setup-python@v6, pre-commit/action@v3.0.1, release-drafter/release-drafter@v7 — already at latest, unchanged.
  • Updated pre-commit hook pins:
    • astral-sh/ruff-pre-commit: v0.15.18v0.15.21
    • pre-commit/pre-commit-hooks@v6.0.0 — already at latest, unchanged.

Notable locked package changes include numpy (adds 2.5.1 for Python ≥ 3.12), mypy 2.1.02.3.0, hypothesis, pytest 9.1.09.1.1, and transitive updates.

Code revision to support latest versions

  • tests/test_csv.py::test_consolidated_warning: under numpy 2.5.1, constructing an XHKG calendar emits a DeprecationWarning from within exchange_calendars ("the 'generic' unit for NumPy timedelta is deprecated"). This third-party warning was being recorded by the pytest.warns blocks, breaking the len(...) == 1 count assertions. The test now filters recorded warnings to the package's own PricesCsvParsingConsolidatedWarning, so it still verifies exactly one consolidated warning while remaining robust to unrelated dependency warnings. The underlying deprecation originates in exchange_calendars and so is not fixable in this package.

Testing

Ran the local test suite excluding the network-dependent modules (tests/test_yahoo.py and tests/test_calendar_utils.py were skipped as the Yahoo and raw.githubusercontent.com endpoints were unreachable from the runner):

1 failed, 1383 passed  (before fix)

After the test fix the previously failing test_consolidated_warning passes. ruff check and ruff format --check pass under the newly pinned v0.15.21.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 16, 2026 15:54
Update project dependencies via uv lock --upgrade, sync requirements.txt,
and bump GitHub Actions and pre-commit hook pins to their latest releases:
- astral-sh/setup-uv: v8.2.0 -> v8.3.2
- astral-sh/ruff-pre-commit: v0.15.18 -> v0.15.21

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SssA8LG1aHm7a3FM2vaDr7
Under numpy 2.5.1, building an XHKG calendar raises a DeprecationWarning
from within exchange_calendars. This was being recorded by the
pytest.warns blocks in test_consolidated_warning, breaking the
len(...) == 1 count assertions. Filter the recorded warnings to the
package's own PricesCsvParsingConsolidatedWarning so the test verifies a
single consolidated warning regardless of unrelated dependency warnings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SssA8LG1aHm7a3FM2vaDr7
@maread99 maread99 added the dependencies Pull requests that update a dependency file label Jul 16, 2026 — with Claude
@maread99
maread99 merged commit 1bea76b into master Jul 16, 2026
8 checks passed
@maread99
maread99 deleted the claude/zealous-brahmagupta-tsye5e branch July 16, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants