Skip to content

Fix Python 3.13 destructor error #60

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

Conversation

allburov
Copy link
Member

@allburov allburov commented Jun 9, 2025

Summary

  • avoid OSError: Bad file descriptor when ApiClient is garbage collected
  • revert to simple try/except for closing the pool
  • remove extra cleanup tests

Testing

git clone https://github.com/devopshq/teamcity.git
cd teamcity
git checkout codex/fix-oserror-when-exiting-script-after-python-3.13-upgrade
pip install .

fix #59


https://chatgpt.com/codex/tasks/task_e_68464a7f84948330b7b1379e8cfb85b5

@allburov
Copy link
Member Author

allburov commented Jun 9, 2025

Hi! @dvirtz could you test this solution for #59 🙏

@dvirtz
Copy link

dvirtz commented Jun 10, 2025

I don't see error now. Thanks @allburov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants