aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py (unfollow)
Commit message (Collapse)AuthorLines
2 daysUpdate markdown parser for new heading parsingGravatar Joe Banks-1/+1
python-markdownify 1.2.0 changed the _convert_hN method on MarkdownConverters public (and renamed to convert_hN). Functionality remains the same, just needs a rename of the method.
2 daysDowngrade pytest-subtests 0.14.1 to resolve DumpErrorGravatar Joe Banks-5/+5
2 daysRuff fixes for Python 3.14 and Ruff 0.14.2Gravatar Joe Banks-21/+22
2 daysUpdate Ruff to latest version 0.14.2Gravatar Joe Banks-23/+24
2 daysRemove explicit ruff version targetingGravatar Joe Banks-1/+0
2 daysUpdate RemoteObject in branding manager to use inspect.get_annotationsGravatar Joe Banks-2/+4
2 daysUpgrade all dependencies to latest available versionsGravatar Joe Banks-75/+87
2 daysUpgrade uv in Docker image to 0.9Gravatar Joe Banks-1/+1
2 daysUpdate dependencies that would not build on 3.14Gravatar Joe Banks-358/+468
Ahead of further dependency upgrades for dependencies that do build fine on newer Python versions.
2 daysUpgrade to Python 3.14Gravatar Joe Banks-2/+2
2 daysrefactor: update botstrap to be more beginner-friendly (#3417)Gravatar z-146/+407
- provide completion message - silence httpcore logger - filter out botcore's warning for patching send_typing - use short url for contributing link - only use logging.warning and up for things that need user action - use logging.fatal when exiting due to error - upgrade application flags if intents weren't enabled - provide an invite link if the bot isn't in the configured guild - add audit log reason to requests that support it - sync emojis to the test guild - provide a helpful error message when BOT_TOKEN is not set, use pydantic for env management - remove special forum channel handling - fix: add utf8 encoding for windows support
6 daysHandle closed DMs in paste uploader (#3434)Gravatar Copilot-4/+7
* Initial plan * Fix paste uploader to handle closed DMs Co-authored-by: jb3 <[email protected]> * Use discord.Forbidden instead of importing Forbidden Co-authored-by: jb3 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jb3 <[email protected]> Co-authored-by: Vivek Ashokkumar <[email protected]>
9 daysProvide original context when DMing delete link for attachment paste upload ↵Gravatar Dragon-1/+4
(#3432)
11 daysfeat: include GitHub token in headers if availableGravatar Zenith-1/+3
Add GitHub authorization header using token from Keys.
13 daysUpgrade deepdiff to 8.6.1Gravatar Joe Banks-5/+5
13 daysBump regex from 2024.11.6 to 2025.10.23 (#3429)Gravatar dependabot[bot]-21/+34
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2024.11.6 to 2025.10.23. - [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt) - [Commits](https://github.com/mrabarnett/mrab-regex/compare/2024.11.6...2025.10.23) --- updated-dependencies: - dependency-name: regex dependency-version: 2025.10.23 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
13 daysResolve dependency problems with coverage versionsGravatar Joe Banks-57/+64
13 daysRemove enable-beta-ecosystems setting from configGravatar Joe Banks-1/+1
13 daysBump actions/upload-artifact from 4 to 5Gravatar dependabot[bot]-1/+1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2025-10-25Remove message count requirement from voice gate and make activity block ↵Gravatar Moritz von Berg-4/+2
requirement more vague (#3387) * made voice gate failure reason phrasing more consistent * added word for clarification and to split numbers * made voice gate activity messages less informative * removed message count check and removed extraneous period from message * Update bot/exts/moderation/voice_gate.py Co-authored-by: Vivek Ashokkumar <[email protected]> --------- Co-authored-by: Vivek Ashokkumar <[email protected]>
2025-10-21Change uv-lock language to system in configGravatar Joe Banks-1/+1
2025-10-21chore: add pre-commit hook for checking uv is locked (#3416)Gravatar Zenith-2/+9
2025-10-21Relock uv.lockGravatar Joe Banks-1/+1
2025-10-21clarify when yarl performs this normalisationGravatar onerandomusername-1/+1
2025-10-21build: add explicit dependency on yarlGravatar onerandomusername-0/+3
2025-10-21Implement URL normalization in code snippet handlerGravatar arielle-0/+15
Add URL normalization checks using yarl in code snippets.
2025-10-21Fix incorrect variable used in mentions logicGravatar wookie184-2/+2
resolved is always None here, as the logic is for the case when resolved is None. Instead we want to use the channel and message ID from ref directly, which are always defined here
2025-10-21Lower level of log about missing channel to infoGravatar wookie184-1/+1
If e.g. a moderator deleted it already this is expected so no need for a sentry alert
2025-10-21Bump astral-sh/setup-uv from 6 to 7Gravatar dependabot[bot]-1/+1
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2025-10-21fix: don't upload attachments in dms (#3412)Gravatar Zenith-2/+2
* fix: don't upload attachments in dms closes GH-3403
2025-10-17Dependency bumps (including pydis_core to 11.8.0)Gravatar Joe Banks-278/+276
2025-10-14Add JIT-compiler explanation to j-suffixed Python buildsGravatar Joe Banks-0/+2
2025-10-14Add 3.14j to SupportedPythonVersionsGravatar Joe Banks-1/+1
2025-10-13Fix unbound error for code snippet fetch errorsGravatar arielle-0/+1
closes GH-3404
2025-10-10Update 3.13t to 3.14tGravatar Joe Banks-1/+1
See python-discord/snekbox#246 for relevant snekbox changes
2025-10-09Use last character of Python version to determine free threading Gravatar Joe Banks-1/+1
Removes the need to hardcode each specific "3.Xt" version we may support in future. Co-authored-by: ChrisJL <[email protected]>
2025-10-09Stop using Literal ordering to determine default !eval Python versionGravatar Joe Banks-9/+11
Instead of using typing.get_args(...) and fetching the first value returned (which is mostly safe, but not guaranteed to be so), use a new constant DEFAULT_PYTHON_VERSION to control the current default Python executor when no explicit interpreter version is passed.
2025-10-09Update EvalJob to fetch default Python version instead of hardcodingGravatar Joe Banks-5/+3
2025-10-09Move snekbox operational and typing constants to a new fileGravatar Joe Banks-21/+37
This will allow all other utility files within the snekbox cog to access types such as `SupportedPythonVersions` without causing circular import issues.
2025-10-09Remove notice about 3.14 being pre-releaseGravatar Joe Banks-2/+0
2025-10-09Re-order SupportedPythonVersions to default to using 3.14.0Gravatar Joe Banks-1/+1
2025-09-27Add `!exec` alias to clarify command behavior (#3392)Gravatar Dragon-1/+1
* add exec as an alias for eval * add whitespace
2025-09-24testing readme grammar fix (#3391)Gravatar Moritz von Berg-3/+3
2025-09-23fix: don't create a new session to upload to the pastebin (#3388)Gravatar arielle-17/+12
* fix: don't create a new session to upload to the pastebin noticed this earlier but didn't see it get fixed this is a simple fix that lessens creating an unnecessary session * fix the other two instances https://discord.com/channels/267624335836053506/291284109232308226/1419909021460336680
2025-09-23Preserve Invocation Context (#3377)Gravatar Dragon-2/+36
When redirecting commands, upload a paste of the original invocation command to the paste server for users to copy/paste. --------- Co-authored-by: Joe Banks <[email protected]>
2025-09-12Rename PyPi class to PyPI for consistencyGravatar arielle-6/+6
2025-09-05A list is a better expression of the intentGravatar Ned Batchelder-1/+1
2025-08-13Bump actions/checkout from 4 to 5 (#3369)Gravatar dependabot[bot]-4/+4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-10Dependency bumpsGravatar Joe Banks-106/+103
Mainly for pydis-core, but bump other dependencies as well
2025-08-09Centralize cache reading and decoding in a helper functionGravatar Boris Muratov-19/+32