Skip to content

Commit

Permalink
Drop 3.6/3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos committed Nov 7, 2023
1 parent 921f21e commit 6384521
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 42 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,6 @@ jobs:
- "3.10"
- 3.9
- 3.8
- 3.7
- 3.6

env:
ANSIBLE_PYLIBSSH_TRACING: >-
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: >-
${{
Expand Down Expand Up @@ -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: >-
${{
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/533.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed Python 3.6 and 3.7 support -- 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 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 @@ -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)
Expand Down

0 comments on commit 6384521

Please sign in to comment.