{"head_branch": "kingmigdor/entitlements", "contributor": "kingmigdor", "sha_fail": "da9d790a9c6dccd49a8dc0766f8ecea1043f49b6", "sha_success": "57bb0eff511eb11062cba25ddc948329475aa0fc", "language": "Python", "repo_owner": "nextcord", "repo_name": "nextcord", "workflow_name": "Test docs", "workflow_filename": "docs.yml", "workflow_path": ".github/workflows/docs.yml", "workflow": "name: Test docs\n\non:\n push:\n branches:\n - master\n pull_request:\n\njobs:\n docs:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n python-version: [ 3.8 ]\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install -r requirements.txt -r docs/requirements.txt\n - name: Compile docs\n run: |\n cd docs\n make html\n", "logs": "No module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.BotMissingRole' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.MissingAnyRole' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.BotMissingAnyRole' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.NSFWChannelRequired' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.FlagError' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.BadFlagArgument' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.MissingFlagArgument' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.TooManyFlags' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.MissingRequiredFlag' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.ExtensionError' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.ExtensionAlreadyLoaded' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.ExtensionNotLoaded' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.NoEntryPointError' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.InvalidSetupArguments' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.ExtensionFailed' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.ExtensionNotFound' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import exception 'ext.commands.CommandRegistrationError' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import class 'ext.tasks.Loop' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\nWARNING: autodoc: failed to import function 'ext.tasks.loop' from module 'nextcord'; the following exception was raised:\nNo module named 'enums'\n\nlooking for now-outdated files... none found\npickling environment... done\nchecking consistency... done\npreparing documents... done\nwriting output... [ 4%] api\n\nExtension error (attributetable):\nHandler <function process_attributetable at 0x7f1ef468c1f0> for event 'doctree-resolved' threw an exception (exception: No module named 'enums')\nmake: *** [Makefile:54: html] Error 2\n##[error]Process completed with exit code 2.\n", "diff": "diff --git a/nextcord/entitlement.py b/nextcord/entitlement.py\nindex 8e23694a..fa23219c 100644\n--- a/nextcord/entitlement.py\n+++ b/nextcord/entitlement.py\n@@ -5,11 +5,10 @@ from __future__ import annotations\n from datetime import datetime\n from typing import Optional\n \n-from enums import EntitlementType, SKUType\n-from flags import SKUFlags\n-from object import Object\n-from utils import parse_time\n-\n+from .enums import EntitlementType, SKUType\n+from .flags import SKUFlags\n+from .object import Object\n+from .utils import parse_time\n from .types.entitlement import SKU as SKUPayload, Entitlement as EntitlementPayload\n \n \n"} |