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

Update for compatibility with Python 3.11 #354

Merged
merged 2 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/dh_virtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def main():
# passed the packages keyword argument. Newer (like Ubuntu
# Precise) expect the whole options to be passed.

arguments = inspect.getargspec(DebHelper.__init__).args
arguments = inspect.getfullargspec(DebHelper.__init__).args
if 'packages' in arguments:
dh = DebHelper(packages=options.package or None)
else:
Expand Down
2 changes: 2 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Unreleased
[`@blag <https://github.com/blag>`_, `@Kami <https://github.com/Kami>`_,
`@dennybaa <https://github.com/dennybaa>`_, and
`@StackStorm contributors <https://github.com/StackStorm>`_]
* Replace usage of `inspect.getargspec` with `inspect.getfullargspec` for compatibility
with Python 3.11.

1.2.2
=====
Expand Down