diff --git a/poetry.lock b/poetry.lock index f81c87a2..1692dedd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "alabaster" @@ -185,6 +185,20 @@ files = [ [package.dependencies] fedora-messaging = ">=3.0.0" +[[package]] +name = "bugzilla2fedmsg-schema" +version = "1.0.0" +description = "Fedora Messaging schemas for bugzilla2fedmsg" +optional = true +python-versions = ">=3.8.10,<4.0.0" +files = [ + {file = "bugzilla2fedmsg_schema-1.0.0-py3-none-any.whl", hash = "sha256:3362d2c53cf047816533f7b3af276eb4331576cd34a92e4f9a0dc9feae54e58f"}, + {file = "bugzilla2fedmsg_schema-1.0.0.tar.gz", hash = "sha256:675b007dfac72cb6628e50246d468b0a66c2a4cab15aff9b64279f7653439128"}, +] + +[package.dependencies] +fedora-messaging = ">=3.2.0,<4.0.0" + [[package]] name = "certifi" version = "2024.2.2" @@ -370,6 +384,21 @@ files = [ {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, ] +[[package]] +name = "ci-messages" +version = "0.2.1" +description = "Python wrapper for CI Messages schemas" +optional = true +python-versions = "!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4" +files = [ + {file = "ci_messages-0.2.1-py3-none-any.whl", hash = "sha256:39e5de6220db98b04ebeabd356859dca9527cc41d63d2fd1353b8889fc037205"}, + {file = "ci_messages-0.2.1.tar.gz", hash = "sha256:b3a8cecb7cdde161e0affe0ca4a59aca9a2b4db3f2a6a6247efe4f43625f4655"}, +] + +[package.dependencies] +fedora-messaging = "*" +jsonref = "*" + [[package]] name = "click" version = "8.1.7" @@ -661,6 +690,20 @@ files = [ fedora_messaging = "*" python-dateutil = "*" +[[package]] +name = "fedora-elections-messages" +version = "1.0.1" +description = "A schema package for messages sent by fedora-elections" +optional = true +python-versions = "*" +files = [ + {file = "fedora-elections-messages-1.0.1.tar.gz", hash = "sha256:237f8ad59c91148a0d5d95c11979cd0e2226319cbab36b3d05b7c7c05c71e508"}, + {file = "fedora_elections_messages-1.0.1-py2.py3-none-any.whl", hash = "sha256:df2eaf0053c7e8bdb0f03e97049aadec776395940cdb97f74e7b9dea0d0c4b37"}, +] + +[package.dependencies] +fedora-messaging = "*" + [[package]] name = "fedora-messaging" version = "3.5.0" @@ -684,6 +727,23 @@ service-identity = ">=21.1.0" tomli = ">=2.0.1,<3.0.0" twisted = ">=22.4.0" +[[package]] +name = "fedora-messaging-git-hook-messages" +version = "1.0.1" +description = "A schema package for messages sent by Fedora Messaging Git Hook" +optional = true +python-versions = ">=3.6" +files = [ + {file = "fedora-messaging-git-hook-messages-1.0.1.tar.gz", hash = "sha256:090e70b7245452d37bd153f3028eab1dec36669d39c19a9a1e3931d1f178824a"}, + {file = "fedora_messaging_git_hook_messages-1.0.1-py3-none-any.whl", hash = "sha256:4f3f207fb1ba033c1e91822db70bc59ca45bdb54ee6e562a356351a69c9d2aa6"}, +] + +[package.dependencies] +fedora-messaging = ">=3.0.0" + +[package.extras] +dev = ["black", "coverage[toml]", "diff-cover", "flake8", "pre-commit", "pytest", "pytest-cov", "reuse"] + [[package]] name = "fedora-messaging-the-new-hotness-schema" version = "1.2.1" @@ -794,6 +854,20 @@ files = [ [package.dependencies] flask = ">=2.0.0,<4.0.0" +[[package]] +name = "fmn-messages" +version = "1.0.0" +description = "A schema package for messages sent by FMN" +optional = true +python-versions = "<4.0.0,>=3.8.10" +files = [ + {file = "fmn_messages-1.0.0-py3-none-any.whl", hash = "sha256:9447b0fb7748e6d0ab271ecfcfb815c6cd19e7d02b571b8b379b82331a4e677c"}, + {file = "fmn_messages-1.0.0.tar.gz", hash = "sha256:5839430822fe3f12e7650641cc816861188fa686dbf268e09196c657c7b84309"}, +] + +[package.dependencies] +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "greenlet" version = "3.0.3" @@ -1022,6 +1096,17 @@ MarkupSafe = ">=2.0" [package.extras] i18n = ["Babel (>=2.7)"] +[[package]] +name = "jsonref" +version = "1.1.0" +description = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python." +optional = true +python-versions = ">=3.7" +files = [ + {file = "jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9"}, + {file = "jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552"}, +] + [[package]] name = "jsonschema" version = "4.21.1" @@ -1057,6 +1142,20 @@ files = [ [package.dependencies] referencing = ">=0.31.0" +[[package]] +name = "kerneltest-messages" +version = "1.0.0" +description = "A schema package for messages sent by kerneltest" +optional = true +python-versions = ">=3.8,<4.0" +files = [ + {file = "kerneltest_messages-1.0.0-py3-none-any.whl", hash = "sha256:381da2907fbc34cac7cc1e9775aaad06a6ff504e0eecf231c3b4992e6dc3c29b"}, + {file = "kerneltest_messages-1.0.0.tar.gz", hash = "sha256:66f71328a4c16570b0106d4eb1ebc757fa7e57c416093c8a644339476ed3c683"}, +] + +[package.dependencies] +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "kitchen" version = "1.2.6" @@ -1067,6 +1166,35 @@ files = [ {file = "kitchen-1.2.6.tar.gz", hash = "sha256:b84cf582f1bd1556b60ebc7370b9d331eb9247b6b070ce89dfe959cba2c0b03c"}, ] +[[package]] +name = "koji-fedoramessaging-messages" +version = "1.2.4" +description = "A schema package for messages sent by the koji-fedoramessaging plugin" +optional = true +python-versions = "<4.0,>=3.10" +files = [ + {file = "koji_fedoramessaging_messages-1.2.4-py3-none-any.whl", hash = "sha256:2fdac132c46f6aad4e2d0639f32ead4e0250ff3a6b12a6f9049e21975118c816"}, + {file = "koji_fedoramessaging_messages-1.2.4.tar.gz", hash = "sha256:c9b321fbb6d17cb297ef3a27460147eb3aca303a2efe5627515ba1ba42423578"}, +] + +[package.dependencies] +fedora-messaging = ">=3.0.1" + +[[package]] +name = "koschei-messages" +version = "1.0.1" +description = "A schema package for messages sent by Koschei" +optional = true +python-versions = ">=3.8,<4.0" +files = [ + {file = "koschei-messages-1.0.1.tar.gz", hash = "sha256:2aa22ea3e4906c978d9ddb4b0b80e3f4d70d97e7dcb334ff936af5610cb63216"}, + {file = "koschei_messages-1.0.1-py3-none-any.whl", hash = "sha256:7661a52c8c3bb4653fb0e770529289ca8b7e38cb098549f90ef9f2151f72c7c4"}, +] + +[package.dependencies] +coverage = {version = ">=7.2.7,<8.0.0", extras = ["toml"]} +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "liccheck" version = "0.9.2" @@ -1170,6 +1298,20 @@ files = [ {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, ] +[[package]] +name = "maubot-fedora-messages" +version = "0.1.0" +description = "A schema package for messages sent by Maubot Fedora" +optional = true +python-versions = ">=3.8,<4.0" +files = [ + {file = "maubot_fedora_messages-0.1.0-py3-none-any.whl", hash = "sha256:90c1a9a0801be647f3b4321cbb541626dd2152b8c396b9128fa69a60eea66165"}, + {file = "maubot_fedora_messages-0.1.0.tar.gz", hash = "sha256:0c9d48a5a5ce6b982ad3c8e6d9ea4848a35546a4f705023d8669543f1f894313"}, +] + +[package.dependencies] +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "mccabe" version = "0.7.0" @@ -1195,6 +1337,36 @@ files = [ [package.dependencies] fedora-messaging = "*" +[[package]] +name = "mediawiki-messages" +version = "1.0.1" +description = "A schema package for messages sent by Mediawiki" +optional = true +python-versions = ">=3.8,<4.0" +files = [ + {file = "mediawiki_messages-1.0.1-py3-none-any.whl", hash = "sha256:de423baddd435def9cf2b7b693be598e1699b97bb01e6f1f72e8941fadf9f3af"}, + {file = "mediawiki_messages-1.0.1.tar.gz", hash = "sha256:3b31a2ac632e58aa232e9a31adcb4b859b565d63ce99737e85f28302e1821bf4"}, +] + +[package.dependencies] +coverage = {version = ">=7.0.0", extras = ["toml"]} +fedora-messaging = ">=3.3.0,<4.0.0" + +[[package]] +name = "meetbot-messages" +version = "1.0.1" +description = "A schema package for messages sent by meetbot" +optional = true +python-versions = ">=3.8,<4.0" +files = [ + {file = "meetbot-messages-1.0.1.tar.gz", hash = "sha256:8f3f0f0a46ffc0408bb0805f0e608596eae848330fbb878c9ad9de21b77140c8"}, + {file = "meetbot_messages-1.0.1-py3-none-any.whl", hash = "sha256:e5e16a3217a57750d9584199a16f7562c68594489bf6e37a69390d115bf302df"}, +] + +[package.dependencies] +coverage = {version = ">=7.0.0", extras = ["toml"]} +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "moksha-common" version = "1.2.5" @@ -1585,7 +1757,6 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -2048,6 +2219,20 @@ postgresql-psycopg2cffi = ["psycopg2cffi"] pymysql = ["pymysql", "pymysql (<1)"] sqlcipher = ["sqlcipher3_binary"] +[[package]] +name = "tahrir-messages" +version = "1.0.2" +description = "A schema package for messages sent by tahrir" +optional = true +python-versions = "<4.0,>=3.8" +files = [ + {file = "tahrir_messages-1.0.2-py3-none-any.whl", hash = "sha256:7d5a213cccafbf1ef2f3f21f814fc6e6bf45ffb760a6e3abed638ac033453c6d"}, + {file = "tahrir_messages-1.0.2.tar.gz", hash = "sha256:a51fab28856baef98376633c0f8e1b60783f4f5e50e41d04435f7b3ed41748ee"}, +] + +[package.dependencies] +fedora-messaging = ">=3.3.0,<4.0.0" + [[package]] name = "toml" version = "0.10.2" @@ -2379,9 +2564,9 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [extras] deploy = ["gunicorn"] -schemas = ["anitya-schema", "bodhi-messages", "copr-messaging", "discourse2fedmsg-messages", "fedocal-messages", "fedora-messaging-the-new-hotness-schema", "fedora-planet-messages", "fedorainfra-ansible-messages", "mdapi-messages", "noggin-messages", "nuancier-messages", "pagure-messages"] +schemas = ["anitya-schema", "bodhi-messages", "bugzilla2fedmsg-schema", "ci-messages", "copr-messaging", "discourse2fedmsg-messages", "fedocal-messages", "fedora-elections-messages", "fedora-messaging-git-hook-messages", "fedora-messaging-the-new-hotness-schema", "fedora-planet-messages", "fedorainfra-ansible-messages", "fmn-messages", "kerneltest-messages", "koji-fedoramessaging-messages", "koschei-messages", "maubot-fedora-messages", "mdapi-messages", "mediawiki-messages", "meetbot-messages", "noggin-messages", "nuancier-messages", "pagure-messages", "tahrir-messages"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "1cc409abbbdba523e0b2318424ab2bbd854736d4f2587f6de72e70a21c96acf4" +content-hash = "3b2f27bdd42b651918accdb88563e9f6e1fa1a55542f50ed7c2483398e5db509" diff --git a/pyproject.toml b/pyproject.toml index 5efbee0e..989025a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,18 +42,33 @@ cffi = "^1.14.6" gunicorn = {version = "^20.0 || ^21.0.0", optional = true} SQLAlchemy = "^1.4.0 || ^2.0.0" flask-healthz = "^0.0.3 || ^1.0.0" + +# Message schemas. The reference list of all message schemas is in +# https://github.com/fedora-infra/fedora-messaging/blob/develop/docs/schema-packages.txt anitya-schema = {version = "*", optional = true} bodhi-messages = {version = "*", optional = true} +bugzilla2fedmsg-schema = {version = "*", optional = true} +ci-messages = {version = "*", optional = true} copr-messaging = {version = "*", optional = true} discourse2fedmsg-messages = {version = "*", optional = true} fedocal-messages = {version = "*", optional = true} fedorainfra-ansible-messages = {version = "*", optional = true} +fedora-elections-messages = {version = "*", optional = true} +fedora-messaging-git-hook-messages = {version = "*", optional = true} fedora-messaging-the-new-hotness-schema = {version = "*", optional = true} fedora-planet-messages = {version = "*", optional = true} +fmn-messages = {version = "*", optional = true} +kerneltest-messages = {version = "^1.0.0", optional = true} +koji-fedoramessaging-messages = {version = "^1.2.2", optional = true} +koschei-messages = {version = "*", optional = true} +maubot-fedora-messages = {version = "*", optional = true} +mediawiki-messages = {version = "*", optional = true} +meetbot-messages = {version = "*", optional = true} mdapi-messages = {version = "*", optional = true} noggin-messages = {version = "*", optional = true} nuancier-messages = {version = "*", optional = true} pagure-messages = {version = "*", optional = true} +tahrir-messages = {version = "*", optional = true} [tool.poetry.dev-dependencies] pre-commit = ">=2.13.0" @@ -71,17 +86,28 @@ deploy = ["gunicorn"] schemas = [ "anitya-schema", "bodhi-messages", + "bugzilla2fedmsg-schema", + "ci-messages", "copr-messaging", "discourse2fedmsg-messages", "fedocal-messages", "fedorainfra-ansible-messages", "fedora-elections-messages", + "fedora-messaging-git-hook-messages", "fedora-messaging-the-new-hotness-schema", "fedora-planet-messages", + "fmn-messages", + "kerneltest-messages", + "koji-fedoramessaging-messages", + "koschei-messages", + "maubot-fedora-messages", + "mediawiki-messages", + "meetbot-messages", "mdapi-messages", "noggin-messages", "nuancier-messages", "pagure-messages", + "tahrir-messages", ]