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

Suppress pkg_resources deprecation in flake8_import_order #32

Merged
merged 1 commit into from
Aug 20, 2023

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Aug 17, 2023

No description provided.

@cottsay cottsay self-assigned this Aug 17, 2023
@@ -52,6 +52,7 @@ filterwarnings =
error
# Suppress deprecation warnings in other packages
ignore:lib2to3 package is deprecated::scspell
ignore:pkg_resources is deprecated as an API::flake8_import_order
Copy link
Contributor

Choose a reason for hiding this comment

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

Spirit of the stairwell review comment: Do we have a tracking issue for the pkg_resources usage in colcon overall which we could add a comment to for this suppression?

Copy link
Member Author

Choose a reason for hiding this comment

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

All of these suppressions are for problems in other packages, so there's nothing we can do in colcon to fix them. The only reason they need to be called out like this is that we're setting filterwarnings = error to make noise about problems in colcon itself. Unfortunately, we can't use wildcards in this filter, because filterwarnings = error::colcon.* is what we actually want.

@cottsay cottsay merged commit c21960f into master Aug 20, 2023
17 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/flake8-pkg-resources branch August 20, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants