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

Adjust GitHub Actions CI to use a different Ubuntu version for Python 3.6 #10

Open
1 of 2 tasks
fedarko opened this issue Sep 13, 2023 · 0 comments
Open
1 of 2 tasks

Comments

@fedarko
Copy link
Owner

fedarko commented Sep 13, 2023

The current OS given by specifying ubuntu-latest in GitHub Actions, Ubuntu 22.04, dropped support for Python 3.6. This is causing the Python 3.6 builds to fail immediately.

A stopgap solution to this is pinning the OS used to Ubuntu 20.04 -- I did this in another repository here, and it worked fine.

However, it would be good to eventually figure out a way to vary the operating system version based on the Python version (so Python 3.6 would be tested on Ubuntu 20.04, and Python ≥ 3.7 would be tested on ubuntu-latest -- at least until the next version of Ubuntu drops support for older Python versions, I assume).

  • Implement stopgap solution -- pin ubuntu version to ubuntu-20.04 for all builds
  • Implement better solution that varies ubuntu version based on python version
@fedarko fedarko changed the title Adjust GitHub Actions CI to use different Ubuntu version for Python 3.6 Adjust GitHub Actions CI to use a different Ubuntu version for Python 3.6 Sep 13, 2023
fedarko added a commit that referenced this issue Sep 13, 2023
fedarko added a commit that referenced this issue Sep 13, 2023
* DOC: add internet archive link to FASTG spec

Fixes #9.

* DOC: tidy up link to archived specification

* BLD: pin CI Ubuntu version to 20.04

Fixes half of #10.

* STY/TST: fix flake8 line-length issues in test

this also made the code a lot cleaner, so probs for the best

* STY/BLD: lint/check setup.py; pin black < 22.10
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

No branches or pull requests

1 participant