Skip to content

Commit

Permalink
Merge pull request #23 from eindiran/ei_20240628_python3.8
Browse files Browse the repository at this point in the history
Enable Python3.8
  • Loading branch information
eindiran authored Jun 28, 2024
2 parents 0b4c28c + 89bc953 commit 0ec31b0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ What is `smbus3`
A drop-in replacement for `smbus2 <https://pypi.org/project/smbus2/>`__,
`smbus-cffi <https://pypi.org/project/smbus-cffi/>`__, or
`smbus-python <https://pypi.org/project/smbus/>`__ written in pure
Python and intended for use with Python 3.9+.
Python and intended for use with Python 3.8+.

This library was forked from @kplindegaard’s excellent
`smbus2 <https://github.com/kplindegaard/smbus2>`__. If you need a
package that works with Python 2.7 - 3.8, smbus2 is the way to go.
package that works with Python 2.7 - 3.7, smbus2 is the way to go.


Introduction
Expand Down Expand Up @@ -89,7 +89,7 @@ Currently supported features are:
- ``i2c_wr()`` - single write via ``i2c_rdwr``
- Get i2c capabilities (``I2C_FUNCS``)

It is developed for Python 3.9+.
It is developed for Python 3.8+.

More information about updates and general changes are recorded in the
`change
Expand Down
5 changes: 5 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Changelog
Notable changes to `smbus3 <https://github.com/eindiran/smbus3>`__ are
recorded here.

[0.5.5] - 2024-06-28
--------------------

- Enable Python3.8 support

[0.5.4] - 2024-06-14
--------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
release = __version__
ol_description = (
"smbus3 is a drop-in replacement for smbus2, smbus-cffi, smbus-python "
+ "written in pure Python, intended for use with Python 3.9+"
+ "written in pure Python, intended for use with Python 3.8+"
)
gr_category = "Miscellaneous"
# The language for content autogenerated by Sphinx.
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = smbus3
version = 0.5.4
author = Elliott Indiran
author_email = [email protected]
description = smbus3 is a drop-in replacement for smbus2, smbus-cffi, smbus-python written in pure Python, intended for use with Python 3.9+ on Unix-like systems
description = smbus3 is a drop-in replacement for smbus2, smbus-cffi, smbus-python written in pure Python, intended for use with Python 3.8+ on Unix-like systems
long_description = file: README.rst, doc/changelog.rst
long_description_content_type = text/x-rst
license = MIT
Expand All @@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Expand All @@ -31,7 +32,7 @@ classifiers =

[options]
include_package_data = True
python_requires = >= 3.9
python_requires = >= 3.8

[options.package_data]
* = *.rst, doc/*.rst
Expand Down

0 comments on commit 0ec31b0

Please sign in to comment.