hass-gardena-smart-system: Integration is not working with HA 2024.2

Hi,

The Integration is not working anymore since the Update to Home Assistant 2024.2

Has probably to do with the Upgrade to Python 3.12

Unable to install package py-smart-gardena==1.3.7: error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] /tmp/pip-install-hg80z4da/py-smart-gardena_c65ab3786b2d44d5bad64997594cfdcc/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-hg80z4da/py-smart-gardena_c65ab3786b2d44d5bad64997594cfdcc/setup.py", line 16, in <module> version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-hg80z4da/py-smart-gardena_c65ab3786b2d44d5bad64997594cfdcc/versioneer.py", line 1480, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "/tmp/pip-install-hg80z4da/py-smart-gardena_c65ab3786b2d44d5bad64997594cfdcc/versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-hg80z4da/py-smart-gardena_c65ab3786b2d44d5bad64997594cfdcc/versioneer.py", line 342, in get_config_from_root parser = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. Unable to install package py-smart-gardena==1.3.7: error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] /tmp/pip-install-sa2tee0z/py-smart-gardena_d4c7934301b34171a8e9d4c741f55574/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-sa2tee0z/py-smart-gardena_d4c7934301b34171a8e9d4c741f55574/setup.py", line 16, in <module> version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-sa2tee0z/py-smart-gardena_d4c7934301b34171a8e9d4c741f55574/versioneer.py", line 1480, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "/tmp/pip-install-sa2tee0z/py-smart-gardena_d4c7934301b34171a8e9d4c741f55574/versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-sa2tee0z/py-smart-gardena_d4c7934301b34171a8e9d4c741f55574/versioneer.py", line 342, in get_config_from_root parser = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. Unable to install package py-smart-gardena==1.3.7: error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] /tmp/pip-install-6pi22zen/py-smart-gardena_06e87f3da59848c6ad139d99ed79c833/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s' LONG_VERSION_PY['git'] = ''' Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-6pi22zen/py-smart-gardena_06e87f3da59848c6ad139d99ed79c833/setup.py", line 16, in <module> version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-6pi22zen/py-smart-gardena_06e87f3da59848c6ad139d99ed79c833/versioneer.py", line 1480, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "/tmp/pip-install-6pi22zen/py-smart-gardena_06e87f3da59848c6ad139d99ed79c833/versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-6pi22zen/py-smart-gardena_06e87f3da59848c6ad139d99ed79c833/versioneer.py", line 342, in get_config_from_root parser = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I updated the upstream library and I will publish a new version tomorrow 😃

Jeremie

Le mer. 7 févr. 2024, 21:54, Jonas @.***> a écrit :

Same problem here…

— Reply to this email directly, view it on GitHub https://github.com/py-smart-gardena/hass-gardena-smart-system/issues/193#issuecomment-1932867225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARGIZMFUHPPLDBEU253OTYSPSY5AVCNFSM6AAAAABC6PMQ7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSHA3DOMRSGU . You are receiving this because you are subscribed to this thread.Message ID: <py-smart-gardena/hass-gardena-smart-system/issues/193/1932867225@ github.com>

I updated the upstream library and I will publish a new version tomorrow 😃 Jeremie Le mer. 7 févr. 2024, 21:54, Jonas @.***> a écrit : Same problem here… — Reply to this email directly, view it on GitHub <#193 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARGIZMFUHPPLDBEU253OTYSPSY5AVCNFSM6AAAAABC6PMQ7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSHA3DOMRSGU . You are receiving this because you are subscribed to this thread.Message ID: <py-smart-gardena/hass-gardena-smart-system/issues/193/1932867225@ github.com>

Is it possible to add an option to reload the integration, as it fails from time to time because an authentication issue. Reloading the integration may fix the problem! At the moment a restart of the core is necessary!

Many thanks!

I had issues yesterday with travisci which does not work as expected anymore. I migrated to github actions for building the underlying library py-smart-gardena.

I just release a 1.1.0-rc3 version (in beta) that should solve the issue.

Thanks, I just updated and it works.

Also there are no Error Messages in the Logs anymore.

For my part you could leave the Release Candidate behind and flag this as a regular release 😃

Replacing in manifest.json “requirements”: [“py-smart-gardena==1.3.7”] with “requirements”: [“py-smart-gardena==1.3.8”] solves the problem

Not for me.

Logs say that py-smart-gardena==1.3.8 could not be found.

I am waiting for a new release … we are still on 1.0.0 (or 1.0.1 prerelease) from the beginning of 2023.

Also as many I would rather use the normal Update function than edit the files myself so I know everything is correct 😉

@mike4001 I had a look into the underlaying library (py-smart-gardena). There is still one issue which is not solved, so it seems that it will take some more time to solve all the problems (2/3 fixed).

Replacing in manifest.json “requirements”: [“py-smart-gardena==1.3.7”] with “requirements”: [“py-smart-gardena==1.3.8”] solves the problem

Thanks. Worked for me.

I had issues yesterday with travisci which does not work as expected anymore. I migrated to github actions for building the underlying library py-smart-gardena.

I just release a 1.1.0-rc3 version (in beta) that should solve the issue.

Replacing in manifest.json “requirements”: [“py-smart-gardena==1.3.7”] with “requirements”: [“py-smart-gardena==1.3.8”] solves the problem