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.
- {djangobible-0.2.0 → djangobible-0.2.1}/.coveragerc +1 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/.github/workflows/codeql-analysis.yml +3 -3
- {djangobible-0.2.0 → djangobible-0.2.1}/.github/workflows/django.yml +1 -1
- djangobible-0.2.1/.github/workflows/tests.yml +27 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/.pre-commit-config.yaml +4 -4
- {djangobible-0.2.0 → djangobible-0.2.1}/CHANGELOG.md +20 -2
- {djangobible-0.2.0 → djangobible-0.2.1}/PKG-INFO +8 -6
- {djangobible-0.2.0 → djangobible-0.2.1}/README.md +5 -3
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/__init__.py +1 -1
- djangobible-0.2.1/noxfile.py +31 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/pyproject.toml +2 -2
- djangobible-0.2.1/requirements.txt +2 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/settings.py +1 -0
- djangobible-0.2.0/.github/workflows/tests.yml +0 -31
- djangobible-0.2.0/noxfile.py +0 -29
- djangobible-0.2.0/requirements.txt +0 -2
- {djangobible-0.2.0 → djangobible-0.2.1}/.github/dependabot.yml +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/.gitignore +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/.sourcery.yaml +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/CODE_OF_CONDUCT.md +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/CONTRIBUTING.md +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/LICENSE +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/apps.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/fields.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/migrations/0001_initial.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/migrations/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/models.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/templatetags/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/templatetags/verse_tags.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/djangobible/validators.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/manage.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/requirements-dev.txt +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/requirements-test.txt +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/setup.cfg +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/admin.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/apps.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0001_initial.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0002_testsingleverseobject.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0003_alter_testsingleverseobject_verse.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/models.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/templates/verse_tags.html +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/factories.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/test_admin.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/test_tags_functional.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_models.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_search.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_tags.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/unit_tests/test_validators.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/views.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/__init__.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/asgi.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/urls.py +0 -0
- {djangobible-0.2.0 → djangobible-0.2.1}/test_django_project/wsgi.py +0 -0
|
@@ -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@
|
|
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@
|
|
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@
|
|
62
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -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.
|
|
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:
|
|
12
|
+
rev: 24.4.2
|
|
13
13
|
hooks:
|
|
14
14
|
- id: black
|
|
15
15
|
- repo: https://github.com/pycqa/isort
|
|
16
|
-
rev: 5.
|
|
16
|
+
rev: 5.13.2
|
|
17
17
|
hooks:
|
|
18
18
|
- id: isort
|
|
19
19
|
- repo: https://github.com/pycqa/flake8
|
|
20
|
-
rev:
|
|
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.
|
|
42
|
-
[0.2.
|
|
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.
|
|
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>=
|
|
12
|
-
Requires-Dist: pythonbible==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/
|
|
34
|
-
<
|
|
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-
|
|
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/
|
|
21
|
-
<
|
|
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-
|
|
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>
|
|
@@ -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")
|
|
@@ -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
|
djangobible-0.2.0/noxfile.py
DELETED
|
@@ -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")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/migrations/0002_testsingleverseobject.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{djangobible-0.2.0 → djangobible-0.2.1}/test_django_app/tests/functional_tests/test_admin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|