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

ci: update python versions #3

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading