Skip to content

Commit

Permalink
Merge pull request #38 from anexia-it/dependencyUpdates-pr
Browse files Browse the repository at this point in the history
Update minimum requirements django 3.2 and min python 3.8
  • Loading branch information
Natgho authored Feb 12, 2024
2 parents 50efb4d + 5347ded commit b74af50
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 28 deletions.
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='[email protected]',
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

0 comments on commit b74af50

Please sign in to comment.