[CI] Add setup.py pycti/connectors-sdk replacement for rolling and prerelease builds#6500
Draft
Copilot wants to merge 3 commits into
Draft
[CI] Add setup.py pycti/connectors-sdk replacement for rolling and prerelease builds#6500Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
… stray URL Agent-Logs-Url: https://github.com/OpenCTI-Platform/connectors/sessions/881e91a3-8342-424a-9682-8a4ea27b62c4 Co-authored-by: SamuelHassine <1334279+SamuelHassine@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCTI-Platform/connectors/sessions/881e91a3-8342-424a-9682-8a4ea27b62c4 Co-authored-by: SamuelHassine <1334279+SamuelHassine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix rolling image to use pycti from master branch
[CI] Add setup.py pycti/connectors-sdk replacement for rolling and prerelease builds
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rolling and prerelease Docker builds correctly rewrite
pycti==<version>to a git-ref URL inrequirements.txtandpyproject.toml, butsetup.pywas never handled — connectors usingsetup.pyfor dependencies would silently ship the pinned PyPI release instead of the master/branch ref.Changes
.circleci/templates/dynamic.yml.j2find . -name setup.py -exec sed …replacement commands for bothpyctiandconnectors-sdkin theprerelease(uses$CIRCLE_BRANCH) androlling(uses$RELEASE_REF) build blocks, matching the existing pattern used forpyproject.tomlprereleaseblock — a bash no-op leftover that caused a silentgit: unknown subcommanderror on every prerelease build.gitignore— addeddynamic.yml(the generated CI continuation config) to prevent it from being accidentally committedPattern applied to
setup.py(rolling example)