diff --git a/poetry.lock b/poetry.lock index 36d2cda..531d694 100644 --- a/poetry.lock +++ b/poetry.lock @@ -36,6 +36,9 @@ files = [ {file = "asgiref-3.8.1.tar.gz", hash = "sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590"}, ] +[package.dependencies] +typing-extensions = {version = ">=4", markers = "python_version < \"3.11\""} + [package.extras] tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] @@ -50,6 +53,9 @@ files = [ {file = "astroid-3.3.5.tar.gz", hash = "sha256:5cfc40ae9f68311075d27ef68a4841bdc5cc7f6cf86671b49f00607d30188e2d"}, ] +[package.dependencies] +typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.11\""} + [[package]] name = "babel" version = "2.16.0" @@ -80,6 +86,7 @@ colorama = {version = ">=0.3.9", markers = "platform_system == \"Windows\""} PyYAML = ">=5.3.1" rich = "*" stevedore = ">=1.20.0" +tomli = {version = ">=1.1.0", optional = true, markers = "python_version < \"3.11\" and extra == \"toml\""} [package.extras] baseline = ["GitPython (>=3.1.30)"] @@ -125,6 +132,8 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -404,6 +413,9 @@ files = [ {file = "coverage-7.6.1.tar.gz", hash = "sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d"}, ] +[package.dependencies] +tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} + [package.extras] toml = ["tomli"] @@ -444,6 +456,26 @@ files = [ {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"}, ] +[[package]] +name = "django" +version = "4.2.16" +description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." +optional = false +python-versions = ">=3.8" +files = [ + {file = "Django-4.2.16-py3-none-any.whl", hash = "sha256:1ddc333a16fc139fd253035a1606bb24261951bbc3a6ca256717fa06cc41a898"}, + {file = "Django-4.2.16.tar.gz", hash = "sha256:6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad"}, +] + +[package.dependencies] +asgiref = ">=3.6.0,<4" +sqlparse = ">=0.3.1" +tzdata = {version = "*", markers = "sys_platform == \"win32\""} + +[package.extras] +argon2 = ["argon2-cffi (>=19.1.0)"] +bcrypt = ["bcrypt"] + [[package]] name = "django" version = "5.1.1" @@ -508,6 +540,7 @@ files = [ asgiref = "*" django = "*" django-stubs-ext = ">=5.1.0" +tomli = {version = "*", markers = "python_version < \"3.11\""} types-PyYAML = "*" typing-extensions = ">=4.11.0" @@ -560,6 +593,20 @@ files = [ {file = "docutils-0.20.1.tar.gz", hash = "sha256:f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"}, ] +[[package]] +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "filelock" version = "3.16.1" @@ -829,6 +876,7 @@ files = [ [package.dependencies] mypy-extensions = ">=1.0.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} typing-extensions = ">=4.6.0" [package.extras] @@ -983,10 +1031,15 @@ files = [ [package.dependencies] astroid = ">=3.3.4,<=3.4.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} -dill = {version = ">=0.3.7", markers = "python_version >= \"3.12\""} +dill = [ + {version = ">=0.2", markers = "python_version < \"3.11\""}, + {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, + {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, +] isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} tomlkit = ">=0.10.1" [package.extras] @@ -1038,6 +1091,7 @@ files = [ [package.dependencies] packaging = ">=24.1" +tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} [package.extras] docs = ["furo (>=2024.8.6)", "sphinx-autodoc-typehints (>=2.4.1)"] @@ -1056,9 +1110,11 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=1.5,<2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -1115,13 +1171,13 @@ six = ">=1.5" [[package]] name = "python-sage-imap" -version = "0.4.6" +version = "0.4.8" description = "A Python package for managing IMAP connections and email operations." optional = false -python-versions = "<4.0,>=3.11" +python-versions = "<4.0,>=3.10" files = [ - {file = "python_sage_imap-0.4.6-py3-none-any.whl", hash = "sha256:e1712d14e22e217044342c48ffa818661e6b21043cc0b9762eb4e8d8f7ef5309"}, - {file = "python_sage_imap-0.4.6.tar.gz", hash = "sha256:0e6f6b3f0ff192889491f555c31395e20b4b1cf6868dd85d236f7f5c5a350e13"}, + {file = "python_sage_imap-0.4.8-py3-none-any.whl", hash = "sha256:4e7c74900b6c71573773951a2f7a0169ac178ff58261b0b1aa8292efe8bdb456"}, + {file = "python_sage_imap-0.4.8.tar.gz", hash = "sha256:2da694c00ada762d729de45f2ec9ec8d08e5218489dcca35e3a182d21f2038c1"}, ] [package.dependencies] @@ -1238,6 +1294,7 @@ files = [ [package.dependencies] markdown-it-py = ">=2.2.0" pygments = ">=2.13.0,<3.0.0" +typing-extensions = {version = ">=4.0.0,<5.0", markers = "python_version < \"3.11\""} [package.extras] jupyter = ["ipywidgets (>=7.5.1,<9)"] @@ -1292,6 +1349,7 @@ sphinxcontrib-htmlhelp = ">=2.0.0" sphinxcontrib-jsmath = "*" sphinxcontrib-qthelp = "*" sphinxcontrib-serializinghtml = ">=1.1.9" +tomli = {version = ">=2", markers = "python_version < \"3.11\""} [package.extras] docs = ["sphinxcontrib-websupport"] @@ -1468,6 +1526,17 @@ files = [ [package.extras] tests = ["pytest", "pytest-cov"] +[[package]] +name = "tomli" +version = "2.0.2" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.8" +files = [ + {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"}, + {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"}, +] + [[package]] name = "tomlkit" version = "0.13.2" @@ -1499,6 +1568,8 @@ packaging = ">=24.1" platformdirs = ">=4.3.6" pluggy = ">=1.5" pyproject-api = ">=1.8" +tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.12.2", markers = "python_version < \"3.11\""} virtualenv = ">=20.26.6" [package.extras] @@ -1598,5 +1669,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.12" -content-hash = "1b06c3cf4e403f41dedf4b57a0b00eaafffb1bd9bd18a6e23d936f04390964e6" +python-versions = ">=3.10,<4.0" +content-hash = "7973880667f70770cb2cece69517aa02c3f01009d53181e3ee600c98421cadf6" diff --git a/pyproject.toml b/pyproject.toml index 60135a5..eaad3ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = [ "poetry-core>=1" ] [tool.poetry] name = "django-sage-mailbox" -version = "0.2.1" +version = "0.2.2" description = "A Django package for mailbox client integration." authors = [ "Sepehr Akbarzadeh " ] readme = "README.md" @@ -29,16 +29,16 @@ packages = [ "Issues" = "https://github.com/sageteamorg/django-sage-mailbox/issues" [tool.poetry.dependencies] -python = ">=3.9,<4.0" +python = ">=3.10,<4.0" django = [ - { version = ">=4.2,<5.0", python = ">=3.8,<3.10" }, + { version = ">=4.2,<5.0", python = "3.10" }, { version = ">=4.2,<5.3", python = ">=3.10" }, # Django 4.2 and 5.x for Python 3.10+ ] -python-sage-imap = "^0.4.2" django-jsonform = "^2.22.0" python-dateutil = "^2.9.0.post0" django-autoslug = "^1.9.9" bandit = { extras = [ "toml" ], version = "^1.7.9" } +python-sage-imap = "^0.4.8" [tool.poetry.group.dev.dependencies] black = "^24.4.2"