Skip to content

Conversation

julien-lang
Copy link
Contributor

This pull request introduces a new runtime warning to inform users about the deprecation of Python versions older than 3.9. The warning is displayed during initialization if an unsupported Python version is detected.

Deprecation notice:

  • Added a check in shotgun_api3/__init__.py to warn users running Python versions older than 3.9 that support will be removed after January 2026, encouraging them to upgrade.

Related to shotgunsoftware/tk-core#1024

@julien-lang julien-lang requested a review from Copilot October 9, 2025 18:15
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a deprecation warning for Python versions older than 3.9 to notify users that support will be removed after January 2026. The warning encourages users to upgrade to a supported Python version.

Key changes:

  • Added runtime deprecation warning during module initialization for Python < 3.9
  • Imported sys and warnings modules to support the version check

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@julien-lang julien-lang marked this pull request as ready for review October 9, 2025 18:32
@julien-lang julien-lang requested a review from a team October 9, 2025 18:32
Copy link
Contributor

@carlos-villavicencio-adsk carlos-villavicencio-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants