Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Dec 4, 2023
1 parent 604a6af commit d32fb0a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:

- name: Run pre-commit hooks
run: pre-commit run --all-files --hook-stage push



tests:
Expand All @@ -29,7 +28,7 @@ jobs:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', ]
django-version: ['32', '41', '42', ]
django-version: ['32', '41', '42', '50', ]

exclude:
- python-version: '3.12'
Expand All @@ -38,6 +37,10 @@ jobs:
django-version: 32
- python-version: '3.10'
django-version: 32
- python-version: '3.8'
django-version: 50
- python-version: '3.9'
django-version: 50

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -79,4 +82,4 @@ jobs:
- name: Combine coverage and fail if it's <100%
run: |
python -m coverage html --skip-covered --skip-empty
python -m coverage report --fail-under=100
python -m coverage report --fail-under=100.0
2 changes: 1 addition & 1 deletion .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.1.3
rev: v0.1.6
hooks:
# Run the Ruff linter.
- id: ruff
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

* *1.3.0** (2023-12-04)
* Added Django 5.0 support

* *1.2.5** (2023-11-13)
* Fixed wrong import path in docs

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![PyPI release](https://img.shields.io/pypi/v/django-pony-express.svg)](https://pypi.org/project/django-pony-express/)
[![Downloads](https://static.pepy.tech/badge/django-pony-express)](https://pepy.tech/project/django-pony-express)
[![Coverage](https://img.shields.io/badge/Coverage-100%25-success)](https://github.com/ambient-innovation/django-pony-express/actions?workflow=CI)
[![Coverage](https://img.shields.io/badge/Coverage-100.0%25-success)](https://github.com/ambient-innovation/django-pony-express/actions?workflow=CI)
[![Linting](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Coding Style](https://img.shields.io/badge/code%20style-Ruff-000000.svg)](https://github.com/astral-sh/ruff)
[![Documentation Status](https://readthedocs.org/projects/django-pony-express/badge/?version=latest)](https://django-pony-express.readthedocs.io/en/latest/?badge=latest)
Expand Down Expand Up @@ -66,7 +66,7 @@ Ingenious, right?
### Setup package for development

- Create a Python virtualenv and activate it
- Install "pip-tools" with `pip install pip-tools`
- Install "pip-tools" with `pip install -U pip-tools`
- Compile the requirements with `pip-compile --extra dev, -o requirements.txt pyproject.toml --resolver=backtracking`
- Sync the dependencies with your virtualenv with `pip-sync`

Expand Down
2 changes: 1 addition & 1 deletion django_pony_express/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Class-based emails including a test suite for Django"""

__version__ = "1.2.5"
__version__ = "1.3.0"
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Natural Language :: English",
Expand All @@ -38,6 +39,7 @@ dependencies = [

[project.optional-dependencies]
dev = [
'typer~=0.9',
'freezegun~=1.2',
'pytest-django~=4.5',
'pytest-mock~=3.10',
Expand All @@ -48,7 +50,7 @@ dev = [
'sphinx-rtd-theme==1.0.0',
'm2r2==0.3.1',
'mistune<2.0.0',
'ambient-package-update~=23.10.7',
'ambient-package-update~=23.12.2',
]

[tool.flit.module]
Expand All @@ -72,6 +74,7 @@ select = [
"A", # flake8-builtins
"DTZ", # flake8-datetimez
"DJ", # flake8-django
"TD", # flake8-to-do
"RUF100", # Removes unnecessary "#noqa" comments
"YTT", # Avoid non-future-prove usages of "sys"
# "FBT", # Protects you from the "boolean trap bug"
Expand Down Expand Up @@ -101,6 +104,7 @@ fixable = [
"A", # flake8-builtins
"DTZ", # flake8-datetimez
"DJ", # flake8-django
"TD", # flake8-to-do
"RUF100", # Removes unnecessary "#noqa" comments
"YTT", # Avoid non-future-prove usages of "sys"
# "FBT", # Protects you from the "boolean trap bug"
Expand Down Expand Up @@ -172,6 +176,7 @@ deps =
django32: Django==3.2.*
django41: Django==4.1.*
django42: Django==4.2.*
django50: Django==5.0.*
extras = dev,
commands =
coverage run -m pytest --ds settings tests
Expand Down

0 comments on commit d32fb0a

Please sign in to comment.