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

infrastructure refresh #214

Merged
merged 47 commits into from
Mar 31, 2022
Merged

infrastructure refresh #214

merged 47 commits into from
Mar 31, 2022

Conversation

bjlittle
Copy link
Member

@bjlittle bjlittle commented Feb 16, 2022

🚀 Pull Request

Description

This PR shows some love to the cf-units infra-structure.

In a nutshell:

  • replaces cirrus-ci with GHA
  • adopts use of GH dependabot
  • adopts the use of tox
  • adopts the automated building of conda-lock explicit environment spec files
    • supports linux, osx and windows locks
  • retires the previous hand crafted PyPI sdist and bdist building/testing/publishing and replaced with the cibuildwheel GHA
  • refreshes readthedocs to use mamba for faster building
  • adopts the setuptools-scm-git-archive plugin
  • uses the oldest-supported-numpy meta package
  • fixes the tests to support py310 (replaces/incorporates Fix py310 test #207)
  • introduces min pin of py38
  • moves the documentation from the doc directory to the docs directory

Post merge, suggested follow-on tasks to consider would be to:

  • extend ci-wheels to build for osx and windows using cibuildwheel, and
  • rationalise the GHAs to use composite actions.

This ones for you @ocefpaf 🍻 😉

@bjlittle bjlittle added Type: Infrastructure Type: Enhancement New: Pull Request Highlight a new community raised pull-request labels Feb 16, 2022
This was referenced Feb 16, 2022
@trexfeathers
Copy link
Collaborator

If no-one has looked at this by Monday I will carve out some time.

@trexfeathers trexfeathers self-assigned this Mar 8, 2022
ocefpaf
ocefpaf previously approved these changes Mar 11, 2022
Copy link
Collaborator

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

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

That was a tough review!

Thanks for the effort @bjlittle - a big improvement. Got some comments for you.

(@bjlittle and I suspect that having setuptools in the dependencies YAML means that the other setup dependencies (specified in pyproject.toml) will all get picked up automatically. If not, we will find out when RTD fails!)

.github/workflows/ci-tests.yml Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
tox.ini Show resolved Hide resolved
.github/workflows/ci-wheels.yml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
.github/workflows/ci-wheels.yml Outdated Show resolved Hide resolved
.github/workflows/ci-tests.yml Outdated Show resolved Hide resolved
.github/workflows/ci-locks.yml Show resolved Hide resolved
@trexfeathers
Copy link
Collaborator

Beautiful @bjlittle!

And the PR's not bad either 😁

@trexfeathers trexfeathers merged commit a88fbc1 into SciTools:main Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New: Pull Request Highlight a new community raised pull-request Type: Enhancement Type: Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants