Skip to content

Commit

Permalink
Drop Python 3.7 support
Browse files Browse the repository at this point in the history
Because GitHub actions fails with

  The version '3.7' with architecture 'x64' was not found for Ubuntu
  24.04. The list of all available versions can be found here:
  https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

and it's probably related to

  ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details,
  see actions/runner-images#10636
  • Loading branch information
mgedmin committed Jan 15, 2025
1 parent 9ccd78f commit 99e8fbe
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
Expand Down
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Changes
=======


2.5.3 (unreleased)
2.6.0 (unreleased)
------------------

- Nothing changed yet.
- Drop support for Python 3.7.


2.5.2 (2024-11-27)
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion findimports.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
from operator import attrgetter


__version__ = '2.5.3.dev0'
__version__ = '2.6.0.dev0'
__author__ = 'Marius Gedminas <[email protected]>'
__licence__ = 'MIT'
__url__ = 'https://github.com/mgedmin/findimports'
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def read(filename):
'Intended Audience :: Developers',
'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',
Expand All @@ -54,7 +53,7 @@ def read(filename):
if licence.startswith('MIT') else
'License :: uhh, dunno',
],
python_requires='>=3.7',
python_requires='>=3.8',

py_modules=['findimports'],
zip_safe=False,
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist =
py37
py38
py39
py310
Expand Down

0 comments on commit 99e8fbe

Please sign in to comment.