Skip to content

Commit

Permalink
SG-32969 Test CI with Python 3.10 (#144)
Browse files Browse the repository at this point in the history
* Test CI with Python 3.10

* Upgrade syntax
  • Loading branch information
carlos-villavicencio-adsk authored Oct 2, 2023
1 parent 0e62bd9 commit c13b118
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![VFX Platform](https://img.shields.io/badge/vfxplatform-2023%202022%202021%202020-blue.svg)](http://www.vfxplatform.com/)
[![Python 3.7 3.9 3.10](https://img.shields.io/badge/python-3.7%20%7C%203.9%20%7C%203.10-blue.svg)](https://www.python.org/)
[![Reference Documentation](http://img.shields.io/badge/doc-reference-blue.svg)](http://developer.shotgridsoftware.com/tk-framework-shotgunutils)
[![Python 2.7 3.7](https://img.shields.io/badge/python-2.7%20%7C%203.7-blue.svg)](https://www.python.org/)
[![codecov](https://codecov.io/gh/shotgunsoftware/tk-framework-shotgunutils/branch/master/graph/badge.svg)](https://codecov.io/gh/shotgunsoftware/tk-framework-shotgunutils)
[![Build Status](https://dev.azure.com/shotgun-ecosystem/Toolkit/_apis/build/status/Frameworks/tk-framework-shotgunutils?branchName=master)](https://dev.azure.com/shotgun-ecosystem/Toolkit/_build/latest?definitionId=44&branchName=master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resources:
- repository: templates
type: github
name: shotgunsoftware/tk-ci-tools
ref: refs/heads/master
ref: python-310-311
endpoint: shotgunsoftware

# We want builds to trigger for 3 reasons:
Expand Down
4 changes: 2 additions & 2 deletions python/task_manager/worker_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run_task(self, task):
"""
with self._mutex:
self._task = task
self._wait_condition.notifyAll()
self._wait_condition.notify_all()

def shut_down(self):
"""
Expand All @@ -54,7 +54,7 @@ def shut_down(self):
with self._mutex:
self._results_dispatcher = None
self._process_tasks = False
self._wait_condition.notifyAll()
self._wait_condition.notify_all()
self.join()

def run(self):
Expand Down

0 comments on commit c13b118

Please sign in to comment.