[MCOL-1813] Bulk Write SDK's Windows installer doesn't detect Python installations for the current user only Created: 2018-10-16  Updated: 2023-10-26  Resolved: 2018-11-09

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.2.0
Fix Version/s: 1.2.1

Type: Bug Priority: Major
Reporter: Jens Röwekamp (Inactive) Assignee: Zdravelina Sokolovska (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows 10


Sprint: 2018-19, 2018-20

 Description   

If Python 2.7 or Python 3.7 is installed only for the current user it is not detected by mcsapi's Windows installer. Therefore, pymcsapi isn't installed as module during mcsapi's installation.

It should be installed for the current user, if no global Python installation is detected.

If a global Python installation and a Python installation for the current user it found pymcsapi should only be installed in the global Python installation.



 Comments   
Comment by Jens Röwekamp (Inactive) [ 2018-10-18 ]

Added code to check the local user registry as well for Python installations.

For QA:

  • I wasn't able to have two parallel installations of global and local Python, therefore:
  • check if the installer detects local Python 2.7 and 3.7 installations successfully and verify pymcsapi's functionality
  • check if the installer detects global Python 2.7 and 3.7 installations successfully and verify pymcsapi's functionality

The functionality check could be done after installation in interactive mode via:

import pymcsapi
d = pymcsapi.ColumnStoreDriver()

Comment by Andrew Hutchings (Inactive) [ 2018-11-09 ]

Since this is merged I'm going to assume it is supposed to be in test

Comment by Zdravelina Sokolovska (Inactive) [ 2018-11-09 ]

checked with checked with the updated latest build msi package MariaDB ColumnStore Bulk Write SDK-1.2.1-1 get from MCOL-1812 --the Write SDK's Windows installer is detecting Python installations

Generated at Thu Feb 08 02:31:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.