fix(docs): correct build optimization script and docs by Iamrodos · Pull Request #7367 · aws-powertools/powertools-lambda-python · GitHub
Skip to content

fix(docs): correct build optimization script and docs#7367

Merged
leandrodamascena merged 1 commit intoaws-powertools:developfrom
Iamrodos:fix/docs-build-optimization
Sep 11, 2025
Merged

fix(docs): correct build optimization script and docs#7367
leandrodamascena merged 1 commit intoaws-powertools:developfrom
Iamrodos:fix/docs-build-optimization

Conversation

@Iamrodos
Copy link
Copy Markdown
Contributor

Issue number: closes #7361

Summary

The build optimization script was removing the docs directory, which is a dependency of boto3.

Changes

This change removes the line that removes the docs directory and adds a warning to the documentation to test the build after optimization.

User experience

A copy and paste of the example will no longer break a vendored version of boto3. The prompt that removing directories may have side effects may direct some to perform a test when they may otherwise not, avoiding issues .


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

The build optimization script was removing the docs directory, which is a dependency of boto3. This change removes the line that removes the docs directory and adds a warning to the documentation to test the build after optimization.

Fixes aws-powertools#7361
@Iamrodos Iamrodos requested a review from a team as a code owner September 10, 2025 23:40
@Iamrodos Iamrodos requested a review from anafalcao September 10, 2025 23:40
@pull-request-size pull-request-size Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 10, 2025
@boring-cyborg boring-cyborg Bot added the documentation Improvements or additions to documentation label Sep 10, 2025
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented Sep 10, 2025

@sonarqubecloud
Copy link
Copy Markdown

@github-actions github-actions Bot added bug Something isn't working and removed documentation Improvements or additions to documentation labels Sep 10, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.36%. Comparing base (810aadc) to head (896b444).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7367   +/-   ##
========================================
  Coverage    96.36%   96.36%           
========================================
  Files          275      275           
  Lines        13027    13027           
  Branches       970      970           
========================================
  Hits         12554    12554           
  Misses         366      366           
  Partials       107      107           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for working on this @Iamrodos! APPROVED!

@leandrodamascena leandrodamascena merged commit 7d0f7ce into aws-powertools:develop Sep 11, 2025
21 checks passed
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented Sep 11, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Suggested removal of docs breaks boto3

2 participants