Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
74bf8d9
First working version
Sporarum Apr 17, 2025
04a7229
Update streaming logic to mqtt
Sporarum Apr 23, 2025
fe76fa9
First working round-trip
Sporarum Apr 25, 2025
ce3f434
Update schema for EMQX authentication
Sporarum Apr 25, 2025
4cee955
Remove debug print
Sporarum Apr 25, 2025
293153d
Rename operator ui related endpoint/apis/methods to ...streaming...
Sporarum Apr 25, 2025
1256783
Cleanup connection logic and Finalize transition to parameters being …
Sporarum Apr 25, 2025
5e1f764
Prints test streaming URL to console
upview Apr 25, 2025
b000ea0
Get operatorPage url from server
Sporarum Apr 28, 2025
309e9f5
Add standard logging for streaming
Sporarum Apr 28, 2025
70d4c98
Improve contributin onboarding
Sporarum Apr 28, 2025
6574373
Fix twine command
Sporarum Apr 28, 2025
1c4767a
Add will to python client
Sporarum Apr 29, 2025
4f42a21
Fix dependency missing from package
Sporarum Apr 30, 2025
0735b83
Fix confusing error message when the api key is incorrect
Sporarum Apr 30, 2025
ae61b66
Fix SSL certificate verification issues
mrousse May 2, 2025
34981a8
Improves the logger experience
upview May 5, 2025
efa7e9d
Fixed attachments uploads when openhtf import fails
upview May 5, 2025
ed4cdcd
Uniformizes the log messages
upview May 5, 2025
4eefdf2
Adds TofuPilot banner to client call
upview May 5, 2025
2322bcc
WIP: custom openhtf prompts
upview May 5, 2025
f356c95
Adds color to tofu cap
upview May 5, 2025
1e9039c
Improves tofu banner
upview May 6, 2025
9537c63
Add ability to stop openhtf tests
upview May 6, 2025
1087694
Improves user prompt with link to operator ui
upview May 6, 2025
0bafc27
Simplifies logger
upview May 6, 2025
60777a6
Renames streaming to Operator UI
upview May 6, 2025
492546f
Add pausable logging to support cleaner UI during streaming connections
upview May 6, 2025
ef3fd07
Integrate threading and error handling improvements from quentin/app-…
upview May 6, 2025
e23632c
Remove execute_with_graceful_exit function as it's no longer needed w…
upview May 6, 2025
c7a4348
Fix PausableHandler implementation to properly inherit from logging.H…
upview May 6, 2025
06325ed
Simplify logging pause/resume implementation to be more robust
upview May 6, 2025
c193e5d
Remove thread name from log output
upview May 6, 2025
4f6db1a
Disable streaming when auth or connection fails to prevent further er…
upview May 6, 2025
9a99343
Improve upload error handling to properly log API key errors
upview May 6, 2025
bdb4dd0
Fix API key error handling to use TofuPilot logger consistently
upview May 6, 2025
13fe97d
Fix API key error logging to ensure proper formatting with TP:ERR prefix
upview May 6, 2025
57feeb4
Reduces code base
upview May 6, 2025
2bc2853
Disabled Ctrl+C prompt for now
upview May 6, 2025
bd7d02b
Cleans unused imports
upview May 6, 2025
386bd35
Fix run upload attachments
upview May 7, 2025
c5270f8
Improves logging messages
upview May 7, 2025
4a58539
Unpauses the logger after openhtf run execution
upview May 7, 2025
e0b97e5
Updates setup.py
upview May 7, 2025
d1db9ae
Deletes test files
upview May 7, 2025
3390101
Fixes attachments with create_run()
upview May 7, 2025
180fc13
Reverts version checker changes
upview May 8, 2025
dfe177b
Merge branch 'main' into julien/app-3111
upview May 8, 2025
ee5cd75
Updates version
upview May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,22 @@ When the release PR is merged, and a new release is detected by the “Python pu

If you need to test a new version of the Python client before making an official release, you can publish it to TestPyPI, a sandbox version of PyPI used for testing package distributions.

1. Build the package locally using:
1. If a previous test package with the exact same version was released, update the version in `setup.py`. For instance, change version="X.Y.Z.dev0" to version="X.Y.Z.dev1".
2. Build the package locally using:
```sh
rm -rf dist/*
python -m build
```
This will generate distribution files in the dist/ directory.

2. If a previous test package with the exact same version was released, update the version in `setup.py`. For instance, change version="X.Y.Z.dev0" to version="X.Y.Z.dev1".
3. Get a testpypi API key, for example ask your managment if they have one.

Then run:
```sh
twine upload --repository testpypi dist/
twine upload --repository testpypi dist/*
```

3. To install the new test package, run:
4. To install the new test package, run:
```sh
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ tofupilot==<exact-version>
```
Expand Down
Binary file removed data/performance-report.pdf
Binary file not shown.
Binary file removed data/temperature-map.png
Binary file not shown.
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ requests
setuptools
packaging
pytest
websockets
websockets
paho-mqtt
build
twine
certifi>=2023.7.22
23 changes: 18 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,38 @@

setup(
name="tofupilot",
version="1.10.0",
version="1.11.1",
packages=find_packages(),
install_requires=["requests", "setuptools", "packaging", "pytest", "websockets"],
install_requires=[
"requests>=2.25.0",
"setuptools>=50.0.0",
"packaging>=20.0",
"paho-mqtt>=2.0.0",
"sentry-sdk>=1.0.0",
"certifi>=2020.12.5",
],
entry_points={
"pytest11": [
"tofupilot = tofupilot.plugin", # Registering the pytest plugin
],
},
author="TofuPilot",
author="TofuPilot Team",
author_email="hello@tofupilot.com",
description="The official Python client for the TofuPilot API",
description="Official Python client for TofuPilot with OpenHTF integration, real-time streaming and file attachment support",
license="MIT",
keywords="automatic hardware testing tofupilot",
keywords="automatic hardware testing tofupilot openhtf",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/tofupilot/python-client",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.9",
)
Loading
Loading