Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CairX committed Oct 19, 2020
1 parent d51f1fb commit 320a571
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
45 changes: 45 additions & 0 deletions docs/releasenotes/1.0.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
1.0.0
=====
The major bump in version should have been done a long time ago but
with no ability to correct the past we are taking the opportunity to do
so now.

We are aiming for a version scheme that is very common for
Python packages. The three numbers represent in order:

- Major - version when incompatible API changes are made.
- Minor - version when functionality is added in a backwards-compatible manner.
- Maintenance - version when backwards-compatible bug fixes are made.


Add support for Python 3.9
--------------------------
Support has been added for Python 3.9 now that the `official version
has been release <https://www.python.org/dev/peps/pep-0596/>`_.


Drop support for Python 3.5
---------------------------
At the same time Python 3.5 has
`reached its end-of-life <https://www.python.org/dev/peps/pep-0478/>`_
and so it will no longer be supported.


Pillow version 8.0.0
--------------------
In conjunction with the Python release cycle Pillow has also
`added support for 3.9 and dropped support of 3.5 <https://pillow.readthedocs.io/en/stable/releasenotes/8.0.0.html>`_.
To align the supported versions the minimum required Pillow version
will be 8.0.0.

Convcolors version 1.0.0
------------------------
The code that dealt with color conversion has been separated into its
own packaged called `convcolors <https://pypi.org/project/convcolors/>`_.
The intention is to make a clearer distinction what the goal of
extcolors is, the extraction of colors from images, and what it needs
to perform that action.

In the long run the intention is also to extend convcolors from being
only a library to also support command line operation (similar to what
extcolors does today) for quick conversion between color spaces.
2 changes: 1 addition & 1 deletion extcolors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from extcolors import difference

__version__ = "0.3.0"
__version__ = "1.0.0"

DEFAULT_TOLERANCE = 32

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="extcolors",
version="0.3.0",
version="1.0.0",
description="Extract colors from an image. "
"Colors are grouped based on visual similarities using the CIE76 formula.",
long_description=open("README.rst").read(),
Expand Down

0 comments on commit 320a571

Please sign in to comment.