Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/8.1 #105

Merged
merged 8 commits into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
toxenv: py39-django32
- python: "3.10"
toxenv: py310-django32
- python: "pypy-3.9"
- python: "pypy-3.10"
toxenv: pypy3-django32

- python: "3.8"
Expand All @@ -34,7 +34,7 @@ jobs:
toxenv: py310-django41
- python: "3.11"
toxenv: py311-django41
- python: "pypy-3.9"
- python: "pypy-3.10"
toxenv: pypy3-django41

- python: "3.8"
Expand All @@ -45,8 +45,17 @@ jobs:
toxenv: py310-django42
- python: "3.11"
toxenv: py311-django42
- python: "pypy-3.9"
- python: "pypy-3.10"
toxenv: pypy3-django42

- python: "3.10"
toxenv: py310-django50
- python: "3.11"
toxenv: py311-django50
- python: "3.12"
toxenv: py312-django50
- python: "pypy-3.10"
toxenv: pypy3-django50
steps:
- uses: actions/checkout@v2
- name: Setup Python
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [8.1.0] - 2024-01-28
### Added
- Run tests for django 5.0 and python 3.12.

## [8.0.0] - 2023-06-14
### Added
- Run tests for django 4.2. PR [#100] from [@johnthagen](https://github.com/johnthagen).
Expand Down Expand Up @@ -89,7 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.4] - 2012-08-16
## [0.1.0] - 2012-08-14

[Unreleased]: https://github.com/un1t/django-cleanup/compare/8.0.0...HEAD
[Unreleased]: https://github.com/un1t/django-cleanup/compare/8.1.0...HEAD
[8.1.0]: https://github.com/un1t/django-cleanup/compare/8.0.0...8.1.0
[8.0.0]: https://github.com/un1t/django-cleanup/compare/7.0.0...8.0.0
[7.0.0]: https://github.com/un1t/django-cleanup/compare/6.0.0...7.0.0
[6.0.0]: https://github.com/un1t/django-cleanup/compare/5.2.0...6.0.0
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ is set as the :code:`FileField`'s default value will not be deleted.

Compatibility
-------------
- Django 3.2, 4.1, 4.2 (`See Django Supported Versions <https://www.djangoproject.com/download/#supported-versions>`_)
- Django 3.2, 4.1, 4.2, 5.0 (`See Django Supported Versions <https://www.djangoproject.com/download/#supported-versions>`_)
- Python 3.6+
- Compatible with `sorl-thumbnail <https://github.com/jazzband/sorl-thumbnail>`_
- Compatible with `easy-thumbnail <https://github.com/SmileyChris/easy-thumbnails>`_
Expand Down Expand Up @@ -164,9 +164,9 @@ Install, setup and use pyenv_ to install all the required versions of cPython
(see the `tox.ini <https://github.com/un1t/django-cleanup/blob/master/tox.ini>`_).

Setup pyenv_ to have all versions of python activated within your local django-cleanup repository.
Ensuring that the python 3.11 that was installed is first priority.
Ensuring that the python 3.12 that was installed is first priority.

Install tox_ on python 3.11 and run the :code:`tox` command from your local django-cleanup
Install tox_ on python 3.12 and run the :code:`tox` command from your local django-cleanup
repository.

How to write tests
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def find_version(*parts):
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand All @@ -61,6 +62,7 @@ def find_version(*parts):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
Expand Down
2 changes: 1 addition & 1 deletion src/django_cleanup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
will delete files on model instance deletion.
'''

__version__ = '8.0.0'
__version__ = '8.1.0'
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
[tox]
envlist =
py{36,37,38,39,310,py3}-django32
py{38,39,310,311,py3}-django{41,42,main}
py{38,39,310,311,py3}-django{41,42}
py{312}-django42
py{310,311,312,py3}-django{50,main}
[testenv]
deps =
djangomain: https://github.com/django/django/tarball/main
# January 2024 - April 2025
django50: django<5.1
# LTS April 2023 - April 2026
django42: django<4.3
# August 2022 - December 2023
Expand Down
Loading