From 80d1a06fbdbb6ef9347c30e6d2be3b078fd43f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Sat, 10 Dec 2022 20:13:12 +0000 Subject: [PATCH] Drop CPython 3.6 --- .github/workflows/run-cibuildwheel.yml | 2 ++ .github/workflows/test.yml | 2 +- README.rst | 8 ++++---- setup.py | 1 - 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-cibuildwheel.yml b/.github/workflows/run-cibuildwheel.yml index 7888b8e..11f706c 100644 --- a/.github/workflows/run-cibuildwheel.yml +++ b/.github/workflows/run-cibuildwheel.yml @@ -54,6 +54,8 @@ jobs: if: ${{ matrix.cibw_archs }} run: echo "CIBW_ARCHS=${{ matrix.cibw_archs }}" >> $GITHUB_ENV shell: bash + - name: Set CIBW_SKIP + run: echo "CIBW_SKIP=cp36-*" >> $GITHUB_ENV - name: Build wheels uses: pypa/cibuildwheel@v2.9.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a5e4b0..6534ccc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-2019, macos-11] - python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 with: diff --git a/README.rst b/README.rst index 6ee3820..aabcf9f 100644 --- a/README.rst +++ b/README.rst @@ -71,12 +71,12 @@ There are several ways of running the test suite: - Run the test with the current Python interpreter: - From the toplevel directory, run: ``python tests/tests.py`` + From the top level directory, run: ``python tests/tests.py`` - Use Tox to run the test suite in several virtualenvs with several interpreters - From the toplevel directory, run: ``tox -e py36,py37,py38,py39`` this will run the test suite - on Python 3.6 through 3.9 (you'll need to have them installed beforehand) + From the top level directory, run: ``tox -e py37,py38,py39`` this will run the test suite + on Python 3.7 through 3.9 (you'll need to have them installed beforehand) Using it from the cli, a la dig @@ -120,7 +120,7 @@ Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file Supported Python versions ------------------------- -Python >= 3.6 are supported. Both CPython and PyPy are supported. +Python >= 3.7 are supported. Both CPython and PyPy are supported. Contributing diff --git a/setup.py b/setup.py index 86c624c..5b15a22 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ def get_version(): 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9',