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 3.11 support #666

Closed
cjkrolak opened this issue Oct 17, 2023 · 2 comments
Closed

python 3.11 support #666

cjkrolak opened this issue Oct 17, 2023 · 2 comments
Labels
enhancement New feature or request Priority-3 lowest priority, no commit date on fix

Comments

@cjkrolak
Copy link
Owner

verify Python 3.11 support.

@cjkrolak cjkrolak added enhancement New feature or request Priority-3 lowest priority, no commit date on fix labels Oct 17, 2023
@cjkrolak
Copy link
Owner Author

unit test passed all 130 tests using Python 3.11.6:

----------------------------------------------------------------------
Ran 130 tests in 752.549s

OK (skipped=35)
--------------------------------------------------------------------------------
skipped tests(35):
test_humidity_repeatability (tests.test_blink_integration.PerformanceIntegrationTest.test_humidity_repeatability) performance integration tests are disabled
test_network_timing (tests.test_blink_integration.PerformanceIntegrationTest.test_network_timing) performance integration tests are disabled
test_temperature_repeatability (tests.test_blink_integration.PerformanceIntegrationTest.test_temperature_repeatability) performance integration tests are disabled
test_humidity_repeatability (tests.test_emulator_integration.PerformanceIntegrationTest.test_humidity_repeatability) performance integration tests are disabled
test_network_timing (tests.test_emulator_integration.PerformanceIntegrationTest.test_network_timing) performance integration tests are disabled
test_temperature_repeatability (tests.test_emulator_integration.PerformanceIntegrationTest.test_temperature_repeatability) performance integration tests are disabled
test_humidity_repeatability (tests.test_honeywell_integration.PerformanceIntegrationTest.test_humidity_repeatability) performance integration tests are disabled
test_network_timing (tests.test_honeywell_integration.PerformanceIntegrationTest.test_network_timing) performance integration tests are disabled
test_temperature_repeatability (tests.test_honeywell_integration.PerformanceIntegrationTest.test_temperature_repeatability) performance integration tests are disabled
test_humidity_repeatability (tests.test_kumocloud_integration.PerformanceIntegrationTest.test_humidity_repeatability) performance integration tests are disabled
test_network_timing (tests.test_kumocloud_integration.PerformanceIntegrationTest.test_network_timing) performance integration tests are disabled
test_temperature_repeatability (tests.test_kumocloud_integration.PerformanceIntegrationTest.test_temperature_repeatability) performance integration tests are disabled
test_a_thermostat_basic_checkout (tests.test_kumolocal_integration.FunctionalIntegrationTest.test_a_thermostat_basic_checkout) kumolocal tests are disabled
test_get_all_meta_data (tests.test_kumolocal_integration.FunctionalIntegrationTest.test_get_all_meta_data) kumolocal tests are disabled
test_get_meta_data (tests.test_kumolocal_integration.FunctionalIntegrationTest.test_get_meta_data) kumolocal tests are disabled
test_report_heating_parameters (tests.test_kumolocal_integration.FunctionalIntegrationTest.test_report_heating_parameters) kumolocal tests are disabled
test_humidity_repeatability (tests.test_kumolocal_integration.PerformanceIntegrationTest.test_humidity_repeatability) kumolocal tests are disabled
test_network_timing (tests.test_kumolocal_integration.PerformanceIntegrationTest.test_network_timing) kumolocal tests are disabled
test_temperature_repeatability (tests.test_kumolocal_integration.PerformanceIntegrationTest.test_temperature_repeatability) kumolocal tests are disabled
test_supervise (tests.test_kumolocal_integration.SuperviseIntegrationTest.test_supervise) kumolocal tests are disabled
test_a_thermostat_basic_checkout (tests.test_mmm_integration.FunctionalIntegrationTest.test_a_thermostat_basic_checkout) mmm tests are disabled
test_get_all_meta_data (tests.test_mmm_integration.FunctionalIntegrationTest.test_get_all_meta_data) mmm tests are disabled
test_get_meta_data (tests.test_mmm_integration.FunctionalIntegrationTest.test_get_meta_data) mmm tests are disabled
test_report_heating_parameters (tests.test_mmm_integration.FunctionalIntegrationTest.test_report_heating_parameters) mmm tests are disabled
test_thermostat_get_ui_data (tests.test_mmm_integration.FunctionalIntegrationTest.test_thermostat_get_ui_data) mmm tests are disabled
test_thermostat_get_ui_data_param (tests.test_mmm_integration.FunctionalIntegrationTest.test_thermostat_get_ui_data_param) mmm tests are disabled
test_zone_get_zone_name (tests.test_mmm_integration.FunctionalIntegrationTest.test_zone_get_zone_name) mmm tests are disabled
test_humidity_repeatability (tests.test_mmm_integration.PerformanceIntegrationTest.test_humidity_repeatability) mmm tests are disabled
test_network_timing (tests.test_mmm_integration.PerformanceIntegrationTest.test_network_timing) mmm tests are disabled
test_temperature_repeatability (tests.test_mmm_integration.PerformanceIntegrationTest.test_temperature_repeatability) mmm tests are disabled
test_supervise (tests.test_mmm_integration.SuperviseIntegrationTest.test_supervise) mmm tests are disabled
test_humidity_repeatability (tests.test_sht31_integration.PerformanceIntegrationTest.test_humidity_repeatability) performance integration tests are disabled
test_network_timing (tests.test_sht31_integration.PerformanceIntegrationTest.test_network_timing) performance integration tests are disabled
test_temperature_repeatability (tests.test_sht31_integration.PerformanceIntegrationTest.test_temperature_repeatability) performance integration tests are disabled
test_supervisor_flask_server (tests.test_supervisor_flask_server.IntegrationTest.test_supervisor_flask_server) this test hangs when run from the command line
--------------------------------------------------------------------------------
Name                                              Stmts   Miss  Cover
---------------------------------------------------------------------
tests\test_blink_integration.py                      38     10    74%
tests\test_email_notification.py                     61      5    92%
tests\test_emulator_integration.py                   37     11    70%
tests\test_environment.py                            70      3    96%
tests\test_honeywell_integration.py                  36     11    69%
tests\test_kumocloud_integration.py                  36     11    69%
tests\test_kumolocal_integration.py                  39     22    44%
tests\test_mmm_integration.py                        52     32    38%
tests\test_sht31_flask_server.py                     79      7    91%
tests\test_sht31_integration.py                      38     10    74%
tests\test_supervise.py                              19      2    89%
tests\test_supervisor_flask_server.py                60     36    40%
tests\test_thermostat_api.py                         71      5    93%
tests\test_thermostat_common.py                     249     35    86%
tests\test_utilities.py                             204      3    99%
tests\unit_test_common.py                           383     67    83%
thermostatsupervisor\__init__.py                      1      0   100%
thermostatsupervisor\blink.py                       167     34    80%
thermostatsupervisor\blink_config.py                 21      0   100%
thermostatsupervisor\email_notification.py           63      2    97%
thermostatsupervisor\emulator.py                    177     15    92%
thermostatsupervisor\emulator_config.py              14      0   100%
thermostatsupervisor\environment.py                 108     19    82%
thermostatsupervisor\flask_generic.py                30      9    70%
thermostatsupervisor\honeywell.py                   254     58    77%
thermostatsupervisor\honeywell_config.py              7      0   100%
thermostatsupervisor\kumocloud.py                   235     52    78%
thermostatsupervisor\kumocloud_config.py             12      0   100%
thermostatsupervisor\kumolocal.py                   198    145    27%
thermostatsupervisor\kumolocal_config.py             12      0   100%
thermostatsupervisor\mmm.py                         271    200    26%
thermostatsupervisor\mmm_config.py                   10      0   100%
thermostatsupervisor\sht31.py                       181     54    70%
thermostatsupervisor\sht31_config.py                 58      3    95%
thermostatsupervisor\sht31_flask_server.py          298    138    54%
thermostatsupervisor\supervise.py                    45      7    84%
thermostatsupervisor\supervisor_flask_server.py      65     31    52%
thermostatsupervisor\thermostat_api.py              132     16    88%
thermostatsupervisor\thermostat_common.py           448     71    84%
thermostatsupervisor\utilities.py                   283     34    88%
---------------------------------------------------------------------
TOTAL                                              4562   1158    75%

C:\github\ThermostatSupervisor>python --version
Python 3.11.6

@cjkrolak
Copy link
Owner Author

no changes needed for python 3.11 support, see #665 for python 3.12 support and #667 for blinkpy 0.22.0 support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority-3 lowest priority, no commit date on fix
Projects
None yet
Development

No branches or pull requests

1 participant