Releases: google/openhtf
Releases · google/openhtf
Test publish workflow
Use default access token for rate limiting Taken from example at https://github.com/arduino/setup-protoc
1.6.0 Roll up release
What's Changed
Highlights
Python 3.13 support, 3.8 and older no longer supported
Use newer version of Tornado
Numerous bug fixes and feature additions
Full list
- Fixed bug with 'show image with user.prompt' by @Spudmn in #1071
- Fix broken
plug
relative import in global__init__.py
by @kehrazy in #1099 - Defer camelization by
PhaseNameCase
until retrieving thename
property to allow it to work with string substitution. by @copybara-service in #1105 - Remove unused
six
import in monitor code by @jtilahun in #1112 - fixed typos and closed open brackets (#807) by @iHarshit15 in #1126
- Use coveralls github action instead of manual coveralls by @dbhatman in #1131
- Move ImmutableMeasurement to measurement.py. by @copybara-service in #1129
- Added pytype None checks to console_summary.py. by @copybara-service in #1133
- Added pytype None checks to text.py. by @copybara-service in #1138
- Added pytype None checks to test.py. by @copybara-service in #1141
- Add set_time_millis to measurement by @wallacbe in #1140
- Fix test breakage likely caused by an update to pytest by @glados-verma in #1163
- Move example Test definition out of the main() function to module level. by @copybara-service in #1161
- Increase the post timeout for uploading by @copybara-service in #1165
- Add support for uncompressed uploads if they are being used by @copybara-service in #1166
- fix typo in event_sequence.md by @frankalicious in #1168
- Update coveralls version to 2.3.0 in continuous_integration.yml by @glados-verma in #1170
- Log filename, number and function name for the phase being executed by @copybara-service in #1169
- Fix continuous integration (again) by @glados-verma in #1173
- Exercise stop_on_measurement_fail option later, after multidims have been validated by @copybara-service in #1172
- Overhaul the build system to be per modern conventions by @glados-verma in #1175
- Add pytype disables for legacy unittests checking for incorrect types being passed to the API. by @copybara-service in #1179
- Update documentation for the default repeat limit, add constant for retrying "forever". by @copybara-service in #1180
- Upgrade Tornado to v6, and fix servers accordingly. by @glados-verma in #1181
- Update tornado requirement from <5.0,>=4.3 to >=4.3,<7.0 in the pip group by @dependabot in #1176
- Use importlib metadata version since setuptools pkg_resources is deprecated by @glados-verma in #1183
- Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #1184
- Bump the github-actions group with 3 updates by @dependabot in #1187
- Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2 in the github-actions group by @dependabot in #1193
- Update profiling to work with python3.12 by @glados-verma in #1194
- Continuous Integration: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] by @cclauss in #1185
- Add Python 3.12 and 3.13 to tox (local run) environments. by @glados-verma in #1196
- Package web_gui, and add a note to CONTRIBUTING.md to check the built wheel by @glados-verma in #1197
- Use repr instead of str for phase result logging by @copybara-service in #1195
- Remove unused imports using autoflake by @glados-verma in #1198
- Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 in the github-actions group by @dependabot in #1201
- If run_if throws exception (not intentionally), test will terminate with pass outcome by @eli-zr in #1203
- Fix broken examples and add a README.md for the examples folder by @glados-verma in #1207
- Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 in the github-actions group by @dependabot in #1210
- Add from_dataframe method to Measurement to create multidim measurement from a DataFrame. by @copybara-service in #1211
New Contributors
- @kehrazy made their first contribution in #1099
- @copybara-service made their first contribution in #1105
- @jtilahun made their first contribution in #1112
- @iHarshit15 made their first contribution in #1126
- @frankalicious made their first contribution in #1168
- @eli-zr made their first contribution in #1203
Full Changelog: 1.5.2...1.5.3
v1.5.2 Improvements to setup.py
What's Changed
- Update setup.py to remove errors and warnings on deployment. by @glados-verma in #1066
Full Changelog: 1.5.1...1.5.2
v1.5.1 Fix deployment workflows
What's Changed
- Branch build_and_deploy to continuous_integration.yml and remove deployment action (to be added in separate workflow) by @glados-verma in #1063
- Create python_publish.yml by @glados-verma in #1064
Full Changelog: v1.5.0...1.5.1
v1.5.0 Numerous features and bug fixes. Minimum Python 3.7 requirement
What's Changed
- device_wrapping.DeviceWrappingPlug now supports setting attributes by @dieppedalle in #907
- Adding support for classes containing enum members for device_wrapping.DeviceWrapping class by @dieppedalle in #906
- Fixed bug with device_wrapping.DeviceWrappingPlug where the attributes were sometimes not set. by @dieppedalle in #908
- Plumb keyword args through the assertion wrapper in openhtf test utils. by @arsharma1 in #912
- Add AllInRangeValidator by @arsharma1 in #913
- Implement dict for the conf module by @arsharma1 in #914
- Make bracket_print optionally end the line so it can be used to start lines as well. by @arsharma1 in #915
- Memory-safe phase record attachments by @arsharma1 in #916
- Upgrading mfg-inspector upload errors to WARNING by @kdsudac in #917
- Better error handling and display of error message by @kdsudac in #918
- WithinTolerance Validator by @JamesMTSloan in #920
- print new line if console prompt is answered from elsewhere by @JamesMTSloan in #922
- Update setup.py by @tcm0116 in #927
- Add the ability to profile test runs using cProfile. by @arsharma1 in #921
- Fix validators documentation by @tcm0116 in #926
- Sync Diagnoses Library by @arsharma1 in #937
- Added the ability to show an image with user.prompt. … by @Spudmn in #905
- Only send last message if test still running by @jdve in #939
- Partially modernize build system by @pganssle-google in #943
- use COMPRESSED_TEST_RUN in mfg_inspector by @wallacbe in #946
- include all package data until solution found by @wallacbe in #949
- update collections iterable import by @wallacbe in #950
- update six and PyYAML by @wallacbe in #952
- add cached parameters by @wallacbe in #955
- update collections.abc DeprecationWarning project wide by @wallacbe in #957
- Branches by @arsharma1 in #960
- Phase Sequence: modifier functions that copy must use attr.evolve by @arsharma1 in #961
- Upstream latest changes to OpenHTF by @cricdecyan in #983
- Moved over continuous integration and deployment from travis-ci.org to GitHub Actions by @dieppedalle in #1003
- Added support for marginal test results to the protos. by @dieppedalle in #1002
- Internal change by @dieppedalle in #1004
- Added support for Python version 3.9. by @dieppedalle in #1005
- Removed support for PY2. by @dieppedalle in #1009
- Update build_and_deploy.yml by @glados-verma in #1010
- Fix regressions occuring during PY2 deprecation. by @dieppedalle in #1011
- Remove extra space. by @dieppedalle in #1012
- Removing PY2 lock handler. by @dieppedalle in #1013
- Correct type hint for test_start param in Test.execute() by @lalten in #975
- Handle skipped phases in ConsoleSummary by @lalten in #990
- Don't complain about uninitialized plugs in StationServer logs by @lalten in #991
- pyOpenSSL version update to unbreak build by @dbhatman in #1022
- Drop Python 3.6 support and update some dependencies by @jonasclaes in #1027
- Bump shelljs from 0.7.8 to 0.8.5 in /openhtf/output/web_gui by @dependabot in #996
- Bump @angular/core from 4.4.6 to 11.0.5 in /openhtf/output/web_gui by @dependabot in #1014
- Bump engine.io and karma in /openhtf/output/web_gui by @dependabot in #1025
- Show failed measurement-less phases as failed by @lalten in #1020
- Internal change by @tan01 in #1037
- Changes deprecated oauth2client for google-auth. by @tan01 in #1038
- Add subtest_previous PhaseFailureCheckpoint by @gtpalmer in #992
- Improved typing for validators by @lalten in #995
- Loosen dependencies to allow newer packages by @nehalkpatel in #1028
- Allow using a newer version of protobuf by @nehalkpatel in #1040
- Correct typing usage for Validators by @dbhatman in #1042
- Fix web_gui build by @lalten in #1035
- Add google copyright/license notices by @dbhatman in #1048
- Expose public API with all and minor formatting tweaks by @dbhatman in #1046
- Bump scss-tokenizer and node-sass in /openhtf/output/web_gui by @dependabot in #1024
- Replace Issuestats, which is very dead by @lalten in #1054
- Bump eventsource, sockjs-client and webpack-dev-server in /openhtf/output/web_gui by @dependabot in #1026
- Include MIT license for angular usage in web gui and minor formatting by @dbhatman in #1058
- Revert "Bump eventsource, sockjs-client and webpack-dev-server in /openhtf/output/web_gui" by @glados-verma in #1059
- Rebuild web_gui from head by @glados-verma in #1061
New Contributors
- @JamesMTSloan made their first contribution in #920
- @tcm0116 made their first contribution in #927
- @Spudmn made their first contribution in #905
- @jdve made their first contribution in #939
- @pganssle-google made their first contribution in #943
- @lalten made their first contribution in #975
- @dbhatman made their first contribution in #1022
- @jonasclaes made their first contribution in #1027
- @dependabot made their first contribution in #996
- @tan01 made their first contribution in #1037
- @gtpalmer made their first contribution in #992
- @nehalkpatel made their first contribution in #1028
Full Changelog: v1.4.4...v1.5.0
v1.3.0: Improved logging and new web GUI
Summary of changes
Features:
- Overhaul of framework and test record logging (#756)
- New web GUI and replacement of Station API with “Station Server” (#727)
- Addition of SerialCollectionPlug (#759)
- New --quiet flag to suppress all CLI output (#763)
Bug fixes:
- Fixes to Python 2/3 compatibility (#743, #752, #769)
- Make killable threads more robust to race condition (#740)
- Fix with_metaclass call to include the metaclass (#744)
- Fix extra exception when plug init fails (#745)
- Better handling of objects in MacAddressLogFilter (#746)
- Fix race condition in PhaseExecutor (#747)
- The test outcome should reflect failures in teardown phases (#749)
- Open test run proto as binary to avoid unicode error (#762)
- Better return values when accessing validator parameters (#764)
- The test should fail when a multi-dim measurement fails validation (#770)
- Fix a bug w/ colorama usage for test outcomes (#775)
Cleanup and refactoring:
Backwards-incompatible changes
- The old Station API has been removed entirely. Frontends should use the new Station Server—see
station_server.py
. - The old web GUI has been removed. The new web GUI should be used instead--see
openhtf/output/web_gui
andexamples/frontend_example.py
. - The signature for
TestState
andTestExecutor
now requires passing intest_options
.
v1.2.3
Summary of changes:
- Improved Python 2/3 compatibility, including broader application of
six
library - New CLI output tools
- Add flag for log level of test records, as well as timestamping
to_dataframe
method for converting multidim measurements- Fix bug that was crashing the web GUI
v1.2.2: Update version to 1.2.2 (#707)
v1.2.1
v1.2.0
Version 1.2.0 add supports for Python 3, and other improvements, including:
- Add
FAIL_AND_CONTINUE
phase result (#616) - Add
get_measurement()
,get_attachment()
to TestApi (#624) - Config values passed at the command-line can have their type inferred (#666)
- Add optional timeout to plug
tearDown()
(#668) - Add
DeviceWrappingPlug
to easily create a plug from an existing Python interface (#671) - Add
auto_placeholder
option to allow for overridable plugs. (#683)