diff --git a/poetry.lock b/poetry.lock index 2c850c6..6255aac 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3,7 +3,7 @@ name = "anyio" version = "3.6.2" description = "High level compatibility layer for multiple asynchronous event loop implementations" category = "main" -optional = false +optional = true python-versions = ">=3.6.2" [package.dependencies] @@ -42,7 +42,7 @@ name = "di" version = "0.73.0" description = "Dependency injection toolkit" category = "main" -optional = false +optional = true python-versions = ">=3.7,<4" [package.dependencies] @@ -68,7 +68,7 @@ name = "graphlib2" version = "0.4.7" description = "Rust port of the Python stdlib graphlib modules" category = "main" -optional = false +optional = true python-versions = ">=3.7" [[package]] @@ -76,7 +76,7 @@ name = "idna" version = "3.4" description = "Internationalized Domain Names in Applications (IDNA)" category = "main" -optional = false +optional = true python-versions = ">=3.5" [[package]] @@ -170,7 +170,7 @@ testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2. [[package]] name = "pytest-asyncio" -version = "0.20.2" +version = "0.20.3" description = "Pytest support for asyncio" category = "dev" optional = false @@ -180,6 +180,7 @@ python-versions = ">=3.7" pytest = ">=6.1.0" [package.extras] +docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)", "flaky (>=3.5.0)", "mypy (>=0.931)", "pytest-trio (>=0.7.0)"] [[package]] @@ -187,7 +188,7 @@ name = "sniffio" version = "1.3.0" description = "Sniff out which async library your code is running under" category = "main" -optional = false +optional = true python-versions = ">=3.7" [[package]] @@ -206,10 +207,13 @@ category = "dev" optional = false python-versions = ">=3.7" +[extras] +di = ["di"] + [metadata] lock-version = "1.1" -python-versions = "^3.10" -content-hash = "e2758573fe4cf5d0aa6b06a448e9e6ddd2fb1b515220329cc235505af7af450f" +python-versions = "^3.10,<4" +content-hash = "2456a71230de6050a0b2e87d98940218be04ca0d0a415a4e9d8b9fb6a702f3fa" [metadata.files] anyio = [ @@ -320,8 +324,8 @@ pytest = [ {file = "pytest-7.2.0.tar.gz", hash = "sha256:c4014eb40e10f11f355ad4e3c2fb2c6c6d1919c73f3b5a433de4708202cade59"}, ] pytest-asyncio = [ - {file = "pytest-asyncio-0.20.2.tar.gz", hash = "sha256:32a87a9836298a881c0ec637ebcc952cfe23a56436bdc0d09d1511941dd8a812"}, - {file = "pytest_asyncio-0.20.2-py3-none-any.whl", hash = "sha256:07e0abf9e6e6b95894a39f688a4a875d63c2128f76c02d03d16ccbc35bcc0f8a"}, + {file = "pytest-asyncio-0.20.3.tar.gz", hash = "sha256:83cbf01169ce3e8eb71c6c278ccb0574d1a7a3bb8eaaf5e50e0ad342afb33b36"}, + {file = "pytest_asyncio-0.20.3-py3-none-any.whl", hash = "sha256:f129998b209d04fcc65c96fc85c11e5316738358909a8399e93be553d7656442"}, ] sniffio = [ {file = "sniffio-1.3.0-py3-none-any.whl", hash = "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"}, diff --git a/pyproject.toml b/pyproject.toml index 06b6894..41a31d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,16 +2,48 @@ name = "didiator" version = "0.1.0" description = "A library that implements the Mediator pattern and uses DI library" -authors = ["SamWarden "] +authors = [ + "SamWarden ", +] +maintainers = [ + "SamWarden ", +] +license = "MIT" +readme = "README.rst" +homepage = "https://github.com/SamWarden/didiator" +repository = "https://github.com/SamWarden/didiator" +keywords = [ + "didiator", + "mediatr", + "mediator", + "CQRS", + "DI", +] +classifiers = [ + "License :: OSI Approved :: MIT License", + "Typing :: Typed", + "Operating System :: OS Independent", + "Intended Audience :: Developers", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +[tool.poetry.urls] +"Bug Tracker" = "https://github.com/SamWarden/didiator/issues" + [tool.poetry.dependencies] -python = "^3.10" -di = {version = "^0.73.0", extras = ["anyio"]} +python = "^3.10,<4" +di = {version = "^0.73.0", extras = ["anyio"], optional = true} + +[tool.poetry.extras] +di = ["di"] [tool.poetry.dev-dependencies] pytest = "^7.2.0" mypy = "^0.991" -pytest-asyncio = "^0.20.2" +pytest-asyncio = "^0.20.3" [build-system] requires = ["poetry-core>=1.0.0"]