Skip to content

Commit

Permalink
Merge pull request #5 from mgedmin/drop-py2
Browse files Browse the repository at this point in the history
Drop Python 2.7
  • Loading branch information
mgedmin committed Jun 25, 2023
2 parents fb4e96c + c622088 commit 1dea876
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Expand Up @@ -20,13 +20,11 @@ jobs:
strategy:
matrix:
python-version:
- "2.7"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy2.7"
- "pypy3.7"

steps:
Expand Down Expand Up @@ -63,7 +61,6 @@ jobs:
- name: Report to coveralls
run: coveralls
continue-on-error: true
if: "matrix.python-version != '2.7' && matrix.python-version != 'pypy2.7'"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
Expand All @@ -84,10 +81,10 @@ jobs:
- name: Git clone
uses: actions/checkout@v3

- name: Set up Python ${{ env.default_python || '3.9' }}
- name: Set up Python ${{ env.default_python || '3.11' }}
uses: actions/setup-python@v4
with:
python-version: "${{ env.default_python || '3.9' }}"
python-version: "${{ env.default_python || '3.11' }}"

- name: Pip cache
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions CHANGES.rst
@@ -1,12 +1,12 @@
Changes
=======

1.7.2 (unreleased)
1.8.9 (unreleased)
------------------

- Add support for Python 3.8, 3.9, 3.10, and 3.11.

- Drop support for Python 3.5 and 3.6.
- Drop support for Python 2.7, 3.5 and 3.6.


1.7.1 (2019-04-23)
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Expand Up @@ -4,7 +4,6 @@ environment:
matrix:
# https://www.appveyor.com/docs/installed-software#python lists available
# versions
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python39"
Expand Down
2 changes: 1 addition & 1 deletion imgdiff.py
Expand Up @@ -25,7 +25,7 @@
import ImageFilter


__version__ = '1.7.2.dev0'
__version__ = '1.8.0.dev0'


def parse_color(color):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -49,7 +49,6 @@ def get_description():
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -59,6 +58,7 @@ def get_description():
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
],
python_requires=">=3.7",
py_modules=['imgdiff'],
test_suite='imgdiff.test_suite',
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py27,py37,py38,py39,py310,py311,pypy,pypy3
py37,py38,py39,py310,py311,pypy3

[testenv]
extras = test
Expand Down

0 comments on commit 1dea876

Please sign in to comment.