pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-factory_boy
Module Name: pkgsrc
Committed By: adam
Date: Mon Aug 28 09:39:51 UTC 2023
Modified Files:
pkgsrc/devel/py-factory_boy: Makefile PLIST distinfo
Log Message:
py-factory_boy: updated to 3.3.0
3.3.0 (2023-07-19)
------------------
*New:*
- :issue:`366`: Add :class:`factory.django.Password` to generate Django :class:`~django.contrib.auth.models.User`
passwords.
- :issue:`304`: Add :attr:`~factory.alchemy.SQLAlchemyOptions.sqlalchemy_session_factory` to dynamically
create sessions for use by the :class:`~factory.alchemy.SQLAlchemyModelFactory`.
- Add support for Django 4.0
- Add support for Django 4.1
- Add support for Python 3.10
- Add support for Python 3.11
*Bugfix:*
- Make :meth:`~factory.django.mute_signals` mute signals during post-generation.
- :issue:`775`: Change the signature for :meth:`~factory.alchemy.SQLAlchemyModelFactory._save` and
:meth:`~factory.alchemy.SQLAlchemyModelFactory._get_or_create` to avoid argument names clashes with a field named
``session``.
*Deprecated:*
- :class:`~factory.django.DjangoModelFactory` will stop issuing a second call to
:meth:`~django.db.models.Model.save` on the created instance when :ref:`post-generation-hooks` return a value.
To help with the transition, :class:`factory.django.DjangoModelFactory._after_postgeneration` raises a
:class:`DeprecationWarning` when calling :meth:`~django.db.models.Model.save`. Inspect your
:class:`~factory.django.DjangoModelFactory` subclasses:
- If the :meth:`~django.db.models.Model.save` call is not needed after :class:`~factory.PostGeneration`, set
:attr:`factory.django.DjangoOptions.skip_postgeneration_save` to ``True`` in the factory meta.
- Otherwise, the instance has been modified by :class:`~factory.PostGeneration` hooks and needs to be
:meth:`~django.db.models.Model.save`\ d. Either:
- call :meth:`django.db.models.Model.save` in the :class:`~factory.PostGeneration` hook that modifies the
instance, or
- override :class:`~factory.django.DjangoModelFactory._after_postgeneration` to
:meth:`~django.db.models.Model.save` the instance.
*Removed:*
- Drop support for Django 2.2
- Drop support for Django 3.0
- Drop support for Django 3.1
- Drop support for Python 3.6
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-factory_boy/Makefile \
pkgsrc/devel/py-factory_boy/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-factory_boy/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-factory_boy/Makefile
diff -u pkgsrc/devel/py-factory_boy/Makefile:1.6 pkgsrc/devel/py-factory_boy/Makefile:1.7
--- pkgsrc/devel/py-factory_boy/Makefile:1.6 Tue Jan 4 20:53:03 2022
+++ pkgsrc/devel/py-factory_boy/Makefile Mon Aug 28 09:39:51 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:53:03 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2023/08/28 09:39:51 adam Exp $
-DISTNAME= factory_boy-3.2.1
+DISTNAME= factory_boy-3.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/factory_boy/}
@@ -15,7 +14,7 @@ DEPENDS+= ${PYPKGPREFIX}-faker>=0.7.0:..
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-faker
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-factory_boy/distinfo
diff -u pkgsrc/devel/py-factory_boy/distinfo:1.6 pkgsrc/devel/py-factory_boy/distinfo:1.7
--- pkgsrc/devel/py-factory_boy/distinfo:1.6 Tue Nov 16 19:45:48 2021
+++ pkgsrc/devel/py-factory_boy/distinfo Mon Aug 28 09:39:51 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/11/16 19:45:48 adam Exp $
+$NetBSD: distinfo,v 1.7 2023/08/28 09:39:51 adam Exp $
-BLAKE2s (factory_boy-3.2.1.tar.gz) = 0480eaf93dabdd4af2987aa203a814322de50006b77cb7107223d39932d6f507
-SHA512 (factory_boy-3.2.1.tar.gz) = 21ad111c648f3ff444cc2310479464334eb4c5b16ed04a592fb9152397f9bf6c044d235789b901f65ebf49d07a0621834ec280630279be0696ccec15ac9f15df
-Size (factory_boy-3.2.1.tar.gz) = 153483 bytes
+BLAKE2s (factory_boy-3.3.0.tar.gz) = 8789c8cb69b6e04b4f94071f98318e1d30cc2908ab691db4e3d4a6ff5a665035
+SHA512 (factory_boy-3.3.0.tar.gz) = ad55d5228dd36f84136d2b285d445779497699cb2cfbf54a69ec2a8db81d25ab7b1327761f621e70b322c975a34c11c0009bfa236ad3128b5cffc0060d56ff88
+Size (factory_boy-3.3.0.tar.gz) = 163604 bytes
Index: pkgsrc/devel/py-factory_boy/PLIST
diff -u pkgsrc/devel/py-factory_boy/PLIST:1.2 pkgsrc/devel/py-factory_boy/PLIST:1.3
--- pkgsrc/devel/py-factory_boy/PLIST:1.2 Thu Dec 10 12:31:16 2020
+++ pkgsrc/devel/py-factory_boy/PLIST Mon Aug 28 09:39:51 2023
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2020/12/10 12:31:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/08/28 09:39:51 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/factory/__init__.py
Home |
Main Index |
Thread Index |
Old Index