Skip to content

Commit

Permalink
Correct docs referring to 1.6.0 as the last version supporting Python…
Browse files Browse the repository at this point in the history
… 2, prepare for v1.6.2 release (sorry)
  • Loading branch information
bennuttall authored and waveform80 committed Mar 18, 2021
1 parent 6532c1f commit e55c678
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ Python 2 support

.. warning::

Version 1.6.0 of GPIO Zero is the last to support Python 2. The next release
will be Version 2.0.0 and will support Python 3 only.
GPIO Zero 1.6.x is the last to support Python 2. GPIO Zero 2.x will support
Python 3 only.

Contributors
============
Expand Down
2 changes: 2 additions & 0 deletions docs/api_pins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ they are tried by default.
+=========+===============================================+===========================================+
| rpigpio | :class:`gpiozero.pins.rpigpio.RPiGPIOFactory` | :class:`gpiozero.pins.rpigpio.RPiGPIOPin` |
+---------+-----------------------------------------------+-------------------------------------------+
| lgpio | :class:`gpiozero.pins.lgpio.LGPIOFactory` | :class:`gpiozero.pins.lgpio.LGPIOPin` |
+---------+-----------------------------------------------+-------------------------------------------+
| rpio | :class:`gpiozero.pins.rpio.RPIOFactory` | :class:`gpiozero.pins.rpio.RPIOPin` |
+---------+-----------------------------------------------+-------------------------------------------+
| pigpio | :class:`gpiozero.pins.pigpio.PiGPIOFactory` | :class:`gpiozero.pins.pigpio.PiGPIOPin` |
Expand Down
14 changes: 9 additions & 5 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ Changelog

.. currentmodule:: gpiozero

Release 1.6.2 (2021-03-18)
==========================

* Correct docs referring to 1.6.0 as the last version supporting Python 2

.. warning::

This is the last release to support Python 2

Release 1.6.1 (2021-03-17)
==========================

* Fix missing font files for 7-segment displays


Release 1.6.0 (2021-03-14)
==========================

Expand Down Expand Up @@ -54,10 +62,6 @@ Release 1.6.0 (2021-03-14)
* Added USB3 and Ethernet speed attributes to :func:`pi_info`
* Various docs updates

.. warning::

This is the last release to support Python 2

.. _lgpio: http://abyz.me.uk/lg/py_lgpio.html
.. _#482: https://github.com/gpiozero/gpiozero/issues/482
.. _#928: https://github.com/gpiozero/gpiozero/issues/928
Expand Down
4 changes: 2 additions & 2 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Python 2/3
==========

The library is 100% compatible with both Python 2.7 and Python 3 from version
3.2 onwards. Since Python 2 is now past its `end-of-life`_, the 1.6.0 release
(2021-03-14) is the last to support Python 2.
3.2 onwards. Since Python 2 is now past its `end-of-life`_, the 1.6.2 release
(2021-03-18) is the last to support Python 2.


.. _docs: https://github.com/gpiozero/gpiozero/tree/master/docs
Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ version of gpiozero is available in your Python environment like so:
>>> from pkg_resources import require
>>> require('gpiozero')
[gpiozero 1.6.0 (/usr/lib/python3/dist-packages)]
[gpiozero 1.6.2 (/usr/lib/python3/dist-packages)]
>>> require('gpiozero')[0].version
'1.6.0'
'1.6.2'
If you have multiple versions installed (e.g. from :command:`pip` and
:command:`apt`) they will not show up in the list returned by the
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
pass

__project__ = 'gpiozero'
__version__ = '1.6.1'
__version__ = '1.6.2'
__author__ = 'Ben Nuttall'
__author_email__ = 'ben@bennuttall.com'
__url__ = 'https://github.com/gpiozero/gpiozero'
Expand Down

0 comments on commit e55c678

Please sign in to comment.