diff --git a/bin/lint.sh b/bin/lint.sh index a8d967e1..2bebe35e 100755 --- a/bin/lint.sh +++ b/bin/lint.sh @@ -18,6 +18,8 @@ MYPY_CMD="$POETRY_RUN mypy jbi" YAMLLINT_CMD="$POETRY_RUN yamllint -c .yamllint config/*.yaml" +ACTIONS_LINT_CMD="$POETRY_RUN jbi lint" + all () { echo "running bandit" $BANDIT_CMD @@ -31,6 +33,8 @@ all () { $MYPY_CMD echo "running yamllint" $YAMLLINT_CMD + echo "running actions lint" + $ACTIONS_LINT_CMD } usage () { @@ -43,6 +47,7 @@ usage () { echo " lint" echo " mypy" echo " yamllint" + echo " actions" } if [ -z "$1" ]; then @@ -78,6 +83,9 @@ else "detect-secrets") $DETECT_SECRETS_CMD ;; + "actions") + $ACTIONS_LINT_CMD + ;; *) usage ;; diff --git a/config/config.nonprod.yaml b/config/config.nonprod.yaml index 125eaa9b..c2a93637 100644 --- a/config/config.nonprod.yaml +++ b/config/config.nonprod.yaml @@ -14,14 +14,12 @@ - add_link_to_bugzilla - add_link_to_jira - maybe_assign_jira_user - - maybe_update_issue_status - maybe_update_issue_severity - sync_whiteboard_labels - sync_keywords_labels existing: - update_issue_summary - maybe_assign_jira_user - - maybe_update_issue_status - maybe_update_issue_severity - sync_whiteboard_labels - sync_keywords_labels diff --git a/config/config.prod.yaml b/config/config.prod.yaml index 45c9133f..4e0daea5 100644 --- a/config/config.prod.yaml +++ b/config/config.prod.yaml @@ -150,21 +150,21 @@ - add_link_to_jira - maybe_assign_jira_user - maybe_update_components - - maybe_update_issue_resolution - maybe_update_issue_status + - maybe_update_issue_resolution - sync_whiteboard_labels - sync_keywords_labels existing: - update_issue_summary - maybe_update_components - maybe_assign_jira_user - - maybe_update_issue_resolution - maybe_update_issue_status + - maybe_update_issue_resolution - sync_whiteboard_labels - sync_keywords_labels comment: - create_comment - status_map: + status_map: &basic-status-map UNCONFIRMED: Backlog NEW: Backlog ASSIGNED: In Progress @@ -179,7 +179,7 @@ WORKSFORME: Done INCOMPLETE: Done MOVED: Done - resolution_map: + resolution_map: &basic-resolution-map FIXED: Done INVALID: Invalid WONTFIX: "Won't Do" @@ -337,30 +337,8 @@ - sync_keywords_labels comment: - create_comment - status_map: - UNCONFIRMED: Backlog - NEW: Backlog - ASSIGNED: In Progress - REOPENED: In Progress - RESOLVED: Done - VERIFIED: Done - FIXED: Done - INVALID: Done - WONTFIX: Done - INACTIVE: Done - DUPLICATE: Done - WORKSFORME: Done - INCOMPLETE: Done - MOVED: Done - resolution_map: - FIXED: Done - INVALID: Invalid - WONTFIX: "Won't Do" - INACTIVE: Inactive - DUPLICATE: Duplicate - WORKSFORME: "Cannot Reproduce" - INCOMPLETE: Incomplete - MOVED: Moved + status_map: *basic-status-map + resolution_map: *basic-resolution-map - whiteboard_tag: proton bugzilla_user_id: tbd @@ -488,16 +466,16 @@ - add_link_to_jira - maybe_assign_jira_user - maybe_update_components - - maybe_update_issue_resolution - maybe_update_issue_status + - maybe_update_issue_resolution - sync_whiteboard_labels - sync_keywords_labels existing: - update_issue_summary - maybe_assign_jira_user - maybe_update_components - - maybe_update_issue_resolution - maybe_update_issue_status + - maybe_update_issue_resolution - sync_whiteboard_labels - sync_keywords_labels comment: @@ -517,15 +495,7 @@ WORKSFORME: Done INCOMPLETE: Done MOVED: Done - resolution_map: - FIXED: Done - INVALID: Invalid - WONTFIX: "Won't Do" - INACTIVE: Inactive - DUPLICATE: Duplicate - WORKSFORME: "Cannot Reproduce" - INCOMPLETE: Incomplete - MOVED: Moved + resolution_map: *basic-resolution-map - whiteboard_tag: dataplatform bugzilla_user_id: tbd @@ -550,21 +520,7 @@ - maybe_update_issue_status comment: - create_comment - status_map: - UNCONFIRMED: Backlog - NEW: Backlog - ASSIGNED: In Progress - REOPENED: In Progress - RESOLVED: Done - VERIFIED: Done - FIXED: Done - INVALID: Done - WONTFIX: Done - INACTIVE: Done - DUPLICATE: Done - WORKSFORME: Done - INCOMPLETE: Done - MOVED: Done + status_map: *basic-status-map - whiteboard_tag: dataquality bugzilla_user_id: tbd @@ -582,12 +538,10 @@ - add_link_to_bugzilla - add_link_to_jira - maybe_assign_jira_user - - maybe_update_issue_resolution - maybe_update_issue_status existing: - update_issue_summary - maybe_assign_jira_user - - maybe_update_issue_resolution - maybe_update_issue_status comment: - create_comment @@ -703,18 +657,4 @@ enhancement: Story task: Task defect: Bug - status_map: - UNCONFIRMED: Backlog - NEW: Backlog - ASSIGNED: In Progress - REOPENED: In Progress - RESOLVED: Done - VERIFIED: Done - FIXED: Done - INVALID: Done - WONTFIX: Done - INACTIVE: Done - DUPLICATE: Done - WORKSFORME: Done - INCOMPLETE: Done - MOVED: Done + status_map: *basic-status-map diff --git a/jbi/__main__.py b/jbi/__main__.py new file mode 100644 index 00000000..7b66ee36 --- /dev/null +++ b/jbi/__main__.py @@ -0,0 +1,27 @@ +import click + +from jbi.configuration import get_actions + + +@click.group() +def cli(): + pass + + +@cli.command() +@click.argument("env", default="all") +def lint(env): + click.echo(f"Linting: {env} action configuration") + + if env == "all": + envs = ["local", "nonprod", "prod"] + else: + envs = [env] + + for env in envs: + get_actions(env) + click.secho(f"No issues found for {env}.", fg="green") + + +if __name__ == "__main__": + cli() diff --git a/jbi/app.py b/jbi/app.py index 372e3665..59ad0904 100644 --- a/jbi/app.py +++ b/jbi/app.py @@ -23,7 +23,7 @@ import jbi import jbi.queue -from jbi.configuration import ACTIONS +from jbi.configuration import get_actions from jbi.environment import get_settings from jbi.log import CONFIG from jbi.router import router @@ -31,6 +31,7 @@ SRC_DIR = Path(__file__).parent APP_DIR = Path(__file__).parents[1] +ACTIONS = get_actions() settings = get_settings() version_info: dict[str, str] = get_version(APP_DIR) VERSION: str = version_info["version"] @@ -60,8 +61,8 @@ def traces_sampler(sampling_context: dict[str, Any]) -> float: # https://github.com/tiangolo/fastapi/discussions/9241 @asynccontextmanager async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: - jira_service = jbi.jira.get_service() - bugzilla_service = jbi.bugzilla.get_service() + jira_service = jbi.jira.service.get_service() + bugzilla_service = jbi.bugzilla.service.get_service() queue = jbi.queue.get_dl_queue() checks.register(bugzilla_service.check_bugzilla_connection, name="bugzilla.up") diff --git a/jbi/bugzilla/__init__.py b/jbi/bugzilla/__init__.py index 485ee7a8..e69de29b 100644 --- a/jbi/bugzilla/__init__.py +++ b/jbi/bugzilla/__init__.py @@ -1,7 +0,0 @@ -from .models import ( - Bug, - BugId, - WebhookEvent, - WebhookRequest, -) -from .service import BugzillaService, get_service diff --git a/jbi/configuration.py b/jbi/configuration.py index 91a0baf7..be8ca66d 100644 --- a/jbi/configuration.py +++ b/jbi/configuration.py @@ -10,7 +10,6 @@ from jbi import environment from jbi.models import Actions -settings = environment.get_settings() logger = logging.getLogger(__name__) @@ -30,9 +29,9 @@ def get_actions_from_file(jbi_config_file: str) -> Actions: raise ConfigError("Errors exist.") from exception -def get_actions(env=settings.env): +def get_actions(env=None) -> Actions: """Load actions from file determined by ENV name""" + if env is None: + settings = environment.get_settings() + env = settings.env return get_actions_from_file(f"config/config.{env}.yaml") - - -ACTIONS = get_actions() diff --git a/jbi/jira/service.py b/jbi/jira/service.py index 9410d352..be133d68 100644 --- a/jbi/jira/service.py +++ b/jbi/jira/service.py @@ -14,7 +14,8 @@ from dockerflow import checks from requests import exceptions as requests_exceptions -from jbi import Operation, bugzilla, environment +from jbi import Operation, environment +from jbi.bugzilla import models as bugzilla_models from jbi.jira.utils import markdown_to_jira from jbi.models import ActionContext @@ -184,7 +185,7 @@ def add_jira_comments_for_changes(self, context: ActionContext): return jira_response_comments def delete_jira_issue_if_duplicate( - self, context: ActionContext, latest_bug: bugzilla.Bug + self, context: ActionContext, latest_bug: bugzilla_models.Bug ): """Rollback the Jira issue creation if there is already a linked Jira issue on the Bugzilla ticket""" diff --git a/jbi/models.py b/jbi/models.py index 5449427b..728d261e 100644 --- a/jbi/models.py +++ b/jbi/models.py @@ -18,7 +18,7 @@ ) from jbi import Operation, steps -from jbi.bugzilla import Bug, BugId, WebhookEvent +from jbi.bugzilla.models import Bug, BugId, WebhookEvent logger = logging.getLogger(__name__) @@ -51,7 +51,6 @@ class ActionSteps(BaseModel, frozen=True): @classmethod def validate_steps(cls, function_names: list[str]): """Validate that all configure step functions exist in the steps module""" - invalid_functions = [ func_name for func_name in function_names if not hasattr(steps, func_name) ] @@ -59,6 +58,18 @@ def validate_steps(cls, function_names: list[str]): raise ValueError( f"The following functions are not available in the `steps` module: {', '.join(invalid_functions)}" ) + + # Make sure `maybe_update_resolution` comes after `maybe_update_status`. + try: + idx_resolution = function_names.index("maybe_update_issue_resolution") + idx_status = function_names.index("maybe_update_issue_status") + assert idx_resolution > idx_status, ( + "Step `maybe_update_resolution` should be put after `maybe_update_issue_status`" + ) + except ValueError: + # One of these 2 steps not listed. + pass + return function_names @@ -191,6 +202,16 @@ def validate_actions(cls, actions: list[Action]): f"Provide bugzilla_user_id data for `{action.whiteboard_tag}` action." ) + assert action.parameters.status_map or ( + "maybe_update_issue_status" not in action.parameters.steps.new + and "maybe_update_issue_status" not in action.parameters.steps.existing + ), "`maybe_update_issue_status` was used without `status_map`" + assert action.parameters.resolution_map or ( + "maybe_update_issue_resolution" not in action.parameters.steps.new + and "maybe_update_issue_resolution" + not in action.parameters.steps.existing + ), "`maybe_update_issue_resolution` was used without `resolution_map`" + return actions model_config = ConfigDict(ignored_types=(functools.cached_property,)) diff --git a/jbi/queue.py b/jbi/queue.py index aa9b0403..fef7d5ee 100644 --- a/jbi/queue.py +++ b/jbi/queue.py @@ -37,7 +37,7 @@ import dockerflow.checks from pydantic import BaseModel, FileUrl, ValidationError, computed_field -from jbi import bugzilla +from jbi.bugzilla import models as bugzilla_models from jbi.environment import get_settings logger = logging.getLogger(__name__) @@ -85,7 +85,7 @@ def from_exc(cls, exc: Exception): class QueueItem(BaseModel, frozen=True): """Dead Letter Queue entry.""" - payload: bugzilla.WebhookRequest + payload: bugzilla_models.WebhookRequest error: Optional[PythonException] = None rid: Optional[str] = None @@ -316,7 +316,7 @@ async def check_readable(self) -> list[dockerflow.checks.CheckMessage]: ) return results - async def postpone(self, payload: bugzilla.WebhookRequest, rid: str) -> None: + async def postpone(self, payload: bugzilla_models.WebhookRequest, rid: str) -> None: """ Postpone the specified request for later. """ @@ -324,7 +324,7 @@ async def postpone(self, payload: bugzilla.WebhookRequest, rid: str) -> None: await self.backend.put(item) async def track_failed( - self, payload: bugzilla.WebhookRequest, exc: Exception, rid: str + self, payload: bugzilla_models.WebhookRequest, exc: Exception, rid: str ) -> QueueItem: """ Store the specified payload and exception information into the queue. @@ -337,7 +337,7 @@ async def track_failed( await self.backend.put(item) return item - async def is_blocked(self, payload: bugzilla.WebhookRequest) -> bool: + async def is_blocked(self, payload: bugzilla_models.WebhookRequest) -> bool: """ Return `True` if the specified `payload` is blocked and should be queued instead of being processed. diff --git a/jbi/retry.py b/jbi/retry.py index 1bb40e1c..dad147c6 100644 --- a/jbi/retry.py +++ b/jbi/retry.py @@ -8,7 +8,7 @@ from dockerflow.logging import JsonLogFormatter, request_id_context import jbi.runner as runner -from jbi.configuration import ACTIONS +from jbi.configuration import get_actions from jbi.errors import IgnoreInvalidRequestError from jbi.queue import get_dl_queue @@ -22,6 +22,8 @@ lsh.setFormatter(JsonLogFormatter(logger_name=__name__)) logger.addHandler(lsh) +ACTIONS = get_actions() + async def retry_failed(item_executor=runner.execute_action, queue=get_dl_queue()): min_event_timestamp = datetime.now(UTC) - timedelta(days=int(RETRY_TIMEOUT_DAYS)) diff --git a/jbi/router.py b/jbi/router.py index 1f55f0ea..5d9a9c9f 100644 --- a/jbi/router.py +++ b/jbi/router.py @@ -12,16 +12,20 @@ from fastapi.security import APIKeyHeader, HTTPBasic, HTTPBasicCredentials from fastapi.templating import Jinja2Templates -from jbi import bugzilla, jira -from jbi.configuration import ACTIONS +from jbi import jira +from jbi.bugzilla import models as bugzilla_models +from jbi.bugzilla import service as bugzilla_service +from jbi.configuration import get_actions from jbi.environment import Settings, get_settings from jbi.models import Actions from jbi.queue import DeadLetterQueue, get_dl_queue from jbi.runner import execute_or_queue SettingsDep = Annotated[Settings, Depends(get_settings)] -ActionsDep = Annotated[Actions, Depends(lambda: ACTIONS)] -BugzillaServiceDep = Annotated[bugzilla.BugzillaService, Depends(bugzilla.get_service)] +ActionsDep = Annotated[Actions, Depends(get_actions)] +BugzillaServiceDep = Annotated[ + bugzilla_service.BugzillaService, Depends(bugzilla_service.get_service) +] JiraServiceDep = Annotated[jira.JiraService, Depends(jira.get_service)] router = APIRouter() @@ -69,7 +73,7 @@ async def bugzilla_webhook( request: Request, actions: ActionsDep, queue: Annotated[DeadLetterQueue, Depends(get_dl_queue)], - webhook_request: bugzilla.WebhookRequest = Body(..., embed=False), + webhook_request: bugzilla_models.WebhookRequest = Body(..., embed=False), ): """API endpoint that Bugzilla Webhook Events request""" return await execute_or_queue(webhook_request, queue, actions) diff --git a/jbi/runner.py b/jbi/runner.py index a06e5cf5..282b3389 100644 --- a/jbi/runner.py +++ b/jbi/runner.py @@ -11,9 +11,11 @@ from dockerflow.logging import request_id_context from statsd.defaults.env import statsd -from jbi import ActionResult, Operation, bugzilla, jira +from jbi import ActionResult, Operation, jira from jbi import steps as steps_module +from jbi.bugzilla import models as bugzilla_models from jbi.bugzilla.client import BugNotAccessibleError +from jbi.bugzilla.service import get_service as get_bugzilla_service from jbi.environment import get_settings from jbi.errors import ActionNotFoundError, IgnoreInvalidRequestError from jbi.models import ( @@ -56,7 +58,7 @@ def groups2operation(steps: ActionSteps): return by_operation -def lookup_action(bug: bugzilla.Bug, actions: Actions) -> Action: +def lookup_action(bug: bugzilla_models.Bug, actions: Actions) -> Action: """ Find first matching action from bug's whiteboard field. @@ -82,7 +84,7 @@ def __init__( ): self.parameters = parameters if not bugzilla_service: - self.bugzilla_service = bugzilla.get_service() + self.bugzilla_service = get_bugzilla_service() if not jira_service: self.jira_service = jira.get_service() self.steps = self._initialize_steps(parameters.steps) @@ -162,7 +164,7 @@ def __call__(self, context: ActionContext) -> ActionResult: async def execute_or_queue( - request: bugzilla.WebhookRequest, queue: DeadLetterQueue, actions: Actions + request: bugzilla_models.WebhookRequest, queue: DeadLetterQueue, actions: Actions ): request_id = request_id_context.get() @@ -198,7 +200,7 @@ async def execute_or_queue( @statsd.timer("jbi.action.execution.timer") def execute_action( - request: bugzilla.WebhookRequest, + request: bugzilla_models.WebhookRequest, actions: Actions, ): """Execute the configured action for the specified `request`. @@ -230,7 +232,7 @@ def execute_action( extra=runner_context.model_dump(), ) try: - bug = bugzilla.get_service().refresh_bug_data(bug) + bug = get_bugzilla_service().refresh_bug_data(bug) except BugNotAccessibleError as err: # This can happen if the bug is made private after the webhook # is processed (eg. if it spent some time in the DL queue) diff --git a/jbi/steps.py b/jbi/steps.py index c5659785..ffc2c555 100644 --- a/jbi/steps.py +++ b/jbi/steps.py @@ -4,7 +4,7 @@ Each step takes an `ActionContext` and a list of arbitrary parameters. """ -# This import is needed (as of Pyhon 3.11) to enable type checking with modules +# This import is needed (as of Python 3.11) to enable type checking with modules # imported under `TYPE_CHECKING` # https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations # https://docs.python.org/3/whatsnew/3.11.html#pep-563-may-not-be-the-future @@ -19,8 +19,6 @@ from jbi import Operation from jbi.environment import get_settings -settings = get_settings() - class StepStatus(Enum): """ @@ -99,6 +97,7 @@ def add_link_to_jira( context: ActionContext, *, bugzilla_service: BugzillaService ) -> StepResult: """Add the URL to the Jira issue in the `see_also` field on the Bugzilla ticket""" + settings = get_settings() jira_url = f"{settings.jira_base_url}browse/{context.jira.issue}" logger.info( "Link %r on Bug %s", diff --git a/poetry.lock b/poetry.lock index 5822e6f6..e300e351 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. [[package]] name = "annotated-types" @@ -6,6 +6,7 @@ version = "0.7.0" description = "Reusable constraint types to use with typing.Annotated" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"}, {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, @@ -17,6 +18,7 @@ version = "4.6.2.post1" description = "High level compatibility layer for multiple asynchronous event loop implementations" optional = false python-versions = ">=3.9" +groups = ["main", "dev"] files = [ {file = "anyio-4.6.2.post1-py3-none-any.whl", hash = "sha256:6d170c36fba3bdd840c73d3868c1e777e33676a69c3a72cf0a0d5d6d8009b61d"}, {file = "anyio-4.6.2.post1.tar.gz", hash = "sha256:4c8bc31ccdb51c7f7bd251f51c609e038d63e34219b44aa86e47576389880b4c"}, @@ -37,6 +39,7 @@ version = "3.8.1" description = "ASGI specs, helper code, and adapters" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "asgiref-3.8.1-py3-none-any.whl", hash = "sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47"}, {file = "asgiref-3.8.1.tar.gz", hash = "sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590"}, @@ -51,6 +54,7 @@ version = "3.41.19" description = "Python Atlassian REST API Wrapper" optional = false python-versions = "*" +groups = ["main"] files = [ {file = "atlassian_python_api-3.41.19-py3-none-any.whl", hash = "sha256:056df6083c51f09597de8c56f7a4a1b8acec7a727a9ff156f72b2ef45fb0279c"}, {file = "atlassian_python_api-3.41.19.tar.gz", hash = "sha256:694a81ed082a4ca8f4fa7a197d60ee2b3f34a45664a74bdfeb835c4d7ff0e305"}, @@ -74,6 +78,7 @@ version = "2.2.1" description = "Function decoration for backoff and retry" optional = false python-versions = ">=3.7,<4.0" +groups = ["main"] files = [ {file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"}, {file = "backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba"}, @@ -85,6 +90,7 @@ version = "1.8.2" description = "Security oriented static analyser for python code." optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "bandit-1.8.2-py3-none-any.whl", hash = "sha256:df6146ad73dd30e8cbda4e29689ddda48364e36ff655dbfc86998401fcf1721f"}, {file = "bandit-1.8.2.tar.gz", hash = "sha256:e00ad5a6bc676c0954669fe13818024d66b70e42cf5adb971480cf3b671e835f"}, @@ -109,6 +115,7 @@ version = "4.12.3" description = "Screen-scraping library" optional = false python-versions = ">=3.6.0" +groups = ["main"] files = [ {file = "beautifulsoup4-4.12.3-py3-none-any.whl", hash = "sha256:b80878c9f40111313e55da8ba20bdba06d8fa3969fc68304167741bbf9e082ed"}, {file = "beautifulsoup4-4.12.3.tar.gz", hash = "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051"}, @@ -130,6 +137,7 @@ version = "2024.8.30" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" +groups = ["main", "dev"] files = [ {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, @@ -141,6 +149,7 @@ version = "3.4.0" description = "Validate configuration and produce human readable error messages." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9"}, {file = "cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560"}, @@ -152,6 +161,7 @@ version = "3.4.0" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." optional = false python-versions = ">=3.7.0" +groups = ["main", "dev"] files = [ {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6"}, {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b"}, @@ -266,6 +276,7 @@ version = "8.1.7" description = "Composable command line interface toolkit" optional = false python-versions = ">=3.7" +groups = ["main", "dev"] files = [ {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, @@ -280,6 +291,8 @@ version = "0.4.6" description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +groups = ["main", "dev"] +markers = "platform_system == \"Windows\" or sys_platform == \"win32\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -291,6 +304,7 @@ version = "7.6.10" description = "Code coverage measurement for Python" optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "coverage-7.6.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5c912978f7fbf47ef99cec50c4401340436d200d41d714c7a4766f377c5b7b78"}, {file = "coverage-7.6.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a01ec4af7dfeb96ff0078ad9a48810bb0cc8abcb0115180c6013a6b26237626c"}, @@ -365,6 +379,7 @@ version = "1.2.14" description = "Python @deprecated decorator to deprecate old python classes, functions or methods." optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +groups = ["main"] files = [ {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"}, {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"}, @@ -382,6 +397,7 @@ version = "1.5.0" description = "Tool for detecting secrets in the codebase" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "detect_secrets-1.5.0-py3-none-any.whl", hash = "sha256:e24e7b9b5a35048c313e983f76c4bd09dad89f045ff059e354f9943bf45aa060"}, {file = "detect_secrets-1.5.0.tar.gz", hash = "sha256:6bb46dcc553c10df51475641bb30fd69d25645cc12339e46c824c1e0c388898a"}, @@ -401,6 +417,7 @@ version = "0.3.9" description = "Distribution utilities" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87"}, {file = "distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403"}, @@ -412,6 +429,7 @@ version = "2.7.0" description = "DNS toolkit" optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "dnspython-2.7.0-py3-none-any.whl", hash = "sha256:b4c34b7d10b51bcc3a5071e7b8dee77939f1e878477eeecc965e9835f63c6c86"}, {file = "dnspython-2.7.0.tar.gz", hash = "sha256:ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1"}, @@ -432,6 +450,7 @@ version = "2024.4.2" description = "Python tools and helpers for Mozilla's Dockerflow" optional = false python-versions = "<4,>=3.7" +groups = ["main"] files = [ {file = "dockerflow-2024.4.2-py2.py3-none-any.whl", hash = "sha256:b9f92455449ba46555f57db34cccefc4c49d3533c67793624ab7e80a1625caa7"}, {file = "dockerflow-2024.4.2.tar.gz", hash = "sha256:f4216a3a809093860d7b2db84ba0a25c894cb8eb98b74f4f6a04badbc4f6b0a4"}, @@ -453,6 +472,7 @@ version = "2.2.0" description = "A robust email address syntax and deliverability validation library." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "email_validator-2.2.0-py3-none-any.whl", hash = "sha256:561977c2d73ce3611850a06fa56b414621e0c8faa9d66f2611407d87465da631"}, {file = "email_validator-2.2.0.tar.gz", hash = "sha256:cb690f344c617a714f22e66ae771445a1ceb46821152df8e165c5f9a364582b7"}, @@ -468,6 +488,7 @@ version = "3.3.1" description = "A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "factory_boy-3.3.1-py2.py3-none-any.whl", hash = "sha256:7b1113c49736e1e9995bc2a18f4dbf2c52cf0f841103517010b1d825712ce3ca"}, {file = "factory_boy-3.3.1.tar.gz", hash = "sha256:8317aa5289cdfc45f9cae570feb07a6177316c82e34d14df3c2e1f22f26abef0"}, @@ -486,6 +507,7 @@ version = "30.8.2" description = "Faker is a Python package that generates fake data for you." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "Faker-30.8.2-py3-none-any.whl", hash = "sha256:4a82b2908cd19f3bba1a4da2060cc4eb18a40410ccdf9350d071d79dc92fe3ce"}, {file = "faker-30.8.2.tar.gz", hash = "sha256:aa31b52cdae3673d6a78b4857c7bcdc0e98f201a5cb77d7827fa9e6b5876da94"}, @@ -501,6 +523,7 @@ version = "0.115.7" description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "fastapi-0.115.7-py3-none-any.whl", hash = "sha256:eb6a8c8bf7f26009e8147111ff15b5177a0e19bb4a45bc3486ab14804539d21e"}, {file = "fastapi-0.115.7.tar.gz", hash = "sha256:0f106da6c01d88a6786b3248fb4d7a940d071f6f488488898ad5d354b25ed015"}, @@ -521,6 +544,7 @@ version = "3.16.1" description = "A platform independent file lock." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "filelock-3.16.1-py3-none-any.whl", hash = "sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0"}, {file = "filelock-3.16.1.tar.gz", hash = "sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435"}, @@ -537,6 +561,7 @@ version = "0.14.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" optional = false python-versions = ">=3.7" +groups = ["main", "dev"] files = [ {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"}, {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"}, @@ -548,6 +573,7 @@ version = "1.0.6" description = "A minimal low-level HTTP client." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "httpcore-1.0.6-py3-none-any.whl", hash = "sha256:27b59625743b85577a8c0e10e55b50b5368a4f2cfe8cc7bcfa9cf00829c2682f"}, {file = "httpcore-1.0.6.tar.gz", hash = "sha256:73f6dbd6eb8c21bbf7ef8efad555481853f5f6acdeaff1edb0694289269ee17f"}, @@ -569,6 +595,7 @@ version = "0.6.4" description = "A collection of framework independent HTTP protocol utils." optional = false python-versions = ">=3.8.0" +groups = ["main"] files = [ {file = "httptools-0.6.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3c73ce323711a6ffb0d247dcd5a550b8babf0f757e86a52558fe5b86d6fefcc0"}, {file = "httptools-0.6.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:345c288418f0944a6fe67be8e6afa9262b18c7626c3ef3c28adc5eabc06a68da"}, @@ -624,6 +651,7 @@ version = "0.28.1" description = "The next generation HTTP client." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"}, {file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"}, @@ -648,6 +676,7 @@ version = "2.6.2" description = "File identification library for Python" optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "identify-2.6.2-py2.py3-none-any.whl", hash = "sha256:c097384259f49e372f4ea00a19719d95ae27dd5ff0fd77ad630aa891306b82f3"}, {file = "identify-2.6.2.tar.gz", hash = "sha256:fab5c716c24d7a789775228823797296a2994b075fb6080ac83a102772a98cbd"}, @@ -662,6 +691,7 @@ version = "3.10" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.6" +groups = ["main", "dev"] files = [ {file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"}, {file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"}, @@ -676,6 +706,7 @@ version = "0.5.1" description = "A port of Ruby on Rails inflector to Python" optional = false python-versions = ">=3.5" +groups = ["dev"] files = [ {file = "inflection-0.5.1-py2.py3-none-any.whl", hash = "sha256:f38b2b640938a4f35ade69ac3d053042959b62a0f1076a5bbaa1b9526605a8a2"}, {file = "inflection-0.5.1.tar.gz", hash = "sha256:1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417"}, @@ -687,6 +718,7 @@ version = "2.0.0" description = "brain-dead simple config-ini parsing" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, @@ -698,6 +730,7 @@ version = "3.1.5" description = "A very fast and expressive template engine." optional = false python-versions = ">=3.7" +groups = ["main"] files = [ {file = "jinja2-3.1.5-py3-none-any.whl", hash = "sha256:aba0f4dc9ed8013c424088f68a5c226f7d6097ed89b246d7749c2ec4175c6adb"}, {file = "jinja2-3.1.5.tar.gz", hash = "sha256:8fefff8dc3034e27bb80d67c671eb8a9bc424c0ef4c0826edbff304cceff43bb"}, @@ -715,6 +748,7 @@ version = "1.0.1" description = "JSON Matching Expressions" optional = false python-versions = ">=3.7" +groups = ["main"] files = [ {file = "jmespath-1.0.1-py3-none-any.whl", hash = "sha256:02e2e4cc71b5bcab88332eebf907519190dd9e6e82107fa7f83b1003a6252980"}, {file = "jmespath-1.0.1.tar.gz", hash = "sha256:90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe"}, @@ -726,6 +760,7 @@ version = "3.0.0" description = "Python port of markdown-it. Markdown parsing, done right!" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"}, {file = "markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1"}, @@ -750,6 +785,7 @@ version = "3.0.2" description = "Safely add untrusted strings to HTML/XML markup." optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"}, {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"}, @@ -820,6 +856,7 @@ version = "0.1.2" description = "Markdown URL utilities" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ {file = "mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}, {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, @@ -831,6 +868,7 @@ version = "1.14.1" description = "Optional static typing for Python" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "mypy-1.14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:52686e37cf13d559f668aa398dd7ddf1f92c5d613e4f8cb262be2fb4fedb0fcb"}, {file = "mypy-1.14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1fb545ca340537d4b45d3eecdb3def05e913299ca72c290326be19b3804b39c0"}, @@ -889,6 +927,7 @@ version = "1.0.0" description = "Type system extensions for programs checked with the mypy type checker." optional = false python-versions = ">=3.5" +groups = ["dev"] files = [ {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, @@ -900,6 +939,7 @@ version = "1.9.1" description = "Node.js virtual environment builder" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +groups = ["dev"] files = [ {file = "nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9"}, {file = "nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f"}, @@ -911,6 +951,7 @@ version = "3.2.2" description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "oauthlib-3.2.2-py3-none-any.whl", hash = "sha256:8139f29aac13e25d502680e9e19963e83f16838d48a0d71c287fe40e7067fbca"}, {file = "oauthlib-3.2.2.tar.gz", hash = "sha256:9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918"}, @@ -927,6 +968,7 @@ version = "24.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"}, {file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"}, @@ -938,6 +980,7 @@ version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, @@ -949,6 +992,7 @@ version = "6.1.0" description = "Python Build Reasonableness" optional = false python-versions = ">=2.6" +groups = ["dev"] files = [ {file = "pbr-6.1.0-py2.py3-none-any.whl", hash = "sha256:a776ae228892d8013649c0aeccbb3d5f99ee15e005a4cbb7e61d55a067b28a2a"}, {file = "pbr-6.1.0.tar.gz", hash = "sha256:788183e382e3d1d7707db08978239965e8b9e4e5ed42669bf4758186734d5f24"}, @@ -960,6 +1004,7 @@ version = "4.3.6" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"}, {file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"}, @@ -976,6 +1021,7 @@ version = "1.5.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, @@ -991,6 +1037,7 @@ version = "4.1.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "pre_commit-4.1.0-py2.py3-none-any.whl", hash = "sha256:d29e7cb346295bcc1cc75fc3e92e343495e3ea0196c9ec6ba53f49f10ab6ae7b"}, {file = "pre_commit-4.1.0.tar.gz", hash = "sha256:ae3f018575a588e30dfddfab9a05448bfbd6b73d78709617b5a2b853549716d4"}, @@ -1009,6 +1056,7 @@ version = "2.10.6" description = "Data validation using Python type hints" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "pydantic-2.10.6-py3-none-any.whl", hash = "sha256:427d664bf0b8a2b34ff5dd0f5a18df00591adcee7198fbd71981054cef37b584"}, {file = "pydantic-2.10.6.tar.gz", hash = "sha256:ca5daa827cce33de7a42be142548b0096bf05a7e7b365aebfa5f8eeec7128236"}, @@ -1030,6 +1078,7 @@ version = "2.27.2" description = "Core functionality for Pydantic validation and serialization" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "pydantic_core-2.27.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2d367ca20b2f14095a8f4fa1210f5a7b78b8a20009ecced6b12818f455b1e9fa"}, {file = "pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:491a2b73db93fab69731eaee494f320faa4e093dbed776be1a829c2eb222c34c"}, @@ -1142,6 +1191,7 @@ version = "2.7.1" description = "Settings management using Pydantic" optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "pydantic_settings-2.7.1-py3-none-any.whl", hash = "sha256:590be9e6e24d06db33a4262829edef682500ef008565a969c73d39d5f8bfb3fd"}, {file = "pydantic_settings-2.7.1.tar.gz", hash = "sha256:10c9caad35e64bfb3c2fbf70a078c0e25cc92499782e5200747f942a065dec93"}, @@ -1162,6 +1212,7 @@ version = "1.4.0" description = "Adds some YAML functionality to the excellent `pydantic` library." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "pydantic_yaml-1.4.0-py3-none-any.whl", hash = "sha256:f9ad82d8c0548e779e00d6ec639f6efa8f8c7e14d12d0bf9fdc400a37300d7ba"}, {file = "pydantic_yaml-1.4.0.tar.gz", hash = "sha256:09f6b9ec9d80550dd3a58596a6a0948a1830fae94b73329b95c2b9dbfc35ae00"}, @@ -1182,6 +1233,7 @@ version = "2.18.0" description = "Pygments is a syntax highlighting package written in Python." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pygments-2.18.0-py3-none-any.whl", hash = "sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a"}, {file = "pygments-2.18.0.tar.gz", hash = "sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"}, @@ -1196,6 +1248,7 @@ version = "1.15" description = "Thin wrapper for pandoc." optional = false python-versions = ">=3.7" +groups = ["main"] files = [ {file = "pypandoc-1.15-py3-none-any.whl", hash = "sha256:4ededcc76c8770f27aaca6dff47724578428eca84212a31479403a9731fc2b16"}, {file = "pypandoc-1.15.tar.gz", hash = "sha256:ea25beebe712ae41d63f7410c08741a3cab0e420f6703f95bc9b3a749192ce13"}, @@ -1207,6 +1260,7 @@ version = "8.3.4" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6"}, {file = "pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761"}, @@ -1227,6 +1281,7 @@ version = "0.25.2" description = "Pytest support for asyncio" optional = false python-versions = ">=3.9" +groups = ["dev"] files = [ {file = "pytest_asyncio-0.25.2-py3-none-any.whl", hash = "sha256:0d0bb693f7b99da304a0634afc0a4b19e49d5e0de2d670f38dc4bfa5727c5075"}, {file = "pytest_asyncio-0.25.2.tar.gz", hash = "sha256:3f8ef9a98f45948ea91a0ed3dc4268b5326c0e7bce73892acc654df4262ad45f"}, @@ -1245,6 +1300,7 @@ version = "0.5.2" description = "A py.test plugin that parses environment files before running tests" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "pytest-dotenv-0.5.2.tar.gz", hash = "sha256:2dc6c3ac6d8764c71c6d2804e902d0ff810fa19692e95fe138aefc9b1aa73732"}, {file = "pytest_dotenv-0.5.2-py3-none-any.whl", hash = "sha256:40a2cece120a213898afaa5407673f6bd924b1fa7eafce6bda0e8abffe2f710f"}, @@ -1260,6 +1316,7 @@ version = "2.7.0" description = "Factory Boy support for pytest." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pytest_factoryboy-2.7.0-py3-none-any.whl", hash = "sha256:bf3222db22d954fbf46f4bff902a0a8d82f3fc3594a47c04bbdc0546ff4c59a6"}, {file = "pytest_factoryboy-2.7.0.tar.gz", hash = "sha256:67fc54ec8669a3feb8ac60094dd57cd71eb0b20b2c319d2957873674c776a77b"}, @@ -1278,6 +1335,7 @@ version = "3.14.0" description = "Thin-wrapper around the mock package for easier use with pytest" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "pytest-mock-3.14.0.tar.gz", hash = "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"}, {file = "pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f"}, @@ -1295,6 +1353,7 @@ version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +groups = ["dev"] files = [ {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, @@ -1309,6 +1368,7 @@ version = "1.0.1" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false python-versions = ">=3.8" +groups = ["main", "dev"] files = [ {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, @@ -1323,6 +1383,7 @@ version = "6.0.2" description = "YAML parser and emitter for Python" optional = false python-versions = ">=3.8" +groups = ["main", "dev"] files = [ {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, @@ -1385,6 +1446,7 @@ version = "2.32.3" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" +groups = ["main", "dev"] files = [ {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, @@ -1406,6 +1468,7 @@ version = "2.0.0" description = "OAuthlib authentication support for Requests." optional = false python-versions = ">=3.4" +groups = ["main"] files = [ {file = "requests-oauthlib-2.0.0.tar.gz", hash = "sha256:b3dffaebd884d8cd778494369603a9e7b58d29111bf6b41bdc2dcd87203af4e9"}, {file = "requests_oauthlib-2.0.0-py2.py3-none-any.whl", hash = "sha256:7dd8a5c40426b779b0868c404bdef9768deccf22749cde15852df527e6269b36"}, @@ -1424,6 +1487,7 @@ version = "0.25.6" description = "A utility library for mocking out the `requests` Python library." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "responses-0.25.6-py3-none-any.whl", hash = "sha256:9cac8f21e1193bb150ec557875377e41ed56248aed94e4567ed644db564bacf1"}, {file = "responses-0.25.6.tar.gz", hash = "sha256:eae7ce61a9603004e76c05691e7c389e59652d91e94b419623c12bbfb8e331d8"}, @@ -1443,6 +1507,7 @@ version = "13.9.4" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false python-versions = ">=3.8.0" +groups = ["dev"] files = [ {file = "rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90"}, {file = "rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098"}, @@ -1461,6 +1526,7 @@ version = "0.18.6" description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" optional = false python-versions = ">=3.7" +groups = ["main"] files = [ {file = "ruamel.yaml-0.18.6-py3-none-any.whl", hash = "sha256:57b53ba33def16c4f3d807c0ccbc00f8a6081827e81ba2491691b76882d0c636"}, {file = "ruamel.yaml-0.18.6.tar.gz", hash = "sha256:8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b"}, @@ -1479,6 +1545,8 @@ version = "0.2.12" description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" optional = false python-versions = ">=3.9" +groups = ["main"] +markers = "platform_python_implementation == \"CPython\" and python_version < \"3.13\"" files = [ {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-macosx_13_0_arm64.whl", hash = "sha256:11f891336688faf5156a36293a9c362bdc7c88f03a8a027c2c1d8e0bcde998e5"}, {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:a606ef75a60ecf3d924613892cc603b154178ee25abb3055db5062da811fd969"}, @@ -1486,7 +1554,6 @@ files = [ {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f66efbc1caa63c088dead1c4170d148eabc9b80d95fb75b6c92ac0aad2437d76"}, {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:22353049ba4181685023b25b5b51a574bce33e7f51c759371a7422dcae5402a6"}, {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:932205970b9f9991b34f55136be327501903f7c66830e9760a8ffb15b07f05cd"}, - {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a52d48f4e7bf9005e8f0a89209bf9a73f7190ddf0489eee5eb51377385f59f2a"}, {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-win32.whl", hash = "sha256:3eac5a91891ceb88138c113f9db04f3cebdae277f5d44eaa3651a4f573e6a5da"}, {file = "ruamel.yaml.clib-0.2.12-cp310-cp310-win_amd64.whl", hash = "sha256:ab007f2f5a87bd08ab1499bdf96f3d5c6ad4dcfa364884cb4549aa0154b13a28"}, {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:4a6679521a58256a90b0d89e03992c15144c5f3858f40d7c18886023d7943db6"}, @@ -1495,7 +1562,6 @@ files = [ {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:811ea1594b8a0fb466172c384267a4e5e367298af6b228931f273b111f17ef52"}, {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:cf12567a7b565cbf65d438dec6cfbe2917d3c1bdddfce84a9930b7d35ea59642"}, {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:7dd5adc8b930b12c8fc5b99e2d535a09889941aa0d0bd06f4749e9a9397c71d2"}, - {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1492a6051dab8d912fc2adeef0e8c72216b24d57bd896ea607cb90bb0c4981d3"}, {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-win32.whl", hash = "sha256:bd0a08f0bab19093c54e18a14a10b4322e1eacc5217056f3c063bd2f59853ce4"}, {file = "ruamel.yaml.clib-0.2.12-cp311-cp311-win_amd64.whl", hash = "sha256:a274fb2cb086c7a3dea4322ec27f4cb5cc4b6298adb583ab0e211a4682f241eb"}, {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:20b0f8dc160ba83b6dcc0e256846e1a02d044e13f7ea74a3d1d56ede4e48c632"}, @@ -1504,7 +1570,6 @@ files = [ {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:749c16fcc4a2b09f28843cda5a193e0283e47454b63ec4b81eaa2242f50e4ccd"}, {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bf165fef1f223beae7333275156ab2022cffe255dcc51c27f066b4370da81e31"}, {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:32621c177bbf782ca5a18ba4d7af0f1082a3f6e517ac2a18b3974d4edf349680"}, - {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b82a7c94a498853aa0b272fd5bc67f29008da798d4f93a2f9f289feb8426a58d"}, {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-win32.whl", hash = "sha256:e8c4ebfcfd57177b572e2040777b8abc537cdef58a2120e830124946aa9b42c5"}, {file = "ruamel.yaml.clib-0.2.12-cp312-cp312-win_amd64.whl", hash = "sha256:0467c5965282c62203273b838ae77c0d29d7638c8a4e3a1c8bdd3602c10904e4"}, {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:4c8c5d82f50bb53986a5e02d1b3092b03622c02c2eb78e29bec33fd9593bae1a"}, @@ -1513,7 +1578,6 @@ files = [ {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96777d473c05ee3e5e3c3e999f5d23c6f4ec5b0c38c098b3a5229085f74236c6"}, {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:3bc2a80e6420ca8b7d3590791e2dfc709c88ab9152c00eeb511c9875ce5778bf"}, {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:e188d2699864c11c36cdfdada94d781fd5d6b0071cd9c427bceb08ad3d7c70e1"}, - {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4f6f3eac23941b32afccc23081e1f50612bdbe4e982012ef4f5797986828cd01"}, {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-win32.whl", hash = "sha256:6442cb36270b3afb1b4951f060eccca1ce49f3d087ca1ca4563a6eb479cb3de6"}, {file = "ruamel.yaml.clib-0.2.12-cp313-cp313-win_amd64.whl", hash = "sha256:e5b8daf27af0b90da7bb903a876477a9e6d7270be6146906b276605997c7e9a3"}, {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:fc4b630cd3fa2cf7fce38afa91d7cfe844a9f75d7f0f36393fa98815e911d987"}, @@ -1522,7 +1586,6 @@ files = [ {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e2f1c3765db32be59d18ab3953f43ab62a761327aafc1594a2a1fbe038b8b8a7"}, {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:d85252669dc32f98ebcd5d36768f5d4faeaeaa2d655ac0473be490ecdae3c285"}, {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:e143ada795c341b56de9418c58d028989093ee611aa27ffb9b7f609c00d813ed"}, - {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:2c59aa6170b990d8d2719323e628aaf36f3bfbc1c26279c0eeeb24d05d2d11c7"}, {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-win32.whl", hash = "sha256:beffaed67936fbbeffd10966a4eb53c402fafd3d6833770516bf7314bc6ffa12"}, {file = "ruamel.yaml.clib-0.2.12-cp39-cp39-win_amd64.whl", hash = "sha256:040ae85536960525ea62868b642bdb0c2cc6021c9f9d507810c0c604e66f5a7b"}, {file = "ruamel.yaml.clib-0.2.12.tar.gz", hash = "sha256:6c8fbb13ec503f99a91901ab46e0b07ae7941cd527393187039aec586fdfd36f"}, @@ -1534,6 +1597,7 @@ version = "0.9.3" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ {file = "ruff-0.9.3-py3-none-linux_armv6l.whl", hash = "sha256:7f39b879064c7d9670197d91124a75d118d00b0990586549949aae80cdc16624"}, {file = "ruff-0.9.3-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:a187171e7c09efa4b4cc30ee5d0d55a8d6c5311b3e1b74ac5cb96cc89bafc43c"}, @@ -1561,6 +1625,7 @@ version = "2.20.0" description = "Python client for Sentry (https://sentry.io)" optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "sentry_sdk-2.20.0-py2.py3-none-any.whl", hash = "sha256:c359a1edf950eb5e80cffd7d9111f3dbeef57994cb4415df37d39fda2cf22364"}, {file = "sentry_sdk-2.20.0.tar.gz", hash = "sha256:afa82713a92facf847df3c6f63cec71eb488d826a50965def3d7722aa6f0fdab"}, @@ -1617,6 +1682,7 @@ version = "1.16.0" description = "Python 2 and 3 compatibility utilities" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +groups = ["main", "dev"] files = [ {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, @@ -1628,6 +1694,7 @@ version = "1.3.1" description = "Sniff out which async library your code is running under" optional = false python-versions = ">=3.7" +groups = ["main", "dev"] files = [ {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, @@ -1639,6 +1706,7 @@ version = "2.6" description = "A modern CSS selector implementation for Beautiful Soup." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "soupsieve-2.6-py3-none-any.whl", hash = "sha256:e72c4ff06e4fb6e4b5a9f0f55fe6e81514581fca1515028625d0f299c602ccc9"}, {file = "soupsieve-2.6.tar.gz", hash = "sha256:e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb"}, @@ -1650,6 +1718,7 @@ version = "0.41.2" description = "The little ASGI library that shines." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "starlette-0.41.2-py3-none-any.whl", hash = "sha256:fbc189474b4731cf30fcef52f18a8d070e3f3b46c6a04c97579e85e6ffca942d"}, {file = "starlette-0.41.2.tar.gz", hash = "sha256:9834fd799d1a87fd346deb76158668cfa0b0d56f85caefe8268e2d97c3468b62"}, @@ -1667,6 +1736,7 @@ version = "4.0.1" description = "A simple statsd client." optional = false python-versions = "*" +groups = ["main"] files = [ {file = "statsd-4.0.1-py2.py3-none-any.whl", hash = "sha256:c2676519927f7afade3723aca9ca8ea986ef5b059556a980a867721ca69df093"}, {file = "statsd-4.0.1.tar.gz", hash = "sha256:99763da81bfea8daf6b3d22d11aaccb01a8d0f52ea521daab37e758a4ca7d128"}, @@ -1678,6 +1748,7 @@ version = "5.3.0" description = "Manage dynamic plugins for Python applications" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "stevedore-5.3.0-py3-none-any.whl", hash = "sha256:1efd34ca08f474dad08d9b19e934a22c68bb6fe416926479ba29e5013bcc8f78"}, {file = "stevedore-5.3.0.tar.gz", hash = "sha256:9a64265f4060312828151c204efbe9b7a9852a0d9228756344dbc7e4023e375a"}, @@ -1692,6 +1763,7 @@ version = "2.32.0.20241016" description = "Typing stubs for requests" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "types-requests-2.32.0.20241016.tar.gz", hash = "sha256:0d9cad2f27515d0e3e3da7134a1b6f28fb97129d86b867f24d9c726452634d95"}, {file = "types_requests-2.32.0.20241016-py3-none-any.whl", hash = "sha256:4195d62d6d3e043a4eaaf08ff8a62184584d2e8684e9d2aa178c7915a7da3747"}, @@ -1706,6 +1778,7 @@ version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" +groups = ["main", "dev"] files = [ {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, @@ -1717,6 +1790,7 @@ version = "2.2.3" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=3.8" +groups = ["main", "dev"] files = [ {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, @@ -1734,6 +1808,7 @@ version = "0.34.0" description = "The lightning-fast ASGI server." optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "uvicorn-0.34.0-py3-none-any.whl", hash = "sha256:023dc038422502fa28a09c7a30bf2b6991512da7dcdb8fd35fe57cfc154126f4"}, {file = "uvicorn-0.34.0.tar.gz", hash = "sha256:404051050cd7e905de2c9a7e61790943440b3416f49cb409f965d9dcd0fa73e9"}, @@ -1759,6 +1834,8 @@ version = "0.21.0" description = "Fast implementation of asyncio event loop on top of libuv" optional = false python-versions = ">=3.8.0" +groups = ["main"] +markers = "(sys_platform != \"win32\" and sys_platform != \"cygwin\") and platform_python_implementation != \"PyPy\"" files = [ {file = "uvloop-0.21.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ec7e6b09a6fdded42403182ab6b832b71f4edaf7f37a9a0e371a01db5f0cb45f"}, {file = "uvloop-0.21.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:196274f2adb9689a289ad7d65700d37df0c0930fd8e4e743fa4834e850d7719d"}, @@ -1810,6 +1887,7 @@ version = "20.27.1" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "virtualenv-20.27.1-py3-none-any.whl", hash = "sha256:f11f1b8a29525562925f745563bfd48b189450f61fb34c4f9cc79dd5aa32a1f4"}, {file = "virtualenv-20.27.1.tar.gz", hash = "sha256:142c6be10212543b32c6c45d3d3893dff89112cc588b7d0879ae5a1ec03a47ba"}, @@ -1830,6 +1908,7 @@ version = "0.24.0" description = "Simple, modern and high performance file watching and code reload in python." optional = false python-versions = ">=3.8" +groups = ["main"] files = [ {file = "watchfiles-0.24.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:083dc77dbdeef09fa44bb0f4d1df571d2e12d8a8f985dccde71ac3ac9ac067a0"}, {file = "watchfiles-0.24.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e94e98c7cb94cfa6e071d401ea3342767f28eb5a06a58fafdc0d2a4974f4f35c"}, @@ -1925,6 +2004,7 @@ version = "14.0" description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)" optional = false python-versions = ">=3.9" +groups = ["main"] files = [ {file = "websockets-14.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:064a72c0602c2d2c2586143561e0f179ef9b98e0825dc4a3d5cdf55a81898ed6"}, {file = "websockets-14.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9dc5a2726fd16c266d35838db086fa4e621bb049e3bbe498ab9d54ad5068f726"}, @@ -2003,6 +2083,7 @@ version = "1.16.0" description = "Module for decorators, wrappers and monkey patching." optional = false python-versions = ">=3.6" +groups = ["main"] files = [ {file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"}, {file = "wrapt-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e4fdb9275308292e880dcbeb12546df7f3e0f96c6b41197e0cf37d2826359020"}, @@ -2082,6 +2163,7 @@ version = "1.35.1" description = "A linter for YAML files." optional = false python-versions = ">=3.8" +groups = ["dev"] files = [ {file = "yamllint-1.35.1-py3-none-any.whl", hash = "sha256:2e16e504bb129ff515b37823b472750b36b6de07963bd74b307341ef5ad8bdc3"}, {file = "yamllint-1.35.1.tar.gz", hash = "sha256:7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd"}, @@ -2095,6 +2177,6 @@ pyyaml = "*" dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] -lock-version = "2.0" +lock-version = "2.1" python-versions = ">=3.12, <3.14" -content-hash = "dfb0abc000c02be7aab5ae7b18498498eb87812e53a38113def173a05ddfbaa4" +content-hash = "d07be53eb0019505a5ef7446b0cacbfddc36eb6448ff1d613e30c064bf267db5" diff --git a/pyproject.toml b/pyproject.toml index c565a5b3..c042e240 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "jira-bugzilla-integration" +name = "jbi" version = "0" description = "jira-bugzilla-integration" authors = ["@mozilla/jbi-core"] @@ -22,6 +22,7 @@ pydantic-settings = "^2.7.1" pypandoc = "^1.15" [tool.poetry.group.dev.dependencies] +click = "^8.1.7" pre-commit = "^4.1.0" coverage = {extras = ["toml"], version = "^7.6"} mypy = "^1.14" @@ -39,6 +40,8 @@ ruff = "^0.9.3" pytest-mock = "^3.14.0" pytest-asyncio = "^0.25.2" +[tool.poetry.scripts] +jbi = "jbi.__main__:cli" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/tests/conftest.py b/tests/conftest.py index 76167d9b..7c103fa5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -127,11 +127,11 @@ def dl_queue(tmp_path): def mocked_bugzilla(request): if "no_mocked_bugzilla" in request.keywords: yield None - bugzilla.get_service.cache_clear() + bugzilla.service.get_service.cache_clear() else: with mock.patch("jbi.bugzilla.service.BugzillaClient") as mocked_bz: yield mocked_bz() - bugzilla.get_service.cache_clear() + bugzilla.service.get_service.cache_clear() @pytest.fixture(autouse=True) diff --git a/tests/unit/test_steps.py b/tests/unit/test_steps.py index 87dff8ed..c669964d 100644 --- a/tests/unit/test_steps.py +++ b/tests/unit/test_steps.py @@ -17,14 +17,14 @@ "add_link_to_bugzilla", "add_link_to_jira", "maybe_assign_jira_user", - "maybe_update_issue_resolution", "maybe_update_issue_status", + "maybe_update_issue_resolution", ], "existing": [ "update_issue_summary", "maybe_assign_jira_user", - "maybe_update_issue_resolution", "maybe_update_issue_status", + "maybe_update_issue_resolution", ], "comment": [ "create_comment",