Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

osoriano
Copy link
Contributor

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

@github-actions github-actions bot added the deploy-agent Includes changes to deploy-agent label May 30, 2024
@osoriano osoriano marked this pull request as ready for review May 30, 2024 17:04
@osoriano osoriano requested a review from a team as a code owner May 30, 2024 17:04
gzpcho
gzpcho previously approved these changes May 30, 2024
Copy link
Contributor

@gzpcho gzpcho left a 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]
Copy link
Member

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?

Copy link
Contributor Author

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
Copy link
Member

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

Copy link
Contributor Author

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
@osoriano osoriano force-pushed the osoriano/deployd-u24 branch 3 times, most recently from ca03d0c to 84a37dd Compare May 30, 2024 23:09
@gzpcho
Copy link
Contributor

gzpcho commented May 31, 2024

@osoriano
Copy link
Contributor Author

See #1653 instead

I went with a different approach supporting python 3.8 and 3.12 which is more consistent with other components

@osoriano osoriano closed this Jun 28, 2024
@osoriano osoriano deleted the osoriano/deployd-u24 branch June 28, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-agent Includes changes to deploy-agent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants