Deprecations
A list of deprecated behaviors and the version in which they were removed.
| Feature | Alternative | Deprecated | Removed |
|---|---|---|---|
kx.q.system.console_size |
kx.q.system.display_size |
3.1.3 | |
.pykx.console[] on Windows |
3.1.3 | 3.1.3 | |
labels keyword for rename method |
mapper |
2.5.0 | 3.1.0 |
type from dtypes for kx.Table |
2.5.0 | 3.0.1 | |
modify keyword for operations on kx.Table |
inplace |
2.3.1 | 3.0.0 |
replace_self keyword for overwriting kx.Table |
inplace |
2.3.1 | 3.0.0 |
PYKX_NO_SIGINT |
PYKX_NO_SIGNAL |
2.2.1 | 3.0.0 |
IGNORE_QHOME |
PYKX_IGNORE_QHOME |
3.0.0 | 3.0.0 |
KEEP_LOCAL_TIMES |
PYKX_KEEP_LOCAL_TIMES |
3.0.0 | 3.0.0 |
SKIP_UNDERQ |
PYKX_SKIP_UNDERQ |
3.0.0 | 3.0.0 |
UNDER_PYTHON |
PYKX_UNDER_PYTHON |
2.2.1 | 3.0.0 |
UNSET_PYKX_GLOBALS |
3.0.0 | 3.0.0 | |
PYKX_UNSET_GLOBALS |
3.0.0 | 3.0.0 | |
PYKX_ENABLE_PANDAS_API |
3.0.0 | 3.0.0 | |
.pd(raw_guids) |
2.5.0 | 2.5.0 |
PyKX 3.1.3
Release Date: 2025-06-12
- Deprecated
kx.q.system.console_size, usekx.q.system.display_sizeinstead. .pykx.console[]has been removed on Windows due to incompatibility. Will now error with'.pykx.console is not available on Windowsif called.
PyKX 3.1.0
Release Date: 2025-02-11
- Removal of previously deprecated use of keyword
labelswhen using therenamemethod for table objects. Users should use themapperkeyword to maintain the same behavior. - Error message when checking a license referenced a function
pykx.util.install_licensewhich is deprecated, this has now been updated to referencepykx.license.install
PyKX 3.0.1
Release Date: 2024-12-04
- Removal of column
typefrom the return ofdtypesmethod forkx.Tableobjects, previously this had raised a deprecation warning
PyKX 3.0.0
Release Date: 2024-11-12
-
Removal of various deprecated keywords used in table operations:
modifykeyword forselect,exec,updateanddeleteoperations onpykx.Tableandpykx.KeyedTable. This has been permanently changed to useinplace.replace_selfkeyword when attempting to overwrite apykx.TableorKeyedTableusing insert/upsert functionality. This has been permanently changed to useinplace.
-
The following table outlines environment variables/configuration options which are now fully deprecated and the updated name for these values if they exist.
Deprecated option Supported option PYKX_NO_SIGINTPYKX_NO_SIGNALIGNORE_QHOMEPYKX_IGNORE_QHOMEKEEP_LOCAL_TIMESPYKX_KEEP_LOCAL_TIMESSKIP_UNDERQPYKX_SKIP_UNDERQUNDER_PYTHONPYKX_UNDER_PYTHONUNSET_PYKX_GLOBALSNo longer applicable PYKX_UNSET_GLOBALSNo longer applicable PYKX_ENABLE_PANDAS_APINo longer applicable
PyKX 2.5.0
Release Date: 2024-05-15
- Deprecated
.pd(raw_guids)keyword. - Renamed
labelsparameter inTable.rename()tomapperto match Pandas. Added deprecation warning tolabels. - Deprecation of
typecolumn indtypesoutput as it is a reserved keyword. Use newdatatypescolumn instead.
PyKX 2.3.1
Release Date: 2024-02-07
- To align with other areas of PyKX the
upsertandinsertmethods for PyKX tables and keyed tables now support the keyword argumentinplace, this change will deprecate usage ofreplace_selfwith the next major release of PyKX.
PyKX 2.2.1
Release Date: 2023-11-30
- Deprecation of internally used environment variable
UNDER_PYTHONwhich has been replaced byPYKX_UNDER_PYTHONto align with other internally used environment variables. - Addition of deprecation warning for environmental configuration option
PYKX_NO_SIGINTwhich is to be replaced byPYKX_NO_SIGNAL. This is used when users require no signal handling logic overwrites and now coversSIGTERM,SIGINT,SIGABRTsignals amongst others.
PyKX 1.6.1
Release Date: 2023-07-19
- Added deprecation warning around the discontinuing of support for Python 3.7.
PyKX 1.0.1
Release Date: 2022-03-18
- The
syncparameter forpykx.QConnectionandpykx.QConnection.__call__has been renamed to the less confusing namewait. Thesyncparameter remains, but its usage will result in aDeprecationWarningbeing emitted. Thesyncparameter will be removed in a future version.
PyKX 1.0.0
Release Date: 2022-02-14
- The
pykdb.q.ipcattribute has been removed. The IPC module can be accessed directly instead atpykx.ipc, but generally one will only need to access theQConnectionclass, which can be accessed at the top-level:pykx.QConnection. - The
pykdb.q.Kattribute has been removed. Instead,Ktypes can be used as constructors for that type by leveraging thetoqmodule. For example, instead ofpykdb.q.K(x)one should writepykx.K(x). Instead ofpykx.q.K(x, k_type=pykx.k.SymbolAtom)one should writepykx.SymbolAtom(x)orpykx.toq(x, ktype=pykx.SymbolAtom). - Most
KdbError/QErrorsubclasses have been removed, as identifying them is error prone, and we are unable to provide helpful error messages for most of them. - The
pykx.kdbsingleton class has been removed.