Skip to content

Minor improvements to CI workflows #201

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

Merged
merged 1 commit into from
May 26, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented May 26, 2023

  • Use the new allow-prereleases key for actions/setup-python. If we set this to true, then we can just use 3.12 in our CI matrix, instead of 3.12-dev. That means we won't have to worry about updating the matrix from 3.12-dev to 3.12 when 3.12.0 comes out in the autumn; our CI will automatically start using the latest version of Python 3.12.
  • Colorise the output of flake8.
  • Don't bother upgrading pip in CI. It's not really necessary, and wastes a few seconds. Disable the "you're using an older version of pip" message instead, using the PIP_DISABLE_PIP_VERSION_CHECK environment variable.

@AlexWaygood
Copy link
Member Author

@srittau srittau merged commit 06f7360 into python:main May 26, 2023
@AlexWaygood AlexWaygood deleted the improve-workflow branch May 26, 2023 10:29
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.

2 participants