django-migration-zero 2.3.4__tar.gz → 2.3.5__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.
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.github/workflows/ci.yml +4 -3
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.pre-commit-config.yaml +17 -6
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/CHANGES.md +6 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/PKG-INFO +10 -9
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/README.md +1 -1
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/__init__.py +1 -1
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/pyproject.toml +9 -7
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/unix/publish_to_pypi.sh +1 -1
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/windows/publish_to_pypi.ps1 +1 -1
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.ambient-package-update/metadata.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.ambient-package-update/templates/snippets/content.tpl +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.ambient-package-update/templates/snippets/installation.tpl +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.ambient-package-update/templates/snippets/tagline.tpl +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.editorconfig +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.gitignore +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.readthedocs.yaml +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/LICENSE.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/MANIFEST.in +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/SECURITY.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/admin.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/apps.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/exceptions.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/helpers/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/helpers/file_system.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/helpers/logger.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/locale/de/LC_MESSAGES/django.mo +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/locale/de/LC_MESSAGES/django.po +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/management/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/management/commands/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/management/commands/handle_migration_zero_reset.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/management/commands/reset_local_migration_files.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/managers.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/migrations/0001_initial.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/migrations/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/models.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/services/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/services/deployment.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/services/local.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/Makefile +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/conf.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/01_introduction.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/02_configuration.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/03_workflow.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/04_common_issues_and_solutions.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/05_architecture.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/06_management_commands.md +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/07_changelog.rst +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/index.rst +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/make.bat +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/manage.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/unix/install_requirements.sh +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/windows/install_requirements.ps1 +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/settings.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/testapp/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/testapp/nested_app/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/testapp/nested_app/migrations/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/testapp/urls.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/helpers/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/helpers/test_file_system.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/helpers/test_logger.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/management/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/management/commands/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/management/commands/test_handle_migration_zero_reset.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/management/commands/test_reset_local_migration_files.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/services/__init__.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/services/test_deployment.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/services/test_local.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/test_admin.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/test_managers.py +0 -0
- {django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/test_models.py +0 -0
|
@@ -2,7 +2,8 @@ name: Unit tests
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
6
7
|
pull_request:
|
|
7
8
|
|
|
8
9
|
jobs:
|
|
@@ -21,7 +22,7 @@ jobs:
|
|
|
21
22
|
|
|
22
23
|
- name: Run pre-commit hooks
|
|
23
24
|
run: pre-commit run --all-files --hook-stage push
|
|
24
|
-
|
|
25
|
+
|
|
25
26
|
validate_migrations:
|
|
26
27
|
name: Validate migrations
|
|
27
28
|
runs-on: ubuntu-22.04
|
|
@@ -43,7 +44,7 @@ jobs:
|
|
|
43
44
|
runs-on: ubuntu-22.04
|
|
44
45
|
strategy:
|
|
45
46
|
matrix:
|
|
46
|
-
python-version: ['3.9', '3.10', '3.11', '3.12', ]
|
|
47
|
+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', ]
|
|
47
48
|
django-version: ['42', '50', '51', ]
|
|
48
49
|
|
|
49
50
|
exclude:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
6
|
-
rev: v0.6.
|
|
6
|
+
rev: v0.6.9
|
|
7
7
|
hooks:
|
|
8
8
|
# Run the Ruff linter.
|
|
9
9
|
- id: ruff
|
|
@@ -12,7 +12,7 @@ repos:
|
|
|
12
12
|
- id: ruff-format
|
|
13
13
|
|
|
14
14
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
15
|
-
rev: 1.
|
|
15
|
+
rev: 1.19.0
|
|
16
16
|
hooks:
|
|
17
17
|
- id: blacken-docs
|
|
18
18
|
additional_dependencies:
|
|
@@ -20,15 +20,26 @@ repos:
|
|
|
20
20
|
files: '(?:README\.md|docs\/.*\.(?:md|rst))'
|
|
21
21
|
|
|
22
22
|
- repo: https://github.com/asottile/pyupgrade
|
|
23
|
-
rev: v3.
|
|
23
|
+
rev: v3.18.0
|
|
24
24
|
hooks:
|
|
25
25
|
- id: pyupgrade
|
|
26
26
|
args: [ --py39-plus ]
|
|
27
|
-
stages: [ push ]
|
|
27
|
+
stages: [ pre-push ]
|
|
28
28
|
|
|
29
29
|
- repo: https://github.com/adamchainz/django-upgrade
|
|
30
|
-
rev: 1.
|
|
30
|
+
rev: 1.22.1
|
|
31
31
|
hooks:
|
|
32
32
|
- id: django-upgrade
|
|
33
33
|
args: [--target-version, "4.2"]
|
|
34
|
-
stages: [ push ]
|
|
34
|
+
stages: [ pre-push ]
|
|
35
|
+
|
|
36
|
+
- repo: https://github.com/adamchainz/djade-pre-commit
|
|
37
|
+
rev: 1.3.0
|
|
38
|
+
hooks:
|
|
39
|
+
- id: djade
|
|
40
|
+
args: [--target-version, "4.2"]
|
|
41
|
+
exclude: |
|
|
42
|
+
(?x)^(
|
|
43
|
+
charts/.*
|
|
44
|
+
|.*\.py
|
|
45
|
+
)$
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: django-migration-zero
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.5
|
|
4
4
|
Summary: Holistic implementation of "migration zero" pattern for Django covering local changes and in-production database adjustments.
|
|
5
5
|
Author-email: Ambient Digital <hello@ambient.digital>
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,21 +20,22 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
24
|
Classifier: Topic :: Utilities
|
|
24
25
|
Requires-Dist: Django>=4.2
|
|
25
|
-
Requires-Dist: typer~=0.
|
|
26
|
-
Requires-Dist: freezegun~=1.
|
|
27
|
-
Requires-Dist: pytest-django~=4.
|
|
28
|
-
Requires-Dist: pytest-mock~=3.
|
|
26
|
+
Requires-Dist: typer~=0.12 ; extra == "dev"
|
|
27
|
+
Requires-Dist: freezegun~=1.5 ; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-django~=4.9 ; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-mock~=3.14 ; extra == "dev"
|
|
29
30
|
Requires-Dist: coverage~=7.6 ; extra == "dev"
|
|
30
|
-
Requires-Dist: pre-commit~=
|
|
31
|
-
Requires-Dist: ruff~=0.
|
|
31
|
+
Requires-Dist: pre-commit~=4.0 ; extra == "dev"
|
|
32
|
+
Requires-Dist: ruff~=0.6 ; extra == "dev"
|
|
32
33
|
Requires-Dist: sphinx~=7.1 ; extra == "dev"
|
|
33
34
|
Requires-Dist: sphinx-rtd-theme~=2.0 ; extra == "dev"
|
|
34
35
|
Requires-Dist: m2r2==0.3.3.post2 ; extra == "dev"
|
|
35
36
|
Requires-Dist: mistune<2.0.0 ; extra == "dev"
|
|
36
37
|
Requires-Dist: flit~=3.9 ; extra == "dev"
|
|
37
|
-
Requires-Dist: keyring~=25.
|
|
38
|
+
Requires-Dist: keyring~=25.4 ; extra == "dev"
|
|
38
39
|
Requires-Dist: ambient-package-update ; extra == "dev"
|
|
39
40
|
Requires-Dist: unittest-parametrize~=1.3 ; extra == "dev"
|
|
40
41
|
Project-URL: Bugtracker, https://github.com/ambient-innovation/django-migration-zero/issues
|
|
@@ -189,7 +190,7 @@ Example: run all hooks of pre-push stage
|
|
|
189
190
|
|
|
190
191
|
### Update documentation
|
|
191
192
|
|
|
192
|
-
- To build the documentation run: `sphinx-build docs/ docs/_build/html/`.
|
|
193
|
+
- To build the documentation, run: `sphinx-build docs/ docs/_build/html/`.
|
|
193
194
|
- Open `docs/_build/html/index.html` to see the documentation.
|
|
194
195
|
|
|
195
196
|
|
|
@@ -143,7 +143,7 @@ Example: run all hooks of pre-push stage
|
|
|
143
143
|
|
|
144
144
|
### Update documentation
|
|
145
145
|
|
|
146
|
-
- To build the documentation run: `sphinx-build docs/ docs/_build/html/`.
|
|
146
|
+
- To build the documentation, run: `sphinx-build docs/ docs/_build/html/`.
|
|
147
147
|
- Open `docs/_build/html/index.html` to see the documentation.
|
|
148
148
|
|
|
149
149
|
|
|
@@ -25,6 +25,7 @@ classifiers = [
|
|
|
25
25
|
"Programming Language :: Python :: 3.10",
|
|
26
26
|
"Programming Language :: Python :: 3.11",
|
|
27
27
|
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Programming Language :: Python :: 3.13",
|
|
28
29
|
"Topic :: Utilities",
|
|
29
30
|
]
|
|
30
31
|
dynamic = ["version", "description"]
|
|
@@ -36,19 +37,19 @@ dependencies = [
|
|
|
36
37
|
|
|
37
38
|
[project.optional-dependencies]
|
|
38
39
|
dev = [
|
|
39
|
-
'typer~=0.
|
|
40
|
-
'freezegun~=1.
|
|
41
|
-
'pytest-django~=4.
|
|
42
|
-
'pytest-mock~=3.
|
|
40
|
+
'typer~=0.12',
|
|
41
|
+
'freezegun~=1.5',
|
|
42
|
+
'pytest-django~=4.9',
|
|
43
|
+
'pytest-mock~=3.14',
|
|
43
44
|
'coverage~=7.6',
|
|
44
|
-
'pre-commit~=
|
|
45
|
-
'ruff~=0.
|
|
45
|
+
'pre-commit~=4.0',
|
|
46
|
+
'ruff~=0.6',
|
|
46
47
|
'sphinx~=7.1',
|
|
47
48
|
'sphinx-rtd-theme~=2.0',
|
|
48
49
|
'm2r2==0.3.3.post2',
|
|
49
50
|
'mistune<2.0.0',
|
|
50
51
|
'flit~=3.9',
|
|
51
|
-
'keyring~=25.
|
|
52
|
+
'keyring~=25.4',
|
|
52
53
|
'ambient-package-update',
|
|
53
54
|
'unittest-parametrize~=1.3',
|
|
54
55
|
]
|
|
@@ -189,6 +190,7 @@ python =
|
|
|
189
190
|
3.10: py310
|
|
190
191
|
3.11: py311
|
|
191
192
|
3.12: py312
|
|
193
|
+
3.13: py313
|
|
192
194
|
"""
|
|
193
195
|
|
|
194
196
|
[tool.pytest.ini_options]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
flit publish --repository testpypi
|
|
2
|
-
flit publish
|
|
2
|
+
flit publish
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/windows/publish_to_pypi.ps1
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
flit publish --repository testpypi
|
|
2
|
-
flit publish
|
|
2
|
+
flit publish
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/.ambient-package-update/metadata.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
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/helpers/logger.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/managers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/django_migration_zero/services/local.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/01_introduction.md
RENAMED
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/02_configuration.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/05_architecture.md
RENAMED
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/docs/features/06_management_commands.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/unix/install_requirements.sh
RENAMED
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/scripts/windows/install_requirements.ps1
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
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/helpers/test_file_system.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/management/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_migration_zero-2.3.4 → django_migration_zero-2.3.5}/tests/services/test_deployment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|