Skip to content

Commit 9801d5c

Browse files
authored
Merge branch 'master' into feat/role-tags-rewrite
2 parents 54f1baa + f75b7f1 commit 9801d5c

File tree

12 files changed

+21
-18
lines changed

12 files changed

+21
-18
lines changed

.github/workflows/docs-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: "Setup Python"
4141
uses: actions/setup-python@v5
4242
with:
43-
python-version: "3.12"
43+
python-version: "3.13"
4444
cache: "pip"
4545
cache-dependency-path: "requirements/docs.txt"
4646
check-latest: true

.github/workflows/docs-localization-download.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: "Install Python"
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.12"
24+
python-version: "3.13"
2525
cache: "pip"
2626
cache-dependency-path: "requirements/_locale.txt"
2727
- name: "Install Dependencies"
@@ -40,7 +40,7 @@ jobs:
4040
working-directory: ./docs
4141
- name: "Crowdin"
4242
id: crowdin
43-
uses: crowdin/github-action@v2.5.2
43+
uses: crowdin/github-action@v2.6.0
4444
with:
4545
upload_sources: false
4646
upload_translations: false

.github/workflows/docs-localization-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: "Install Python"
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: "3.12"
29+
python-version: "3.13"
3030
cache: "pip"
3131
cache-dependency-path: "requirements/_locale.txt"
3232
- name: "Install Dependencies"
@@ -44,7 +44,7 @@ jobs:
4444
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
4545
working-directory: ./docs
4646
- name: "Crowdin"
47-
uses: crowdin/github-action@v2.5.2
47+
uses: crowdin/github-action@v2.6.0
4848
with:
4949
upload_sources: true
5050
upload_translations: false

.github/workflows/lib-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: "Setup Python"
3737
uses: actions/setup-python@v5
3838
with:
39-
python-version: "3.12"
39+
python-version: "3.13"
4040
cache: "pip"
4141
cache-dependency-path: "requirements/dev.txt"
4242
- name: "Install dependencies"
@@ -56,7 +56,7 @@ jobs:
5656
- name: "Setup Python"
5757
uses: actions/setup-python@v5
5858
with:
59-
python-version: "3.12"
59+
python-version: "3.13"
6060
cache: "pip"
6161
cache-dependency-path: "requirements/dev.txt"
6262
- name: "Install dependencies"
@@ -74,7 +74,7 @@ jobs:
7474
- name: "Setup Python"
7575
uses: actions/setup-python@v5
7676
with:
77-
python-version: "3.12"
77+
python-version: "3.13"
7878
cache: "pip"
7979
cache-dependency-path: "requirements/dev.txt"
8080
- name: "Install dependencies"
@@ -98,7 +98,7 @@ jobs:
9898
- name: "Setup Python"
9999
uses: actions/setup-python@v5
100100
with:
101-
python-version: "3.12"
101+
python-version: "3.13"
102102
cache: "pip"
103103
cache-dependency-path: "requirements/dev.txt"
104104
- name: "Install dependencies"
@@ -120,7 +120,7 @@ jobs:
120120
strategy:
121121
matrix:
122122
os: [ubuntu-latest, macos-latest, windows-latest]
123-
python-version: ["3.9", "3.10", "3.11", "3.12"]
123+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
124124
exclude:
125125
- { python-version: "3.9", os: "macos-latest" }
126126
include:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
version-branch-name: ${{ needs.pre_config.outputs.branch_name }}
8181
ref: ${{ github.ref_name }}
8282
repository: ${{ github.repository }}
83-
python-version: "3.12"
83+
python-version: "3.13"
8484
release-requirements: "requirements/_release.txt"
8585
version: ${{ needs.pre_config.outputs.version }}
8686
is-rc: ${{ needs.pre_config.outputs.is_rc }}

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ formats: []
44
build:
55
os: ubuntu-22.04
66
tools:
7-
python: "3.12"
7+
python: "3.13"
88

99
sphinx:
1010
configuration: docs/conf.py

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ These changes are available on the `master` branch, but have not yet been releas
9393
([#2656](https://github.com/Pycord-Development/pycord/pull/2656))
9494
- Fixed `AttributeError` when trying to consume a consumable entitlement.
9595
([#2564](https://github.com/Pycord-Development/pycord/pull/2564))
96+
- Fixed `Subscription.renewal_sku_ids` not accepting `None` from the received payload.
97+
([#2709](https://github.com/Pycord-Development/pycord/pull/2709))
9698

9799
### Changed
98100

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for D
3131
Note
3232
----
3333

34-
Pycord supports Python ``3.9`` - ``3.12``
34+
Pycord supports Python ``3.9`` - ``3.13``
3535

3636
Key Features
3737
------------

discord/monetization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def __init__(self, *, state: ConnectionState, data: SubscriptionPayload) -> None
327327
self.user_id: int = int(data["user_id"])
328328
self.sku_ids: list[int] = list(map(int, data["sku_ids"]))
329329
self.entitlement_ids: list[int] = list(map(int, data["entitlement_ids"]))
330-
self.renewal_sku_ids: list[int] = list(map(int, data["renewal_sku_ids"]))
330+
self.renewal_sku_ids: list[int] = list(map(int, data["renewal_sku_ids"] or []))
331331
self.current_period_start: datetime = parse_time(data["current_period_start"])
332332
self.current_period_end: datetime = parse_time(data["current_period_end"])
333333
self.status: SubscriptionStatus = try_enum(SubscriptionStatus, data["status"])

docs/installing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ in creating applications that utilise the Discord API.
1313
Prerequisites
1414
-------------
1515

16-
Pycord works with Python 3.8 or higher. Support for earlier versions of Python
17-
is not provided. Python 2.7 or lower is not supported. Python 3.7 or lower is not supported.
16+
Pycord works with Python 3.9 or higher. Support for earlier versions of Python
17+
is not provided. Python 2.7 or lower is not supported. Python 3.8 or lower is not supported.
1818

1919

2020
.. _installing:

0 commit comments

Comments
 (0)