Skip to content

Commit

Permalink
ci: update python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 committed Mar 28, 2024
1 parent d943737 commit cf79a12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tag_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
ref: ${{ env.DEFAULT_BRANCH }}
fetch-depth: 0
token: ${{ secrets.SERVICE_TOKEN }}
- name: Set up Python 3.10
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: '3.10'
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install -e .[dev] --no-cache-dir
Expand Down Expand Up @@ -96,10 +96,10 @@ jobs:
- uses: actions/checkout@v3
- name: Pull latest changes
run: git pull origin main
- name: Set up Python 3.10
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: '3.10'
python-version: '3.7'
- name: Install dependencies
run: |
pip install --upgrade setuptools wheel twine build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10', '3.11' ]
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "aind-airflow-jobs"
description = "Generated from aind-library-template"
license = {text = "MIT"}
requires-python = ">=3.10"
requires-python = ">=3.7"
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
Expand Down Expand Up @@ -41,7 +41,7 @@ version = {attr = "aind_airflow_jobs.__version__"}

[tool.black]
line-length = 79
target_version = ['py310']
target_version = ['py37']
exclude = '''
(
Expand Down

0 comments on commit cf79a12

Please sign in to comment.