-
Notifications
You must be signed in to change notification settings - Fork 2
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
Initialize Django module for one-off management commands #1
Closed
Closed
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
7a7d1ab
Scaffold Python package and move over source code
3dd7116
Add PR template and test artifacts
a35b00e
Adjust ecsmanage command to read configuration values
dbe4a70
Get ecsmanage command working
159e654
Make management command installable
a46dc8d
Initialize tests
b2e542c
Draft simple README
4096b3f
Add Travis config and drop support for py2.7 + py3.5
f42609d
Clean up Travis config
f929023
Document workarounds in .travis.yml
jeancochrane 80c3ba5
Clean up README
jeancochrane 0aff8d3
Specify Python 3.6+ support
jeancochrane 6c031a8
Use AWS region name for Boto3 clients
jeancochrane cc8ecbb
Update setup.py to reflect Python 3.6+ requirement
jeancochrane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Specify Python 3.6+ support
Make sure the README documents the proper Python support.
- Loading branch information
commit 0aff8d34bf496a7a30ca6b4cd11c5980fde839d2
There are no files selected for viewing
This file contains 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
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.
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.
Because of the use of f-strings in the module, support is limited to Python 3.6+. I couldn't decide how much of a downside this presented.
If we decide to support current Python 3 versions (3.4+), we'll need to refactor
ecsmanage/management/commands/ecsmanage.py
to remove the use of f-strings. If we decide to support Python 2.7 as well (which will be retired next January), we'll also need to refactor the development environment to not use the standard library virtualenv implementation, which was introduced in Python 3.4.