Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from python-telegram-bot:master #34

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
006a290
Bump `furo` from 2024.5.6 to 2024.7.18 (#4392)
dependabot[bot] Jul 21, 2024
c3f17bb
Start Adapting to RTD Addons (#4386)
Bibo-Joshi Jul 21, 2024
0913b85
Add Internal Constants for Encodings (#4378)
elpekenin Jul 21, 2024
6d70c56
Bump `sphinx` from 7.3.7 to 7.4.7 (#4395)
dependabot[bot] Jul 21, 2024
8a205b1
Add Introductory Paragraphs to Telegram Types Subsections (#4389)
mohdyusuf2312 Jul 24, 2024
af76a84
Update `cachetools` requirement from ~=5.3.3 to >=5.3.3,<5.5.0 (#4390)
dependabot[bot] Jul 24, 2024
a967dbe
Document Return Types of `RequestData` Members (#4396)
Bibo-Joshi Aug 2, 2024
6578c76
API 7.8 (#4408)
Bibo-Joshi Aug 2, 2024
b89f5d6
Bump `dependabot/fetch-metadata` from 2.1.0 to 2.2.0 (#4411)
dependabot[bot] Aug 2, 2024
e637d17
Bump `pytest` from 8.2.2 to 8.3.2 (#4403)
dependabot[bot] Aug 2, 2024
3a49372
Add Parameter `read_file_handle` to `InputFile` (#4388)
Bibo-Joshi Aug 2, 2024
9c50a38
Bump `test-summary/action` from 2.3 to 2.4 (#4410)
dependabot[bot] Aug 3, 2024
1787586
Bugfix for "Available In" Admonitions (#4413)
harshil21 Aug 3, 2024
8f9db63
Bump `ruff` and Add New Rules (#4416)
harshil21 Aug 7, 2024
374875c
Bump `sphinx` from 7.4.7 to 8.0.2 and `furo` from 2024.7.18 to 2024.8…
dependabot[bot] Aug 13, 2024
3017bf0
Update Python 3.13 Test Suite to RC1 (#4415)
harshil21 Aug 13, 2024
fbf07bf
Improve Fixture Usage in `test_message.py` (#4431)
Palaptin Aug 19, 2024
a05362c
Remove Surplus Logging from `Updater` Network Loop (#4432)
MartinHjelmare Aug 19, 2024
1e05381
Update Test Suite to New Test Channel Setup (#4435)
Bibo-Joshi Aug 26, 2024
01f6893
Bot API 7.9 (#4429)
Poolitzer Sep 1, 2024
e0f3686
Add `MessageEntity.shift_entities` and `MessageEntity.concatenate` (#…
Bibo-Joshi Sep 1, 2024
b17b0d2
Improve PyPI Automation (#4375)
Bibo-Joshi Sep 1, 2024
60b439f
Update `cachetools` requirement from <5.5.0,>=5.3.3 to >=5.3.3,<5.6.0…
dependabot[bot] Sep 1, 2024
970d2ab
Documentation Improvements (#4400, #4448)
Bibo-Joshi Sep 1, 2024
8c692d1
Bump Version to v21.5 (#4449)
Bibo-Joshi Sep 1, 2024
b9d2efd
Rename Testing Base Classes (#4453)
Bibo-Joshi Sep 3, 2024
0b352b0
Make Tests for `telegram.ext` Independent of Networking (#4454)
Bibo-Joshi Sep 9, 2024
1223e85
Add Parameter `httpx_kwargs` to `HTTPXRequest` (#4451)
Bibo-Joshi Sep 11, 2024
ec909e6
Enforce the `offline_bot` Fixture in `Test*WithoutRequest` (#4465)
Bibo-Joshi Sep 13, 2024
b3155b2
Update Python 3.13 Test Suite to RC2 (#4471)
harshil21 Sep 13, 2024
6b5e46c
Improve Type Completeness (#4466)
Bibo-Joshi Sep 14, 2024
9248c53
Bump `pytest` from 8.3.2 to 8.3.3 (#4475)
dependabot[bot] Sep 14, 2024
67a97ae
API 7.10 (#4461, #4460, #4463, #4464)
harshil21 Sep 17, 2024
e314e78
Bump Version to v21.6 (#4486)
Bibo-Joshi Sep 19, 2024
28d19c3
Introduce `conftest.py` for File Related Tests (#4488)
Bibo-Joshi Sep 21, 2024
2eae283
Maintenance Work on `Bot` Tests (#4489)
Bibo-Joshi Sep 21, 2024
3409f51
Introduce Codecov's Test Analysis (#4487)
Bibo-Joshi Sep 21, 2024
9709c03
Fix Failing Tests by Making Them Independent (#4494)
Bibo-Joshi Sep 21, 2024
bd3cdbc
Update `pytest-xdist` Usage (#4491)
Bibo-Joshi Sep 22, 2024
79e589b
Reduce Creation of HTTP Clients in Tests (#4493)
Bibo-Joshi Sep 25, 2024
2bc6556
Stabilize Some Flaky Tests (#4500)
Bibo-Joshi Sep 25, 2024
2f06902
Improve Test Instability Caused by `Message` Fixtures (#4507)
Bibo-Joshi Oct 1, 2024
9a8b208
Bump `Bibo-Joshi/pyright-type-completeness` from 1.0.0 to 1.0.1 (#4510)
dependabot[bot] Oct 2, 2024
0685463
Bump `srvaroa/labeler` from 1.10.1 to 1.11.0 (#4509)
dependabot[bot] Oct 2, 2024
a39a59e
Bump `sphinxcontrib-mermaid` from 0.9.2 to 1.0.0 (#4529)
dependabot[bot] Oct 21, 2024
2ce687c
Bump `sphinx` from 8.0.2 to 8.1.3 (#4532)
dependabot[bot] Oct 21, 2024
efacc3d
Allow `Sequence` in `Application.add_handlers` (#4531)
roast-lord Oct 23, 2024
847b97f
Use Stable Python 3.13 Release in Test Suite (#4535)
Bibo-Joshi Oct 24, 2024
5ab82a9
Drop Support for Python 3.8 (#4398)
elpekenin Oct 24, 2024
6540f28
Use `sphinx-build-compatibility` to Keep Sphinx Compatibility (#4492)
Bibo-Joshi Oct 31, 2024
3c8f6ed
Fix Linkcheck Workflow (#4545)
Bibo-Joshi Nov 1, 2024
bd6a60b
Bump `srvaroa/labeler` from 1.11.0 to 1.11.1 (#4549)
dependabot[bot] Nov 2, 2024
507d6bc
Improve Exception Handling in `File.download_*` (#4542)
Bibo-Joshi Nov 3, 2024
032a859
Update Automation to Label Changes (#4552)
Bibo-Joshi Nov 3, 2024
7a8f441
Update Issue Templates to Use Issue Types (#4553)
Bibo-Joshi Nov 4, 2024
62f8975
Bot API 7.11 (#4546)
Bibo-Joshi Nov 4, 2024
dab75fb
Add `Message.reply_paid_media` (#4551)
Bibo-Joshi Nov 4, 2024
0eb11ff
Documentation Improvements (#4536, #4556)
Bibo-Joshi Nov 4, 2024
1511237
Bump Version to v21.7 (#4557)
Bibo-Joshi Nov 4, 2024
ef1685c
Full Support for Bot API 8.0 (#4566, #4568, #4570, #4571, #4574, #457…
Bibo-Joshi Dec 1, 2024
ffe23be
Documentation Improvements (#4573, #4565)
Bibo-Joshi Dec 1, 2024
cec34e4
Bump Version to v21.8 (#4583)
Bibo-Joshi Dec 1, 2024
da93fe9
Bump `srvaroa/labeler` from 1.11.1 to 1.12.0 (#4586)
dependabot[bot] Dec 2, 2024
3709c2f
Bump `pylint` to v3.3.2 to Improve Python 3.13 Support (#4590)
nemacysts Dec 4, 2024
89dfa37
Bump `codecov/codecov-action` from 4 to 5 (#4585)
dependabot[bot] Dec 4, 2024
eda2172
Allow `Sequence` Input for `allowed_updates` in `Application` and `Up…
nemacysts Dec 4, 2024
4327954
Full Support for Bot API 8.1 (#4594)
Bibo-Joshi Dec 7, 2024
ce9742a
Use `MessageLimit.DEEP_LINK_LENGTH` in `helpers.create_deep_linked_ur…
nemacysts Dec 7, 2024
c42a230
Bump `pytest` from 8.3.3 to 8.3.4 (#4596)
dependabot[bot] Dec 7, 2024
ca7a309
Update `aiolimiter` requirement from ~=1.1.0 to >=1.1,<1.3 (#4595)
dependabot[bot] Dec 7, 2024
2ac5201
Bump Version to v21.9 (#4601)
Bibo-Joshi Dec 7, 2024
4afe174
Add Static Security Analysis of GitHub Actions Workflows (#4606)
Bibo-Joshi Dec 13, 2024
4f255b6
Unify `datetime` Imports (#4605)
cuevasrja Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ doc strings don't have a separate documentation site they generate, instead, the

User facing documentation
-------------------------
We use `sphinx`_ to generate static HTML docs. To build them, first make sure you're running Python 3.9 or above and have the required dependencies installed as explained above.
We use `sphinx`_ to generate static HTML docs. To build them, first make sure you're running Python 3.10 or above and have the required dependencies installed as explained above.
Then, run the following from the PTB root directory:

.. code-block:: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Bug Report
description: Create a report to help us improve
title: "[BUG]"
labels: ["bug :bug:"]
labels: ["📋 triage"]
type: '🐛 bug'

body:
- type: markdown
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Feature Request
description: Suggest an idea for this project
title: "[FEATURE]"
labels: ["enhancement"]
labels: ["📋 triage"]
type: '💡 feature'

body:
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Question
description: Get help with errors or general questions
title: "[QUESTION]"
labels: ["question"]
type: '❔ question'

body:
- type: markdown
Expand Down
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version: 1

labels:
- label: "dependencies"
- label: "⚙️ dependencies"
authors: ["dependabot[bot]", "pre-commit-ci[bot]"]
- label: "code quality"
- label: "🛠 code-quality"
authors: ["pre-commit-ci[bot]"]
9 changes: 5 additions & 4 deletions .github/workflows/dependabot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@ jobs:

- name: Fetch Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2.1.0
uses: dependabot/fetch-metadata@dbb049abf0d677abbd7f7eee0375145b417fdd34 # v2.2.0

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.ref }}
persist-credentials: false

- name: Update Version Number in Other Files
uses: jacobtomlinson/gha-find-replace@v3
uses: jacobtomlinson/gha-find-replace@f1069b438f125e5395d84d1c6fd3b559a7880cb5 # v3
with:
find: ${{ steps.dependabot-metadata.outputs.previous-version }}
replace: ${{ steps.dependabot-metadata.outputs.new-version }}
regex: false
exclude: CHANGES.rst

- name: Commit & Push Changes to PR
uses: EndBug/[email protected]
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
message: 'Update version number in other files'
committer_name: GitHub Actions
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/docs-linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@ on:
schedule:
# First day of month at 05:46 in every 2nd month
- cron: '46 5 1 */2 *'
pull_request:
paths:
- .github/workflows/docs-linkcheck.yml

jobs:
test-sphinx-build:
name: test-sphinx-linkcheck
runs-on: ${{matrix.os}}
strategy:
matrix:
python-version: [3.9]
python-version: ['3.10']
os: [ubuntu-latest]
fail-fast: False
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
python-version: [3.9]
python-version: ['3.10']
os: [ubuntu-latest]
fail-fast: False
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -34,7 +36,7 @@ jobs:
- name: Build docs
run: sphinx-build docs/source docs/build/html -W --keep-going -j auto
- name: Upload docs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: HTML Docs
retention-days: 7
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/gha_security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: GitHub Actions Security Analysis

on:
push:
branches:
- master
pull_request:

jobs:
zizmor:
name: Security Analysis with zizmor
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
- name: Run zizmor
run: uvx zizmor --persona=pedantic --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
sarif_file: results.sarif
category: zizmor
2 changes: 1 addition & 1 deletion .github/workflows/labelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pull-requests: write # for srvaroa/labeler to add labels in PR
runs-on: ubuntu-latest
steps:
- uses: srvaroa/labeler@v1.10.1
- uses: srvaroa/labeler@fe4b1c73bb8abf2f14a44a6912a8b4fee835d631 # v1.12.0
# Config file at .github/labeler.yml
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/[email protected]
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
github-token: ${{ github.token }}
issue-inactive-days: '7'
Expand Down
Loading