Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.7 #282

Merged
merged 7 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-minor-version: [7, 8, 9, 10, 11, 12, 13-dev]
python-minor-version: [8, 9, 10, 11, 12, 13-dev]
name: Python 3.${{ matrix.python-minor-version }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -40,7 +40,6 @@ jobs:
python_env=$(echo $TOX_ENV | sed -e s/-dev$//)
python -m tox -e ${python_env}
- name: QA
if: ${{ steps.setuppy.outputs.python-version > 7 }}
env:
TOX_ENV: qa,doc
run: python -m tox -e $TOX_ENV
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ChangeLog
+------------+---------------------------------------------------------------------+------------+
| Version | Description | Date |
+============+=====================================================================+============+
| **2.5.0** | * Drop support for Python 3.7 | TBD |
+------------+---------------------------------------------------------------------+------------+
| **2.4.2** | * Add support for spi-mode in cmdline | 2024/01/30 |
+------------+---------------------------------------------------------------------+------------+
| **2.4.1** | * Adjust type check | 2023/09/01 |
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ License
-------
The MIT License (MIT)

Copyright (c) 2017-2022 Richard Hull and contributors
Copyright (c) 2017-2024 Richard Hull and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ classifiers =
Topic :: System :: Hardware
Topic :: System :: Hardware :: Hardware Drivers
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 All @@ -28,7 +27,7 @@ classifiers =
[options]
zip_safe = False
packages = find_namespace:
python_requires = >=3.7, <4
python_requires = >=3.8, <4
install_requires =
pillow>=9.2.0
smbus2
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2017-2022 Richard Hull and contributors
# Copyright (c) 2017-2024 Richard Hull and contributors
# See LICENSE.rst for details.

"""
Expand Down Expand Up @@ -76,7 +76,7 @@ def assert_identical_image(reference, target, img_path):
:type img_path: str
"""
bbox = ImageChops.difference(reference, target).getbbox()
#target.save(img_path)
# target.save(img_path)
assert bbox is None, f'{img_path} is not identical to generated image'


Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See LICENSE.rst for details.

[tox]
envlist = py{37,38,39,310,311,312,313},qa,doc
envlist = py{38,39,310,311,312,313},qa,doc
skip_missing_interpreters = True

[testenv]
Expand Down
Loading