diff --git a/poetry.lock b/poetry.lock index 74becda5c..29feddd16 100644 --- a/poetry.lock +++ b/poetry.lock @@ -303,7 +303,7 @@ files = [ name = "cornice" version = "6.0.1" description = "Define Web Services in Pyramid." -optional = false +optional = true python-versions = ">=3.5" files = [ {file = "cornice-6.0.1-py2.py3-none-any.whl", hash = "sha256:7530ee9d824fe58c851f28b505e697541f6b05e098fe6dac14d9d26091d6fbda"}, @@ -538,7 +538,7 @@ gitdb = ">=4.0.1,<5" name = "greenlet" version = "2.0.2" description = "Lightweight in-process concurrent programming" -optional = false +optional = true python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*" files = [ {file = "greenlet-2.0.2-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:bdfea8c661e80d3c1c99ad7c3ff74e6e87184895bbaca6ee8cc61209f8b9b85d"}, @@ -635,7 +635,7 @@ tornado = ["tornado (>=0.2)"] name = "hupper" version = "1.12" description = "Integrated process monitor for developing and reloading daemons." -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "hupper-1.12-py3-none-any.whl", hash = "sha256:b8bc41bb75939e816f30f118026d0ba99544af4d6992583df3b4813765af27ef"}, @@ -918,7 +918,7 @@ source = ["Cython (>=0.29.35)"] name = "mako" version = "1.2.4" description = "A super-fast templating language that borrows the best ideas from the existing templating languages." -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "Mako-1.2.4-py3-none-any.whl", hash = "sha256:c97c79c018b9165ac9922ae4f32da095ffd3c4e6872b45eded42926deea46818"}, @@ -1195,7 +1195,7 @@ files = [ name = "pastedeploy" version = "3.0.1" description = "Load, configure, and compose WSGI applications and servers" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "PasteDeploy-3.0.1-py3-none-any.whl", hash = "sha256:6195c921b1c3ed9722e4e3e6aa29b70deebb2429b4ca3ff3d49185c8e80003bb"}, @@ -1316,7 +1316,7 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa name = "plaster" version = "1.1.2" description = "A loader interface around multiple config file formats." -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "plaster-1.1.2-py2.py3-none-any.whl", hash = "sha256:42992ab1f4865f1278e2ad740e8ad145683bb4022e03534265528f0c23c0df2d"}, @@ -1331,7 +1331,7 @@ testing = ["pytest", "pytest-cov"] name = "plaster-pastedeploy" version = "1.0.1" description = "A loader implementing the PasteDeploy syntax to be used by plaster." -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "plaster_pastedeploy-1.0.1-py2.py3-none-any.whl", hash = "sha256:ad3550cc744648969ed3b810f33c9344f515ee8d8a8cec18e8f2c4a643c2181f"}, @@ -1379,7 +1379,7 @@ testing = ["pytest", "pytest-benchmark"] name = "prometheus-client" version = "0.17.1" description = "Python client for the Prometheus monitoring system." -optional = false +optional = true python-versions = ">=3.6" files = [ {file = "prometheus_client-0.17.1-py3-none-any.whl", hash = "sha256:e537f37160f6807b8202a6fc4764cdd19bac5480ddd3e0d463c3002b34462101"}, @@ -1446,7 +1446,7 @@ files = [ name = "psycopg2" version = "2.9.8" description = "psycopg2 - Python-PostgreSQL Database Adapter" -optional = false +optional = true python-versions = ">=3.6" files = [ {file = "psycopg2-2.9.8-cp310-cp310-win32.whl", hash = "sha256:2f8594f92bbb5d8b59ffec04e2686c416401e2d4297de1193f8e75235937e71d"}, @@ -1651,7 +1651,7 @@ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} name = "pyramid" version = "2.0.2" description = "The Pyramid Web Framework, a Pylons project" -optional = false +optional = true python-versions = ">=3.6" files = [ {file = "pyramid-2.0.2-py3-none-any.whl", hash = "sha256:2e6585ac55c147f0a51bc00dadf72075b3bdd9a871b332ff9e5e04117ccd76fa"}, @@ -1677,7 +1677,7 @@ testing = ["coverage", "pytest (>=5.4.2)", "pytest-cov", "webtest (>=1.3.1)", "z name = "pyramid-mako" version = "1.1.0" description = "Mako template bindings for the Pyramid web framework" -optional = false +optional = true python-versions = "*" files = [ {file = "pyramid_mako-1.1.0-py2.py3-none-any.whl", hash = "sha256:76104592d292b6974cf7080aa52405c51f396a621535f01e274d7fe546e85a43"}, @@ -1696,7 +1696,7 @@ testing = ["WebTest (>=1.3.1)", "coverage", "nose"] name = "pyramid-tm" version = "2.5" description = "A package which allows Pyramid requests to join the active transaction" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "pyramid_tm-2.5-py2.py3-none-any.whl", hash = "sha256:6638721946e809de8b4bf3f405bd2daaaa76d58442cbdf46be30ebc259f1a354"}, @@ -2199,7 +2199,7 @@ files = [ name = "sqlalchemy" version = "2.0.16" description = "Database Abstraction Library" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "SQLAlchemy-2.0.16-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7641f6ed2682de84d77c4894cf2e43700f3cf7a729361d7f9cac98febf3d8614"}, @@ -2277,7 +2277,7 @@ sqlcipher = ["sqlcipher3-binary"] name = "sqlalchemy-utils" version = "0.41.1" description = "Various utility functions for SQLAlchemy." -optional = false +optional = true python-versions = ">=3.6" files = [ {file = "SQLAlchemy-Utils-0.41.1.tar.gz", hash = "sha256:a2181bff01eeb84479e38571d2c0718eb52042f9afd8c194d0d02877e84b7d74"}, @@ -2369,7 +2369,7 @@ files = [ name = "transaction" version = "3.1.0" description = "Transaction management for Python" -optional = false +optional = true python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*" files = [ {file = "transaction-3.1.0-py2.py3-none-any.whl", hash = "sha256:8376a959aa71821df1bdd7d066858a3f9f34b7f5f1c0a0e1efbd11d626895449"}, @@ -2388,7 +2388,7 @@ testing = ["coverage", "mock", "nose"] name = "translationstring" version = "1.4" description = "Utility library for i18n relied on by various Repoze and Pyramid packages" -optional = false +optional = true python-versions = "*" files = [ {file = "translationstring-1.4-py2.py3-none-any.whl", hash = "sha256:5f4dc4d939573db851c8d840551e1a0fb27b946afe3b95aafc22577eed2d6262"}, @@ -2587,7 +2587,7 @@ zstd = ["zstandard (>=0.18.0)"] name = "venusian" version = "3.0.0" description = "A library for deferring decorator actions" -optional = false +optional = true python-versions = ">=3.5" files = [ {file = "venusian-3.0.0-py3-none-any.whl", hash = "sha256:06e7385786ad3a15c70740b2af8d30dfb063a946a851dcb4159f9e2a2302578f"}, @@ -2617,7 +2617,7 @@ testing = ["coverage (>=5.0)", "pytest", "pytest-cover"] name = "webob" version = "1.8.7" description = "WSGI request and response object" -optional = false +optional = true python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*" files = [ {file = "WebOb-1.8.7-py2.py3-none-any.whl", hash = "sha256:73aae30359291c14fa3b956f8b5ca31960e420c28c1bec002547fb04928cf89b"}, @@ -2716,7 +2716,7 @@ files = [ name = "zope-deprecation" version = "5.0" description = "Zope Deprecation Infrastructure" -optional = false +optional = true python-versions = ">= 3.7" files = [ {file = "zope.deprecation-5.0-py3-none-any.whl", hash = "sha256:28c2ee983812efb4676d33c7a8c6ade0df191c1c6d652bbbfe6e2eeee067b2d4"}, @@ -2734,7 +2734,7 @@ test = ["zope.testrunner"] name = "zope-interface" version = "6.0" description = "Interfaces for Python" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "zope.interface-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f299c020c6679cb389814a3b81200fe55d428012c5e76da7e722491f5d205990"}, @@ -2781,7 +2781,7 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] name = "zope-sqlalchemy" version = "3.1" description = "Minimal Zope/SQLAlchemy transaction integration" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "zope.sqlalchemy-3.1-py3-none-any.whl", hash = "sha256:fdc7d65d8da335a34b90fb993e8217ef12808bad3025d2e3a6720db4138e4985"}, @@ -2806,12 +2806,12 @@ debug = ["objgraph"] dev = ["waitress"] oauth2 = ["pyjwt", "requests-oauthlib"] sentry = ["sentry-sdk"] -standard = ["alembic", "gunicorn", "pyjwt", "redis", "requests-oauthlib", "sentry-sdk"] +standard = ["SQLAlchemy", "SQLAlchemy-Utils", "alembic", "cornice", "gunicorn", "prometheus-client", "psycopg2", "pyjwt", "pyramid", "pyramid-tm", "pyramid_mako", "redis", "requests-oauthlib", "sentry-sdk", "zope.interface", "zope.sqlalchemy"] test-images = ["scikit-image"] tests = ["boltons", "lxml"] -webserver = ["gunicorn"] +webserver = ["SQLAlchemy", "SQLAlchemy-Utils", "cornice", "gunicorn", "prometheus-client", "psycopg2", "pyramid", "pyramid-tm", "pyramid_mako", "zope.interface", "zope.sqlalchemy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<4.0" -content-hash = "20d23351c81d140c2eab8db78fe797496d809c0f2c6f5af7a870339f01c31d7b" +content-hash = "31051c661f31a35a8e74919cb8a12ea59ecb47bf72a22871a6748bea41aec243" diff --git a/pyproject.toml b/pyproject.toml index a323e76de..b83cadb13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,28 +71,28 @@ requests = { version = "2.31.0" } pyyaml = { version = "6.0.1" } alembic = { version = "1.12.0", optional = true } boltons = { version = "23.0.0", optional = true } -cornice = { version = "6.0.1" } +cornice = { version = "6.0.1", optional = true } redis = { version = "5.0.1", optional = true } gunicorn = { version = "21.2.0", optional = true } lxml = { version = "4.9.3", optional = true } objgraph = { version = "3.6.0", optional = true } -psycopg2 = { version = "2.9.8" } -pyramid = { version = "2.0.2" } -pyramid-tm = { version = "2.5" } +psycopg2 = { version = "2.9.8", optional = true } +pyramid = { version = "2.0.2", optional = true } +pyramid-tm = { version = "2.5", optional = true } sentry-sdk = { version = "1.31.0", optional = true } ujson = { version = "5.8.0" } cee_syslog_handler = { version = "0.6.0" } -SQLAlchemy = { version = "2.0.16" } -SQLAlchemy-Utils = { version = "0.41.1" } -"zope.interface" = { version = "6.0" } -"zope.sqlalchemy" = { version = "3.1" } +SQLAlchemy = { version = "2.0.16", optional = true } +SQLAlchemy-Utils = { version = "0.41.1", optional = true } +"zope.interface" = { version = "6.0", optional = true } +"zope.sqlalchemy" = { version = "3.1", optional = true } pyjwt = { version = "2.8.0", optional = true } requests-oauthlib = { version = "1.3.1", optional = true } waitress = { version = "2.1.2", optional = true } scikit-image = { version = "0.21.0", optional = true } certifi = "2023.7.22" -prometheus-client = "0.17.1" -pyramid_mako = "1.1.0" +prometheus-client = { version = "0.17.1", optional = true} +pyramid_mako = { version = "1.1.0", optional = true} [tool.poetry.extras] standard = [ @@ -106,7 +106,17 @@ standard = [ # broadcast "redis", # webserver + "cornice", "gunicorn", + "psycopg2", + "pyramid", + "pyramid-tm", + "SQLAlchemy", + "SQLAlchemy-Utils", + "zope.interface", + "zope.sqlalchemy", + "prometheus_client", + "pyramid_mako", ] alembic = ["alembic"] debug = ["objgraph"] @@ -114,7 +124,18 @@ oauth2 = ["pyjwt", "requests-oauthlib"] sentry = ["sentry-sdk"] dev = ["waitress"] broadcast = ["redis"] -webserver = ["gunicorn"] +webserver = [ + "cornice", + "gunicorn", + "psycopg2", + "pyramid", + "pyramid-tm", + "SQLAlchemy", + "SQLAlchemy-Utils", + "zope.interface", + "zope.sqlalchemy", + "prometheus_client", + "pyramid_mako"] tests = ["lxml", "boltons"] all = [ # alembic