Skip to content

Commit 272ede6

Browse files
authored
Merge branch 'master' into search
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
2 parents cd6fe35 + 25347b5 commit 272ede6

32 files changed

Lines changed: 171 additions & 92 deletions

.github/workflows/docs-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- "requirements/**"
99
- "*.toml"
1010
- "*.py"
11-
branches: [master]
11+
branches: [ master ]
1212
pull_request:
1313
paths:
1414
- "discord/**"
@@ -40,7 +40,7 @@ jobs:
4040
- name: "Setup Python"
4141
uses: actions/setup-python@v6
4242
with:
43-
python-version: "3.13"
43+
python-version: "3.14"
4444
cache: "pip"
4545
cache-dependency-path: "requirements/docs.txt"
4646
check-latest: true

.github/workflows/docs-json-export.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-python@v6
1919
id: setup-python
2020
with:
21-
python-version: "3.13"
21+
python-version: "3.14"
2222
cache: "pip"
2323
cache-dependency-path: "requirements/docs.txt"
2424
check-latest: true
@@ -35,7 +35,7 @@ jobs:
3535
id: generate-json
3636
run: python scripts/docs_json_exporter.py
3737
- name: Upload docs.json as artifact
38-
uses: actions/upload-artifact@v7.0.0
38+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3939
id: artifact-upload
4040
with:
4141
name: Pycord Docs JSON
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
head -n 40 docs.json || tail -n 40 docs.json
4747
- name: Output artifact ID
48-
run: |
48+
run: |
4949
echo "artifact-id=${{ steps.artifact-upload.outputs.artifact-id }}" >> $GITHUB_OUTPUT
5050
echo "artifact-url=${{ steps.artifact-upload.outputs.artifact-url }}" >> $GITHUB_OUTPUT
5151
echo "::notice::Artifact uploaded: ${{ steps.artifact-upload.outputs.artifact-url }}"

.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@v6
2323
with:
24-
python-version: "3.13"
24+
python-version: "3.14"
2525
cache: "pip"
2626
cache-dependency-path: "requirements/_locale.txt"
2727
- name: "Install Dependencies"
@@ -69,7 +69,7 @@ jobs:
6969
7070
pr:
7171
name: "PR operations"
72-
needs: [download]
72+
needs: [ download ]
7373
runs-on: ubuntu-latest
7474
environment: translations
7575
steps:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
paths:
66
- "discord/**"
77
- "docs/**"
8-
branches: [master]
8+
branches: [ master ]
99
workflow_dispatch:
1010
schedule:
1111
- cron: "0 0 * * 1"
12-
12+
1313
permissions: write-all
1414

1515
jobs:
@@ -26,7 +26,7 @@ jobs:
2626
- name: "Install Python"
2727
uses: actions/setup-python@v6
2828
with:
29-
python-version: "3.13"
29+
python-version: "3.14"
3030
cache: "pip"
3131
cache-dependency-path: "requirements/_locale.txt"
3232
- name: "Install Dependencies"

.github/workflows/enforce-pr-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fi
3131
3232
- name: Enforce template
33-
uses: actions/github-script@v8
33+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
3434
with:
3535
github-token: ${{ secrets.GITHUB_TOKEN }}
3636
script: |

.github/workflows/lib-checks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: "Setup Python"
3737
uses: actions/setup-python@v6
3838
with:
39-
python-version: "3.13"
39+
python-version: "3.14"
4040
cache: "pip"
4141
cache-dependency-path: "pyproject.toml"
4242
- name: "Install dependencies"
@@ -56,7 +56,7 @@ jobs:
5656
- name: "Setup Python"
5757
uses: actions/setup-python@v6
5858
with:
59-
python-version: "3.13"
59+
python-version: "3.14"
6060
cache: "pip"
6161
cache-dependency-path: "pyproject.toml"
6262
- name: "Install dependencies"
@@ -74,7 +74,7 @@ jobs:
7474
- name: "Setup Python"
7575
uses: actions/setup-python@v6
7676
with:
77-
python-version: "3.13"
77+
python-version: "3.14"
7878
cache: "pip"
7979
cache-dependency-path: "pyproject.toml"
8080
- name: "Install dependencies"
@@ -98,7 +98,7 @@ jobs:
9898
- name: "Setup Python"
9999
uses: actions/setup-python@v6
100100
with:
101-
python-version: "3.13"
101+
python-version: "3.14"
102102
cache: "pip"
103103
cache-dependency-path: "pyproject.toml"
104104
- name: "Install dependencies"
@@ -124,7 +124,7 @@ jobs:
124124
- name: "Setup Python"
125125
uses: actions/setup-python@v6
126126
with:
127-
python-version: "3.13"
127+
python-version: "3.14"
128128
cache: "pip"
129129
cache-dependency-path: "pyproject.toml"
130130
- name: "Install dependencies"
@@ -141,7 +141,7 @@ jobs:
141141
strategy:
142142
matrix:
143143
os: [ ubuntu-latest, windows-latest, macos-latest ]
144-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
144+
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
145145
steps:
146146
- name: "Checkout Repository"
147147
uses: actions/checkout@v6

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: "Check PR Dependencies"
1818
steps:
1919
- name: PR Dependency Check
20-
uses: gregsdennis/dependencies-action@v1.4.1
20+
uses: gregsdennis/dependencies-action@a8cccab69814b9b985496cf97cbfe154c96c03c7 # v1.4.2
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
semantic-title:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
id: python-setup
137137
uses: actions/setup-python@v6
138138
with:
139-
python-version: "3.13"
139+
python-version: "3.14"
140140
cache: "pip"
141141
cache-dependency-path: "requirements/_release.txt"
142142
- name: "Install Release Dependencies"
@@ -215,7 +215,7 @@ jobs:
215215
python3 -m build --sdist
216216
python3 -m build --wheel
217217
- name: "Create GitHub Release"
218-
uses: softprops/action-gh-release@v2.6.1
218+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
219219
id: gh-release
220220
with:
221221
tag_name: "v${{ inputs.version }}"
@@ -232,7 +232,7 @@ jobs:
232232
target_commitish: ${{ github.ref_name }}
233233

234234
- name: "Publish package distributions to PyPI"
235-
uses: pypa/gh-action-pypi-publish@v1.13.0
235+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
236236
env:
237237
name: "pypi"
238238
url: "https://pypi.org/p/py-cord"

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
2-
formats: []
2+
formats: [ ]
33

44
build:
55
os: ubuntu-22.04
66
tools:
7-
python: "3.13"
7+
python: "3.14"
88

99
sphinx:
1010
configuration: docs/conf.py

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ These changes are available on the `master` branch, but have not yet been releas
1212

1313
### Added
1414

15+
- Support for **Python 3.14**.
16+
([#2948](https://github.com/Pycord-Development/pycord/pull/2948))
17+
1518
### Changed
1619

20+
- Changed that `read_only` team members aren't considered as owner.
21+
1722
### Fixed
1823

1924
- Fixed internal use of deprecated role type methods.
@@ -24,6 +29,9 @@ These changes are available on the `master` branch, but have not yet been releas
2429
([#3181](https://github.com/Pycord-Development/pycord/pull/3181))
2530
- Fixed internal use of deprecated \_PayloadLike dict operations.
2631
([#3189](https://github.com/Pycord-Development/pycord/pull/3189))
32+
- Fixed incorrect type hints for `MessagePinIterator`.
33+
([#3178](https://github.com/Pycord-Development/pycord/pull/3178))
34+
- Fixed team `permissions` keyerror by replacing deprecated permissions with `role`.
2735

2836
### Deprecated
2937

0 commit comments

Comments
 (0)