Skip to content

Commit

Permalink
Merge pull request #3 from anexia-it/dependencyUpdates
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
nezhar authored Feb 11, 2024
2 parents 6a02078 + 55025e7 commit 17d217e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 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
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,27 @@ def local_scheme(version):

setup(
name='django-db-logger',
version='0.1.12',
version='0.2.1',
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 17d217e

Please sign in to comment.