Skip to content

[blackice] Move PyRIT install to microsoft/PyRIT with proxy support#250

Merged
gillespeiffer-db merged 2 commits into
masterfrom
gpeiffer/blackice-pyrit-microsoft-master
Jun 5, 2026
Merged

[blackice] Move PyRIT install to microsoft/PyRIT with proxy support#250
gillespeiffer-db merged 2 commits into
masterfrom
gpeiffer/blackice-pyrit-microsoft-master

Conversation

@gillespeiffer-db
Copy link
Copy Markdown
Collaborator

@gillespeiffer-db gillespeiffer-db commented Jun 3, 2026

Summary

Follow Lasse's package-index proxy pattern from #244 and keep the BlackIce PyRIT version pinned at v0.10.0rc0 while moving from the archived Azure/PyRIT repo to microsoft/PyRIT.

Details

The version intentionally stays the same. Testing v0.13.0 built successfully, but it broke the existing BlackIce PyRIT integration because the PyRIT APIs used by our patches changed.

This PR:

  • updates the PyRIT repo URL to https://github.com/microsoft/PyRIT.git
  • keeps the PyRIT ref at v0.10.0rc0
  • adds build args/env plumbing so BlackIce can use proxied PyPI, uv, and npm registries in restricted build environments

Validation

Validated on the 17.3-LTS branch with a fresh no-cache Docker build using internal PyPI, npm, and PyTorch proxies. The BlackIce test suite result was 137 passed, 1 failed; the remaining failure is an unrelated lm-eval-harness / transformers.AutoModelForVision2Seq compatibility issue that reproduces independently of the PyRIT version.

PyRIT moved from Azure/PyRIT to microsoft/PyRIT. The old repository is
archived and no longer carries the v0.10.0rc0 tag, so checking out that
ref during the blackice image build fails. Update the GIT_TOOLS entry to
the current upstream and move from the release candidate to the latest
stable release v0.13.0.
@gillespeiffer-db gillespeiffer-db force-pushed the gpeiffer/blackice-pyrit-microsoft-master branch from bcad47f to db1dfc1 Compare June 3, 2026 15:49
Comment thread ubuntu/blackice/docker/Dockerfile Outdated
@gillespeiffer-db gillespeiffer-db changed the title [blackice] Fix PyRIT pin: Azure/PyRIT (archived) -> microsoft/PyRIT v0.13.0 [blackice] Follow Lasse's proxy pattern for PyRIT repo move Jun 4, 2026
@gillespeiffer-db gillespeiffer-db changed the title [blackice] Follow Lasse's proxy pattern for PyRIT repo move [blackice] Move PyRIT install to microsoft/PyRIT with proxy support Jun 4, 2026
@gillespeiffer-db gillespeiffer-db merged commit c445834 into master Jun 5, 2026
@gillespeiffer-db gillespeiffer-db deleted the gpeiffer/blackice-pyrit-microsoft-master branch June 5, 2026 06:50
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