Skip to content

[releases] Release 0.7.4 - #632

Draft
Breakthrough wants to merge 1 commit into
mainfrom
releases/0.7.4
Draft

Breakthrough wants to merge 1 commit into
mainfrom
releases/0.7.4

Conversation

@Breakthrough

@Breakthrough Breakthrough commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

PySceneDetect Release Checklist

Use one copy per release, copy into a pull request and check each box as steps are completed.
Optional: version referenced below as X.Y[.Z] - replace with the real version throughout.

1. Version Identifiers, Branch Prep

  • Create release branch releases/X.Y[.Z] off main (each release, including patches, gets its own branch - e.g. releases/0.6.7, releases/0.7.1); fast-forward it to main as release work lands.
  • Bump __version__ in scenedetect/__init__.py
  • Bump docs/LATEST_VERSION for any stable release: it must match the releases/X.Y[.Z] branch suffix for generate-docs.yml to update docs/latest
  • Regular release: No -dev suffix or other, pre-release: has suffix -dev0, -dev1, ...

2. Documentation, Website, Changelog

  • Docstrings / API docs reflect any signature changes (cd docs/ && make html builds clean).
  • docs/api/migration_guide.rst updated if any public API changed.
  • Docstring examples all run correctly, nothing references removed or deprecated symbols.
  • Changelog has release notes for major/minor release, all features, breaking changes, bug fixes, and known issues are documented.
  • website/pages/download.md updated with the new version / installer link / release date.
  • website/pages/changelog.md: move the release changes from the Development section at the bottom to the top (website/build.py derives the homepage release date from this heading).
  • Verify homepage version and date (docs/LATEST_VERSION + website/pages/changelog.md parsed by website/build.py) match website/pages/download.md.

3. Tests

  • Static analysis passing (ruff + pyright).
  • Unit tests green locally and in CI: pytest -vv (should collect -m 'not release' by default).
  • Release test suite green: manually trigger or make a release candidate tag, all 4 jobs (static, release-tests, install-matrix, long-stress) green across the OS and Python version matrix.
  • pip-audit clean (or exceptions documented in the changelog).

4. Prepare Windows Distribution

  • Update packaging/windows/requirements.txt and bump bundled ffmpeg version in appveyor.yml
  • Run AppVeyor build on release branch, ensure resulting portable distribution and MSI installer are correct

