From 4119b5056b919a12b1a1c6bda6b56b84163a35de Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Thu, 16 Jan 2025 13:11:24 +0200 Subject: [PATCH] Drop Python 3.7 support GitHub Actions doesn't support it any more (probably because I use 'ubuntu-latest' images). --- .github/workflows/build.yml | 1 - CHANGES.rst | 4 +++- appveyor.yml | 1 - objgraph.py | 2 +- setup.py | 3 +-- tox.ini | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6217a37..bc48b3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,6 @@ jobs: strategy: matrix: python-version: - - "3.7" - "3.8" - "3.9" - "3.10" diff --git a/CHANGES.rst b/CHANGES.rst index c2188c2..54c7921 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,7 +3,7 @@ Changes .. currentmodule:: objgraph -3.6.3 (unreleased) +3.7.0 (unreleased) ------------------ - Fix :func:`get_leaking_objects` with an ``objects`` argument to not ignore @@ -11,6 +11,8 @@ Changes `_. Also fix ``get_leaking_objects([])`` causing an UnboudLocalError. +- Drop support for Python 3.7. + 3.6.2 (2024-10-10) ------------------ diff --git a/appveyor.yml b/appveyor.yml index e81b90b..a9758b6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,7 +4,6 @@ environment: matrix: # https://www.appveyor.com/docs/installed-software#python lists available # versions - - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python38" - PYTHON: "C:\\Python39" - PYTHON: "C:\\Python310" diff --git a/objgraph.py b/objgraph.py index 2af915a..a8a5e63 100755 --- a/objgraph.py +++ b/objgraph.py @@ -42,7 +42,7 @@ __author__ = "Marius Gedminas (marius@gedmin.as)" __copyright__ = "Copyright (c) 2008-2023 Marius Gedminas and contributors" __license__ = "MIT" -__version__ = '3.6.3.dev0' +__version__ = '3.7.0.dev0' __date__ = '2024-10-10' diff --git a/setup.py b/setup.py index 06d0d88..1cfc2f1 100755 --- a/setup.py +++ b/setup.py @@ -76,7 +76,6 @@ def build_images(doctests=()): 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -86,7 +85,7 @@ def build_images(doctests=()): ], keywords='object graph visualization graphviz garbage collection', py_modules=['objgraph'], - python_requires=">=3.7", + python_requires=">=3.8", extras_require={ 'ipython': [ 'graphviz', # just for ipython support currently diff --git a/tox.ini b/tox.ini index af5a877..16134f2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, py310, py311, py312, py313 +envlist = py38, py39, py310, py311, py312, py313 [testenv] deps =