Skip to content

Commit

Permalink
Merge pull request #89 from AUTODIAL/maint/drop-py39
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi authored Feb 13, 2024
2 parents 507b6bb + f40521a commit b847865
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ on: pull_request

jobs:
test:
runs-on: ubuntu-latest
runs-on: macos-14
defaults:
run:
shell: bash
shell: sh -l {0}

steps:
- uses: actions/checkout@v4
- name: "Set up Python"
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.10'
miniforge-version: latest
installer-url: https://github.com/conda-forge/miniforge/releases/download/23.11.0-0/Mambaforge-23.11.0-0-MacOSX-arm64.sh
- name: "Install AutoEIS"
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
deploy-docs:

runs-on: ubuntu-latest
runs-on: macos-14

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,30 @@ jobs:
strategy:
matrix:
julia-version: ['1.10']
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest, macos-14, windows-latest]

steps:
- uses: actions/checkout@v4
- name: "Set up Julia"
if: ${{ matrix.os != 'windows-latest' || matrix.python-version != '3.9' }}
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- name: "Cache Julia"
if: ${{ matrix.os != 'windows-latest' || matrix.python-version != '3.9' }}
uses: julia-actions/cache@v1
with:
cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}
cache-packages: false
- name: "Set up Python"
if: ${{ matrix.os != 'windows-latest' || matrix.python-version != '3.9' }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: "Install AutoEIS"
if: ${{ matrix.os != 'windows-latest' || matrix.python-version != '3.9' }}
run: |
python -m pip install --upgrade pip
pip install -e .[test]
python -m autoeis install
- name: "Run tests"
if: ${{ matrix.os != 'windows-latest' || matrix.python-version != '3.9' }}
run: |
pytest -v tests/
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "autoeis"
dynamic = ["version"]
description = "A tool for automated EIS analysis by proposing statistically plausible ECMs."
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Runze Zhang", email = "runzee.zhang@mail.utoronto.ca" },
Expand Down Expand Up @@ -35,6 +35,7 @@ dependencies = [
"dill",
"impedance",
"ipython",
"ipykernel",
"ipywidgets",
"jax",
"julia",
Expand Down

0 comments on commit b847865

Please sign in to comment.