Skip to content

Use collections.abc.Iterable instead of collection.Iterable #58716

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

Merged
merged 1 commit into from
May 7, 2022

Conversation

edymtt
Copy link
Contributor

@edymtt edymtt commented May 6, 2022

The latter is no longer present in Python 3.10+.

Addresses #58714

The latter is no longer present in Python 3.10+.

Addresses swiftlang#58714
@edymtt
Copy link
Contributor Author

edymtt commented May 6, 2022

@swift-ci please smoke test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

Seems that this was moved in 3.3.

@edymtt
Copy link
Contributor Author

edymtt commented May 6, 2022

@swift-ci please smoke test Linux

1 similar comment
@edymtt
Copy link
Contributor Author

edymtt commented May 6, 2022

@swift-ci please smoke test Linux

Copy link

@Deloww Deloww left a comment

Choose a reason for hiding this comment

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

Update wellCan you agree?

@shahmishal shahmishal merged commit 2193c25 into swiftlang:main May 7, 2022
Copy link

@Deloww Deloww left a comment

Choose a reason for hiding this comment

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

🤙

Copy link

@Deloww Deloww left a comment

Choose a reason for hiding this comment

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

utils/build_swift/tests/build_swift/test_shell.py

Copy link

@Deloww Deloww left a comment

Choose a reason for hiding this comment

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

Hi 👋🏻

@@ -206,7 +206,7 @@ def quote(command):
if isinstance(command, (str,)):
return _quote(command)

if isinstance(command, collections.Iterable):
Copy link

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

Copy link

@Deloww Deloww left a comment

Choose a reason for hiding this comment

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

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.

Swift Build System tests are failing on Ubuntu 22.04 with Python 3.10
6 participants