You are not logged in.
What command produced the output:
--- venv: Creating Local virtualenv '.venv' using '/usr/bin/python' ---Offline
What command produced the output:It's from the instructions here: https://github.com/eoyilmaz/displaycal- … s_linux.md
Here's the whole output including the command:
glen@honcho:~/Projects$ git clone https://github.com/eoyilmaz/displaycal-py3
Cloning into 'displaycal-py3'...
remote: Enumerating objects: 45721, done.
remote: Counting objects: 100% (646/646), done.
remote: Compressing objects: 100% (166/166), done.
remote: Total 45721 (delta 533), reused 487 (delta 479), pack-reused 45075 (from 4)
Receiving objects: 100% (45721/45721), 61.97 MiB | 11.04 MiB/s, done.
Resolving deltas: 100% (34360/34360), done.
glen@honcho:~/Projects$ cd displaycal-py3/
glen@honcho:~/Projects/displaycal-py3$ make venv build install
--- venv: Creating Local virtualenv '.venv' using '/usr/bin/python' ---
python3 -m venv .venv
--- build: Building ---
--- build: Local install into virtualenv '.venv' ---
--- build: Using python interpreter '/home/glen/Projects/displaycal-py3/.venv/bin/python' ---
Collecting uv
Using cached uv-0.11.23-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Using cached uv-0.11.23-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.4 MB)
Installing collected packages: uv
Successfully installed uv-0.11.23
Resolved 87 packages in 322ms
Prepared 2 packages in 1.58s
Installed 86 packages in 25ms
+ attrs==26.1.0
+ build==1.5.0
+ cachetools==7.1.4
+ casttube==0.2.1
+ certifi==2026.6.17
+ cffi==2.0.0
+ charset-normalizer==3.4.7
+ colorama==0.4.6
+ contourpy==1.3.3
+ coverage==7.14.2
+ cryptography==49.0.0
+ cycler==0.12.1
+ darglint==1.8.1
+ dbus-python==1.4.0
+ defusedxml==0.7.1
+ distlib==0.4.3
+ distro==1.9.0
+ docutils==0.23
+ execnet==2.1.2
+ filelock==3.29.4
+ flake8==7.3.0
+ flake8-bugbear==25.11.29
+ flake8-docstrings==1.7.0
+ flake8-import-order==0.19.2
+ flake8-pep3101==3.0.0
+ flake8-spellcheck==0.28.0
+ fonttools==4.63.0
+ id==1.6.1
+ idna==3.18
+ ifaddr==0.2.0
+ iniconfig==2.3.0
+ jaraco-classes==3.4.0
+ jaraco-context==6.1.2
+ jaraco-functools==4.5.0
+ jeepney==0.9.0
+ keyring==25.7.0
+ kiwisolver==1.5.0
+ markdown-it-py==4.2.0
+ matplotlib==3.11.0
+ mccabe==0.7.0
+ mdurl==0.1.2
+ more-itertools==11.1.0
+ nh3==0.3.5
+ numpy==2.5.0
+ packaging==26.2
+ pillow==12.2.0
+ platformdirs==4.10.0
+ pluggy==1.6.0
+ protobuf==7.35.1
+ psutil==7.2.2
+ pychromecast==14.0.10
+ pycodestyle==2.14.0
+ pycparser==3.0
+ pydocstyle==6.3.0
+ pyflakes==3.4.0
+ pyglet==2.1.14
+ pygments==2.20.0
+ pyparsing==3.3.2
+ pyproject-api==1.10.1
+ pyproject-hooks==1.2.0
+ pytest==9.1.1
+ pytest-cov==7.1.0
+ pytest-github-actions-annotate-failures==0.4.2
+ pytest-xdist==3.8.0
+ python-dateutil==2.9.0.post0
+ python-discovery==1.4.2
+ pyyaml==6.0.3
+ readme-renderer==45.0
+ requests==2.34.2
+ requests-toolbelt==1.0.0
+ rfc3986==2.0.0
+ rich==15.0.0
+ ruff==0.15.18
+ secretstorage==3.5.0
+ send2trash==2.1.0
+ setuptools==82.0.1
+ six==1.17.0
+ snowballstemmer==3.1.1
+ tomli-w==1.2.0
+ tox==4.55.1
+ twine==6.2.0
+ urllib3==2.7.0
+ virtualenv==21.5.1
+ wheel==0.47.0
+ wxpython==4.2.5
+ zeroconf==0.149.17
Building source distribution...
/home/glen/.cache/uv/builds-v0/.tmpNVXyEn/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.distutils]` in `pyproject.toml` is still *experimental* and likely to change in future releases.
config = read_configuration(filepath, True, ignore_option_errors, dist)
/home/glen/.cache/uv/builds-v0/.tmpNVXyEn/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2027-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
warning: no files found matching 'dist/copyright'
warning: no files found matching 'dist/net.displaycal.DisplayCAL.appdata.xml'
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50.icm'
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50'
warning: no files found matching '(ICC'
warning: no files found matching 'PCS'
warning: no files found matching 'encoding).icm'
warning: no files found matching 'DisplayCAL/ref/DCDM'
warning: no files found matching 'X'Y'Z'.icm'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*/__pycache__/*' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
['egg_info']
*** /home/glen/Projects/displaycal-py3/-c egg_info
using distutils
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50.icm'
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50'
warning: no files found matching '(ICC'
warning: no files found matching 'PCS'
warning: no files found matching 'encoding).icm'
warning: no files found matching 'DisplayCAL/ref/DCDM'
warning: no files found matching 'X'Y'Z'.icm'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*/__pycache__/*' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
['sdist', '--formats', 'gztar', '--dist-dir', '/home/glen/Projects/displaycal-py3/dist/.tmp-yzpkscnu']
*** /home/glen/Projects/displaycal-py3/-c sdist --formats gztar --dist-dir /home/glen/Projects/displaycal-py3/dist/.tmp-yzpkscnu
using distutils
Building wheel from source distribution...
/home/glen/.cache/uv/builds-v0/.tmp4fWfRT/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.distutils]` in `pyproject.toml` is still *experimental* and likely to change in future releases.
config = read_configuration(filepath, True, ignore_option_errors, dist)
/home/glen/.cache/uv/builds-v0/.tmp4fWfRT/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2027-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50.icm'
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50'
warning: no files found matching '(ICC'
warning: no files found matching 'PCS'
warning: no files found matching 'encoding).icm'
warning: no files found matching 'DisplayCAL/ref/DCDM'
warning: no files found matching 'X'Y'Z'.icm'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*/__pycache__/*' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
['egg_info']
*** /home/glen/.cache/uv/sdists-v9/.tmpOA2AYS/displaycal-3.9.18.dev12/-c egg_info
using distutils
/home/glen/.cache/uv/builds-v0/.tmp4fWfRT/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.distutils]` in `pyproject.toml` is still *experimental* and likely to change in future releases.
config = read_configuration(filepath, True, ignore_option_errors, dist)
/home/glen/.cache/uv/builds-v0/.tmp4fWfRT/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2027-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50.icm'
warning: no files found matching 'DisplayCAL/ref/XYZ'
warning: no files found matching 'D50'
warning: no files found matching '(ICC'
warning: no files found matching 'PCS'
warning: no files found matching 'encoding).icm'
warning: no files found matching 'DisplayCAL/ref/DCDM'
warning: no files found matching 'X'Y'Z'.icm'
warning: no previously-included files found matching 'misc/Argyll'
warning: no previously-included files found matching 'misc/*.rules'
warning: no previously-included files found matching 'misc/*.usermap'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.backup' found anywhere in distribution
warning: no previously-included files matching '*/__pycache__/*' found anywhere in distribution
warning: no previously-included files matching '*.bak' found anywhere in distribution
['bdist_wheel', '--dist-dir', '/home/glen/Projects/displaycal-py3/dist/.tmp-xewtodu0']
*** /home/glen/.cache/uv/sdists-v9/.tmpOA2AYS/displaycal-3.9.18.dev12/-c bdist_wheel --dist-dir /home/glen/Projects/displaycal-py3/dist/.tmp-xewtodu0
using distutils
Successfully built dist/displaycal-3.9.18.dev12.tar.gz
Successfully built dist/displaycal-3.9.18.dev12-py3-none-any.whl
--- install: Installing displaycal to virtualenv at '.venv' using '/usr/bin/python' ---
source ./.venv/bin/activate; \
uv pip install ./dist/displaycal-3.9.18.dev12-*.whl --force-reinstall;
Resolved 24 packages in 85ms
Prepared 24 packages in 74ms
Uninstalled 23 packages in 29ms
Installed 24 packages in 43ms
~ build==1.5.0
~ casttube==0.2.1
~ certifi==2026.6.17
~ charset-normalizer==3.4.7
~ dbus-python==1.4.0
~ defusedxml==0.7.1
+ displaycal==3.9.18.dev12 (from file:///home/glen/Projects/displaycal-py3/dist/displaycal-3.9.18.dev12-py3-none-any.whl)
~ distro==1.9.0
~ idna==3.18
~ ifaddr==0.2.0
~ numpy==2.5.0
~ packaging==26.2
~ pillow==12.2.0
~ protobuf==7.35.1
~ psutil==7.2.2
~ pychromecast==14.0.10
~ pyglet==2.1.14
~ pyproject-hooks==1.2.0
~ pyyaml==6.0.3
~ requests==2.34.2
~ send2trash==2.1.0
~ urllib3==2.7.0
~ wxpython==4.2.5
~ zeroconf==0.149.17After that the "make launch" command starts displaycal in the virtual environment.
Last edited by glenjo (Today 00:30:27)
Offline
@seth looks to be an upstream issue in audio.py? sdl is selected if libSDL_mixer-1.2.so.0 is found. sdl the python module is only imported if typing.TYPE_CHECKING is TRUE so https://github.com/eoyilmaz/displaycal- … io.py#L601 is referencing sdl that has not been imported.
Edit:
https://github.com/eoyilmaz/displaycal- … io.py#L305 would create globals pyglet, pyo, sdl, wx but those variables are not used so has no effect. https://github.com/eoyilmaz/displaycal- … io.py#L150 use of global wx and function does try and import wx. pyo and pyglet follow the same pattern while sdl/sdl2 init functions are missing the try import and sdl instead references the shared object but that value is not returned or made global. 58af90b Fixed all linting errors in DisplayCAL.audio module. which introduced the sdl/sdl2 imports is confusing sdl the python module and sdl the shared object and I suspect the linter only allowed it because None is listed as a valid type in all the cases along with sdl.Mixer and sdl2.Mixer.
Last edited by loqs (Today 02:59:48)
Offline
sdl/sdl2 init functions are missing the try import
What seems like an obvious bug but wasn't introduced w/ that patch. The older code also prefers SDL and only runs dlopen on some hardcoded objects
@glenjo, does any of the older (not development) versions (python 3.14 or 3.13) use SDL audio?
Offline