From 1b1e0197ce10fa8e8e102e1c2f754792b7c1b143 Mon Sep 17 00:00:00 2001 From: Jacob Huff Date: Tue, 17 Nov 2026 09:19:36 -0500 Subject: [PATCH] Raise psycopg2 binary version for python 3.11 compatibility with st2 3.10 --- CHANGES.md | 6 ++++++ pack.yaml | 2 +- requirements.txt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 889685b..f0e1ca3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Change Log +## 1.1.7 + +- Raised `psycopg2-binary` to `>=2.9.5,<3`. 2.8.6 has no Python 3.11 wheels, so the pack's + virtualenv failed to build on StackStorm 3.10 (Python 3.11). + Contributed by Jacob Huff (Encore Technologies) + ## 1.1.6 - Fixed `query`, `insert`, `update`, and `delete` actions silently rolling back writes. SQLAlchemy 2.0+ diff --git a/pack.yaml b/pack.yaml index 195f3ce..b78487b 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - Postgres - MySQL - MsSQL -version: 1.1.6 +version: 1.1.7 author: Encore Technologies email: code@encore.tech python_versions: diff --git a/requirements.txt b/requirements.txt index d5df7a4..3977f4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -psycopg2-binary<=2.8.6 +psycopg2-binary>=2.9.5,<3 sqlalchemy>=2.0,<3 pymysql pymssql==2.2.11