Skip to content

fix: boto3のバージョン不整合対応 - #87

Merged
Morichan merged 2 commits into
mainfrom
fix/sam-cli-boto3-conflict
Nov 18, 2026
Merged

Morichan merged 2 commits into
mainfrom
fix/sam-cli-boto3-conflict

Conversation

@Morichan

@Morichan Morichan commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

pip check コマンド実行時に、次のワーニングが発生していた

aws-sam-cli 1.161.0 has requirement boto3[crt]==1.43.7, but you have boto3 1.43.14.

これは、boto3のバージョン設定がpackagesとdev-packagesで異なっていたために、デプロイ用venvと開発用venvでバージョン差異が発生してしまっていたことが原因であった
aws-sam-cliはboto3[crt]を完全一致で要求し、パッチ版でも要求が変わるため、boto3だけでなくaws-sam-cliもdefault/developとも固定した。

また、上記のようなバージョン不整合を検出するため、CIでpip checkを実施するようにした。

aws-sam-cliはboto3[crt]を完全一致で要求し、パッチ版でも要求が変わるため、
aws-sam-cliを1.172.1に、boto3をその要求である1.43.108に
default/developとも固定した。
5937a6d コミットのような
バージョン不整合を検出するため、テスト前にpip checkを実行する。
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b9e1aa1) to head (e016820).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #87   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          839       839           
  Branches        17        17           
=========================================
  Hits           839       839           

☔ View full report in Codecov by Harness.
📢 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.

@Morichan
Morichan merged commit b54af60 into main Nov 18, 2026
3 checks passed
@Morichan
Morichan deleted the fix/sam-cli-boto3-conflict branch November 18, 2026 01:48
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.

1 participant