diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 108586a..9195bd3 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -8,6 +8,9 @@ on: pull_request: branches: - main + workflow_dispatch: # For on demand runs + schedule: + - cron: 0 0 * * * # Scheduled run every day at midnight jobs: build: @@ -16,7 +19,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest] - python-version: [3.8] + python-version: [3.9] steps: - uses: actions/checkout@v2 @@ -26,8 +29,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install -e .[dev] + pip install pip setuptools wheel --upgrade + # Install spacepy without build isolation to avoid issues with numpy + pip install numpy + pip install spacepy --no-build-isolation + python -m pip install -e '.[style]' - name: Lint with Black run: | black --check --diff hermes_eea diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 85d8e9e..aab1eb7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,6 +8,9 @@ on: pull_request: branches: - main + workflow_dispatch: # For on demand runs + schedule: + - cron: 0 0 * * * # Scheduled run every day at midnight jobs: build: @@ -16,7 +19,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest] - python-version: [3.8] + python-version: [3.9] steps: - uses: actions/checkout@v2 @@ -26,8 +29,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install -e .[docs] + pip install pip setuptools wheel --upgrade + # Install spacepy without build isolation to avoid issues with numpy + pip install numpy + pip install spacepy --no-build-isolation + python -m pip install -e '.[docs]' - name: Build docs working-directory: ./docs run: make html diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index c239d44..4df21dd 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -8,6 +8,9 @@ on: pull_request: branches: - main + workflow_dispatch: # For on demand runs + schedule: + - cron: 0 0 * * * # Scheduled run every day at midnight jobs: build: @@ -16,7 +19,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] + python-version: [3.9, '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 1aabd95..52c7e84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dynamic = ["version"] authors = [{name = "Steven Christe", email="steven.d.christe@nasa.gov"}, {name = "Damian Barrous Dumme", email="damianbarrous@gmail.com"}] license = {file = "LICENSE.rst"} -requires-python = ">=3.7" +requires-python = ">=3.9" keywords = ["hermes", "nasa mission", "space weather"] classifiers = [ "Development Status :: 3 - Alpha", @@ -20,8 +20,6 @@ classifiers = [ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering",