Skip to content

Conversation

@ktyagiapphelix2u
Copy link
Contributor

@ktyagiapphelix2u ktyagiapphelix2u commented Jan 6, 2026

Description

Updating the latest version of ubuntu

Ticket Reference

https://2u-internal.atlassian.net/browse/BOMS-285

Deprecated universal = 1 in setup.cfg - This setting for Python 2/3 universal wheels is obsolete and causes TypeError with modern wheel versions

Copilot AI review requested due to automatic review settings January 6, 2026 09:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions runner operating system from the specific ubuntu-20.04 version to ubuntu-latest across workflow files. This ensures the workflows automatically use the latest Ubuntu LTS version supported by GitHub Actions.

Key Changes:

  • Updated CI and PyPI publishing workflows to use ubuntu-latest instead of ubuntu-20.04

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/publish_pypi.yml Updated PyPI publishing job runner to use ubuntu-latest
.github/workflows/ci.yml Updated CI test matrix to use ubuntu-latest for test execution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 6, 2026 09:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 6, 2026 09:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 11 to 12
commands =
pip install -U pip
pytest --basetemp={envtmpdir}
Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of "pip install -U pip" from the commands section appears to be unintentional. While setuptools and wheel are now upgraded in the commands_pre section, pip itself is no longer being upgraded. Consider adding "pip install -U pip" to the commands_pre section to ensure pip is also up-to-date before running tests.

Copilot uses AI. Check for mistakes.
run: pip install -r requirements/pip.txt

- name: Install build tools
run: pip install --upgrade setuptools wheel
Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent setuptools and wheel version specifications across files. In tox.ini, specific minimum versions are specified (setuptools>=65, wheel>=0.38), while in publish_pypi.yml, no version constraints are specified. Consider using consistent version constraints across both files to ensure reproducible builds.

Suggested change
run: pip install --upgrade setuptools wheel
run: pip install --upgrade "setuptools>=65" "wheel>=0.38"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants