From 392cbba489dcb6ed0716a3ba093a828b8a250af8 Mon Sep 17 00:00:00 2001 From: David Smith <39445562+smithdc1@users.noreply.github.com> Date: Mon, 27 Sep 2021 18:36:13 +0000 Subject: [PATCH 1/2] Updated supported Django versions --- setup.py | 3 ++- tests/testproject/settings.py | 2 ++ tests/unit/test_utils.py | 2 +- tox.ini | 6 ++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index abff164..14c0755 100644 --- a/setup.py +++ b/setup.py @@ -31,8 +31,9 @@ setup( 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 2.2', - 'Framework :: Django :: 3.0', 'Framework :: Django :: 3.1', + 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.0', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', diff --git a/tests/testproject/settings.py b/tests/testproject/settings.py index ccd75a6..687037a 100644 --- a/tests/testproject/settings.py +++ b/tests/testproject/settings.py @@ -29,3 +29,5 @@ TEMPLATES = [ 'APP_DIRS': True, }, ] + +USE_TZ = False diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index b30307f..8a9bd13 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -37,7 +37,7 @@ class MyUser(AbstractBaseUser): USERNAME_FIELD = 'identity' class Meta: - abstract = True + abstract = False app_label = 'testapp' diff --git a/tox.ini b/tox.ini index 7bea9f2..6690cb6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] envlist = # Python/Django combinations that are officially supported - py{36,37,38,39}-django{22,30,31} + py{36,37,38,39}-django{22,31,32} + py{38,39}-django{40} py37-{flake8,bandit,readme,docs,isort} [testenv] @@ -10,8 +11,9 @@ deps = coverage pytest-django django22: Django>=2.2,<3.0 - django30: Django>=3.0,<3.1 django31: Django>=3.1,<3.2 + django32: Django>=3.2,<4.0 + django40: Django>=4.0a1,<4.1 commands = coverage run -m pytest From a615b954ae3abca168366b2a905fce5838944af2 Mon Sep 17 00:00:00 2001 From: jazzband-bot Date: Thu, 21 Oct 2021 14:33:50 +0000 Subject: [PATCH 2/2] Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' --- CODE_OF_CONDUCT.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..e0d5efa --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Code of Conduct + +As contributors and maintainers of the Jazzband projects, and in the interest of +fostering an open and welcoming community, we pledge to respect all people who +contribute through reporting issues, posting feature requests, updating documentation, +submitting pull requests or patches, and other activities. + +We are committed to making participation in the Jazzband a harassment-free experience +for everyone, regardless of the level of experience, gender, gender identity and +expression, sexual orientation, disability, personal appearance, body size, race, +ethnicity, age, religion, or nationality. + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery +- Personal attacks +- Trolling or insulting/derogatory comments +- Public or private harassment +- Publishing other's private information, such as physical or electronic addresses, + without explicit permission +- Other unethical or unprofessional conduct + +The Jazzband roadies have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are not +aligned to this Code of Conduct, or to ban temporarily or permanently any contributor +for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +By adopting this Code of Conduct, the roadies commit themselves to fairly and +consistently applying these principles to every aspect of managing the jazzband +projects. Roadies who do not follow or enforce the Code of Conduct may be permanently +removed from the Jazzband roadies. + +This code of conduct applies both within project spaces and in public spaces when an +individual is representing the project or its community. + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by +contacting the roadies at `roadies@jazzband.co`. All complaints will be reviewed and +investigated and will result in a response that is deemed necessary and appropriate to +the circumstances. Roadies are obligated to maintain confidentiality with regard to the +reporter of an incident. + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version +1.3.0, available at [https://contributor-covenant.org/version/1/3/0/][version] + +[homepage]: https://contributor-covenant.org +[version]: https://contributor-covenant.org/version/1/3/0/