Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate methods from threading module #3839

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

luckyh
Copy link
Contributor

@luckyh luckyh commented Feb 1, 2024

There are a few threading methods been deprecated since Python3.10, let's replace them according to the guide.

Reference: https://docs.python.org/3/whatsnew/3.10.html#deprecated
Issue: #3837

ID: 1791

@luckyh
Copy link
Contributor Author

luckyh commented Feb 1, 2024

@YongxueHong @lkotek @yanan-fu would you mind to help review this one? thanks in advance!

Copy link
Contributor

@yanan-fu yanan-fu left a comment

Choose a reason for hiding this comment

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

I can confirm with my eyes that the effected code about the deprecated threading method are all updated by this patch.

Ack

@yanan-fu
Copy link
Contributor

yanan-fu commented Feb 1, 2024

For the python 3.7 checking failure, as avocado have drop the python 3.7 with :avocado-framework/avocado@a17bfff

Do we need to update the ci accordingly in avocado-vt with a separate commit or patch now ?

python-version: [3.7, 3.8, 3.9, 3.10.1]

@yanan-fu
Copy link
Contributor

yanan-fu commented Feb 1, 2024

Eh~ I missed #3832 and it just be merged. So python 3.7 CI checking failure issue has gone .

There are a few threading methods been deprecated since Python3.10,
let's replace them according to the guide.

Reference: https://docs.python.org/3/whatsnew/3.10.html#deprecated
Issue: avocado-framework#3837

Signed-off-by: Xu Han <[email protected]>
@lkotek
Copy link
Contributor

lkotek commented Feb 7, 2024

I checked with the python docs, I don't see any issue here. Thanks for the patch!

Ack

@luckyh
Copy link
Contributor Author

luckyh commented Feb 8, 2024

Thanks to all!

@luckyh luckyh merged commit df8d42e into avocado-framework:master Feb 8, 2024
50 checks passed
@luckyh luckyh deleted the update-threading-names branch February 8, 2024 02:14
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.

4 participants