djangobible 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of djangobible might be problematic. Click here for more details.

Files changed (58) hide show
  1. {djangobible-0.2.0 → djangobible-0.2.1}/.coveragerc +1 -0
  2. {djangobible-0.2.0 → djangobible-0.2.1}/.github/workflows/codeql-analysis.yml +3 -3
  3. {djangobible-0.2.0 → djangobible-0.2.1}/.github/workflows/django.yml +1 -1
  4. djangobible-0.2.1/.github/workflows/tests.yml +27 -0
  5. {djangobible-0.2.0 → djangobible-0.2.1}/.pre-commit-config.yaml +4 -4
  6. {djangobible-0.2.0 → djangobible-0.2.1}/CHANGELOG.md +20 -2
  7. {djangobible-0.2.0 → djangobible-0.2.1}/PKG-INFO +8 -6
  8. {djangobible-0.2.0 → djangobible-0.2.1}/README.md +5 -3
  9. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/__init__.py +1 -1
  10. djangobible-0.2.1/noxfile.py +31 -0
  11. {djangobible-0.2.0 → djangobible-0.2.1}/pyproject.toml +2 -2
  12. djangobible-0.2.1/requirements.txt +2 -0
  13. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/settings.py +1 -0
  14. djangobible-0.2.0/.github/workflows/tests.yml +0 -31
  15. djangobible-0.2.0/noxfile.py +0 -29
  16. djangobible-0.2.0/requirements.txt +0 -2
  17. {djangobible-0.2.0 → djangobible-0.2.1}/.github/dependabot.yml +0 -0
  18. {djangobible-0.2.0 → djangobible-0.2.1}/.gitignore +0 -0
  19. {djangobible-0.2.0 → djangobible-0.2.1}/.sourcery.yaml +0 -0
  20. {djangobible-0.2.0 → djangobible-0.2.1}/CODE_OF_CONDUCT.md +0 -0
  21. {djangobible-0.2.0 → djangobible-0.2.1}/CONTRIBUTING.md +0 -0
  22. {djangobible-0.2.0 → djangobible-0.2.1}/LICENSE +0 -0
  23. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/apps.py +0 -0
  24. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/fields.py +0 -0
  25. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/migrations/0001_initial.py +0 -0
  26. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/migrations/__init__.py +0 -0
  27. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/models.py +0 -0
  28. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/templatetags/__init__.py +0 -0
  29. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/templatetags/verse_tags.py +0 -0
  30. {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/validators.py +0 -0
  31. {djangobible-0.2.0 → djangobible-0.2.1}/manage.py +0 -0
  32. {djangobible-0.2.0 → djangobible-0.2.1}/requirements-dev.txt +0 -0
  33. {djangobible-0.2.0 → djangobible-0.2.1}/requirements-test.txt +0 -0
  34. {djangobible-0.2.0 → djangobible-0.2.1}/setup.cfg +0 -0
  35. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/__init__.py +0 -0
  36. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/admin.py +0 -0
  37. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/apps.py +0 -0
  38. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0001_initial.py +0 -0
  39. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0002_testsingleverseobject.py +0 -0
  40. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0003_alter_testsingleverseobject_verse.py +0 -0
  41. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/__init__.py +0 -0
  42. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/models.py +0 -0
  43. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/templates/verse_tags.html +0 -0
  44. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/__init__.py +0 -0
  45. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/factories.py +0 -0
  46. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/__init__.py +0 -0
  47. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/test_admin.py +0 -0
  48. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/test_tags_functional.py +0 -0
  49. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/__init__.py +0 -0
  50. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_models.py +0 -0
  51. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_search.py +0 -0
  52. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_tags.py +0 -0
  53. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_validators.py +0 -0
  54. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/views.py +0 -0
  55. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/__init__.py +0 -0
  56. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/asgi.py +0 -0
  57. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/urls.py +0 -0
  58. {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/wsgi.py +0 -0
@@ -1,5 +1,6 @@
1
1
  [run]
2
2
  omit =
3
3
  manage.py
4
+ noxfile.py
4
5
  test_django_app/*
5
6
  test_django_project/*
@@ -34,7 +34,7 @@ jobs:
34
34
 
35
35
  # Initializes the CodeQL tools for scanning.
36
36
  - name: Initialize CodeQL
37
- uses: github/codeql-action/init@v2
37
+ uses: github/codeql-action/init@v3
38
38
  with:
39
39
  languages: ${{ matrix.language }}
40
40
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -45,7 +45,7 @@ jobs:
45
45
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
46
46
  # If this step fails, then you should remove it and run the build manually (see below)
47
47
  - name: Autobuild
48
- uses: github/codeql-action/autobuild@v2
48
+ uses: github/codeql-action/autobuild@v3
49
49
 
50
50
  # ℹ️ Command-line programs to run using the OS shell.
51
51
  # 📚 https://git.io/JvXDl
@@ -59,4 +59,4 @@ jobs:
59
59
  # make release
60
60
 
61
61
  - name: Perform CodeQL Analysis
62
- uses: github/codeql-action/analyze@v2
62
+ uses: github/codeql-action/analyze@v3
@@ -17,7 +17,7 @@ jobs:
17
17
  steps:
18
18
  - uses: actions/checkout@v4
19
19
  - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v4
20
+ uses: actions/setup-python@v5
21
21
  with:
22
22
  python-version: ${{ matrix.python-version }}
23
23
  - name: Install Dependencies
@@ -0,0 +1,27 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ tests:
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ matrix:
14
+ os:
15
+ [
16
+ ubuntu-latest,
17
+ windows-latest,
18
+ macos-latest,
19
+ ]
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: wntrblm/nox@2024.04.15
23
+ with:
24
+ python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, 3.13.0-beta.1"
25
+ - name: Test with NOX
26
+ run: |
27
+ nox --session tests
@@ -1,6 +1,6 @@
1
1
  repos:
2
2
  - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.4.0
3
+ rev: v4.6.0
4
4
  hooks:
5
5
  - id: trailing-whitespace
6
6
  - id: end-of-file-fixer
@@ -9,15 +9,15 @@ repos:
9
9
  - id: requirements-txt-fixer
10
10
  - id: check-added-large-files
11
11
  - repo: https://github.com/psf/black
12
- rev: 23.9.1
12
+ rev: 24.4.2
13
13
  hooks:
14
14
  - id: black
15
15
  - repo: https://github.com/pycqa/isort
16
- rev: 5.12.0
16
+ rev: 5.13.2
17
17
  hooks:
18
18
  - id: isort
19
19
  - repo: https://github.com/pycqa/flake8
20
- rev: 6.1.0
20
+ rev: 7.0.0
21
21
  hooks:
22
22
  - id: flake8
23
23
  additional_dependencies:
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### [0.2.1] - 2024-05-24
11
+
12
+ - Added support for Django 5.0
13
+ - Added full support for Python 3.12
14
+ - Added automated functional testing now that there is a version of greenlet that supports Python 3.12
15
+ - ~~Added automated testing for Python 3.13-beta~~ (not yet supported by greenlet)
16
+ - Added automated testing for Django 5.1-alpha
17
+
18
+ ### Changed
19
+
20
+ - Require the latest version of pythonbible (0.13.1)
21
+
22
+ ### Removed
23
+
24
+ - Removed official support for Django 3.2 (due to end of life on 2024-04-01)
25
+ - Removed official support for Django 4.1 (due to end of life on 2023-12-01)
26
+
10
27
  ## [0.2.0] - 2023-10-04
11
28
 
12
29
  ### Added
@@ -38,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
55
 
39
56
  - Removed Python 3.7 support (due to end of life on 2023-06-27)
40
57
 
41
- [unreleased]: https://github.com/avendesora/djangobible/compare/v0.2.0...HEAD
42
- [0.2.0]: https://github.com/avendesora/djangobible/releases/tag/v0.1.1...v0.2.0
58
+ [unreleased]: https://github.com/avendesora/djangobible/compare/v0.2.1...HEAD
59
+ [0.2.1]: https://github.com/avendesora/djangobible/compare/v0.2.0...v0.2.1
60
+ [0.2.0]: https://github.com/avendesora/djangobible/compare/v0.1.1...v0.2.0
43
61
  [0.1.1]: https://github.com/avendesora/djangobible/releases/tag/v0.1.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: djangobible
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: djangobible python library.
5
5
  Home-page: https://github.com/avendesora/djangobible
6
6
  Author: Nathan Patton
@@ -8,8 +8,8 @@ Author-email: npatton@gmail.com
8
8
  Requires-Python: >=3.8
9
9
  Description-Content-Type: text/markdown
10
10
  Classifier: License :: OSI Approved :: MIT License
11
- Requires-Dist: Django>=3.2.0
12
- Requires-Dist: pythonbible==0.12.0
11
+ Requires-Dist: Django>=4.2.0
12
+ Requires-Dist: pythonbible==0.13.1
13
13
 
14
14
  # djangobible
15
15
 
@@ -30,8 +30,9 @@ The djangobible library is a Django app that wraps the [pythonbible](https://git
30
30
  <tr>
31
31
  <td>Tests</td>
32
32
  <td>
33
- <img src="https://github.com/avendesora/djangobible/workflows/Django%20CI/badge.svg">
34
- <a href="https://www.codacy.com/gh/avendesora/djangobible/dashboard?utm_source=github.com&utm_medium=referral&utm_content=avendesora/djangobible&utm_campaign=Badge_Coverage"><img src="https://app.codacy.com/project/badge/Coverage/83a28131bf6642ed9e439344122686fc"></a>
33
+ <img src="https://github.com/avendesora/djangobible/actions/workflows/tests.yml/badge.svg">
34
+ <img src="https://github.com/avendesora/djangobible/workflows/Django%20CI/badge.svg"><br/>
35
+ <a href="https://app.codacy.com/gh/avendesora/djangobible/coverage/dashboard"><img src="https://app.codacy.com/project/badge/Coverage/83a28131bf6642ed9e439344122686fc"></a>
35
36
  </td>
36
37
  </tr>
37
38
  <tr>
@@ -47,7 +48,8 @@ The djangobible library is a Django app that wraps the [pythonbible](https://git
47
48
  <td>Supported Python/Django Versions</td>
48
49
  <td>
49
50
  <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue?logo=python&logoColor=lightgray"></a><br />
50
- <a href="https://www.djangoproject.com/download/"><img src="https://img.shields.io/badge/Django-3.2%20%7C%204.1%20%7C%204.2-blue"></a>
51
+ <a href="https://www.djangoproject.com/download/"><img src="https://img.shields.io/badge/Django-4.2%20%7C%205.0%20%7C%205.1alpha-blue"></a><br />
52
+ Attempted to test with Python 3.13, but the testing framework has a dependency that has not yet been updated to work with Python 3.13.
51
53
  </td>
52
54
  </tr>
53
55
  </table>
@@ -17,8 +17,9 @@ The djangobible library is a Django app that wraps the [pythonbible](https://git
17
17
  <tr>
18
18
  <td>Tests</td>
19
19
  <td>
20
- <img src="https://github.com/avendesora/djangobible/workflows/Django%20CI/badge.svg">
21
- <a href="https://www.codacy.com/gh/avendesora/djangobible/dashboard?utm_source=github.com&utm_medium=referral&utm_content=avendesora/djangobible&utm_campaign=Badge_Coverage"><img src="https://app.codacy.com/project/badge/Coverage/83a28131bf6642ed9e439344122686fc"></a>
20
+ <img src="https://github.com/avendesora/djangobible/actions/workflows/tests.yml/badge.svg">
21
+ <img src="https://github.com/avendesora/djangobible/workflows/Django%20CI/badge.svg"><br/>
22
+ <a href="https://app.codacy.com/gh/avendesora/djangobible/coverage/dashboard"><img src="https://app.codacy.com/project/badge/Coverage/83a28131bf6642ed9e439344122686fc"></a>
22
23
  </td>
23
24
  </tr>
24
25
  <tr>
@@ -34,7 +35,8 @@ The djangobible library is a Django app that wraps the [pythonbible](https://git
34
35
  <td>Supported Python/Django Versions</td>
35
36
  <td>
36
37
  <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue?logo=python&logoColor=lightgray"></a><br />
37
- <a href="https://www.djangoproject.com/download/"><img src="https://img.shields.io/badge/Django-3.2%20%7C%204.1%20%7C%204.2-blue"></a>
38
+ <a href="https://www.djangoproject.com/download/"><img src="https://img.shields.io/badge/Django-4.2%20%7C%205.0%20%7C%205.1alpha-blue"></a><br />
39
+ Attempted to test with Python 3.13, but the testing framework has a dependency that has not yet been updated to work with Python 3.13.
38
40
  </td>
39
41
  </tr>
40
42
  </table>
@@ -7,6 +7,6 @@ search accordingly.
7
7
 
8
8
  from __future__ import annotations
9
9
 
10
- __version__ = "0.2.0"
10
+ __version__ = "0.2.1"
11
11
 
12
12
  from pythonbible import *
@@ -0,0 +1,31 @@
1
+ """Nox sessions."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import nox
6
+
7
+
8
+ # TODO - add "3.13" to python versions once greenlet is updated
9
+ @nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
10
+ @nox.parametrize("django", ["4.2"])
11
+ def tests(session: nox.Session, django: str) -> None:
12
+ """Run the test suite."""
13
+ _run_all_tests_for_environment(session, django)
14
+ session.notify("tests_django_5")
15
+
16
+
17
+ # TODO - add "3.13" to python versions once greenlet is updated
18
+ @nox.session(python=["3.10", "3.11", "3.12"])
19
+ @nox.parametrize("django", ["5.0", "5.1a1"])
20
+ def tests_django_5(session: nox.Session, django: str) -> None:
21
+ """Run the test suite for Django 5.0+ (Python 3.10+)."""
22
+ _run_all_tests_for_environment(session, django)
23
+
24
+
25
+ def _run_all_tests_for_environment(session: nox.Session, django: str) -> None:
26
+ session.install(f"django~={django}")
27
+ session.install("pythonbible")
28
+ session.install("factory-boy")
29
+ session.install("playwright")
30
+ session.run("playwright", "install")
31
+ session.run("python", "manage.py", "test")
@@ -11,8 +11,8 @@ classifiers = ["License :: OSI Approved :: MIT License"]
11
11
  description-file = "README.md"
12
12
  requires-python = ">=3.8"
13
13
  requires = [
14
- "Django>=3.2.0",
15
- "pythonbible==0.12.0",
14
+ "Django>=4.2.0",
15
+ "pythonbible==0.13.1",
16
16
  ]
17
17
 
18
18
  [tool.isort]
@@ -0,0 +1,2 @@
1
+ Django>=4.2,<5.1
2
+ pythonbible==0.13.1
@@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/3.1/topics/settings/
9
9
  For the full list of settings and their values, see
10
10
  https://docs.djangoproject.com/en/3.1/ref/settings/
11
11
  """
12
+
12
13
  from __future__ import annotations
13
14
 
14
15
  from pathlib import Path
@@ -1,31 +0,0 @@
1
- name: Tests
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
8
-
9
- jobs:
10
- tests:
11
- runs-on: ${{ matrix.os }}
12
- strategy:
13
- matrix:
14
- os:
15
- [
16
- ubuntu-20.04,
17
- ubuntu-22.04,
18
- windows-2019,
19
- windows-2022,
20
- macos-11,
21
- macos-12,
22
- macos-13,
23
- ]
24
- steps:
25
- - uses: actions/checkout@v3
26
- - uses: wntrblm/nox@2022.8.7
27
- with:
28
- python-versions: "3.8, 3.9, 3.10, 3.11, 3.12"
29
- - name: Test with NOX
30
- run: |
31
- nox --session tests
@@ -1,29 +0,0 @@
1
- """Nox sessions."""
2
-
3
- from __future__ import annotations
4
-
5
- import nox
6
-
7
-
8
- @nox.session(python=["3.8", "3.9", "3.10", "3.11"])
9
- @nox.parametrize("django", ["3.2", "4.1", "4.2"])
10
- def tests(session: nox.Session, django: str) -> None:
11
- """Run the test suite."""
12
- session.install(f"django~={django}")
13
- session.install("pythonbible")
14
- session.install("factory-boy")
15
- session.install("playwright")
16
- session.run("playwright", "install")
17
- session.run("python", "manage.py", "test")
18
- session.notify("tests_python_3_12")
19
-
20
-
21
- @nox.session(python=["3.12"])
22
- @nox.parametrize("django", ["3.2", "4.1", "4.2"])
23
- def tests_python_3_12(session: nox.Session, django: str) -> None:
24
- """Run the test suite for Python 3.12."""
25
- # Playwright doesn't support Python 3.12 yet, so only run unit tests.
26
- session.install(f"django~={django}")
27
- session.install("pythonbible")
28
- session.install("factory-boy")
29
- session.run("python", "manage.py", "test", "test_django_app/tests/unit_tests")
@@ -1,2 +0,0 @@
1
- Django>=3.2.21,<5.0.0
2
- pythonbible==0.12.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes