Benjamin Bertrand (48434b99) at 20 Mar 15:24
debug
tango-takeoff (takeoff is already taken on PyPI)@t-b should we merge?
Benjamin Bertrand (9aa60e67) at 20 Mar 10:18
Benjamin Bertrand (6260e50a) at 20 Mar 10:18
takeoff find "*/*" exits with: Error: " " cannot be entirely parsed into int`
Actually comes from pytango:
>>> import tango
>>> tango.utils.info()
"PyTango 10.1.1 (10, 1, 1)\nPyTango compiled with:\n Python : 3.11.14\n Numpy : 2.3.4\n Tango : 10.1.1\n pybind11 : 3.0.1\n\nPyTango runtime is:\n Python : 3.11.14\n Numpy : 2.3.4\n Tango : 10.1.1\n\nPyTango running on:\nuname_result(system='Darwin', node='w-benber-pc-0.maxiv.lu.se', release='25.0.0', version='Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:50 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T6030', machine='arm64')\n"
>>> db = tango.Database()
>>> db.get_server_info("DataBaseds/2")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
tango._tango.DevFailed: DevFailed[
DevError[
desc = " " cannot be entirely parsed into int
origin = T Tango::detail::parse_as(std::string_view) [T = int] at (/Users/runner/miniforge3/conda-bld/cpptango_1758200193404/work/src/common/parse.cpp:43)
reason = API_InvalidArgs
severity = ERR
]
]
>>> db.get_server_info("TangoTest/test")
DbServerInfo(host = ' ', level = 0, mode = 0, name = 'TangoTest/test')
This is a cpptango issue: tango-controls/cppTango#1553
TANGO_HOST env variable. Env variable priority changed in pixi. task.env has the highest priority and can't be overwritten by outside environment variables. Let use set it themselves.get_server_info for cpptango >=10.1. See tango-controls/cppTango#1553. This won't be fixed before 10.4.Closes #15
Thanks for the review!
By Benjamin Bertrand on 2026-03-20T10:56:49
TANGO_HOST env variable. Env variable priority changed in pixi. task.env has the highest priority and can't be overwritten by outside environment variables. Let use set it themselves.get_server_info for cpptango >=10.1. See tango-controls/cppTango#1553. This won't be fixed before 10.4.Closes #15
Thanks for creating a Merge Request and contributing to Taurus project!
Be sure your MR takes into consideration the following:
We migrated the use of pkg_resources to importlib. If I remember correctly this was the reason to pin setuptools to <81. Now we can remove the pin.
I saw this when updating the dependencies in the conda package for 5.4.0. I needed to keep the pin there, we can update it in the next patch release.
TANGO_HOST env variable. Env variable priority changed in pixi. task.env has the highest priority and can't be overwritten by outside environment variables. Let use set it themselves.get_server_info for cpptango >=10.1. See tango-controls/cppTango#1553. This won't be fixed before 10.4.Closes #15
Ping @antjou and @johfor
Does this fix makes sense?
By Benjamin Bertrand on 2026-03-19T16:48:30
TANGO_HOST env variable. Env variable priority changed in pixi. task.env has the highest priority and can't be overwritten by outside environment variables. Let use set it themselves.get_server_info for cpptango >=10.1. See tango-controls/cppTango#1553. This won't be fixed before 10.4.Closes #15