Repository navigation
refactor(extensions): rename extras to extensions - #975
Merged
Merged
Conversation
Rename the PyPI distribution from aws-durable-execution-sdk-python-extras to aws-durable-execution-sdk-python-extensions. Rename the import package from aws_durable_execution_sdk_python_extras to aws_durable_execution_sdk_python_extensions. Move the package folder and the module folder with git mv. Update the hatch envs, pytest, ruff, mypy and coverage paths, the publish workflow matrix, the type check script, the release doc, AGENTS.md, the READMEs and docs, the examples, and the compute worker. Rename the dev-extras hatch env to dev-extensions. Rename the release tag prefix from extras to extensions. The version stays 0.1.0a1. No module stays under the old name. BREAKING CHANGE: users of the alpha package must install aws-durable-execution-sdk-python-extensions and import aws_durable_execution_sdk_python_extensions.
nvasiu
previously approved these changes
Nov 20, 2026
yaythomas
previously approved these changes
Nov 20, 2026
SilanHe
requested changes
Nov 20, 2026
SilanHe
left a comment
Contributor
There was a problem hiding this comment.
The JS examples run breaks once the JS rename merges.** .github/scripts/js_examples/run.py lists packages/aws-durable-execution-sdk-js-extras in JS_BUILD_WORKSPACES (line 79) and marks it optional (line 93). After aws/aws-durable-execution-sdk-js#1266 merges, JS main has -js-extensions instead.
🤖 AI-assisted comment
Contributor
Author
|
@SilanHe Fixed in bca2aba. |
SilanHe
approved these changes
Nov 20, 2026
The JS examples run builds a list of JS workspaces. The list named only packages/aws-durable-execution-sdk-js-extras. JS main now has packages/aws-durable-execution-sdk-js-extensions instead, after aws/aws-durable-execution-sdk-js#1266. So the run would skip the package that the JS examples import. The list now names both packages, and both are optional. A JS ref from before the rename builds extras, and a ref from after it builds extensions. This matches how the list handles the worker rename. The test now covers a checkout with extras, one with extensions, and one with neither.
ParidelPooya
force-pushed
the
chore/rename-extras-to-extensions
branch
from
November 20, 2026 20:41
111f9a9 to
bca2aba
Compare
nvasiu
approved these changes
Nov 20, 2026
ParidelPooya
marked this pull request as ready for review
November 20, 2026 21:09
ParidelPooya
added a commit
that referenced
this pull request
Nov 20, 2026
Resolve conflicts from the extras to extensions package rename in #975.
This branch was successfully deployed
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.
Issue #, if available
None.
Description of changes
This PR renames the extras package to extensions.
aws-durable-execution-sdk-python-extrasis nowaws-durable-execution-sdk-python-extensions.aws_durable_execution_sdk_python_extrasis nowaws_durable_execution_sdk_python_extensions.git mv, so the file history follows.pyproject.toml(pytest paths, hatch envs, ruff isort), the packagepyproject.toml,pypi-publish.yml,type-checks.sh,RELEASING.md,AGENTS.md, the READMEs and docs, the examples and the compute worker now use the new names.dev-extrasis nowdev-extensions.extrasis nowextensionsinRELEASING.md.0.1.0a1. The new distribution has no release yet, so0.1.0a1is free on PyPI.This change breaks users of the alpha package. They must install
aws-durable-execution-sdk-python-extensionsand change their imports toaws_durable_execution_sdk_python_extensions.Before merge:
aws-durable-execution-sdk-python-extensionson PyPI. Set its trusted publisher to this repository, workflowpypi-publish.yml, environmentpypi. Without it, the publish job fails with 403, and another account can take the name.extensions-v*to thepypienvironment's deployment rules and to the protected tags ruleset. Without it, a release taggedextensions-v0.1.0a1cannot deploy to thepypienvironment.After merge:
extensions-v0.1.0a1.aws-durable-execution-sdk-python-extrasas deprecated on PyPI. Either publish a final release whose README points to the new name, or yank the old releases.Design
Assumptions
aws-durable-execution-sdk-python-extensionshas no release on PyPI. Unverified.Decisions not covered by the issue or the design note
@aws/durable-execution-sdk-js-extrasstays. It names a package in the JS repository.build_logger_extras) and in a test helper stay. They name loggingextrafields, not this package.boto3-stubs[...]andcoverage[toml]stay. They are a different concept.refactor(extensions):without!. The commit lint script accepts only the listed types, and it rejectsrefactor!. The commit body has aBREAKING CHANGE:footer.Checklist
aws_durable_execution_sdk_python_extensions.compute.microvm.errors.MicrovmJobFailedError, now use the new module path. The behavior they check is the same.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.