v2.0.18 - Bump `thop` to 2.0.18 (#105)
🌟 Summary
thop v2.0.18 is a maintenance-focused patch release: a version bump with code quality and CI workflow updates—no runtime or API changes. ✅
📊 Key Changes
- Version bump only
- Updated package version to 2.0.18 in
thop/__init__.pyvia PR #105: Bump thop to 2.0.18 🔖
- Updated package version to 2.0.18 in
- Code quality refinements (no behavior changes)
- Lint/format tweaks and clearer logging in PR #103: Ruff RUF refactor 🧹
- Reordered
__all__, prefixed unused variables, minor f-string improvement
- Automated dependency management
- Added Dependabot configuration with monthly checks in PR #99 🤖
- CI workflow hardening
🎯 Purpose & Impact
- Safe to upgrade: No functional or API changes; existing code continues to work as-is 🚀
- Better version tracking: Easier for downstream users/tools to pin and detect the latest patch 🔍
- Improved maintainability: Cleaner code and fewer linter warnings enhance long-term stability 🛠️
- More reliable CI: Updated GitHub Actions and tooling reduce build issues and keep pipelines current 🔄
- Security and freshness: Dependabot automates dependency updates with minimal noise 🔐
Note for maintainers: actions/checkout v5 and setup-uv v7 use newer Node runtimes; ensure self-hosted runners meet the required versions for CI. 🧩
What's Changed
- Create dependabot.yml by @glenn-jocher in #99
- Bump slackapi/slack-github-action from 2.0.0 to 2.1.1 in /.github/workflows by @dependabot[bot] in #100
- Bump actions/checkout from 4 to 5 in /.github/workflows by @dependabot[bot] in #101
- Bump astral-sh/setup-uv from 4 to 7 in /.github/workflows by @dependabot[bot] in #102
- Ruff
RUFrefactor by @glenn-jocher in #103 - Bump
thopto 2.0.18 by @glenn-jocher in #105
New Contributors
- @dependabot[bot] made their first contribution in #100
Full Changelog: v2.0.17...v2.0.18