Skip to content

Releases: KxSystems/embedPy

1.5.0

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 22 Oct 10:42
9da99eb

Addition of Python 3.9 support

Addition of virtualenv support

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 20 Jul 06:15
7e46dc8
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)

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 04 Aug 20:12
fdbaad3
  • 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

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 17 Jul 20:00
f95860d

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

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 10 Jul 15:00
ff775be
  • 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 with q)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

Choose a tag to compare

@cmccarthy1 cmccarthy1 released this 26 May 13:44
  • 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

Choose a tag to compare

@jhanna-kx jhanna-kx released this 20 Mar 19:41
  • update tests for https only code.kx.com
  • updated kdb+ version used in docker image
  • stricter compiler flags for build.
  • docker image only runs q under rlwrap if attached to a tty

1.3.1

Choose a tag to compare

@jhanna-kx jhanna-kx released this 04 Sep 19:31
6b07a5a

Require at least python 3.6 on windows as a workaround for python 3.5 could cause a crash on windows 7

1.3.0

1.3.0 Pre-release
Pre-release

Choose a tag to compare

@jhanna-kx jhanna-kx released this 22 Aug 10:19

Python 3.7
Workaround Python 3.5 waiting for stdin on Windows
Workaround for python modules that expect main to be resolvable in q on macOS (#55)
Fix for test failure on windows (#56 )
conda package builds whenever embedPy is built
Various CI and test tidy up

1.2.0

Choose a tag to compare

@jhanna-kx jhanna-kx released this 19 Jun 07:31

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