Replace whois with python-whois#135297
Conversation
|
Hey there @frenck, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
frenck
left a comment
There was a problem hiding this comment.
I am against moving to this package. It has caused lots of issue, we migrated away from it.
It lacks typing and is missing error handling.
My comments from the original PR thus remains.
../Frenck
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
Thank you for the reply. The current integration does not work for the domains I own and manage. This was my motivation: to fix the current integration and have working expiration date sensors. |
|
The pypi you linked does link to another package, maybe that works? |
|
@joostlek that's the other package aixmentioned, the one with the memory issue - mboot-github/WhoisDomain#30 |
|
The author of the package has added types to the library - richardpenman/whois@a715774 |
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Breaking change
There can be some because the used library is returning data in a different format
Proposed change
Replacement of unmaintained whois upstream library with a maintained one.
With this change getting expiration dates for .pl domains finally works.
This is a continuation of #117749, but with addressed comments
The tests are still missing, because I'd like to get some initial feedback from the integration owner if this is the right direction and how we can proceed with this, to fix the missing expiration date for some domains
Type of change
Additional information
Checklist
ruff format 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.To help with the load of incoming pull requests: