Hello community,

here is the log from the commit of package python-factory_boy for 
openSUSE:Factory checked in at 2020-10-23 12:18:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-factory_boy (Old)
 and      /work/SRC/openSUSE:Factory/.python-factory_boy.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-factory_boy"

Fri Oct 23 12:18:30 2020 rev:14 rq:839487 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-factory_boy/python-factory_boy.changes    
2020-03-27 00:25:40.252268154 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-factory_boy.new.3463/python-factory_boy.changes
  2020-10-23 12:18:34.228535094 +0200
@@ -1,0 +2,52 @@
+Mon Oct  5 06:11:53 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Use PyPI tarball and revise test runner to python -m unittest
+- Update to v3.1.0
+  * Allow all types of declarations in :class:`factory.Faker` calls
+    enables references to other faker-defined attributes.
+- from v3.0.1
+  * Fix `import factory; factory.django.DjangoModelFactory` and
+    similar calls.
+- from v3.0.0
+  * Removed alias
+    + `from factory import DjangoModelFactory` to
+      `from factory.django import DjangoModelFactory`
+    + `from factory import MogoFactory` to
+      `from factory.mogo import MogoFactory`
+    + `from factory.fuzzy import get_random_state` to
+      `from factory.random import get_random_state`
+    + `from factory.fuzzy import set_random_state` to
+      `from factory.random import set_random_state`
+    + `from factory.fuzzy import reseed_random` to
+      `from factory.random import reseed_random`
+  * Drop support for Python 2 and 3.4
+  * Drop support for Django 2.0 and 2.1
+  * Remove deprecated `force_flush` from `SQLAlchemyModelFactory`
+    Use `sqlalchemy_session_persistence = "flush"` instead
+  * Drop deprecated `attributes()` from `factory.Factory`; use
+    `make_factory(dict, FactoryClass._meta.pre_declarations)`
+  * Drop deprecated `declarations()` from `factory.Factory`; use
+    `FactoryClass._meta.pre_declarations` instead
+  * Drop `factory.compat` module
+  * Add support for Python 3.8
+  * Add support for Django 2.2 and 3.0
+  * Report misconfiguration when `Factory` is used
+    as the `Factory.model` for another `Factory`
+  * Allow configuring the color palette of `factory.django.ImageField`
+  * `get_random_state()` now represents the state of Faker and
+    `factory_boy` fuzzy attributes
+  * Add SQLAlchemy ``get_or_create`` support
+  * Display a developer-friendly error message when providing a model
+    instead of a factory in a `factory.declarations.SubFactory` class
+  * Fix issue with SubFactory not preserving signal muting behaviour
+    of the used factory
+  * Fix issue with overriding params in a Trait
+  * Limit ``get_or_create`` behavior to fields specified in
+    `django_get_or_create`
+  * Re-raise `~django.db.IntegrityError` when `django_get_or_create`
+    with multiple fields fails to lookup model using user provided
+    keyword arguments
+  * TypeError masked by __repr__ AttributeError when initializing
+    `Maybe` with inconsistent phases
+
+-------------------------------------------------------------------

Old:
----
  2.12.0.tar.gz

New:
----
  factory_boy-3.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-factory_boy.spec ++++++
--- /var/tmp/diff_new_pack.W9t0a7/_old  2020-10-23 12:18:34.964535474 +0200
+++ /var/tmp/diff_new_pack.W9t0a7/_new  2020-10-23 12:18:34.968535475 +0200
@@ -19,16 +19,15 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-factory_boy
-Version:        2.12.0
+Version:        3.1.0
 Release:        0
-Summary:        A test fixtures replacement
+Summary:        Python test fixtures
 License:        MIT
 URL:            https://github.com/rbarrois/factory_boy
-Source:         
https://github.com/FactoryBoy/factory_boy/archive/%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/f/factory_boy/factory_boy-%{version}.tar.gz
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module Faker >= 0.7.0}
 BuildRequires:  %{python_module Pillow}
-BuildRequires:  %{python_module flake8}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools >= 0.8}
 BuildRequires:  %{pythons}
@@ -61,7 +60,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%python_exec -m unittest
 
 %files %{python_files}
 %license LICENSE


Reply via email to