From ea10c38bafa3f172b374d9040a10877dbff2bf34 Mon Sep 17 00:00:00 2001 From: reneeotten Date: Sat, 18 Nov 2023 09:45:57 -0500 Subject: [PATCH] BLD: drop EOL Python 3.7 --- .pre-commit-config.yaml | 2 +- azure-pipelines.yml | 4 ---- doc/installation.rst | 2 +- setup.cfg | 3 +-- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f230df9f..0ed6a930 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: rev: v3.15.0 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 033f17be..f9151873 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -67,8 +67,6 @@ stages: vmImage: 'ubuntu-latest' strategy: matrix: - Python37: - python.version: '3.7' Python38: python.version: '3.8' @@ -119,8 +117,6 @@ stages: vmImage: 'ubuntu-latest' strategy: matrix: - Python37: - python.version: '3.7' Python38: python.version: '3.8' Python39: diff --git a/doc/installation.rst b/doc/installation.rst index 46963a8d..865a4021 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -32,7 +32,7 @@ Downloading and Installation Prerequisites ~~~~~~~~~~~~~ -Lmfit works with `Python`_ versions 3.7 and higher. Version +Lmfit works with `Python`_ versions 3.8 and higher. Version 0.9.15 is the final version to support Python 2.7. Lmfit requires the following Python packages, with versions given: diff --git a/setup.cfg b/setup.cfg index f2abbf7f..d9714c0e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,7 +16,6 @@ classifiers = Operating System :: OS Independent Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -32,7 +31,7 @@ project_urls = [options] packages = find: -python_requires = >=3.7 +python_requires = >=3.8 setup_requires = setuptools_scm install_requires = asteval>=0.9.28