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

Python BytesWarning in h2 lib #115379

Closed
mib1185 opened this issue Apr 10, 2024 · 3 comments
Closed

Python BytesWarning in h2 lib #115379

mib1185 opened this issue Apr 10, 2024 · 3 comments

Comments

@mib1185
Copy link
Contributor

mib1185 commented Apr 10, 2024

The problem

There are BytesWarning in h2 lib during CI run:

/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:20: BytesWarning: Comparison between bytes and string
  CONNECTION_HEADERS = frozenset([
/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:29: BytesWarning: Comparison between bytes and string
  _ALLOWED_PSEUDO_HEADER_FIELDS = frozenset([
/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:39: BytesWarning: Comparison between bytes and string
  _SECURE_HEADERS = frozenset([
/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:46: BytesWarning: Comparison between bytes and string
  _REQUEST_ONLY_HEADERS = frozenset([
/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:55: BytesWarning: Comparison between bytes and string
  _RESPONSE_ONLY_HEADERS = frozenset([b':status', u':status'])
/home/runner/work/core/core/venv/lib/python3.12/site-packages/h2/utilities.py:60: BytesWarning: Comparison between bytes and string
  _CONNECT_REQUEST_ONLY_HEADERS = frozenset([b':protocol', u':protocol'])

What version of Home Assistant Core has the issue?

core-2024.5.dev

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Jandy iAqualink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/iaqualink/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @flz, mind taking a look at this issue as it has been labeled with an integration (iaqualink) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of iaqualink can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign iaqualink Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


iaqualink documentation
iaqualink source
(message by IssueLinks)

@mib1185
Copy link
Contributor Author

mib1185 commented Apr 10, 2024

@mib1185 mib1185 added the waiting-for-upstream We're waiting for a change upstream label Apr 10, 2024
@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant