Skip to content

Conversation

dylan-bitovi
Copy link
Contributor

@dylan-bitovi dylan-bitovi commented May 27, 2025

A recent issue has popped up for the SQL pack which makes it uninstallable.

Changes have been pushed to the pymssql Python library which makes it incompatible with ST2 which is still on 3.8. Attempting to install the pack will fail at installing requirements as it will detect that pymssql version 2.3.4 is available, which it will attempt to use as it satisfies the current <3.0 set in requirements.txt despite it not being compatible with Python 3.8.

The last version which works is 2.3.0. Link to PyPi library for 2.3.3 showing Python 3.8 support has been removed. The current version of pymssql has actually already moved to 2.3.4.

Trying to install the pack as is throws some gcc/Cython errors. I tried investigating it some but the only thing I found that did work was cloning the repo and pinning the version to 2.3.0 in requirements.txt myself and installing from my pack.

Steps to reproduce:

  1. Install sql exchange pack using either the UI or st2 pack install sql from the command line.

Changes made:

  1. requirements.txt - changed pymssql version from <3.0 to <=2.3.0

@dylan-bitovi dylan-bitovi changed the title Pinned pymssql version to <=2.3.2 for Python 3.8 compatibility Pinned pymssql version to <=2.3.0 for Python 3.8 compatibility Jun 25, 2025
Sanity test for 2.3.1 if working.
@nzlosh nzlosh merged commit d179c40 into StackStorm-Exchange:master Jun 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants