From f575272f295cb3d0d834b7f83bae5e0e5ed445cd Mon Sep 17 00:00:00 2001 From: Andrii Yurchuk Date: Tue, 23 Aug 2022 16:04:53 +0200 Subject: [PATCH] Add support for Python 3.10 --- .github/workflows/ci.yml | 14 +++++++------- .venv | 1 - ffmpy.py | 2 +- setup.py | 2 ++ 4 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 .venv diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb2dfbb..cd02f78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest name: lint steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: "3.11" architecture: x64 - run: pip install -U -r dev-requirements.txt - run: flake8 . @@ -26,12 +26,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, pypy3] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9", "pypy3.10"] name: Python ${{ matrix.python-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -39,6 +39,6 @@ jobs: - run: PATH=./tests/ffmpeg:$PATH PYTHONPATH=. py.test tests --cov=ffmpy --cov-report xml - name: upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true diff --git a/.venv b/.venv deleted file mode 100644 index cb25c65..0000000 --- a/.venv +++ /dev/null @@ -1 +0,0 @@ -ffmpy diff --git a/ffmpy.py b/ffmpy.py index 8facf31..3c7d0af 100644 --- a/ffmpy.py +++ b/ffmpy.py @@ -2,7 +2,7 @@ import shlex import subprocess -__version__ = "0.3.0" +__version__ = "0.3.1" class FFmpeg(object): diff --git a/setup.py b/setup.py index 58d6a65..936cf99 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,8 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: Microsoft :: Windows",