paulocheque / django-dynamic-fixture

A complete library to create dynamic model instances for testing purposes.
http://django-dynamic-fixture.readthedocs.io/
Other
391 stars 67 forks source link

New Release bump #144

Closed cmltaWt0 closed 3 years ago

cmltaWt0 commented 3 years ago

We are looking forward to using django-dynamic-fixture with Django 3.2 on edX.

Required PR - #142 is already merged into the master branch and I've added #143 for CI update. Also I've checked master branch locally for Django 3.2 and Django 3.1:

(env) ➜  django-dynamic-fixture git:(cmltaWt0/django32-test) env/bin/pytest -n 3 --create-db --reuse-db --no-migrations
================================================================== test session starts ==================================================================
platform darwin -- Python 3.8.9, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
django: settings: settings_sqlite (from ini)
rootdir: /Users/rimikt/code/django-dynamic-fixture, configfile: pytest.ini
plugins: cov-2.12.1, xdist-2.4.0, forked-1.3.0, django-4.4.0
gw0 [316] / gw1 [316] / gw2 [316]
........................................................................................................s........................................ [ 45%]
.................................................................................................................................................. [ 91%]
.........................                                                                                                                         [100%]
==================== warnings summary =======================
env/lib/python3.8/site-packages/nose/importer.py:12
env/lib/python3.8/site-packages/nose/importer.py:12
env/lib/python3.8/site-packages/nose/importer.py:12
env/lib/python3.8/site-packages/nose/importer.py:12
  /Users/rimikt/code/django-dynamic-fixture/env/lib/python3.8/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import find_module, load_module, acquire_lock, release_lock

django_dynamic_fixture/tests/test_ddf_teaching_and_lessons.py::TeachAndLessonsTest::test_default_lesson_may_be_overrided_although_it_is_an_anti_pattern
django_dynamic_fixture/tests/test_wrappers.py::TeachingAndLessonsTest::test_global_lesson
  /Users/rimikt/code/django-dynamic-fixture/django_dynamic_fixture/ddf.py:256: RuntimeWarning: A lesson ddf_default has already been saved for the model <class 'django_dynamic_fixture.models_test.ModelForLibrary'>. Override a lesson is an anti-pattern and will turn your test suite very hard to understand.
    warnings.warn(msg, RuntimeWarning)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========== 315 passed, 1 skipped, 6 warnings in 3.05s =================

Do there any chance a new version will be bumped soon?

Also

If any blockers with the release I would be happy to help.

Thank you in advance.

@paulocheque ^

paulocheque commented 3 years ago

Nice! I should generate a next release in the next days. If you want to create a new Release commit like this one: https://github.com/paulocheque/django-dynamic-fixture/commit/dc4d49d7209ec73b636f1fbae99c90df7d99afc1

It will be faster! I suppose we can use the version 3.1.2, but we need to review the changelog to see if there is a big change that justify a version 3.2.0.

cmltaWt0 commented 3 years ago

Going to create a release commit today. It seems like this is fix release. I'll include issues in the changelog and let's decide whether it's a feature release or not.

paulocheque commented 3 years ago

3.1.2 release generated! Thanks again!