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

Fix Readme syntax because the deployment failing #54

Merged
merged 1 commit into from
Jun 6, 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
29 changes: 22 additions & 7 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,47 +1,62 @@
=========
Changelog
=========

------------------
2.0.1 (2024-06-06)
------------------
- Fix README.rst

------------------
2.0.0 (2024-06-04)
------------------
- Remove six
- Remove python 3.7 support
- Add python 3.9 and 3.10 support
- Remove tox.ini

------------------
1.2.1 (2016-09-16)
------------------
- ``EnumLookupError`` class now inherits from built-in ``LookupError``.

------------------
1.2.0 (2016-04-15)
------------------
- added simple ``LookupError`` members that are thrown when
``RichEnum.lookup`` is called for a nonexistent attr/val pair.
Users can choose to catch either the specific ``LookupError`` or
continue to catch ``EnumLookupError``.

------------------
1.1.0 (2014-04-17)
------------------
- support for Python 3 and PyPy

------------------
1.0.4 (2013-12-03)
------------------
- Better unicode handling in ``__str__``, ``__unicode__``, and
``__repr__`` magic methods.

------------------
1.0.3 (2013-12-03)
------------------
- Stop throwing warnings.

------------------
1.0.2 (2013-11-05)
------------------
- Suppress warnings from mismatched type comparisons when generated
in RichEnum.lookup.

------------------
1.0.1 (2013-09-20)
------------------
- Raise warnings when comparing enum values to other types, but not
when checking membership or comparing to None.

------------------
1.0.0 (2013-08-16)
------------------
- Initial public release.

2.0.0 (2024-06-04)
------------------
- Remove six
- Remove python 3.7 support
- Add python 3.9 and 3.10 support
- Remove tox.ini
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ OrderedRichEnum
-----
Links
-----
| `GitHub <https://github.com/hearsaycorp/richenum>`_
| `PyPi <https://pypi.python.org/pypi/richenum/>`_
| `GitHub <https://github.com/hearsaycorp/richenum>`__
| `PyPi <https://pypi.python.org/pypi/richenum/>`__
| `Blog post about the motivation behind RichEnum <http://engineering.hearsaysocial.com/2013/09/16/enums-in-python/>`_

============
Expand All @@ -46,9 +46,9 @@ Installation

$ pip install richenum

=====
=============
Example Usage
=====
=============
----
enum
----
Expand Down Expand Up @@ -102,9 +102,9 @@ Related Packages
django-richenum
Makes RichEnum and OrderedRichEnum available in as model fields and form fields in Django.

| `GitHub <https://github.com/hearsaycorp/django-richenum>`_
| `GitHub <https://github.com/hearsaycorp/django-richenum>`__

| `PyPi <https://pypi.python.org/pypi/django-richenum/>`_
| `PyPi <https://pypi.python.org/pypi/django-richenum/>`__

enum
Starting with Python 3.4, there is a standard library for enumerations.
Expand All @@ -116,7 +116,7 @@ enum
Contributing
============

#. Fork the repo from `GitHub <https://github.com/hearsaycorp/richenum>`_.
#. Fork the repo from `GitHub <https://github.com/hearsaycorp/richenum>`__.
#. Make your changes.
#. Add unittests for your changes.
#. Run `pep8 <https://pypi.python.org/pypi/pep8>`_, `pyflakes <https://pypi.python.org/pypi/pyflakes>`_, and `pylint <https://pypi.python.org/pypi/pyflakes>`_ to make sure your changes follow the Python style guide and doesn't have any errors.
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

setup(
name='richenum',
version='2.0.0',
version='2.0.1',
description='Enum library for python.',
long_description=(
open('README.rst').read() + '\n\n' +
open('CHANGELOG.rst').read() + '\n\n' +
open('AUTHORS.rst').read()),
long_description_content_type='text/x-rst',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
Expand Down
Loading