Commit graph

1043 commits

Author SHA1 Message Date
Hinrich Mahler
f992b7e6dd Remove debug assertions 2024-12-31 10:56:44 +01:00
Hinrich Mahler
a98bc65412 Try fixing github action env var 2024-12-31 10:54:11 +01:00
Hinrich Mahler
ebb71ababb try adding some debug things 2024-12-31 10:50:18 +01:00
Hinrich Mahler
92851a4c7b Revert debug changes and improve TEST_WITH_OPT_DEPS handling 2024-12-31 10:33:12 +01:00
Hinrich Mahler
9cabf0e03b Review 2024-12-31 10:14:24 +01:00
Hinrich Mahler
5008606c4c try again 2024-12-30 22:28:44 +01:00
Hinrich Mahler
ad4d460591 try fixing jobqueue tests 2024-12-30 22:17:51 +01:00
Hinrich Mahler
37dfdf8b8a try fixing workflows 2024-12-30 21:57:40 +01:00
Hinrich Mahler
e846251242 Mark pytz support as deprecated 2024-12-30 21:51:24 +01:00
Hinrich Mahler
1945ce7c73 Extend defaults testing to other _date parameters 2024-12-30 21:28:53 +01:00
Hinrich Mahler
5cc7da8430 Get existing tests to run 2024-12-30 21:24:50 +01:00
Hinrich Mahler
6e37a386f3 Merge branch 'master' into dependabot/pip/apscheduler-gte-3.10.4-and-lt-3.12.0
# Conflicts:
#	telegram/ext/_jobqueue.py
#	tests/auxil/bot_method_checks.py
#	tests/conftest.py
2024-12-30 19:18:42 +01:00
Hinrich Mahler
84c93bb91a Try getting independent of pytz 2024-12-30 19:16:05 +01:00
Bibo-Joshi
a6cd9c5292
Allow Input of Type Sticker for Several Methods (#4616) 2024-12-29 20:16:46 +01:00
Bibo-Joshi
df20e49db1
Refactor Module Structure and Tests for Star Payments Classes (#4615) 2024-12-29 17:58:37 +01:00
Juan Andrés Cuevas
4f255b6e21
Unify datetime Imports (#4605)
Co-authored-by: Miguel Salomon <128310363+Migueldsc12@users.noreply.github.com>
Co-authored-by: Jeamhowards Montiel <106713677+Jeam-zx@users.noreply.github.com>
Co-authored-by: Snehashish Biswas <coderrx06@gmail.com>
Co-authored-by: Luis Pérez <luis.i.perez.0@gmail.com>
Co-authored-by: henryg311 <55552582+henryg311@users.noreply.github.com>
Co-authored-by: AnyaMarcanito <129221958+AnyaMarcanito@users.noreply.github.com>
Co-authored-by: Jeam Montiel <19-10234@usb.ve>
2024-12-15 10:26:37 +01:00
Bibo-Joshi
43279543a3
Full Support for Bot API 8.1 (#4594) 2024-12-07 10:20:08 +01:00
Bibo-Joshi
ef1685c436
Full Support for Bot API 8.0 (#4566, #4568, #4570, #4571, #4574, #4576, #4572) 2024-12-01 10:26:48 +01:00
Bibo-Joshi
0eb11ff3e9
Documentation Improvements (#4536, #4556)
Co-authored-by: Abubakar Alaya <ecode5814@gmail.com>
2024-11-04 20:38:41 +01:00
Bibo-Joshi
dab75fb963
Add Message.reply_paid_media (#4551) 2024-11-04 20:33:56 +01:00
Bibo-Joshi
62f89758d7
Bot API 7.11 (#4546) 2024-11-04 20:11:10 +01:00
Bibo-Joshi
507d6bc0e3
Improve Exception Handling in File.download_* (#4542) 2024-11-03 16:35:16 +01:00
Pablo Martínez
5ab82a9c2b
Drop Support for Python 3.8 (#4398)
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2024-10-24 20:48:49 +02:00
Bibo-Joshi
2f06902518
Improve Test Instability Caused by Message Fixtures (#4507) 2024-10-01 07:16:29 +02:00
Bibo-Joshi
2bc65560eb
Stabilize Some Flaky Tests (#4500) 2024-09-25 18:53:26 +02:00
Bibo-Joshi
79e589b39e
Reduce Creation of HTTP Clients in Tests (#4493) 2024-09-25 17:17:55 +02:00
Bibo-Joshi
bd3cdbcdbd
Update pytest-xdist Usage (#4491) 2024-09-22 19:49:48 +02:00
Bibo-Joshi
9709c03b35
Fix Failing Tests by Making Them Independent (#4494) 2024-09-21 18:49:33 +02:00
Bibo-Joshi
2eae2830f3
Maintenance Work on Bot Tests (#4489)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-21 11:34:25 +02:00
Bibo-Joshi
28d19c3b9a
Introduce conftest.py for File Related Tests (#4488)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-21 11:33:52 +02:00
Harshil
67a97ae5a7
API 7.10 (#4461, #4460, #4463, #4464)
Co-authored-by: aelkheir <90580077+aelkheir@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-09-17 18:09:19 +02:00
Bibo-Joshi
ec909e62cf
Enforce the offline_bot Fixture in Test*WithoutRequest (#4465) 2024-09-13 19:10:09 +02:00
Bibo-Joshi
1223e851c3
Add Parameter httpx_kwargs to HTTPXRequest (#4451) 2024-09-11 22:34:18 +02:00
Bibo-Joshi
0b352b043e
Make Tests for telegram.ext Independent of Networking (#4454) 2024-09-09 07:32:32 +02:00
Bibo-Joshi
b9d2efdec5
Rename Testing Base Classes (#4453) 2024-09-03 05:24:25 +02:00
Bibo-Joshi
e0f36867cc
Add MessageEntity.shift_entities and MessageEntity.concatenate (#4376) 2024-09-01 09:33:12 +02:00
Poolitzer
01f689373c
Bot API 7.9 (#4429)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-01 09:32:42 +02:00
Bibo-Joshi
1e05381133
Update Test Suite to New Test Channel Setup (#4435) 2024-08-26 20:16:35 +02:00
Martin Hjelmare
a05362c79a
Remove Surplus Logging from Updater Network Loop (#4432) 2024-08-19 16:40:28 +02:00
Palaptin
fbf07bf126
Improve Fixture Usage in test_message.py (#4431) 2024-08-19 16:14:01 +02:00
Harshil
8f9db63f4f
Bump ruff and Add New Rules (#4416)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-08-07 21:56:46 +02:00
Bibo-Joshi
3a49372591
Add Parameter read_file_handle to InputFile (#4388) 2024-08-02 22:28:38 +02:00
Bibo-Joshi
6578c76068
API 7.8 (#4408) 2024-08-02 13:43:27 +02:00
Pablo Martínez
0913b859d7
Add Internal Constants for Encodings (#4378) 2024-07-21 21:13:30 +02:00
Jãїиãм
422993b8ab
Add Parameter game_pattern to CallbackQueryHandler (#4353) 2024-07-13 21:26:44 +02:00
Bibo-Joshi
06f1da576e
Stabilize Some Concurrency Usages in Test Suite (#4360) 2024-07-10 17:11:22 +02:00
Bibo-Joshi
7a470d57c8
Add a Test Case for MenuButton (#4363) 2024-07-10 17:10:33 +02:00
Poolitzer
1714bfd8f6
Deprecate Inclusion of successful_payment in Message.effective_attachment (#4365) 2024-07-09 23:33:57 +02:00
Poolitzer
71e4015e22
API 7.7 (#4356)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-09 10:35:18 +02:00
Harshil
52237cf00c
Add filters.PAID_MEDIA (#4357) 2024-07-07 22:23:31 +02:00