From 63845210aa29b7d77138de65b56fe0bfa5f404b3 Mon Sep 17 00:00:00 2001 From: Kate Case Date: Tue, 7 Nov 2023 13:15:25 -0500 Subject: [PATCH] Drop 3.6/3.7 support --- .github/workflows/ci-cd.yml | 36 ----------------------- README.rst | 2 +- docs/changelog-fragments/533.breaking.rst | 1 + docs/conf.py | 2 +- docs/installation_guide.rst | 2 +- setup.cfg | 4 +-- 6 files changed, 5 insertions(+), 42 deletions(-) create mode 100644 docs/changelog-fragments/533.breaking.rst diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 47497f08e..7fd6cc017 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -590,8 +590,6 @@ jobs: - "3.10" - 3.9 - 3.8 - - 3.7 - - 3.6 env: ANSIBLE_PYLIBSSH_TRACING: >- @@ -788,8 +786,6 @@ jobs: # NOTE: $ podman run -it --rm \ # NOTE: quay.io/pypa/manylinux2014_x86_64 \ # NOTE: ls -1 /opt/python - - cp36-cp36m - - cp37-cp37m - cp38-cp38 - cp39-cp39 - cp310-cp310 @@ -804,16 +800,6 @@ jobs: qemu_arch: amd64 include: # NOTE: manylinux2010 only on x86_64 - - manylinux-python-target: cp36-cp36m - manylinux-image-target: - arch: x86_64 - qemu_arch: amd64 - manylinux-year-target: 2010 - - manylinux-python-target: cp37-cp37m - manylinux-image-target: - arch: x86_64 - qemu_arch: amd64 - manylinux-year-target: 2010 - manylinux-python-target: cp38-cp38 manylinux-image-target: arch: x86_64 @@ -830,16 +816,6 @@ jobs: qemu_arch: amd64 manylinux-year-target: 2010 # NOTE: manylinux1 caps out at Python 3.9 - - manylinux-python-target: cp36-cp36m - manylinux-image-target: - arch: x86_64 - qemu_arch: amd64 - manylinux-year-target: 1 - - manylinux-python-target: cp37-cp37m - manylinux-image-target: - arch: x86_64 - qemu_arch: amd64 - manylinux-year-target: 1 - manylinux-python-target: cp38-cp38 manylinux-image-target: arch: x86_64 @@ -1002,8 +978,6 @@ jobs: # NOTE: $ podman run -it --rm \ # NOTE: quay.io/pypa/manylinux2014_x86_64 \ # NOTE: ls -1 /opt/python - - cp36-cp36m - - cp37-cp37m - cp38-cp38 - cp39-cp39 - cp310-cp310 @@ -1638,17 +1612,12 @@ jobs: - "3.10" - 3.9 - 3.8 - - 3.7 - - 3.6 runner-vm-os: - ubuntu-22.04 - ubuntu-20.04 dist-type: - binary - source - exclude: - - runner-vm-os: ubuntu-22.04 - python-version: 3.6 # EOL, only provided for older OSs continue-on-error: >- ${{ @@ -1862,16 +1831,11 @@ jobs: - "3.10" - 3.9 - 3.8 - - 3.7 - - 3.6 runner-vm-os: - macos-latest dist-type: - binary - source - exclude: - - runner-vm-os: ubuntu-22.04 - python-version: 3.6 # EOL, only provided for older OSs continue-on-error: >- ${{ diff --git a/README.rst b/README.rst index 0341503f7..f05c35c9a 100644 --- a/README.rst +++ b/README.rst @@ -53,7 +53,7 @@ The web view is @ https://ansible.github.io/pylibssh/. Requirements ------------ -You need Python 3.6+ +You need Python 3.8+ pylibssh requires libssh to be installed in particular: diff --git a/docs/changelog-fragments/533.breaking.rst b/docs/changelog-fragments/533.breaking.rst new file mode 100644 index 000000000..d6b0d4b3d --- /dev/null +++ b/docs/changelog-fragments/533.breaking.rst @@ -0,0 +1 @@ +Removed Python 3.6 and 3.7 support -- by :user:`Qalthos` diff --git a/docs/conf.py b/docs/conf.py index 9e7b1cd86..f806099a5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,5 @@ # pylint: disable=invalid-name -# Requires Python 3.6+ +# Requires Python 3.8+ # Ref: https://www.sphinx-doc.org/en/master/usage/configuration.html """Configuration for the Sphinx documentation generator.""" diff --git a/docs/installation_guide.rst b/docs/installation_guide.rst index af7cc126f..57fd29764 100644 --- a/docs/installation_guide.rst +++ b/docs/installation_guide.rst @@ -25,7 +25,7 @@ CPython and OS versions so in 99% of cases, you may seamlessly install |project| not needing any external dependencies on your system. -It should be enough for you to just have Python 3.6+ and +It should be enough for you to just have Python 3.8+ and a recent :std:doc:`pip ` installed. .. attention:: diff --git a/setup.cfg b/setup.cfg index ca13495b9..aa950ff55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,8 +29,6 @@ classifiers = Operating System :: POSIX :: Linux Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -45,7 +43,7 @@ keywords = libssh [options] -python_requires = >=3.6 +python_requires = >=3.8 # Ref: # https://setuptools.readthedocs.io/en/latest/setuptools.html#using-a-src-layout # (`src/` layout)