diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 5857b7297..0ef805fb5 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -591,8 +591,6 @@ jobs: - "3.10" - 3.9 - 3.8 - - 3.7 - - 3.6 env: ANSIBLE_PYLIBSSH_TRACING: >- @@ -789,8 +787,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 @@ -807,16 +803,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 @@ -833,16 +819,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 @@ -1011,8 +987,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 @@ -1665,17 +1639,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: >- ${{ @@ -1890,16 +1859,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/532.breaking.rst b/docs/changelog-fragments/532.breaking.rst new file mode 100644 index 000000000..6c2ed4611 --- /dev/null +++ b/docs/changelog-fragments/532.breaking.rst @@ -0,0 +1 @@ +Dropped support for Python 3.6/3.7 -- 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/requirements-build.txt b/requirements-build.txt index b1cee45e3..e6b4e728a 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -26,9 +26,7 @@ wheel==0.37.1 # via -r - # The following packages are considered to be unsafe in a requirements file: -setuptools==59.6.0 ; python_version < "3.7" -setuptools==68.0.0 ; python_version == "3.7.*" -setuptools==68.2.2 ; python_version > "3.7" +setuptools==68.2.2 # via # -r - # setuptools-scm diff --git a/setup.cfg b/setup.cfg index cbcf3d0ab..83d02e2cf 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 @@ -46,7 +44,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)