Skip to content

Commit

Permalink
Drop Python 3.6/3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored and webknjaz committed Jan 18, 2024
1 parent fd8b20a commit 68dcda1
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 45 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,6 @@ jobs:
- "3.10"
- 3.9
- 3.8
- 3.7
- 3.6

env:
ANSIBLE_PYLIBSSH_TRACING: >-
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1683,17 +1657,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: >-
${{
Expand Down Expand Up @@ -1908,16 +1877,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: >-
${{
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
1 change: 1 addition & 0 deletions docs/changelog-fragments/532.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dropped support for Python 3.6/3.7 -- by :user:`Qalthos`
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -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."""

Expand Down
2 changes: 1 addition & 1 deletion docs/installation_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <pip:index>` installed.

.. attention::
Expand Down
4 changes: 1 addition & 3 deletions requirements-build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,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
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 68dcda1

Please sign in to comment.