GUI required for structural changes. scripts/update_installer.py covers routine version bumps and --sync-files covers dependency-driven file-list changes, but anything that touches the project structure of the .aip still needs the AdvancedInstaller GUI. Examples:

  • Moving the .aip or its source tree (the build's SourcePath references are stored relative to the .aip and aren't rewritten by /NewSync.
  • Adding/removing build configurations, features, or prerequisites.
  • Install directory layout (APPDIR location), or per-component attributes.
  • Editing dialog layouts, branding bitmaps, install sequences, custom actions, file associations, or shortcuts.

5. Tag & Draft Release

  • Final commit on releases/X.Y[.Z]: "Release vX.Y[.Z]".
  • Tag vX.Y[.Z] on that commit and push (the legacy vX.Y[.Z]-release form is also accepted by all workflows). Wait for all tests/builds to pass.
  • Approve code signing request on SignPath, download scenedetect-signed.zip
  • Finalize Windows artifacts locally (CI can't do this - signing happens after the AppVeyor build, so the post-signing steps must run locally):
    • Create dist/signed/ and drop scenedetect-signed.zip (from SignPath) into it. No other inputs needed - the portable .zip is rebuilt from the signed .msi via msiexec /a, eliminating the AppVeyor download.
    • Run python scripts/finalize_windows_dist.py. This extracts the signed .msi from the bundle, runs msiexec /a to recover the installed file tree, repacks it as the portable .zip with 7-Zip, writes PySceneDetect-X.Y.Z-win64.manifest.json + SHA256SUMS, and then runs scripts/validate_release.py to verify filenames, hashes, Authenticode signatures, MSI/zip parity, and frozen .exe smoke tests.
  • Draft release on Github using the tagged commit: include full changelog & release notes, signed portable .ZIP, signed .MSI installer, Python .whl/.tar.gz packages, and checksum manifests (PySceneDetect-X.Y.Z-win64.manifest.json + SHA256SUMS)
  • Verify all artifacts uploaded to Github release are valid and named correctly
  • Smoke-test all release artifacts

6. Publish & Release Checks

  • Dispatch release.yml (Release Orchestrator) with the release tag while the Github release is still a draft. It runs the verify-then-publish ladder (MSI install/upgrade test -> TestPyPI -> publish Github release -> PyPI -> Docker), verifying each stage before the next; verify-only stops before anything goes public. See the header of release.yml for details.
  • Verify both projects: https://pypi.org/project/scenedetect/ and https://pypi.org/project/scenedetect-headless/.
  • Deploy website: dispatch generate-website.yml with target=production (or push to main).
  • Deploy docs: generate-docs.yml
  • Fast-forward the latest branch to the tagged release commit (git push origin vX.Y[.Z]:refs/heads/latest) so stable GitHub links (/blob/latest/scenedetect.cfg) track the new release.
  • Merge release branch back into main, verify docs/LATEST_VERSION is correct
  • Manually dispatch generate-docs.yml against releases/X.Y to update www.scenedetect.com/docs/latest
  • Smoke-test PyPI release: in a fresh venv, pip install scenedetect==X.Y.Z; CLI launches and scenedetect --version looks correct.
  • Verify download links on website are correct, PyPI project page is up to date and correct.
  • Clear / archive release-scoped tracking files (tracking.md, any release-specific TODOs).
  • Announce: project site, relevant issues / discussions closed and linked to the release.

Notes

  • Branching model: work spans multiple commits on releases/X.Y[.Z]; the final one gets the vX.Y[.Z] tag which gates the release-test workflow. A passing release-test is a hard prerequisite for publishing.
  • Version consistency is enforced in two places (__init__.py, PySceneDetect.aip). The static job of release-test.yml checks __init__.py against the tag and verifies the changelog has a matching ## PySceneDetect X.Y heading; the installer parity is checked by scripts/pre_release.py --release.
  • Changelog convention: the in-development section lives at the bottom of website/pages/changelog.md under the "Development" heading - don't move it to the top.

Special Branch Naming Scheme

Pattern Purpose Automated CI / Triggers
main Active development / integration branch Full test suite, docs/head, production website, Docker main
latest Fast-forwarding pointer to the latest stable release commit Stable GitHub file URLs (/blob/latest/scenedetect.cfg); does not trigger release/v* workflows or AppVeyor
releases/<X.Y[.Z]> Release stabilization & maintenance branches (e.g. releases/0.7.3) Full test suite, docs/<X.Y[.Z]> + docs/latest, AppVeyor (on v* tags)
website/<name> Website redesign / content branches (e.g. website/redesign) Auto-deploys staging preview to scenedetect.com/staging/ via generate-website.yml ('website/**')
feature/<name> New features / detectors (e.g. feature/color-detector) PR checks only
issue/<num>-<desc> Issue-linked fixes / work (e.g. issue/512-description) PR checks only
fix/<name> Standalone bug fixes without a linked issue number PR checks only
docs/<name> Reference documentation / style updates (non-staging) PR checks only
gh-pages, resources Infrastructure branches (published site/docs; test video fixtures) Automated deploy target / test fixture store

@Breakthrough Breakthrough added this to the 0.7.4 milestone Nov 28, 2026
@Breakthrough
Breakthrough marked this pull request as draft November 28, 2026 03:49
@Breakthrough
Breakthrough force-pushed the releases/0.7.4 branch 2 times, most recently from 70e50fc to d016a3c Compare December 5, 2026 00:38

This branch has not been deployed

No deployments
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