Skip to content
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
28 changes: 8 additions & 20 deletions .github/workflows/db-logger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
django-version: ['1.9', '1.10', '1.11.17', '2.0', '2.2', '3.1', '3.2']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.2', '5.0']
exclude:
- django-version: '2.0'
python-version: '2.7'
- django-version: '2.2'
python-version: '2.7'
- django-version: '3.1'
python-version: '2.7'
- django-version: '3.2'
python-version: '2.7'
- django-version: '1.9'
- django-version: '5.0'
python-version: '3.8'
- django-version: '1.10'
python-version: '3.8'
- django-version: '1.9'
python-version: '3.9'
- django-version: '1.10'
- django-version: '5.0'
python-version: '3.9'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade Pip
run: pip install -U pip
- name: Install six
run: pip install six
- name: Install six and setuptools
run: pip install six setuptools
- name: Install Django
run: pip install Django==${{ matrix.django-version }}
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
environment: Pypi

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# fetch with tags https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
TestPypi: yes

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# fetch with tags https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Screenshot

Dependency
----------
* Django>=1.9
* Python 2.7+/3.6+
* Django>=3.2
* Python 3.8+

License
-------
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,20 @@ def local_scheme(version):
url='https://github.com/CiCiUi/django-db-logger',
author='zhangshine',
author_email='zhangshine0125@gmail.com',
install_requires=['django>=1.9', 'six'],
install_requires=['django>=3.2', 'six'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
Expand Down