Repository: tektronix/tm_devices (language: python)

Issue:
[FEAT]: Python 3.13 support
### Description

This package should be updated to support Python 3.13.

### Additional Information

_No response_


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/package-build.yml b/.github/workflows/package-build.yml
index 68c37fa6..c424cdac 100644
--- a/.github/workflows/package-build.yml
+++ b/.github/workflows/package-build.yml
@@ -15,7 +15,7 @@ jobs:
     uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.4.0
     with:
       package-name: tm_devices
-      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12"]'  # when updating this, make sure to update all workflows that use this strategy
+      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]'  # when updating this, make sure to update all workflows that use this strategy  # TODO: update to standard 3.13 after it is officially released
       operating-systems-array: '["ubuntu", "windows", "macos"]'
     permissions:
       contents: read
diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml
index 6dd891ac..9b96a386 100644
--- a/.github/workflows/package-release.yml
+++ b/.github/workflows/package-release.yml
@@ -24,7 +24,7 @@ jobs:
       commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }}
       release-level: ${{ inputs.release-level }}
       build-and-publish-python-package: true
-      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12"]'  # when updating this, make sure to update all workflows that use this strategy
+      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]'  # when updating this, make sure to update all workflows that use this strategy  # TODO: update to standard 3.13 after it is officially released
       operating-systems-array: '["ubuntu", "windows", "macos"]'
       previous-changelog-filepath: python_semantic_release_templates/.previous_changelog_for_template.md
       previous-release-notes-filepath: python_semantic_release_templates/.previous_release_notes_for_template.md
diff --git a/pyproject.toml b/pyproject.toml
index 9d63a832..0536c3cc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -404,10 +404,10 @@ legacy_tox_ini = """
 [tox]
 requires = tox>4
 isolated_build = True
-envlist = py38,py39,py310,py311,py312,tests,docs,doctests
+envlist = py38,py39,py310,py311,py312,py313,tests,docs,doctests
 skip_missing_interpreters = True
 labels =
-  basic = py38,py39,py310,py311,py312,tests
+  basic = py38,py39,py310,py311,py312,py313,tests
   documentation = docs,doctests
 
 [gh-actions]
@@ -417,6 +417,7 @@ python =
     3.10: py310
     3.11: py311
     3.12: py312
+    3.13: py313
 
 [testenv]
 package = wheel


Test patch:
diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml
index 3352a05e..03bf7ca2 100644
--- a/.github/workflows/test-code.yml
+++ b/.github/workflows/test-code.yml
@@ -14,7 +14,7 @@ jobs:
     with:
       repo-name: tektronix/tm_devices
       operating-systems-array: '["ubuntu", "windows", "macos"]'
-      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12"]'  # when updating this, make sure to update all workflows that use this strategy
+      python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]'  # when updating this, make sure to update all workflows that use this strategy  # TODO: update to standard 3.13 after it is officially released
       upload-to-codecov: true
     secrets:
       codecov-token: ${{ secrets.CODECOV_TOKEN }}