Skip to content

Commit

Permalink
Bump to v0.7.3 (for real) #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Jan 29, 2024
2 parents 105f002 + d926c96 commit 1533fd4
Show file tree
Hide file tree
Showing 8 changed files with 715 additions and 687 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: Gr1N/setup-poetry@v8
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-codeql-python-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-lint-${{ matrix.version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion bot/cogs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def __str__(self) -> str:


EXTENSIONS = [module.name for module in iter_modules(__path__, f"{__package__}.")]
VERSION: VersionInfo = VersionInfo(major=0, minor=7, micro=2, releaselevel="final")
VERSION: VersionInfo = VersionInfo(major=0, minor=7, micro=3, releaselevel="final")
6 changes: 2 additions & 4 deletions bot/cogs/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def terms(
async with self.session.get(url) as r:
data = await r.json(loads=orjson.loads)
if len(data) == 0:
await interaction.response.send_message("No terms were found")
await interaction.followup.send("No terms were found")
return
converted = [
TermEntity(
Expand Down Expand Up @@ -148,9 +148,7 @@ async def lookup(
async with self.session.get(url) as r:
data = await r.json(loads=orjson.loads)
if data is None:
await interaction.response.send_message(
"The pronouns requested were not found"
)
await interaction.followup.send("The pronouns requested were not found")
return

if pronouns is not None:
Expand Down
7 changes: 4 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Patch to address pride profiles not working. For the release of v0.7.0, please see the [release notes](https://github.com/No767/Catherine-Chan/releases/tag/v0.7.0)
Addresses one small bug with the dictionary commands not responding. For the release of v0.7.0, please see the [release notes](https://github.com/No767/Catherine-Chan/releases/tag/v0.7.0)

## ✨ TD;LR

- Addressed wrong SQL query
- Addressed improper followups

## 🛠️ Changes

- Remove lower case checking for `/pride-profiles view`
- Updated error responses in `dictionary` commands to properly follow up instead of failing
- Upgrade prod requirements

## ✨ Additions

Expand Down
1,341 changes: 685 additions & 656 deletions poetry.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "catherine-chan"
version = "0.7.2"
version = "0.7.3"
description = "An informational LGBTQ based discord bot"
authors = ["No767 <[email protected]>"]
readme = "README.md"
Expand All @@ -9,29 +9,29 @@ license = "GPL-3.0"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
discord-py = {extras = ["speed"], version = "^2.3.2"}
python-dotenv = "^1.0.0"
python-dotenv = "^1.0.1"
uvloop = {markers = "sys_platform != \"win32\"", version = "^0.19.0"}
asyncpg = "^0.29.0"
asyncpg-trek = "^0.3.1"
python-dateutil = "^2.8.2"
discord-ext-menus = {git = "https://github.com/Rapptz/discord-ext-menus.git", rev = "8686b5d1bbc1d3c862292eb436ab630d6e9c9b53"}
msgspec = "^0.18.5"
msgspec = "^0.18.6"
discord-ext-ipcx = "^0.2.2"
pygit2 = "^1.13.3"
psutil = "^5.9.7"
psutil = "^5.9.8"
prometheus-client = "^0.19.0"
prometheus-async = "^22.2.0"
better-profanity = "0.6.1"
winloop = {markers = "sys_platform == \"win32\"", version = "^0.1.0"}
winloop = {markers = "sys_platform == \"win32\"", version = "^0.1.1"}
jishaku = "^2.5.2"
async-lru = "^2.0.4"
watchfiles = "^0.21.0"

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
pyright = "^1.1.345"
ruff = "^0.1.11"
pyinstrument = "^4.6.1"
pyright = "^1.1.348"
ruff = "^0.1.14"
pyinstrument = "^4.6.2"


[tool.poetry.group.docs.dependencies]
Expand Down
26 changes: 13 additions & 13 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
aiodns==3.1.1 ; python_version >= "3.8" and python_version < "4.0"
aiohttp==3.9.1 ; python_version >= "3.8" and python_version < "4.0"
aiohttp==3.9.2 ; python_version >= "3.8" and python_version < "4.0"
aiosignal==1.3.1 ; python_version >= "3.8" and python_version < "4.0"
anyio==4.2.0 ; python_version >= "3.8" and python_version < "4.0"
astunparse==1.6.3 ; python_version >= "3.8" and python_version < "4.0"
async-lru==2.0.4 ; python_version >= "3.8" and python_version < "4.0"
async-timeout==4.0.3 ; python_version >= "3.8" and python_version < "3.12.0"
asyncpg-trek==0.3.1 ; python_version >= "3.8" and python_version < "4"
asyncpg==0.29.0 ; python_version >= "3.8" and python_version < "4.0"
attrs==23.1.0 ; python_version >= "3.8" and python_version < "4.0"
attrs==23.2.0 ; python_version >= "3.8" and python_version < "4.0"
better-profanity==0.6.1 ; python_version >= "3.8" and python_version < "4.dev0"
braceexpand==0.1.7 ; python_version >= "3.8" and python_version < "4.0"
brotli==1.1.0 ; python_version >= "3.8" and python_version < "4.0"
cchardet==2.1.7 ; python_version < "3.10" and python_version >= "3.8"
cffi==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.8" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and platform_system == "Windows"
cython==3.0.6 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
cython==3.0.8 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
discord-ext-ipcx==0.2.2 ; python_version >= "3.8" and python_version < "4.0"
discord-ext-menus @ git+https://github.com/Rapptz/discord-ext-menus.git@8686b5d1bbc1d3c862292eb436ab630d6e9c9b53 ; python_version >= "3.8" and python_version < "4.0"
discord-py==2.3.2 ; python_version >= "3.8" and python_version < "4.0"
discord-py[speed]==2.3.2 ; python_version >= "3.8" and python_version < "4.0"
exceptiongroup==1.2.0 ; python_version >= "3.8" and python_version < "3.11"
frozenlist==1.4.0 ; python_version >= "3.8" and python_version < "4.0"
frozenlist==1.4.1 ; python_version >= "3.8" and python_version < "4.0"
idna==3.6 ; python_version >= "3.8" and python_version < "4.0"
import-expression==1.1.4 ; python_version >= "3.8" and python_version < "4.0"
importlib-metadata==6.8.0 ; python_version >= "3.8" and python_version < "3.10"
importlib-metadata==7.0.1 ; python_version >= "3.8" and python_version < "3.10"
jishaku==2.5.2 ; python_version >= "3.8" and python_version < "4.0"
msgspec==0.18.5 ; python_version >= "3.8" and python_version < "4.0"
msgspec==0.18.6 ; python_version >= "3.8" and python_version < "4.0"
multidict==6.0.4 ; python_version >= "3.8" and python_version < "4.0"
orjson==3.9.10 ; python_version >= "3.8" and python_version < "4.0"
orjson==3.9.12 ; python_version >= "3.8" and python_version < "4.0"
prometheus-async==22.2.0 ; python_version >= "3.8" and python_version < "4.0"
prometheus-client==0.19.0 ; python_version >= "3.8" and python_version < "4.0"
psutil==5.9.7 ; python_version >= "3.8" and python_version < "4.0"
psutil==5.9.8 ; python_version >= "3.8" and python_version < "4.0"
pycares==4.4.0 ; python_version >= "3.8" and python_version < "4.0"
pycparser==2.21 ; python_version >= "3.8" and python_version < "4.0"
pygit2==1.13.3 ; python_version >= "3.8" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.8" and python_version < "4.0"
python-dotenv==1.0.0 ; python_version >= "3.8" and python_version < "4.0"
setuptools==69.0.2 ; python_version >= "3.12" and python_version < "4.0"
python-dotenv==1.0.1 ; python_version >= "3.8" and python_version < "4.0"
setuptools==69.0.3 ; python_version >= "3.12" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
sniffio==1.3.0 ; python_version >= "3.8" and python_version < "4.0"
typing-extensions==4.8.0 ; python_version >= "3.8" and python_version < "3.11"
typing-extensions==4.9.0 ; python_version >= "3.8" and python_version < "3.11"
uvloop==0.19.0 ; python_version >= "3.8" and python_version < "4.0" and sys_platform != "win32"
watchfiles==0.21.0 ; python_version >= "3.8" and python_version < "4.0"
wheel==0.42.0 ; python_version >= "3.8" and python_version < "4.0"
winloop==0.1.0 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
winloop==0.1.1 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
wrapt==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
yarl==1.9.3 ; python_version >= "3.8" and python_version < "4.0"
yarl==1.9.4 ; python_version >= "3.8" and python_version < "4.0"
zipp==3.17.0 ; python_version >= "3.8" and python_version < "3.10"

0 comments on commit 1533fd4

Please sign in to comment.