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

#10345 - Remove deprecated inspect.getargspec from sendmail tests. #11733

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

eevelweezel
Copy link
Contributor

Scope and purpose

Fixes #10345

Replace usage of inspect.getargspec() with inspect.getfullargspec() for Python 3.11 compatibility.

@eevelweezel
Copy link
Contributor Author

please review

Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

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

Changes looks good and I think this can be merged.

Since we don't yet support/run test on Python 3.11 I would say that the PR is more about removing python3 deprecated code.

If you have time, it would be awesome if you could create a PR for #10343 and enable Python 3.11 in our GitHub Actions automated test suite.

@@ -0,0 +1 @@
Fix SendmailTests for python 3.11.
Copy link
Member

Choose a reason for hiding this comment

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

For .misc, you can leave the file empty as it will not be visible in the release note.

The content of this file should not be a commit message :)

We already have git for that.

Here we put all the "commit" information for people using Twisted.

@adiroiban adiroiban changed the title #10345 - fix sendmail tests for Python 3.11 #10345 - Remove deprecated inspect.getargspec from sendmail tests. Oct 27, 2022
@adiroiban adiroiban merged commit de0bbee into twisted:trunk Oct 27, 2022
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants