From eaf7465230b64e869cf4bb9d3c224cd84c225e5e Mon Sep 17 00:00:00 2001 From: Harald Nezbeda Date: Sun, 6 Jun 2021 09:51:39 +0200 Subject: [PATCH] Adds compatibility for django 3.2 --- .github/workflows/test.yml | 6 ++++-- CHANGELOG.md | 24 +++++++++++++++--------- README.md | 11 +++++++++++ anexia_monitoring/apps.py | 6 ------ 4 files changed, 30 insertions(+), 17 deletions(-) delete mode 100644 anexia_monitoring/apps.py diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ebb0827..436ed7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,13 +6,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.5', '3.6', '3.7', '3.8'] - django-version: ['2.2', '3.0', '3.1'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9'] + django-version: ['2.2', '3.1', '3.2'] exclude: - python-version: '3.5' django-version: '3.0' - python-version: '3.5' django-version: '3.1' + - python-version: '3.5' + django-version: '3.2' steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1af3051..1068d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,39 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.3.0 - Unreleased] ### Added - Created CHANGELOG +- Compatibility matrix +- Support for Python 3.9 +- Support for Django 3.2 ### Changed - Enhanced README with GitHub shields (badges) +### Removed +- Support for Django 3.0 + ## [1.2.0] ### Added - New setting: ANX_MONITORING_TEST_QUERY_USERS (Default: True) - New setting: ANX_MONITORING_TEST_DB_CONNECTIONS (Default: True) -- Added support for Python 3.7 -- Added support for Python 3.8 -- Added test project -- Added GitHub workflow action to run tests +- Support for Python 3.7 +- Support for Python 3.8 +- Test project +- GitHub workflow action to run tests ### Changed - Pinned dependency `updatable` to a version >= 0.4.1 and < 0.5 - Converted README from RST to MD ### Fixed -- Fixed README file name in setup +- README file name in setup ### Removed -- Dropped support for Python 3.4 +- Support for Python 3.4 ## [1.1.1] ### Changed - Pinned dependency `updatable` to a version >= 0.3 and < 0.4 ### Removed -- Dropped support for Python 2.6 -- Dropped support for Python 3.3 +- Support for Python 2.6 +- Support for Python 3.3 ### Fixed -- Fixed removing previous builds in setup +- Removing previous builds in setup ## [1.1.0] ### Added diff --git a/README.md b/README.md index 1633e6a..a18ba1f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,17 @@ A Django app used to monitor updates for Django and all installed python packages in the running environment. It can be also used to check if the website is alive and working correctly. +Django Compatibility Matrix +--------------------------- + +If your project uses an older verison of Django, you can choose an older version of this project. + +| This Project | Python Version | Django Version | +|--------------|----------------|----------------| +| 1.3.* | 3.5 - 3.9 | 2.2, 3.1, 3.2 | +| 1.2.* | 3.5 - 3.8 | 2.2, 3.0, 3.1 | +| 1.1.* | 2.7, 3.4, 3.5 | 1.8, 1.11 | + Installation and configuration ------------------------------ diff --git a/anexia_monitoring/apps.py b/anexia_monitoring/apps.py deleted file mode 100644 index b1377c9..0000000 --- a/anexia_monitoring/apps.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -from django.apps import AppConfig - - -class AnxMonitorConfig(AppConfig): - name = 'anx_monitor'