Releases: KxSystems/embedPy
Releases · KxSystems/embedPy
1.5.0
Addition of virtualenv support
Addition of support for virtual environments (#103) * venv support (#99) * virtual env * removed setting of python home * cleaned up p.q * working version for working environments * update base prefix * addition of py_SetProgramName * added travis virtualenv * added tests for sys commands. Added warning for windows virtual environment users * fix windows venv warning Co-authored-by: Dianeod <40861871+Dianeod@users.noreply.github.com> Co-authored-by: Diane ODonoghue <dodonoghue@kx.com> * Venv (#102) * virtual env * removed setting of python home * cleaned up p.q * working version for working environments * update base prefix * addition of py_SetProgramName * added travis virtualenv * added tests for sys commands. Added warning for windows virtual environment users * fix windows venv warning * Fixed stdOut issue (#101) * Optional error message conforming to Python return. KXI-1467 (#100) * Update to p.q logic for handling sys.argv * reintroduction of old logic * addition of initial sys argv and embedpy version check * Addition of functionality to return Python traceback rather than q shorthand * Memory leak fix and removal of environment variable check C side * reformat of prr to use modifiable global rather than env variable * Initial pass at rectifying potential buffer overflow * update to py.c to initialize traceback import on init * closer fit to code base style Co-authored-by: Conor McCarthy <conormccarthy@brainpool1.mynet> Co-authored-by: cmccarthy1 <38653604+cmccarthy1@users.noreply.github.com> Co-authored-by: Conor McCarthy <conormccarthy@brainpool1.mynet> * Explicit note that venv support limitation is only expected to hold for Windows Co-authored-by: Dianeod <40861871+Dianeod@users.noreply.github.com> Co-authored-by: Diane ODonoghue <dodonoghue@kx.com> Co-authored-by: Conor McCarthy <conormccarthy@brainpool1.mynet>
Update to support conda python 3.8 (fix)
- Previous to this release 1.3.7 had been released (now removed) to provide support for python 3.8 to embedPy. This release was stable for Linux/Mac but a change to the cpython api to change an interface function call had been causing issues. This has now been rectified.
- An appropriate tensorflow version >2.2 for python 3.8 is not available at present via conda and as such tests for tensorflow functionality on windows are not completed at this time
Update to curvefit.t tests
With the release of kdb+ 4.0 2020.07.15, the function xexp has been updated wrt. precision and performance. This necessitated a change to the curvefit.t
file to account for the precision change
EmbedPy Version addition and sys.argv logic change
- Invocation of the function
.p.version
from a release will now provide a user with the version of embedPy being used sys.argv
will now have a guaranteed initialisation withq)p)import sys;print(sys.argv)
returning['']
This had not been guaranteed with certain versions of python
Release update, reversion of behaviour to remove support for virtual environments
- Release 1.3.3 introduced a bug which needs to be looked into before the addition of venv is stable
- Tensorflow test file remains updated for support with testing on tensorflow 2
1.3.2
1.3.1
1.3.0
1.2.0
Release 1.2.0
Added .p.xunwrap
recursive unwrap of all embedPy objects in q lists, dictionaries or tables
python sys.argv
is set to [''] if not already set when p.q is loaded
Docker image built and updated on releases
Tests print more information on failure/error and added requirements.txt for tests, these are not dependencies for embedPy, only to run the tests
Python 3.5 or higher is required, updated README to reflect this
travisCI runs tests if kdb+ is available