-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
remove python2 support from awxkit #6327
remove python2 support from awxkit #6327
Conversation
@@ -67,7 +67,7 @@ def run(self): | |||
}, | |||
include_package_data=True, | |||
install_requires=requirements, | |||
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*", | |||
python_requires=">=3.6", |
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.
🎉
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.
Should we start adding Trove classifiers to the setup.py? Are we intending to make awxkit, or at least awx-cli, available on pypi.org?
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.
We don't currently publish to PyPI (and don't have plans to in the near future), but if we did in the future then we should definitely add Trove classifiers 👍
Build failed.
|
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.
Looks like you have to adjust the Makefile to only run tox with the Python 3 environment.
359a1e7
to
08a1741
Compare
Build failed.
|
08a1741
to
f900dd4
Compare
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.
https://github.com/ansible/awx/blob/devel/awxkit/awxkit/api/pages/credentials.py#L22
It'll continue to work fine, but this block can go if you feel like removing it.
Build succeeded.
|
f900dd4
to
0b62898
Compare
0b62898
to
06b3e54
Compare
try: | ||
json.loads(data) | ||
except err: | ||
except json.decoder.JSONDecodeError: |
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.
👍
Build succeeded.
|
Build succeeded (gate pipeline).
|
…ra-vars [4.3] Fixes bug where attempting to edit a schedule with stringified extra_data threw error
No description provided.