Skip to content

Add DeprecationWarnings for deprecated APIs in v0.7 release #548

Closed

Description

@Breakthrough

To avoid too much churn with the v0.7 release, some breaking changes allow fallback to old property names (e.g. passing framerate instead of the new frame_rate). We should upgrade these to runtime warnings in v0.8 so they can be fully removed in v0.9.

Activity

  1. added this to the 0.7.1 milestone on Jul 5, 2026
  2. modified the milestones: 0.7.1, 0.8 on Jul 22, 2026
  3. Breakthrough commented on Jul 22, 2026

    @Breakthrough
    OwnerAuthor

    Moving to the 0.8 milestone to match the schedule described above: v0.7.x keeps the silent fallbacks (marked with TODO(#548) in the code), v0.8 upgrades them to runtime DeprecationWarnings, and v0.9 removes them.

  4. MuhammadBilalKhan267 commented on Aug 7, 2026

    @MuhammadBilalKhan267
    Collaborator

    I’d like to take this. I found the #548 TODOs in FrameTimecode.framerate, equal_framerate, open_video, and the framerate aliases for the OpenCV/PyAV/MoviePy constructors. I’m planning to add DeprecationWarnings with stacklevel=2, preserve the existing alias/precedence behavior, and add/update tests for the warnings. Let me know if there are any additional v0.7 compatibility aliases you want included.

  5. Breakthrough commented on Aug 9, 2026

    @Breakthrough
    OwnerAuthor

    Thanks for the PR, left a quick review just now. For the CLI I want to see what it would take to allow both, since it's an exclusive option and can't be specified twice anyways.

  6. added a commit that references this issue on Aug 10, 2026
    e81ba12
  7. Breakthrough commented on Aug 10, 2026

    @Breakthrough
    OwnerAuthor

    Before closing this out let's also complete the merging of the CLI options so they just show up all together.

  8. added a commit that references this issue on Aug 17, 2026
    88b663c
  9. modified the milestones: 0.8, 0.7.2 on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions