-
Notifications
You must be signed in to change notification settings - Fork 250
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
U24 support for deploy-agent #1634
Conversation
c96befb
to
c50f9a5
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.
👍
@@ -23,7 +23,7 @@ jobs: | |||
runs-on: ubuntu-latest | |||
strategy: | |||
matrix: | |||
python-version: [3.7, 3.8] |
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.
@gzpcho do we still have 3.7 use case?
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.
Updated to 3.6
for consistency. Also specified the Ubuntu version since latest didn't support 3.6
@@ -14,4 +14,4 @@ commands=py.test --cov=deployd {posargs} | |||
python = | |||
3.6: py36 |
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.
earlier, we have py37, py38? should they be consistent here
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.
Updated the versions in the GitHub workflow for consistency
Add support for Ubuntu 24 to deploy-agent. This includes adding support for Python 3.12. This requires updating some packages (e.g. requests, gevent, boto). For boto, an `s3_client` class was added to support new (boto3) and old (boto) packages. Testing done: - Unit tests passed - Installed the deploy-agent package on an Ubuntu 24 host - Deploy agent ran, but failed due to missing `facter` command - Installed the deploy-agent package on an Ubuntu 20 host - The deploy agent worked as expected. Was able to install new Teletraan builds and restart a Teletraan stage
ca03d0c
to
84a37dd
Compare
Should also update the bazel requirements: |
See #1653 instead I went with a different approach supporting python 3.8 and 3.12 which is more consistent with other components |
Add support for Ubuntu 24 to deploy-agent. This includes adding
support for Python 3.12.
This requires updating some packages (e.g.
requests
,gevent
,boto
). Forboto
, ans3_client
class was added to support new (boto3
) and old(
boto
) packages.Testing done:
facter
commandTeletraan builds and restart a Teletraan stage