Skip to content

Commit

Permalink
build: drop support for Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bagxi committed Jan 4, 2024
1 parent 965e233 commit a857849
Show file tree
Hide file tree
Showing 6 changed files with 2,038 additions and 892 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
os: [ubuntu-18.04, ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
os: [ubuntu-20.04, ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
requirements: ['latest', 'minimal']

steps:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Install poetry
run: |
pip install -U pip
curl -sSL "https://install.python-poetry.org" | python -
curl -sSL "https://install.python-poetry.org" | python - --version 1.5.1
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Set up cache
uses: actions/cache@v2
Expand All @@ -42,7 +42,7 @@ jobs:
run: |
poetry config virtualenvs.in-project true
poetry run pip install -U pip
poetry install
poetry install --with test
- name: Install latest dependencies
if: ${{ matrix.requirements == 'latest' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
poetry config virtualenvs.in-project true
poetry run pip install -U pip
poetry install
poetry install --with codestyle
- name: check codestyle
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
poetry config virtualenvs.in-project true
poetry run pip install -U pip
poetry install
poetry install --with docs
- name: make docs
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install poetry
run: |
pip install -U pip
curl -sSL "https://install.python-poetry.org" | python -
curl -sSL "https://install.python-poetry.org" | python - --version 1.5.1
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Set up cache
uses: actions/cache@v2
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install poetry
run: |
pip install -U pip
curl -sSL "https://install.python-poetry.org" | python -
curl -sSL "https://install.python-poetry.org" | python - --version 1.5.1
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Set up cache
uses: actions/cache@v2
Expand Down
Loading

0 comments on commit a857849

Please sign in to comment.