Skip to content

Commit

Permalink
✨ Python 3.10 compatibility and upgrade requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
perdy committed Jan 10, 2022
1 parent 7fb3d1d commit c04164f
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 172 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_branch.yaml
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9", "3.10"]
container:
image: python:${{ matrix.python }}
steps:
Expand All @@ -28,7 +28,7 @@ jobs:
run: python make black --check .
- id: isort
name: Imports order checking
run: python make isort --check-only
run: python make isort --check .
- id: flake8
name: Code lint
run: python make flake8
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_master.yaml
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9", "3.10"]
container:
image: python:${{ matrix.python }}
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
run: python make black --check .
- id: isort
name: Imports order checking
run: python make isort --check-only
run: python make isort --check .
- id: flake8
name: Code lint
run: python make flake8
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
- id: publish
name: Publish version
run: npx semantic-release
Expand Down
3 changes: 2 additions & 1 deletion make
@@ -1,13 +1,14 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import typing

import logging
import os
import shlex
import shutil
import subprocess
import sys
import tempfile
import typing
import urllib.request

logger = logging.getLogger("cli")
Expand Down

0 comments on commit c04164f

Please sign in to comment.