Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
85386ff
Replace setup.py with pip to install in editable mode.
nzlosh Feb 2, 2026
3dc1899
Skip empty test directory in makefile and display failed components.
nzlosh Feb 2, 2026
30f8ca1
Fix ModuleNotFoundError: No module named 'pipes'
nzlosh Feb 2, 2026
e58ce7d
Fix DeprecationWarning: module 'sre_parse' is deprecated
nzlosh Feb 3, 2026
aa2cc8b
Fix ImportError: cannot import name 'RequirementInformation' from 'pi…
nzlosh Feb 3, 2026
5b474ba
Fix DeprecationWarning: assertDictContainsSubset is deprecated
nzlosh Feb 5, 2026
5810f9a
Bump CI testing to python range 3.10 to 3.12
nzlosh Mar 17, 2026
3873289
Bump jsonschema version to support py3.12
nzlosh Mar 17, 2026
9b109d0
Regenerate pants lockfiles
nzlosh Mar 17, 2026
2ba51a0
Regenerate pants lockfiles
nzlosh Mar 17, 2026
983c093
Update pants requirements for python3.10-3.12
nzlosh Mar 17, 2026
ff0fe6d
Update requirements for python3.10-3.12
nzlosh Mar 17, 2026
402a3f0
Use public API over internal API for jsonschema to prevent import err…
nzlosh Mar 25, 2026
2af3949
Update pinning/lockfiles to use jsonschema 4.17.3
nzlosh Mar 25, 2026
e8c345f
Bump github actions to use py3.10 to py3.12 with mongo8.2, rabbitmq4.…
nzlosh Mar 25, 2026
df2f2a6
Create virtualenv using venv module.
nzlosh Mar 25, 2026
a9ae68a
Replace pkg_resources with importlib and regenerate lockfile/requirem…
nzlosh Mar 26, 2026
4a6cd40
Replace virtual with venv module
nzlosh Mar 26, 2026
b909869
Replace flex module with openapi-spec-validator and regenerate lockfi…
nzlosh Mar 26, 2026
c8b604c
Enable debug
nzlosh Mar 26, 2026
0d0f44c
Constrain setuptools for all python versions
nzlosh Mar 26, 2026
271b801
convert FileWatchSensor to use threading over eventlent and stackstor…
skiedude Mar 27, 2026
66c8be1
update requirements/tests with removal of logshipper
skiedude Mar 27, 2026
a0526d3
Merge pull request #2 from skiedude/filewatchsensor
nzlosh Mar 27, 2026
f050412
Testing fixes for py3.10 (#3)
skiedude Apr 6, 2026
7022dde
Revert date range for copyright notice.
nzlosh Apr 6, 2026
e71a42c
debug jsonschema version bump
nzlosh Apr 14, 2026
7fda01e
jsonschema/openapi validation fixes (#4)
skiedude Apr 16, 2026
4858c81
Linting fixes, compile fixes (#5)
skiedude Apr 17, 2026
7db0101
More pip/setuptools install fixes (#6)
skiedude Apr 29, 2026
a43d5ea
regen pants lockfile to update orquest and other sha (#7)
skiedude Apr 29, 2026
386ea50
remove call to virtualenv (#8)
skiedude May 4, 2026
1084335
Update test_dist_utils.py - new dep flex
guzzijones May 6, 2026
6ca5e1a
Update test_resource_registrar.py 5 is now invalid python
guzzijones May 6, 2026
329c2b4
Update test_logging.py; stderr contains eventlet warning
guzzijones May 6, 2026
adddc19
Update test_pythonrunner_behavior.py; six deprecated
guzzijones May 27, 2026
62f2a58
Update test_pythonrunner_behavior.py ; remove six check
guzzijones May 27, 2026
a682111
Lint fix
nzlosh Jun 7, 2026
6974fc4
Revert "Update test_logging.py; stderr contains eventlet warning"
nzlosh Jun 7, 2026
f1bad56
Update ci.yaml . try using pip install -e .
guzzijones Jun 9, 2026
9338d56
Update ci.yaml; revert last change to test pip install -e
guzzijones Jun 9, 2026
b32b89a
Update __init__.py; set normalized version name to avoid permission e…
guzzijones Jun 10, 2026
87e667e
Update __init__.py
guzzijones Jun 10, 2026
638b4e4
Update __init__.py; st2client version change did not fix st2 test issue
guzzijones Jun 10, 2026
48b8e7b
Update BUILD.venv; change to >= to fix interepreter constrainsts lint…
guzzijones Jun 10, 2026
59d20ca
Update BUILD.venv; add minor version and <3.13
guzzijones Jun 10, 2026
4d422da
Update BUILD.venv; make a subset by putting into one string
guzzijones Jun 10, 2026
629c1df
Update BUILD.venv; remove 3.8; 3.9 which are eol
guzzijones Jun 10, 2026
6c276ba
Update BUILD; remove 8 and 9 from packaging/build params
guzzijones Jun 10, 2026
16a3051
Update BUILD; remove 3.8 distro
guzzijones Jun 10, 2026
bd7c02c
Update BUILD.venv remove 8 9
guzzijones Jun 10, 2026
0667c59
Update BUILD; mention plugin required for openapi validation that pex…
guzzijones Jun 10, 2026
90ef606
Update BUILD; whitespace
guzzijones Jun 10, 2026
5a89550
EVENTLET ignore warning for testing
guzzijones Jun 10, 2026
95b08e5
add env variable specifically to test to ignore warnings for eventlet
guzzijones Jun 10, 2026
e126520
set env variable for eventlet in tests
guzzijones Jun 10, 2026
8bba7de
set env variable for eventlet in tests
guzzijones Jun 10, 2026
f8b05be
clean up st2client.egg-info before install
guzzijones Jun 11, 2026
63e9501
increase time for python 12
guzzijones Jun 11, 2026
3597993
st2client already installed by make step
guzzijones Jun 11, 2026
677ad5a
turn off line buffering for python3.12 change
guzzijones Jun 11, 2026
56b5a88
undo no flush setting in log
guzzijones Jun 11, 2026
8a2df5e
use sigterm instead of sigkill, also increase timeout for python3.12 …
guzzijones Jun 11, 2026
1f2ff02
add diagnostic for st2 pack install
guzzijones Jun 11, 2026
72eacd8
fix redis parametarize causing 11 runs of check redis connection that…
guzzijones Jun 11, 2026
98b994e
pants tailor update for pytest requirement
guzzijones Jun 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 15 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
make:
- name: 'Lint Checks (black, flake8, etc.)'
task: 'ci-checks'
Expand Down Expand Up @@ -117,15 +116,15 @@ jobs:
fail-fast: false
matrix:
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.10', version: '3.10.16'}
services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -135,7 +134,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -231,13 +230,6 @@ jobs:
ln -s ${GITHUB_WORKSPACE}/virtualenv/bin/st2 /usr/local/bin/st2
ln -s ${GITHUB_WORKSPACE}/st2common/bin/st2-run-pack-tests /usr/local/bin/st2-run-pack-tests

- name: Install st2client
timeout-minutes: 5
run: |
cd ./st2client
pip3 install --upgrade pip
python3 setup.py develop

- name: Run self-verification script
env:
ST2_CONF: /home/runner/work/st2/st2/conf/st2.ci.conf
Expand Down Expand Up @@ -272,10 +264,9 @@ jobs:
# NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where
# each job runs subset of tests.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
make:
- name: 'Unit Tests (chunk 1)'
task: 'ci-unit'
Expand All @@ -290,12 +281,12 @@ jobs:
# shard: {k: 0, n: 1}
services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017
redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand All @@ -307,7 +298,7 @@ jobs:
- 6379:6379/tcp

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand Down Expand Up @@ -408,7 +399,7 @@ jobs:
# NOTE: We only generate and submit coverage report for master and version branches and
# only when the build succeeds (default on GitHub Actions, this was not the case on Travis
# so we had to explicitly check success)
if: "${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.PYTHON_VERSION_SHORT == '3.8')}}"
if: "${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.PYTHON_VERSION_SHORT == '3.10')}}"
run: |
./scripts/ci/submit-codecov-coverage.sh
env:
Expand All @@ -427,10 +418,9 @@ jobs:
# NOTE: To speed-up the CI run, we split unit and integration tests into multiple jobs where
# each job runs subset of tests.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
make:
# We run pack tests here since they rely on some integration tests set
# up (aka stanley user being present, etc.)
Expand All @@ -445,7 +435,7 @@ jobs:
shard: {k: 1, n: 2}
services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

Expand All @@ -456,7 +446,7 @@ jobs:
# or they require config in entrypoint args (which we can't override for GHA services)
# so we use RabbitMQ's conf.d feature to get config files from mounted volumes.
rabbitmq:
image: rabbitmq:3.13
image: rabbitmq:4.2
volumes:
- /home/runner/rabbitmq_conf:/etc/rabbitmq/conf.d # RABBITMQ_MOUNTED_CONF_DIR
env:
Expand All @@ -482,7 +472,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -577,7 +567,7 @@ jobs:

- name: Codecov
# NOTE: We only generate and submit coverage report for master and version branches and only when the build succeeds (default on GitHub Actions, this was not the case on Travis so we had to explicitly check success)
if: "${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.TASK == 'ci-integration') && (env.PYTHON_VERSION_SHORT == '3.8')}}"
if: "${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.TASK == 'ci-integration') && (env.PYTHON_VERSION_SHORT == '3.10')}}"
run: |
./scripts/ci/submit-codecov-coverage.sh
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/microbenchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,21 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
make:
- name: 'Microbenchmarks'
task: 'micro-benchmarks'
shard: {k: 0, n: 1}
services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/orquesta-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,21 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
make:
- name: 'Integration Tests (Orquesta)'
task: 'ci-orquesta'
shard: {k: 0, n: 1}
services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -80,7 +79,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down
51 changes: 23 additions & 28 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -65,7 +65,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -128,10 +128,9 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}
shard:
# Sharding of tests is handled by pants:
# https://www.pantsbuild.org/stable/docs/using-pants/advanced-target-selection#sharding-the-input-targets
Expand All @@ -142,12 +141,12 @@ jobs:

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -157,7 +156,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -225,19 +224,18 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -247,7 +245,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -314,14 +312,13 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

Expand All @@ -332,7 +329,7 @@ jobs:
# or they require config in entrypoint args (which we can't override for GHA services)
# so we use RabbitMQ's conf.d feature to get config files from mounted volumes.
rabbitmq:
image: rabbitmq:3.13
image: rabbitmq:4.2
volumes:
- /home/runner/rabbitmq_conf:/etc/rabbitmq/conf.d # RABBITMQ_MOUNTED_CONF_DIR
env:
Expand All @@ -359,7 +356,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -435,19 +432,18 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -457,7 +453,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down Expand Up @@ -555,19 +551,18 @@ jobs:
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
# setup virtualenv step will fail.
python:
- {version-short: '3.8', version: '3.8.18'}
- {version-short: '3.9', version: '3.9.21'}
- {version-short: '3.10', version: '3.10.16'}
- {version-short: '3.11', version: '3.11.11'}
- {version-short: '3.12', version: '3.12.12'}

services:
mongo:
image: mongo:7.0
image: mongo:8.2
ports:
- 27017:27017

rabbitmq:
image: rabbitmq:3.13-management
image: rabbitmq:4.2-management
options: >-
--name rabbitmq
ports:
Expand All @@ -577,7 +572,7 @@ jobs:

redis:
# Docker Hub image
image: redis:8.0
image: redis:8.6
# Set health checks to wait until redis has started
options: >-
--name "redis"
Expand Down
Loading
Loading