Skip to content

Commit

Permalink
Merge pull request #70 from jamescooke/support-py38
Browse files Browse the repository at this point in the history
Support py38
  • Loading branch information
jamescooke committed Nov 24, 2019
2 parents ce2596b + e9482bd commit 59f8319
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 11 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ Unreleased_
See also `latest documentation
<http://factory-djoy.readthedocs.io/en/latest/>`_.

2.1.2_ - 2019/11/23
-------------------

Added
:::::

* Explicit support for Python 3.8 with Python 3.8 added to test framework.

* Test runs extended to include Django 2.2 on Pythons 3.5 and 3.6.

2.1.1_ - 2019/04/06
-------------------

Expand Down Expand Up @@ -116,7 +126,8 @@ Added

Stable testing release.

.. _Unreleased: https://github.com/jamescooke/factory_djoy/compare/v2.1.1...HEAD
.. _Unreleased: https://github.com/jamescooke/factory_djoy/compare/v2.1.2...HEAD
.. _2.1.2: https://github.com/jamescooke/factory_djoy/compare/v2.1.1...v2.1.2
.. _2.1.1: https://github.com/jamescooke/factory_djoy/compare/v2.1.0...v2.1.1
.. _2.1.0: https://github.com/jamescooke/factory_djoy/compare/v2.0.0...v2.1.0
.. _2.0.0: https://github.com/jamescooke/factory_djoy/compare/v1.0.2...v2.0.0
Expand Down
30 changes: 21 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,41 @@
:alt: Read the Docs
:target: https://factory-djoy.readthedocs.io/

.. image:: https://img.shields.io/pypi/v/factory_djoy.svg
.. image:: https://img.shields.io/pypi/v/factory-djoy.svg
:alt: PyPI version
:target: https://pypi.org/project/factory_djoy/
:target: https://pypi.org/project/factory-djoy/

.. image:: https://img.shields.io/pypi/pyversions/factory_djoy.svg
.. image:: https://img.shields.io/pypi/pyversions/factory-djoy.svg
:alt: Python version
:target: https://pypi.org/project/factory_djoy/
:target: https://pypi.org/project/factory-djoy/

.. image:: https://img.shields.io/pypi/djversions/factory-djoy
:alt: PyPI - Django Version
:target: https://pypi.org/project/factory-djoy/

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:alt: factory_djoy is licensed under the MIT License
:alt: factory-djoy is licensed under the MIT License
:target: https://raw.githubusercontent.com/jamescooke/factory_djoy/master/LICENSE

Factory Djoy
============

Simple wrappers around Factory Boy for Django which call ``full_clean`` when
creating instances to ensure that only valid data enters your Django database.
Factories for Django, creating valid model instances every time.

Factory Djoy provides two simple classes, ``UserFactory`` and
``CleanModelFactory``, which wrap Factory Boy. They call ``full_clean()`` when
creating Django model instances to ensure that only valid data enters your
Django database.


Compatibility
-------------

Compatible with:
Factory Djoy is compatible with:

* Django 1.11, 2.1 and 2.2.

* Python 3 (3.5, 3.6, 3.7)
* Python 3 (3.5, 3.6, 3.7, 3.8)

* Factory Boy version 2.11 or greater.

Expand Down
2 changes: 1 addition & 1 deletion factory_djoy/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = 'factory_djoy'
__version__ = '2.1.1'
__version__ = '2.1.2'

__author__ = 'James Cooke'
__copyright__ = '2019, {}'.format(__author__)
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def readme():
'Development Status :: 5 - Production/Stable',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
Expand All @@ -44,6 +45,7 @@ def readme():
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
Expand Down

0 comments on commit 59f8319

Please sign in to comment.