Skip to content

chore: bump version to 1.7.2#75

Merged
Bre77 merged 3 commits into
mainfrom
fm/tfa-release-172
Jul 12, 2026
Merged

chore: bump version to 1.7.2#75
Bre77 merged 3 commits into
mainfrom
fm/tfa-release-172

Conversation

@Bre77

@Bre77 Bre77 commented Jul 12, 2026

Copy link
Copy Markdown
Member

Intent

Cut python-tesla-fleet-api release 1.7.2. This is a pure version-bump release train: both constituent PRs (#73 fix(fleet): handle non-object JSON command logging - fixes a prod Powerwall-500 regression where TeslemetryEnergySite calls that return null/list/scalar JSON bodies crashed _log_request_result's logging convenience code; and #74 fix(tesla): create private keys atomically with owner-only permissions via O_EXCL 0600) are already merged to main. The only change in this PR is bumping version from 1.7.1 to 1.7.2 in pyproject.toml and tesla_fleet_api/init.py, following the exact same mechanics as the 1.7.0 and 1.7.1 version-bump cuts (see PRs #69 and #71 in this repo's history). No functional code changes, no new features - just the release version bump commit. uv.lock is expected to also get its tesla-fleet-api version entry updated (either by me or by the no-mistakes document/lint step, matching how the 1.7.1 bump PR handled it).

What Changed

  • Bump the package release version from 1.7.1 to 1.7.2 in pyproject.toml and tesla_fleet_api/__init__.py.
  • Sync tracked release metadata in uv.lock and tesla_fleet_api.egg-info/PKG-INFO so all packaged version references agree.

Risk Assessment

✅ Low: The reviewed delta is limited to internally consistent 1.7.1 to 1.7.2 release metadata updates across pyproject, package version, uv.lock, and tracked egg-info, with no functional code changes.

Testing

Diff inspection confirmed the release bump surfaces moved to 1.7.2, uv build produced wheel and sdist artifacts named and stamped 1.7.2, archive inspection confirmed wheel metadata, sdist metadata, and package __version__ agree, and uv run pytest tests passed.

Evidence: Release version evidence

Built artifacts: tesla_fleet_api-1.7.2-py3-none-any.whl tesla_fleet_api-1.7.2.tar.gz Wheel METADATA version: Metadata-Version: 2.4 Name: tesla_fleet_api Version: 1.7.2 Wheel package version line: version = "1.7.2" Sdist PKG-INFO version: Metadata-Version: 2.4 Name: tesla_fleet_api Version: 1.7.2

Built artifacts:
tesla_fleet_api-1.7.2-py3-none-any.whl
tesla_fleet_api-1.7.2.tar.gz

Wheel METADATA version:
Metadata-Version: 2.4
Name: tesla_fleet_api
Version: 1.7.2
Summary: Tesla Fleet API library for Python
Author-email: Brett Adams <hello@teslemetry.com>
License-Expression: Apache-2.0

Wheel package __version__ line:
"""Tesla Fleet API"""

__author__ = "hello@teslemetry.com"
__version__ = "1.7.2"


Sdist PKG-INFO version:
Metadata-Version: 2.4
Name: tesla_fleet_api
Version: 1.7.2
Summary: Tesla Fleet API library for Python
Author-email: Brett Adams <hello@teslemetry.com>
License-Expression: Apache-2.0
- Evidence: Built wheel (local file: /tmp/no-mistakes-evidence/01KXAZV7EAQAJ4C4RY9HTCFTY1/dist/tesla_fleet_api-1.7.2-py3-none-any.whl) - Evidence: Built sdist (local file: /tmp/no-mistakes-evidence/01KXAZV7EAQAJ4C4RY9HTCFTY1/dist/tesla_fleet_api-1.7.2.tar.gz)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 1 issue found → auto-fixed (2) ✅
  • ⚠️ pyproject.toml:7 - The release metadata now says 1.7.2, but the checked-in uv.lock still records the editable tesla-fleet-api package as 1.7.1. Update/regenerate the lockfile so the release bump is internally consistent.

🔧 Fix: Sync release lockfile version
1 warning still open:

  • ⚠️ tesla_fleet_api.egg-info/PKG-INFO:3 - The tracked egg-info metadata still reports Version: 1.7.1 while the package/version constants were bumped to 1.7.2. Because this file is tracked and was consistent at the base commit, the release bump now leaves repository metadata internally inconsistent; regenerate or update the egg-info metadata for the release.

🔧 Fix: Sync egg-info release version
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • git diff --unified=3 c618141495b61eab18f40033fd6fef66a82a0a9c..684e6c0c2c583bded3cc08dde107201139b08bcb -- pyproject.toml tesla_fleet_api/__init__.py uv.lock tesla_fleet_api.egg-info/PKG-INFO
  • rg -n "1\.7\.[0-9]|version =|__version__|Version:" pyproject.toml tesla_fleet_api/__init__.py uv.lock tesla_fleet_api.egg-info/PKG-INFO
  • uv build --out-dir /tmp/no-mistakes-evidence/01KXAZV7EAQAJ4C4RY9HTCFTY1/dist
  • uv run pytest tests
  • unzip/tar inspection recorded in /tmp/no-mistakes-evidence/01KXAZV7EAQAJ4C4RY9HTCFTY1/release-version-evidence.txt
  • Cleanup/status check: removed transient .venv, restored build-regenerated tesla_fleet_api.egg-info/PKG-INFO, and confirmed no worktree test artifacts remained
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@Bre77 Bre77 merged commit 2e46963 into main Jul 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant