Skip to content

Conversation

Iamrodos
Copy link
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
Copy link

boring-cyborg bot commented Sep 10, 2025

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

Copy link

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

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
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
Copy link

boring-cyborg bot commented Sep 11, 2025

Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

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