Skip to content

Commit

Permalink
chore: update django compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
micurbanski committed Apr 5, 2023
1 parent 91ceb37 commit fc149db
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django>=2.0,<3.3
Django>=2.0,<4.3
kazoo==2.8.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os
from setuptools import setup


with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()

Expand All @@ -23,7 +22,7 @@ def get_packages(package):

setup(
name='django-kazoo-locks',
version='2.0.0',
version='2.0.1',
packages=get_packages('kazoo_locks'),
include_package_data=True,
description='Utils for using Zookeeper locks through kazoo in Django commands and views.',
Expand All @@ -46,5 +45,7 @@ def get_packages(package):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[tox]
envlist = django{20,21,22,30,31,32}
envlist =
py{36}-django{20,21,22,30,31,32}
py{38,310,311}-django{21,22,30,31,32,40,41,42}

skip_missing_interpreters = true

[testenv]
Expand All @@ -13,6 +16,9 @@ deps =
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
commands=
coverage run --rcfile={toxinidir}/.coveragerc {toxinidir}/setup.py test
coveralls --service=github

0 comments on commit fc149db

Please sign in to comment.