diff --git a/factory_boy-3.1.0.tar.gz b/factory_boy-3.1.0.tar.gz deleted file mode 100644 index ef86234..0000000 --- a/factory_boy-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ded73e49135c24bd4d3f45bf1eb168f8d290090f5cf4566b8df3698317dc9c08 -size 156554 diff --git a/factory_boy-3.2.0.tar.gz b/factory_boy-3.2.0.tar.gz new file mode 100644 index 0000000..da6e7cc --- /dev/null +++ b/factory_boy-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:401cc00ff339a022f84d64a4339503d1689e8263a4478d876e58a3295b155c5b +size 153844 diff --git a/python-factory_boy.changes b/python-factory_boy.changes index 0c37e88..73151dd 100644 --- a/python-factory_boy.changes +++ b/python-factory_boy.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sun May 16 13:01:17 UTC 2021 - Ben Greiner + +- Update to v3.2.0 + * Add support for Django 3.1 + * Add support for Python 3.9 + * Drop support for Django 1.11. This version is not maintained + anymore. + * Drop support for Python 3.5. This version is not maintained + anymore. + Deprecated: + * factory.use_strategy(). Use factory.FactoryOptions.strategy + instead. The purpose of use_strategy() duplicates the factory + option. Follow PEP 20: There should be one– and preferably only + one –obvious way to do it. + * use_strategy() will be removed in the next major version. + Bug fix: + * Calls to factory.Faker and factory.django.FileField within a + Trait or Maybe no longer lead to a KeyError crash. +- Remove python2 build conditional: Not supported upstream + ------------------------------------------------------------------- Mon Oct 5 06:11:53 UTC 2020 - John Vandenberg diff --git a/python-factory_boy.spec b/python-factory_boy.spec index c204b75..929f507 100644 --- a/python-factory_boy.spec +++ b/python-factory_boy.spec @@ -1,7 +1,7 @@ # # spec file for package python-factory_boy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 Name: python-factory_boy -Version: 3.1.0 +Version: 3.2.0 Release: 0 Summary: Python test fixtures License: MIT @@ -28,16 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/f/factory_boy/fac BuildRequires: %{python_module Django} BuildRequires: %{python_module Faker >= 0.7.0} BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module mock} BuildRequires: %{python_module setuptools >= 0.8} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Faker >= 0.7.0 BuildArch: noarch -%if %{with python2} -BuildRequires: python-ipaddress -%endif %python_subpackages %description @@ -60,11 +56,12 @@ sed -i -e '/test_alchemy/d' tests/__init__.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m unittest +%pyunittest -v %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/factory +%{python_sitelib}/factory_boy-%{version}*-info %changelog