debian/rules binaryto avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13
* Building wheel...
Successfully built aiolifx_themes-0.5.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order
warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: asyncio-0.25.1, typeguard-4.4.2, cov-5.0.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
collecting ... collected 4 items
tests/test_library.py::test_theme_library PASSED [ 25%]
tests/test_painter.py::test_theme_painter PASSED [ 50%]
tests/test_theme.py::test_theme_color FAILED [ 75%]
tests/test_theme.py::test_theme_methods PASSED [100%]
=================================== FAILURES ===================================
_______________________________ test_theme_color _______________________________
def test_theme_color() -> None:
"""Test the ThemeColor methods."""
aqua = ThemeColor(180, 100, 100, 3500)
blue = ThemeColor(240, 1.0, 1.0, 3500)
coral = ThemeColor(16.114, 68.627, 100.0, 3500)
rgb = MagicMock()
assert (aqua.hue, aqua.saturation, aqua.brightness, aqua.kelvin) == (
180,
1,
1,
3500,
)
assert aqua < blue
assert aqua > coral
assert hash(aqua) == -4899733196980317225E assert -364122507 == -4899733196980317225
E + where -364122507 = hash(<ThemeColor (180, 1.0000, 1.0000, 3500)>)
tests/test_theme.py:31: AssertionError
---------- coverage: platform linux, python 3.13.2-final-0 -----------
Name Stmts Miss Branch BrPart Cover Missing --------------------------------------------------------------------- aiolifx_themes/theme.py 100 7 24 4 91% 57, 69, 81, 122, 151-153
---------------------------------------------------------------------
TOTAL 386 7 106 4 98%
10 files skipped due to complete coverage.
=========================== short test summary info ============================
FAILED tests/test_theme.py::test_theme_color - assert -364122507 == -48997331...
========================= 1 failed, 3 passed in 1.00s ==========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:46:42 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,508 |