Skip to content

Commit

Permalink
Update minimum requirements django 3.2 and min python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
anx-abruckner committed Feb 8, 2024
1 parent 6a02078 commit 26811d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/db-logger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['2.7', '3.6', '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']
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
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
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,25 @@ def local_scheme(version):
name='django-db-logger',
version='0.1.12',
use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
setup_requires=['setuptools_scm'],
setup_requires=['setuptools_scm==7.1.0'],
packages=['django_db_logger', 'django_db_logger.migrations'],
include_package_data=True,
license='MIT License',
description='Django logging in database',
long_description=README,
long_description_content_type="text/markdown",
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 :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP',
Expand Down

0 comments on commit 26811d6

Please sign in to comment.