Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Jun 14, 2024
1 parent 65e8b24 commit 7ecc15e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .ambient-package-update/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
SUPPORTED_DJANGO_VERSIONS,
SUPPORTED_PYTHON_VERSIONS,
)
from ambient_package_update.metadata.maintainer import PackageMaintainer
from ambient_package_update.metadata.package import PackageMetadata
from ambient_package_update.metadata.readme import ReadmeContent

METADATA = PackageMetadata(
package_name="django_migration_zero",
module_name="django_migration_zero",
authors=[
PackageAuthor(
name="Ambient Digital",
email="[email protected]",
),
],
maintainer=PackageMaintainer(name="Ambient Digital", url="https://ambient.digital/", email="[email protected]"),
company="Ambient Innovation: GmbH",
license=LICENSE_MIT,
license_year=2023,
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ jobs:
django-version: ['42', '50', ]

exclude:
- python-version: '3.12'
django-version: 32
- python-version: '3.11'
django-version: 32
- python-version: '3.10'
django-version: 32
- python-version: '3.8'
django-version: 50
- python-version: '3.9'
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
rev: v0.4.8
hooks:
# Run the Ruff linter.
- id: ruff
Expand All @@ -12,14 +12,14 @@ repos:
- id: ruff-format

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.16.0
hooks:
- id: pyupgrade
args: [ --py38-plus ]
stages: [ push ]

- repo: https://github.com/adamchainz/django-upgrade
rev: 1.16.0
rev: 1.18.0
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

* *2.0.1* (2024-06-14)
* Internal updates via `ambient-package-update`

* *2.0.0* (2024-04-11)
* Dropped Django 3.2 & 4.1 support (via `ambient-package-update`)
* Internal updates via `ambient-package-update`
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ management commands to recreate your migration files and updating your migration
* [PyPI](https://pypi.org/project/django-migration-zero/)
* [GitHub](https://github.com/ambient-innovation/django-migration-zero)
* [Full documentation](https://django-migration-zero.readthedocs.io/en/latest/index.html)
* Creator & Maintainer: [Ambient Digital](https://ambient.digital)
* Creator & Maintainer: [Ambient Digital](https://ambient.digital/)

## Features

Expand Down Expand Up @@ -144,6 +144,7 @@ Example: run all hooks of pre-push stage
- To build the documentation run: `sphinx-build docs/ docs/_build/html/`.
- Open `docs/_build/html/index.html` to see the documentation.


### Translation files

If you have added custom text, make sure to wrap it in `_()` where `_` is
Expand All @@ -161,6 +162,7 @@ How to compile translation files:
* `python manage.py compilemessages`
* Have a look at the new/changed files within `django_migration_zero/locale`


### Publish to ReadTheDocs.io

- Fetch the latest changes in GitHub mirror and push them
Expand Down
2 changes: 1 addition & 1 deletion django_migration_zero/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Holistic implementation of "migration zero" pattern for Django covering local changes and in-production database adjustments.
"""

__version__ = "2.0.0"
__version__ = "2.0.1"
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

project = "django-migration-zero"
copyright = "2024, Ambient Innovation: GmbH" # noqa: A001
author = "Ambient Innovation: GmbH <[email protected]>"
author = "Ambient Digital <[email protected]>"
version = __version__
release = __version__

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dev = [
'm2r2==0.3.3.post2',
'mistune<2.0.0',
'flit~=3.9',
'ambient-package-update~=24.4.4',
'ambient-package-update~=24.6.1',
'unittest-parametrize~=1.3',
]

Expand Down

0 comments on commit 7ecc15e

Please sign in to comment.