What a PyRIT major version upgrade involves today
Your team runs PyRIT and must move to a newer major version, and the latest release is v1.2.1, published on GitHub on 2026-11-18 and uploaded to PyPI on 2026-11-16. PyPI installation is the only documented upgrade mechanism, which makes the upgrade a package change you run yourself, since no managed PyRIT service from AWS, Azure or Google Cloud was found. We also found no end-of-life date, support policy page or upgrade guide, so confirm your current line's support status and its breaking changes from the PyRIT release notes and with the maintainers before you set a plan. DeployOpen can scope the upgrade in writing, with deliverables and timelines agreed before work starts, but we do not estimate effort here, because the size of the change depends on which breaking changes reach your code.
Begin by recording the pinned pyrit version in your requirements.txt or lock file, the repository you installed from, and the Python interpreter in use. The package supports Python 3.10 up to but not including 3.15, and the documentation recommends Python 3.13, so confirm that your runtime and any container base image fit both before you change the pin. Then list the parts of PyRIT your tests depend on: targets, prompt converters, scorers, multi-turn attacks such as Crescendo, TAP and Skeleton Key, and any custom HTTP, WebSocket or Playwright web app targets. These are likely places for API changes, so the maintainers' notes for each version you cross matter more than the version number alone. Also check whether you came from the archived Azure/PyRIT repository, which was archived on 27 March 2026 and is read-only, because that move changes where you receive updates.
Your PyRIT memory store is the part most worth protecting. The memory layer records conversations, scores and results in SQLite or Azure SQL, so ask the maintainers whether the stored schema changes between the versions you will cross, and take a backup of the database before the first run on the new version. Then run your attack suite against a non-production target and compare scores and outputs with your prior baseline. For rollback, keep the previous pinned version and the database backup together, and rehearse reinstalling the old pin, because a rollback that has never been tested is a guess. Finally, decide whether to step through v1.0.0, published on July 24, 2026, and v1.1.0, published on September 4, 2026, or move straight to v1.2.1. The PyRIT documentation available at the time of writing covers 1.1.0, so ask the maintainers which path they test.
Which PyRIT releases are documented and what the sources say about support
This table lists the PyRIT releases and repository states that the sources document, with the date and what each source says about it. The sources give no end-of-life date or support window for any version, so ask the maintainers for the support policy before you plan an upgrade; the full release history is on the microsoft/PyRIT releases page.
| Release or state | Date | What the source says |
|---|---|---|
| v1.0.0 | July 24, 2026 | First release in the microsoft/PyRIT repository, per its GitHub releases page. This is the earliest point in the current repository's release history. |
| v1.1.0 | September 4, 2026 | Version named in the PyRIT documentation path. Confirm that the documentation version matches the release you install before you follow its examples. |
| v1.2.1 | November 18, 2026 (GitHub); November 16, 2026 (PyPI) | Latest release on GitHub. The PyPI upload date is earlier than the GitHub publish date, so check both when you pin a version. |
| Azure/PyRIT (original repository) | March 27, 2026 (archived) | Archived by its owner and read-only. Its README says PyRIT has moved to microsoft/PyRIT, so update any links, install scripts and issue tracking to that repository. |
| End-of-life or support window | Not stated in sources | No source gives an end-of-life date or support window for any version. Ask the maintainers for the written support policy and how long each major version receives fixes. |
Why the repository move changes how you upgrade
Start by finding every place your team still points to the old location. The original Azure/PyRIT repository was archived on March 27, 2026, so it is read-only and cannot accept new commits or pull requests. Its README points to the microsoft/PyRIT repository, where development continues. List each reference to the old owner: git remotes, requirements.txt or pyproject.toml entries that install from a git URL, CI pipeline pins, internal runbooks, onboarding documents and any mirrored or forked copies in your own code hosting. Update each one to the microsoft/PyRIT repository before you start the upgrade, so that the test environment and production are built from the same reference.
Next, confirm that each environment still installs the package from PyPI under the name pyrit, using the pyrit on PyPI listing as the reference. An install that names the package directly should not depend on the repository move, but a pipeline that installs from a git URL, a fork or a cached wheel in an internal artifact mirror needs an explicit check. Run pip show pyrit in each environment and compare the reported version with the release you intend to pin. Pin an exact version number rather than a floating range, so that the build you test is the build you deploy. Ask your artifact proxy owner how often it refreshes its index, because a stale mirror can serve an older build.
The move does not, by itself, change the PyRIT API, so do not treat the repository change as a breaking change in its own right. Breaking changes between major versions are a separate question and need their own review against your scripts and configurations. What the move does change is your change record. If you cannot show which repository, package source and version each environment ran before and after the upgrade, a rollback or an audit question takes longer to answer. Record the old repository URL, the new one, the pinned version and the PyPI source in your change ticket, and keep the previous pin in version control so that a rollback is a single pin revert.
The documented PyRIT upgrade path and the steps the project does not list
The project documents one upgrade action: install a newer pyrit release from PyPI. The sequence below is the set of checks a team should run around that action so the upgrade is repeatable and reversible. It produces a tested, pinned version and a written record of what changed.
Confirm installed PyRIT and Python versions
Record the installed pyrit version and the Python interpreter version in the environment that runs your attacks, for example with
pip show pyritandpython --version(illustrative commands). The PyPI package supports Python 3.10 up to but not including 3.15, and the PyRIT documentation recommends Python 3.13, so check the interpreter against that range before you change the package. Save both values in your change record. Done when you have a written baseline and the interpreter sits inside the supported range.Read release notes for each intermediate release
Open the PyRIT releases page and read the notes for every release between your current version and the target, including any breaking changes they describe. The project does not publish a separate upgrade guide, so the release notes are the main place to find change information. Write down each change to targets, converters, scorers, attacks or memory that touches your code. Done when every release in the range has an entry in your change record and each item that affects your code has an owner.
Confirm open questions with maintainers
Ask the PyRIT maintainers through the microsoft/PyRIT repository whether any intermediate version is required, whether the memory schema changed between your version and the target, and whether a migration script exists for your database, SQLite or Azure SQL. The project documents no sequential migration tool, no required intermediate versions and no database migration script for the memory layer, so confirm each of these before you rely on it. Record the answers with their dates. Done when you hold a written answer for every question and every database you run.
Install the target version in isolation
Create a new virtual environment with the interpreter you confirmed, then install the target pyrit version from PyPI with an explicit version pin. Leave the current environment untouched so you can return to it. Check that the reported version matches the target and that importing pyrit succeeds. Done when the new environment reports the target version and the old environment still reports the previous version.
Run the existing test suite
Run your own test suite inside the new environment, including the tests that exercise PyRIT targets, converters and scorers. Each failure usually points to code that depends on a changed interface, so match it to the release note that explains it, if one exists. The project does not provide a test suite for downstream code, so the tests you run are your own responsibility to maintain. Done when the suite passes, or every failure has a documented cause and a decision to fix the code or keep the old pin.
Smoke test targets, scorers and memory
Run a short, non-production attack against one configured target, score the output with one scorer, and confirm the conversation and score are stored in the memory layer. Use a copy of your database or a throwaway database, with the same type you run in production, SQLite or Azure SQL. Restart the process and read the records back to confirm the memory layer persisted them. Done when the test records are readable after the restart and no error appears in the logs.
Promote the pinned version after sign-off
After the test suite passes, the smoke test records read back correctly, and the maintainers have answered your open questions, update the pinned version in your dependency file, such as
requirements.txtorpyproject.toml, and deploy it to the target environment. Keep the previous version pin and its environment in your records as the rollback reference. Confirm any rollback steps, including restoring the memory database from your own backup, with the maintainers before you need them. Done when the deployed environment reports the target version and the rollback reference is recorded.
Which breaking changes the sources document and what to check
These five areas cover what is documented about PyRIT upgrades and what remains unconfirmed. Each card sets out one area, the documented facts, and the check that closes the gap before production traffic moves to a new major version. Treat any item without a documented answer as an open question for the vendor or your own test environment.
Repository location
The original Azure/PyRIT repository was archived on March 27, 2026, and it is read-only. Development continues at microsoft/PyRIT, so any pipeline, requirements file or script that still points at the old location will not receive new work. Confirm that nothing else changed for your installs by reading the new README and comparing your install source with the one you use today.
microsoft/PyRIT repositoryPython support range
The PyPI package supports Python 3.10 up to but not including 3.15, and the documentation recommends Python 3.13. Your runtime must sit inside that range for the version you target, so a service pinned to an interpreter outside it needs a runtime change scheduled alongside the upgrade. Check the supported range on the PyPI page for the exact version you install.
PyPI package pageMemory layer compatibility
PyRIT's memory layer records conversations, scores and results in SQLite or Azure SQL. No schema migration path is documented, so treat compatibility of stored data as unconfirmed until you test it. Restore a copy of your current database into a staging environment, run the new version against it, and confirm that prior results still read correctly before you decide what happens to the old store.
Attack and target interfaces
The framework is built from targets, converters, scorers and multi-turn attacks such as Crescendo, TAP and Skeleton Key. No list of breaking API changes is published, so each of these components is a place where your code can break without an obvious error. Read the release notes for every version between your current release and the target, then run your own attack scripts against a staging target and compare scorer output with your baseline.
PyRIT release notesDocumentation version
The documentation path is 1.1.0, while the latest release is 1.2.1. Reading one version of the guide while running another can lead you to class names, parameters or defaults that do not match the code you installed. Confirm that the docs match the version you install, and record the docs version your runbook cites so that future readers check the same source.
PyRIT 1.1.0 docsHow to plan a PyRIT major version upgrade by environment
A researcher's laptop is where most upgrades start, and where a failed install costs the least. The risk is a quick upgrade that changes the package under every script in the project at once. Build the new version in a separate virtual environment so the working setup stays intact until your own runs pass.
- Pin the exact version: Record the current release in a
requirements.txtor lockfile, such aspyrit==followed by the version you run now, before anything else changes. - Back up SQLite memory: If your memory database is SQLite, copy the file to a dated folder before the first run on the new version, since the memory layer stores conversations, scores and results.
- Keep Azure SQL settings under control: If you use Azure SQL, keep connection settings in a file your team manages through its change process, and out of personal
.envfiles on the laptop. - Plan the rollback: Keep the old environment, or reinstall the previously pinned version into a clean virtual environment. The project documents no rollback procedure, so these steps are your team's own practice.
- Retest plugins and custom targets: Run your own plugin and custom target scripts against the new version. No published list shows which integrations a major version affects, so build the list from your own code.
Before you commit the new pin, confirm the lockfile version matches the environment where the tests passed.
CI is where an upgrade becomes repeatable. The pipeline should install one pinned version, run the same suite every time and fail visibly. Run the candidate version in its own job on a branch so the main pipeline stays on the version your team has tested.
- Install from the pinned file and match Python: Install only from the committed requirements file or lockfile. The PyPI package supports Python 3.10 up to but not including 3.15, and the PyRIT documentation recommends Python 3.13, so set the runner to the version you tested.
- Use throwaway memory stores: Give each job a fresh SQLite file or a disposable Azure SQL test database. Back up any persisted cache before the upgrade job runs, and keep CI away from the production memory store.
- Manage Azure SQL configuration in the pipeline: Inject connection settings from the CI secret store, and route changes to them through the same pull request review as code.
- Revert and rerun for rollback: Revert the pin commit and rerun the pipeline on a clean runner. The project documents no rollback procedure, so this sequence is your team's own practice. Do not restore a cached virtual environment from before the upgrade.
- Add plugins and custom targets to the suite: Include them in the test job, because no published list shows which integrations a major version affects.
Check that the pin, the Python version and the memory store setting all appear in the same pull request diff.
A shared server or VM runs one installed copy for many people, so an upgrade changes everyone's work at the same moment. Pick a maintenance window, announce it, and keep the previous environment ready to return to. Treat the server's pinned version as deployed configuration with a named owner.
- Pin per deployment: Keep the pinned version in the deployment's requirements file or lockfile, and record which version is live so the team can answer that question during an incident.
- Back up the SQLite memory database: Pause jobs that write to the database, copy the file along with any companion files it uses, and confirm the copy opens before the upgrade starts.
- Govern Azure SQL configuration: Treat connection strings, network rules and identity settings as configuration under the team's change control, with an approver and a record of who changed what.
- Keep the old environment for rollback: Retain the previous virtual environment beside the new one, or reinstall the previously pinned version into a clean environment and restore the memory backup if the database changed. The project documents no rollback procedure, so these steps are your team's own practice.
- Retest plugins and custom HTTP or WebSocket targets: Run them against the new version before cutover. No published list shows which integrations a major version affects, so take the inventory from your own deployment records.
Confirm that the backup restores into a test copy before the maintenance window opens.
The memory database backup is the checkpoint before promotion
The sequence starts at the current pinned version and reads the release notes before anything is installed. The target release goes into a staging virtual environment, where the test run decides the next step. A failed run leaves the previous pin in place. A passing run triggers the memory database backup, which is the checkpoint before promotion to production. If production shows a problem after promotion, the branch returns to the previous pinned version. Confirm with the release notes and your own environment how the backed-up memory database would be restored, and whether it is compatible with that version.
Upgrade path with the memory database backup as the checkpoint before promotion.
PyRIT major version upgrade questions buyers ask before hiring help
When does my PyRIT version reach end of life?
Ask the PyRIT maintainers for the support window of your major version before you plan the work, because the end-of-life date sets how urgent the upgrade is. Check the PyRIT releases page for the current release line and the dates of recent releases. At the time of writing, the latest release listed there is v1.2.1, so a team on an older line should confirm whether fixes still ship for its version.
Ask three things in writing: when your major version stops receiving security fixes, whether a patch line exists for it, and what the maintainers recommend for teams that must stay on an older release. Record the answers in your change plan. If the date is close, schedule the upgrade against it and name that deadline in the written scope.
What drives the cost of a PyRIT major version upgrade?
The cost follows how much PyRIT code your team has written and how much of it the new major version touches. The main drivers are:
- The size of your custom code, including converters, scorers, attacks and targets you have built on the library.
- The number of targets and attack strategies in use, since each one needs its own regression check.
- Test coverage, because thin tests mean more manual verification and slower sign-off.
- The volume of memory data to preserve, since conversations, scores and results stored in SQLite or Azure SQL must still load after the move.
Your own engineers are paid for their time. If you buy outside help, the provider is paid under a written scope. The upgrade itself is one-time, while a retainer for later upgrades and testing recurs. Ask any quote to itemize testing, memory data migration and the rollback plan. DeployOpen does not publish a price list, and a quote follows from the written scope.
How long does a PyRIT major version upgrade take?
No fixed duration applies, so the answer comes from the written scope rather than from a general estimate. The schedule depends on the same factors as cost: custom code, the targets and attacks in use, test coverage and the memory data to move. A team with one target and solid tests will usually finish sooner than a team with custom converters, scorers and several target types, because each target needs its own regression check.
Ask any provider to split the timeline into discovery, a staging upgrade, testing, a cutover window and a rollback rehearsal, with a date for each step. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the timeline should appear in that document. Also ask your own team how long its last dependency upgrade took, since that gives you a local baseline.
What does my team need to provide for the upgrade?
The work needs four things from your side before it starts:
- A staging environment that mirrors the targets you test in production, with the credentials and network paths the test runs need.
- The existing test suite and any scripts that run PyRIT attacks, so regressions can be measured.
- A copy of the stored memory data for rehearsal, plus a decision on how long old records must be kept.
- A named owner who approves scope changes, release windows and the go or no-go decision.
Without a named owner, approvals stall and the schedule slips. Confirm that the staging environment can be reset to its current state, because rollback testing depends on it. These needs apply to the upgrade itself, and a retainer for ongoing support needs the same access.
Can my team upgrade PyRIT without outside help?
Yes, if PyRIT runs as a library installed in a virtual environment and your team has automated tests and a tested rollback plan. The upgrade means installing a newer pyrit release from PyPI into a new environment, running the test suite and comparing the results with the current version. The answer changes if the team lacks Python test automation, because then the team has no reliable way to see what broke after the install. In that case, a fixed-scope engagement can build the test harness first and then carry out the upgrade.
Check the interpreter before you start. The PyPI package supports Python 3.10 up to but not including 3.15, and the PyRIT documentation recommends Python 3.13. Confirm that your environment matches those constraints and that the rollback plan restores the previous environment and memory database together.
Is there a managed PyRIT service from a cloud provider?
We have not found a managed PyRIT service from AWS, Azure or Google Cloud, so plan on running PyRIT yourself in your own cloud account, data center or air-gapped network. That means your team or a partner owns the host, the Python environment, the target connections, the memory database and every upgrade.
Before you rely on any vendor claim, ask the provider in writing which operations it performs for you, which of your systems it can reach, and where the memory data is stored. DeployOpen implements self-hosted platforms inside the client's own infrastructure, so a scoped engagement would cover setup, upgrades and handover in your environment.
How to test an upgrade and roll back when the project documents no path
Test the new major version against a non-production target before any shared scripts or memory stores move to it. Run your existing attack and scorer scripts under the current release and the candidate release, each in its own Python environment, against the same target configuration. The PyPI package supports Python 3.10 up to but not including 3.15, and the documentation recommends Python 3.13, so pin the interpreter as well as the package. Compare outcomes on identical inputs: attack results, scorer verdicts, converter output and error behavior. Changed scorer verdicts matter most, because a different score can change what your team reports as a finding. Save the comparison as a script you can rerun after every change.
Next, confirm that stored memory still reads correctly. PyRIT's memory layer records conversations, scores and results in SQLite or Azure SQL, so open a copy of an existing memory database with the new release and check that past conversations, scores and attack results load and display as they did before. Keep the previous pinned environment, including its requirements.txt or lock file, the interpreter version and the memory file, available until the new one passes. The project's documentation does not describe a rollback procedure, a compatibility matrix or a database migration tool. A failed upgrade is therefore recovered by reinstalling the pinned environment and restoring a backup taken before the upgrade, so test that restore on a copy before you rely on it.
Before you promote the new version anywhere that holds records you must keep, ask the maintainers whether memory schema changes in this release are one-way. If the release migrates the database in place, an older pinned environment may be unable to read the upgraded file, and your pre-upgrade backup becomes the only way back. Record the answer in writing next to the release number you tested, and make it a gate in your change record. If the answer is unclear, treat the upgrade as irreversible and keep the pre-upgrade copy for as long as your retention rules require. Read the PyRIT release notes for breaking changes to attack and scorer APIs as well, since those changes can alter your scripts without touching stored data.
How DeployOpen plans and runs PyRIT upgrades
DeployOpen treats a PyRIT major version upgrade as a scoped engagement inside your own infrastructure. We start from the version you run and the version you want, then agree in writing what is tested, changed, documented and handed back. Ongoing support and upgrades can follow under a retainer.
How we scope
- The written scope names the PyRIT versions in play, including the target release such as 1.2.1.
- Engagements are fixed-scope, so deliverables and timelines are agreed before any upgrade work starts.
- Check the Python runtime first, since the
pyritpackage supports Python 3.10 below 3.15 and docs recommend 3.13.
How we build
- Install the target
pyritrelease in an isolated environment that matches your production Python version. - Record the existing attack configurations, converters, scorers and memory database so each can be rerun against the new version.
- Run the old and new versions side by side on the same test targets and compare the scored results.
How we hand over
- Deliver a written upgrade record covering changed imports, altered behavior, and test results for each target.
- Document the rollback path: how to reinstall the previous pinned
pyritversion and restore the memory database from backup. - Hand over pinned dependency files and runbooks so your team can repeat the upgrade without us.
How we support
- Ongoing support, upgrades and continuous testing can be taken on as a retainer after handover.
- Ask the maintainers, and confirm on the release page, how long each major version receives fixes before you commit.
- Schedule a retest whenever a newer PyRIT release ships, such as the 1.2.1 release published November 18, 2026.

