Skip to content

Commit

Permalink
Drop Python3.7 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored Jul 20, 2023
1 parent 35d2343 commit e8fe4ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
pymodbus-version: ["2.5.3", "3.0.2", "3.1.3", "3.2.2", "3.3.1"]
exclude:
- python-version: "3.10"
pymodbus-version: "2.5.3"
- python-version: "3.11"
pymodbus-version: "2.5.3"
- python-version: "3.7"
pymodbus-version: "3.0.2"
- python-version: "3.7"
pymodbus-version: "3.1.3"
- python-version: "3.7"
pymodbus-version: "3.2.2"
- python-version: "3.7"
pymodbus-version: "3.3.1"

steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
"""Install parameters for CLI and python import."""
from sys import version_info

from setuptools import setup

if version_info < (3, 7): # noqa: UP036
raise ImportError("This module requires Python >=3.7. Use 0.3.1 for Python3.6")

with open('README.md') as in_file:
long_description = in_file.read()

Expand All @@ -22,7 +17,6 @@
maintainer_email="[email protected]",
packages=["watlow"],
install_requires=[
'pymodbus>=2.4.0,<3; python_version == "3.7"',
'pymodbus>=2.4.0; python_version == "3.8"',
'pymodbus>=2.4.0; python_version == "3.9"',
'pymodbus>=3.0.2,<3.4.0; python_version >= "3.10"',
Expand All @@ -48,7 +42,6 @@
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit e8fe4ac

Please sign in to comment.