Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d72b2f0
feat: Add support for Operator UI
Sporarum Apr 17, 2025
7ee9e51
Fix SSL certificate verification issues
mrousse May 2, 2025
d1fcab8
Improves the logger experience
upview May 5, 2025
8250fdc
Fixed attachments uploads when openhtf import fails
upview May 5, 2025
1a2218d
Uniformizes the log messages
upview May 5, 2025
ff0c910
Adds TofuPilot banner to client call
upview May 5, 2025
32d94a5
Adds color to tofu cap
upview May 5, 2025
1dac23f
Improves tofu banner
upview May 6, 2025
dbbc549
Add ability to stop openhtf tests
upview May 6, 2025
e16a7ff
Improves user prompt with link to operator ui
upview May 6, 2025
8089480
Simplifies logger
upview May 6, 2025
d0c6a20
Renames streaming to Operator UI
upview May 6, 2025
80e119b
Add pausable logging to support cleaner UI during streaming connections
upview May 6, 2025
2b65327
Integrate threading and error handling improvements from quentin/app-…
upview May 6, 2025
4f69cee
Remove execute_with_graceful_exit function as it's no longer needed w…
upview May 6, 2025
4bbae9f
Fix PausableHandler implementation to properly inherit from logging.H…
upview May 6, 2025
b15a344
Simplify logging pause/resume implementation to be more robust
upview May 6, 2025
94b812d
Remove thread name from log output
upview May 6, 2025
ce7bc63
Disable streaming when auth or connection fails to prevent further er…
upview May 6, 2025
162ded1
Improve upload error handling to properly log API key errors
upview May 6, 2025
3be5b38
Fix API key error handling to use TofuPilot logger consistently
upview May 6, 2025
147e4f6
Fix API key error logging to ensure proper formatting with TP:ERR prefix
upview May 6, 2025
528a0bc
Reduces code base
upview May 6, 2025
d5c75db
Cleans unused imports
upview May 6, 2025
00d4635
Fix run upload attachments
upview May 7, 2025
b458175
Improves logging messages
upview May 7, 2025
97eefcd
Unpauses the logger after openhtf run execution
upview May 7, 2025
80cd4e3
Updates setup.py
upview May 7, 2025
ad7c625
Deletes test files
upview May 7, 2025
92f7c94
Fixes attachments with create_run()
upview May 7, 2025
0ba6829
Reverts version checker changes
upview May 8, 2025
b1843b1
chore: fix version number being out of sync
Sporarum May 9, 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.
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ packaging
pytest
websockets
pytest
paho-mqtt
build
twine
certifi>=2023.7.22
24 changes: 19 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,39 @@

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",
"pytest",
"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