-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
Disable profiler.memory service with python 3.11 #88136
Conversation
guppy3 is not python3.11 compat zhuyifei1999/guppy3#41 This service will return if and when guppy3 becomes python3.11 compat
We could make this conditionally available? |
Do we have a way to conditionally install the lib ? |
In theory, the requirement can specify a python version requirement (as per general pip stuff), not sure if our “gen_requirements_all” will swallow it right now. But yeah, we could theoretically optionally install requirements based on python version used. |
@@ -90,7 +90,7 @@ def validate_requirements_format(integration: Integration) -> bool: | |||
if not version: | |||
continue | |||
|
|||
for part in version.split(","): | |||
for part in version.split(";", 1)[0].split(","): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can break this out into another PR if desirable but left here initially for context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is OK I think 👍
test failure is unrelated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @bdraco 👍
Breaking change
The
profiler.memory
service is not available when using python 3.11. It will return if and when guppy3 becomes python3.11 compatible.Proposed change
guppy3 is not python3.11 compatible
zhuyifei1999/guppy3#41
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: