Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 46
pin setuptools<82 in pip packaging command to prevent pkg_resources removal #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| {{ support_lib_name }}>=2.1.9 | ||
| setuptools<82 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -40,7 +40,7 @@ def find_version(*file_paths): | ||
| install_requires=[ | ||
| "cloudformation-cli>=0.2.26", | ||
| "types-dataclasses>=0.1.5", | ||
| "setuptools", | ||
| "setuptools<82", | ||
| ||
| ], | ||
| entry_points={ | ||
| "rpdk.v1.languages": [ | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this change, a brand new project created with cfn init would get a requirements.txt containing only:
You would still need to pin <82 locally to get cfn init working based on my testing on a fresh instalation without pinning <82 when you run cfn init you will get the following error "ModuleNotFoundError: No module named 'pkg_resources' "