From 21def9ee826bbbeb738924db8a59043c22d565cb Mon Sep 17 00:00:00 2001 From: Kien Dang Date: Fri, 26 May 2023 23:53:33 +0800 Subject: [PATCH] Remove Python 3.6 --- .github/workflows/deploy.yml | 2 +- .github/workflows/tests.yml | 12 +++--------- tox.ini | 7 +++---- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6cce61d..b91be11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: pip install wheel python setup.py sdist bdist_wheel - name: Publish a Python distribution to PyPI - uses: pypa/gh-action-pypi-publish@v1.1.0 + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 045d73f..7803de2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,29 +8,23 @@ jobs: strategy: max-parallel: 4 matrix: - django: ["2.2", "3.0", "3.1", "3.2", "4.0"] + django: ["2.2", "3.0", "3.1", "3.2", "4.0", "4.1"] python-version: ["3.8", "3.9"] include: - - django: "2.2" - python-version: "3.6" - django: "2.2" python-version: "3.7" - - django: "3.0" - python-version: "3.6" - django: "3.0" python-version: "3.7" - - django: "3.1" - python-version: "3.6" - django: "3.1" python-version: "3.7" - - django: "3.2" - python-version: "3.6" - django: "3.2" python-version: "3.7" - django: "3.2" python-version: "3.10" - django: "4.0" python-version: "3.10" + - django: "4.1" + python-version: "3.10" steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/tox.ini b/tox.ini index a9d10b5..1d46788 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,13 @@ [tox] envlist = - py{36,37,38,39}-django22, - py{36,37,38,39}-django{30,31}, - py{36,37,38,39,310}-django32, + py{37,38,39}-django22, + py{37,38,39}-django{30,31}, + py{37,38,39,310}-django32, py{38,39,310}-django{40,master}, black,flake8 [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 3.9: py39