<86>Sep 7 08:29:58 userdel[1563533]: delete user 'rooter' <86>Sep 7 08:29:58 userdel[1563533]: removed group 'rooter' owned by 'rooter' <86>Sep 7 08:29:58 userdel[1563533]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 7 08:29:58 groupadd[1563554]: group added to /etc/group: name=rooter, GID=1277 <86>Sep 7 08:29:58 groupadd[1563554]: group added to /etc/gshadow: name=rooter <86>Sep 7 08:29:58 groupadd[1563554]: new group: name=rooter, GID=1277 <86>Sep 7 08:29:58 useradd[1563572]: new user: name=rooter, UID=1277, GID=1277, home=/root, shell=/bin/bash, from=none <86>Sep 7 08:29:58 userdel[1563600]: delete user 'builder' <86>Sep 7 08:29:58 userdel[1563600]: removed group 'builder' owned by 'builder' <86>Sep 7 08:29:58 groupadd[1563624]: group added to /etc/group: name=builder, GID=1278 <86>Sep 7 08:29:58 groupadd[1563624]: group added to /etc/gshadow: name=builder <86>Sep 7 08:29:58 groupadd[1563624]: new group: name=builder, GID=1278 <86>Sep 7 08:29:58 useradd[1563643]: new user: name=builder, UID=1278, GID=1278, home=/usr/src, shell=/bin/bash, from=none <13>Sep 7 08:30:06 rpmi: libtcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548256 installed <13>Sep 7 08:30:06 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Sep 7 08:30:07 rpmi: tcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548256 installed <13>Sep 7 08:30:07 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Sep 7 08:30:07 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Sep 7 08:30:07 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Sep 7 08:30:07 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Sep 7 08:30:07 rpmi: libusb-1.0.27-alt1 sisyphus+347412.100.1.1 1714739652 installed <13>Sep 7 08:30:07 rpmi: libhidapi-0.12.0-alt1_1 sisyphus+303213.100.1.1 1657034193 installed <13>Sep 7 08:30:07 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Sep 7 08:30:07 rpmi: libcares-1.33.1-alt1 sisyphus+356065.100.1.1 1724664101 installed <13>Sep 7 08:30:07 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Sep 7 08:30:07 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Sep 7 08:30:07 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Sep 7 08:30:07 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Sep 7 08:30:07 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 7 08:30:07 rpmi: libharfbuzz-9.0.0-alt1 sisyphus+351755.100.1.1 1719584143 installed <13>Sep 7 08:30:07 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221065 installed <13>Sep 7 08:30:07 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337302 installed <13>Sep 7 08:30:07 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Sep 7 08:30:07 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Sep 7 08:30:07 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Sep 7 08:30:07 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Sep 7 08:30:07 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Sep 7 08:30:07 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Sep 7 08:30:07 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023273 installed <13>Sep 7 08:30:07 rpmi: libtk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548528 installed <13>Sep 7 08:30:07 rpmi: tk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548528 installed <13>Sep 7 08:30:07 rpmi: tcl-tix-8.4.3-alt4 sisyphus+277292.300.2.1 1625442551 installed <13>Sep 7 08:30:07 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Sep 7 08:30:07 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Sep 7 08:30:07 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Sep 7 08:30:07 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Sep 7 08:30:07 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Sep 7 08:30:07 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Sep 7 08:30:07 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Sep 7 08:30:07 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388677 installed <13>Sep 7 08:30:07 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388677 installed <13>Sep 7 08:30:08 rpmi: python3-3.12.5-alt1 sisyphus+355289.200.2.1 1723833941 installed <13>Sep 7 08:30:09 rpmi: python3-base-3.12.5-alt1 sisyphus+355289.200.2.1 1723833941 installed <13>Sep 7 08:30:09 rpmi: python3-module-idna-3.7-alt1 sisyphus+345659.100.1.1 1713798399 installed <13>Sep 7 08:30:09 rpmi: python3-module-attrs-24.2.0-alt2 sisyphus+355603.200.1.1 1724160494 installed <13>Sep 7 08:30:09 rpmi: python3-module-certifi-2024.8.30-alt1 sisyphus+356919.100.1.1 1725546651 installed <13>Sep 7 08:30:09 rpmi: python3-module-Pygments-2.18.0-alt1 sisyphus+347552.100.1.1 1714992955 installed <13>Sep 7 08:30:09 rpmi: python3-module-sniffio-1.3.1-alt1 sisyphus+341424.100.1.1 1708941879 installed <13>Sep 7 08:30:09 rpmi: python3-module-pkg_resources-1:70.3.0-alt1 sisyphus+352532.100.2.1 1720689196 installed <13>Sep 7 08:30:09 rpmi: python3-module-zope.interface-7.0.1-alt1 sisyphus+355516.100.1.1 1724059810 installed <13>Sep 7 08:30:09 rpmi: python3-module-click-8.1.7-alt1 sisyphus+327424.100.2.1 1695395098 installed <13>Sep 7 08:30:09 rpmi: python3-module-pyasn1-0.6.0-alt1 sisyphus+343691.100.1.1 1711530038 installed <13>Sep 7 08:30:09 rpmi: python3-module-pyasn1-modules-0.4.0-alt1 sisyphus+343691.200.1.1 1711530070 installed <13>Sep 7 08:30:09 rpmi: python3-module-incremental-22.10.0-alt1 sisyphus+312706.100.1.1 1672404273 installed <13>Sep 7 08:30:09 rpmi: python3-module-outcome-1.3.0-alt1 sisyphus+332382.100.1.1 1697882349 installed <13>Sep 7 08:30:09 rpmi: python3-module-hyperlink-21.0.0-alt1.1 sisyphus+304836.100.1.1 1659710964 installed <13>Sep 7 08:30:09 rpmi: libpython3-3.12.5-alt1 sisyphus+355289.200.2.1 1723833941 installed <13>Sep 7 08:30:09 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Sep 7 08:30:09 rpmi: python3-module-appdirs-1.4.4-alt1 sisyphus+267613.300.2.1 1620039159 installed <13>Sep 7 08:30:09 rpmi: python3-module-argcomplete-3.5.0-alt1 sisyphus+355599.100.1.1 1724154718 installed <13>Sep 7 08:30:09 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Sep 7 08:30:09 rpmi: python3-module-cffi-1.16.0-alt1 sisyphus+333513.10400.71.1 1704540321 installed <13>Sep 7 08:30:10 rpmi: python3-module-cryptography-43.0.0-alt1 sisyphus+353417.100.1.1 1721731017 installed <13>Sep 7 08:30:10 rpmi: python3-module-openssl-24.2.1-alt1 sisyphus+353417.200.1.1 1721731036 installed <13>Sep 7 08:30:10 rpmi: python3-module-service_identity-24.1.0-alt1 sisyphus+338892.100.1.2 1706114425 installed <13>Sep 7 08:30:10 rpmi: python3-module-pycares-4.4.0-alt1 sisyphus+347421.100.1.1 1714743573 installed <13>Sep 7 08:30:10 rpmi: python3-module-zombie-imp-0.0.2-alt1 sisyphus+339293.100.1.1 1706537230 installed <13>Sep 7 08:30:10 rpmi: python3-module-cython-hidapi-0.14.0-alt1.1 sisyphus+333513.54340.73.1 1704649757 installed <13>Sep 7 08:30:10 rpmi: python3-module-serial-3.5-alt2 sisyphus+281995.100.1.1 1628172783 installed <13>Sep 7 08:30:10 rpmi: python3-modules-tkinter-3.12.5-alt1 sisyphus+355289.200.2.1 1723833941 installed <13>Sep 7 08:30:10 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Sep 7 08:30:10 rpmi: python3-module-constantly-15.1.0-alt7 sisyphus+338906.100.1.1 1706107088 installed <13>Sep 7 08:30:10 rpmi: python3-module-hyperframe-6.0.1-alt1 sisyphus+270376.300.2.1 1618957001 installed <13>Sep 7 08:30:10 rpmi: python3-module-hpack-4.0.0-alt1 sisyphus+270376.200.1.1 1618956626 installed <13>Sep 7 08:30:10 rpmi: python3-module-h2-4.1.0-alt1 sisyphus+325714.100.2.2 1690478873 installed <13>Sep 7 08:30:10 rpmi: python3-module-priority-2.0.0-alt3 sisyphus+338701.100.1.2 1705988383 installed <13>Sep 7 08:30:10 rpmi: python3-module-twisted-logger-22.10.0-alt3 sisyphus+341870.100.1.1 1709406646 installed <13>Sep 7 08:30:10 rpmi: python3-module-twisted-web-22.10.0-alt3 sisyphus+341870.100.1.1 1709406646 installed <13>Sep 7 08:30:10 rpmi: python3-module-twisted-words-22.10.0-alt3 sisyphus+341870.100.1.1 1709406646 installed <13>Sep 7 08:30:10 rpmi: python3-module-automat-24.8.1-alt1 sisyphus+355768.100.2.1 1724411664 installed <13>Sep 7 08:30:10 rpmi: python3-module-twisted-core-22.10.0-alt3 sisyphus+341870.100.1.1 1709406646 installed <13>Sep 7 08:30:10 rpmi: python3-module-twisted-names-22.10.0-alt3 sisyphus+341870.100.1.1 1709406646 installed <13>Sep 7 08:30:10 rpmi: python3-module-bottle-1:0.12.25-alt1 sisyphus+316623.100.1.1 1678651894 installed <13>Sep 7 08:30:10 rpmi: python3-module-bson-4.8.0-alt1 sisyphus+352488.100.1.1 1720527954 installed <13>Sep 7 08:30:10 rpmi: python3-module-charset-normalizer-3.2.0-alt1 sisyphus+347396.200.2.1 1714733144 installed <13>Sep 7 08:30:10 rpmi: python3-module-wcwidth-0.2.13-alt1 sisyphus+341792.100.2.1 1709543329 installed <13>Sep 7 08:30:10 rpmi: python3-module-prettytable-2.1.0-alt1 sisyphus+269172.200.1.1 1617824839 installed <13>Sep 7 08:30:10 rpmi: python3-module-urllib3-2:2.2.2-alt1 sisyphus+351112.100.1.1 1718703196 installed <13>Sep 7 08:30:10 rpmi: python3-module-requests-2.32.3-alt1 sisyphus+349946.100.1.1 1717059877 installed <13>Sep 7 08:30:11 rpmi: python3-module-pymongo-4.8.0-alt1 sisyphus+352488.100.1.1 1720527954 installed <13>Sep 7 08:30:11 rpmi: python3-module-servicemanager-2.0.7-alt1 sisyphus+275998.100.1.1 1624811123 installed <13>Sep 7 08:30:11 rpmi: python3-module-execnet-2.1.1-alt1 sisyphus+344737.100.1.1 1712657795 installed <13>Sep 7 08:30:11 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Sep 7 08:30:11 rpmi: python3-module-packaging-24.1-alt1 sisyphus+350717.100.2.1 1718268656 installed <13>Sep 7 08:30:11 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Sep 7 08:30:11 rpmi: python3-module-pytest-8.3.2-alt1 sisyphus+353657.100.2.1 1722243941 installed <13>Sep 7 08:30:11 rpmi: python3-module-h11-0.14.0-alt1 sisyphus+312690.100.1.1 1672395335 installed <13>Sep 7 08:30:11 rpmi: python3-module-socksio-1.0.0-alt1 sisyphus+295017.1500.2.1 1644498004 installed <13>Sep 7 08:30:11 rpmi: python3-module-httpcore-1.0.5-alt1 sisyphus+347570.100.1.1 1715005713 installed <13>Sep 7 08:30:11 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Sep 7 08:30:11 rpmi: python3-module-markdown-it-3.0.0-alt1 sisyphus+324665.100.1.1 1689081992 installed <13>Sep 7 08:30:11 rpmi: python3-module-rich-13.7.1-alt1 sisyphus+341675.100.1.1 1709202925 installed <13>Sep 7 08:30:11 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Sep 7 08:30:11 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Sep 7 08:30:12 rpmi: python3-dev-3.12.5-alt1 sisyphus+355289.200.2.1 1723833941 installed <13>Sep 7 08:30:12 rpmi: python3-module-setuptools-1:70.3.0-alt1 sisyphus+352532.100.2.1 1720689196 installed <13>Sep 7 08:30:12 rpmi: python3-module-httpx-0.27.0-alt1 sisyphus+347574.100.1.1 1715005951 installed <13>Sep 7 08:30:12 rpmi: python3-module-flaky-3.8.1-alt1 sisyphus+344119.100.1.1 1711967596 installed <13>Sep 7 08:30:12 rpmi: python3-module-pytest-asyncio-0.23.8-alt1 sisyphus+353099.100.1.1 1721307401 installed <13>Sep 7 08:30:12 rpmi: python3-module-pytest-xdist-3.6.1-alt1 sisyphus+347405.100.1.1 1714737453 installed <13>Sep 7 08:30:12 rpmi: python3-module-tornado-6.4.1-alt1 sisyphus+352243.100.1.1 1720177914 installed <13>Sep 7 08:30:12 rpmi: python3-module-anyio-4.4.0-alt1 sisyphus+349455.100.1.1 1716788507 installed <13>Sep 7 08:30:12 rpmi: python3-module-cachetools-5.4.0-alt1 sisyphus+352962.100.1.1 1721130310 installed <13>Sep 7 08:30:12 rpmi: python3-module-pytz-1:2024.1-alt1 sisyphus+353671.100.1.2 1722000143 installed <13>Sep 7 08:30:12 rpmi: python3-module-wheel-0.44.0-alt1 sisyphus+355530.100.1.1 1724069902 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-telegram-bot-21.3-alt1.nosrc.rpm (w1.gzdio) <13>Sep 7 08:30:17 rpmi: python3-module-pyproject-installer-0.5.4-alt1 sisyphus+352023.140.3.1 1720195943 installed Installing python3-module-telegram-bot-21.3-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3580 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-telegram-bot-21.3 + echo 'Source #0 (python3-module-telegram-bot-21.3-alt1.tar):' Source #0 (python3-module-telegram-bot-21.3-alt1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-telegram-bot-21.3-alt1.tar + cd python3-module-telegram-bot-21.3 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.3580 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-telegram-bot-21.3 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/pyproject.toml INFO : pyproject_installer.lib.build_backend : build-system was not found, using defaults INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta:__legacy__ INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : root : running bdist_wheel INFO : root : running build INFO : root : running build_py INFO : root : creating build INFO : root : creating build/lib INFO : root : creating build/lib/telegram INFO : root : copying telegram/warnings.py -> build/lib/telegram INFO : root : copying telegram/helpers.py -> build/lib/telegram INFO : root : copying telegram/error.py -> build/lib/telegram INFO : root : copying telegram/constants.py -> build/lib/telegram INFO : root : copying telegram/_writeaccessallowed.py -> build/lib/telegram INFO : root : copying telegram/_webhookinfo.py -> build/lib/telegram INFO : root : copying telegram/_webappinfo.py -> build/lib/telegram INFO : root : copying telegram/_webappdata.py -> build/lib/telegram INFO : root : copying telegram/_videochat.py -> build/lib/telegram INFO : root : copying telegram/_version.py -> build/lib/telegram INFO : root : copying telegram/_userprofilephotos.py -> build/lib/telegram INFO : root : copying telegram/_user.py -> build/lib/telegram INFO : root : copying telegram/_update.py -> build/lib/telegram INFO : root : copying telegram/_telegramobject.py -> build/lib/telegram INFO : root : copying telegram/_switchinlinequerychosenchat.py -> build/lib/telegram INFO : root : copying telegram/_story.py -> build/lib/telegram INFO : root : copying telegram/_shared.py -> build/lib/telegram INFO : root : copying telegram/_sentwebappmessage.py -> build/lib/telegram INFO : root : copying telegram/_replykeyboardremove.py -> build/lib/telegram INFO : root : copying telegram/_replykeyboardmarkup.py -> build/lib/telegram INFO : root : copying telegram/_reply.py -> build/lib/telegram INFO : root : copying telegram/_reaction.py -> build/lib/telegram INFO : root : copying telegram/_proximityalerttriggered.py -> build/lib/telegram INFO : root : copying telegram/_poll.py -> build/lib/telegram INFO : root : copying telegram/_messagereactionupdated.py -> build/lib/telegram INFO : root : copying telegram/_messageorigin.py -> build/lib/telegram INFO : root : copying telegram/_messageid.py -> build/lib/telegram INFO : root : copying telegram/_messageentity.py -> build/lib/telegram INFO : root : copying telegram/_messageautodeletetimerchanged.py -> build/lib/telegram INFO : root : copying telegram/_message.py -> build/lib/telegram INFO : root : copying telegram/_menubutton.py -> build/lib/telegram INFO : root : copying telegram/_loginurl.py -> build/lib/telegram INFO : root : copying telegram/_linkpreviewoptions.py -> build/lib/telegram INFO : root : copying telegram/_keyboardbuttonrequest.py -> build/lib/telegram INFO : root : copying telegram/_keyboardbuttonpolltype.py -> build/lib/telegram INFO : root : copying telegram/_keyboardbutton.py -> build/lib/telegram INFO : root : copying telegram/_giveaway.py -> build/lib/telegram INFO : root : copying telegram/_forumtopic.py -> build/lib/telegram INFO : root : copying telegram/_forcereply.py -> build/lib/telegram INFO : root : copying telegram/_dice.py -> build/lib/telegram INFO : root : copying telegram/_choseninlineresult.py -> build/lib/telegram INFO : root : copying telegram/_chatpermissions.py -> build/lib/telegram INFO : root : copying telegram/_chatmemberupdated.py -> build/lib/telegram INFO : root : copying telegram/_chatmember.py -> build/lib/telegram INFO : root : copying telegram/_chatlocation.py -> build/lib/telegram INFO : root : copying telegram/_chatjoinrequest.py -> build/lib/telegram INFO : root : copying telegram/_chatinvitelink.py -> build/lib/telegram INFO : root : copying telegram/_chatfullinfo.py -> build/lib/telegram INFO : root : copying telegram/_chatboost.py -> build/lib/telegram INFO : root : copying telegram/_chatbackground.py -> build/lib/telegram INFO : root : copying telegram/_chatadministratorrights.py -> build/lib/telegram INFO : root : copying telegram/_chat.py -> build/lib/telegram INFO : root : copying telegram/_callbackquery.py -> build/lib/telegram INFO : root : copying telegram/_business.py -> build/lib/telegram INFO : root : copying telegram/_botname.py -> build/lib/telegram INFO : root : copying telegram/_botdescription.py -> build/lib/telegram INFO : root : copying telegram/_botcommandscope.py -> build/lib/telegram INFO : root : copying telegram/_botcommand.py -> build/lib/telegram INFO : root : copying telegram/_bot.py -> build/lib/telegram INFO : root : copying telegram/_birthdate.py -> build/lib/telegram INFO : root : copying telegram/__main__.py -> build/lib/telegram INFO : root : copying telegram/__init__.py -> build/lib/telegram INFO : root : creating build/lib/telegram/request INFO : root : copying telegram/request/_requestparameter.py -> build/lib/telegram/request INFO : root : copying telegram/request/_requestdata.py -> build/lib/telegram/request INFO : root : copying telegram/request/_httpxrequest.py -> build/lib/telegram/request INFO : root : copying telegram/request/_baserequest.py -> build/lib/telegram/request INFO : root : copying telegram/request/__init__.py -> build/lib/telegram/request INFO : root : creating build/lib/telegram/ext INFO : root : copying telegram/ext/filters.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_updater.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_picklepersistence.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_jobqueue.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_extbot.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_dictpersistence.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_defaults.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_contexttypes.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_callbackdatacache.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_callbackcontext.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_baseupdateprocessor.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_baseratelimiter.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_basepersistence.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_applicationbuilder.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_application.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/_aioratelimiter.py -> build/lib/telegram/ext INFO : root : copying telegram/ext/__init__.py -> build/lib/telegram/ext INFO : root : creating build/lib/telegram/_utils INFO : root : copying telegram/_utils/warnings_transition.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/warnings.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/types.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/strings.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/repr.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/markup.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/logging.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/files.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/enum.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/entities.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/defaultvalue.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/datetime.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/argumentparsing.py -> build/lib/telegram/_utils INFO : root : copying telegram/_utils/__init__.py -> build/lib/telegram/_utils INFO : root : creating build/lib/telegram/_payment INFO : root : copying telegram/_payment/successfulpayment.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/shippingquery.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/shippingoption.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/shippingaddress.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/precheckoutquery.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/orderinfo.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/labeledprice.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/invoice.py -> build/lib/telegram/_payment INFO : root : copying telegram/_payment/__init__.py -> build/lib/telegram/_payment INFO : root : creating build/lib/telegram/_passport INFO : root : copying telegram/_passport/passportfile.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/passportelementerrors.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/passportdata.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/encryptedpassportelement.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/data.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/credentials.py -> build/lib/telegram/_passport INFO : root : copying telegram/_passport/__init__.py -> build/lib/telegram/_passport INFO : root : creating build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputvenuemessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputtextmessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputmessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputlocationmessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputinvoicemessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inputcontactmessagecontent.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultvoice.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultvideo.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultvenue.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultsbutton.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultphoto.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultmpeg4gif.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultlocation.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultgif.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultgame.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultdocument.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcontact.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedvoice.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedvideo.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedsticker.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedphoto.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedmpeg4gif.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedgif.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcacheddocument.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultcachedaudio.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultaudio.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresultarticle.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequeryresult.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinequery.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinekeyboardmarkup.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/inlinekeyboardbutton.py -> build/lib/telegram/_inline INFO : root : copying telegram/_inline/__init__.py -> build/lib/telegram/_inline INFO : root : creating build/lib/telegram/_games INFO : root : copying telegram/_games/gamehighscore.py -> build/lib/telegram/_games INFO : root : copying telegram/_games/game.py -> build/lib/telegram/_games INFO : root : copying telegram/_games/callbackgame.py -> build/lib/telegram/_games INFO : root : copying telegram/_games/__init__.py -> build/lib/telegram/_games INFO : root : creating build/lib/telegram/_files INFO : root : copying telegram/_files/voice.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/videonote.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/video.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/venue.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/sticker.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/photosize.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/location.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/inputsticker.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/inputmedia.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/inputfile.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/file.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/document.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/contact.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/chatphoto.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/audio.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/animation.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/_basethumbedmedium.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/_basemedium.py -> build/lib/telegram/_files INFO : root : copying telegram/_files/__init__.py -> build/lib/telegram/_files INFO : root : creating build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/webhookhandler.py -> build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/types.py -> build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/trackingdict.py -> build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/stack.py -> build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/_update_parsing.py -> build/lib/telegram/ext/_utils INFO : root : copying telegram/ext/_utils/__init__.py -> build/lib/telegram/ext/_utils INFO : root : creating build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/typehandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/stringregexhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/stringcommandhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/shippingqueryhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/prefixhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/precheckoutqueryhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/pollhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/pollanswerhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/messagereactionhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/messagehandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/inlinequeryhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/conversationhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/commandhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/choseninlineresulthandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/chatmemberhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/chatjoinrequesthandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/chatboosthandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/callbackqueryhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/businessmessagesdeletedhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/businessconnectionhandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/basehandler.py -> build/lib/telegram/ext/_handlers INFO : root : copying telegram/ext/_handlers/__init__.py -> build/lib/telegram/ext/_handlers INFO : root : running egg_info INFO : root : creating python_telegram_bot.egg-info INFO : root : writing python_telegram_bot.egg-info/PKG-INFO INFO : root : writing dependency_links to python_telegram_bot.egg-info/dependency_links.txt INFO : root : writing requirements to python_telegram_bot.egg-info/requires.txt INFO : root : writing top-level names to python_telegram_bot.egg-info/top_level.txt INFO : root : writing manifest file 'python_telegram_bot.egg-info/SOURCES.txt' INFO : root : reading manifest file 'python_telegram_bot.egg-info/SOURCES.txt' INFO : root : reading manifest template 'MANIFEST.in' INFO : root : adding license file 'LICENSE' INFO : root : adding license file 'LICENSE.dual' INFO : root : adding license file 'LICENSE.lesser' INFO : root : writing manifest file 'python_telegram_bot.egg-info/SOURCES.txt' INFO : root : copying telegram/py.typed -> build/lib/telegram INFO : root : installing to build/bdist.linux-i686/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-i686 INFO : root : creating build/bdist.linux-i686/wheel INFO : root : creating build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/py.typed -> build/bdist.linux-i686/wheel/telegram INFO : root : creating build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/__init__.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/_basemedium.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/_basethumbedmedium.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/animation.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/audio.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/chatphoto.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/contact.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/document.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/file.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/inputfile.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/inputmedia.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/inputsticker.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/location.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/photosize.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/sticker.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/venue.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/video.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/videonote.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : copying build/lib/telegram/_files/voice.py -> build/bdist.linux-i686/wheel/telegram/_files INFO : root : creating build/bdist.linux-i686/wheel/telegram/_games INFO : root : copying build/lib/telegram/_games/__init__.py -> build/bdist.linux-i686/wheel/telegram/_games INFO : root : copying build/lib/telegram/_games/callbackgame.py -> build/bdist.linux-i686/wheel/telegram/_games INFO : root : copying build/lib/telegram/_games/game.py -> build/bdist.linux-i686/wheel/telegram/_games INFO : root : copying build/lib/telegram/_games/gamehighscore.py -> build/bdist.linux-i686/wheel/telegram/_games INFO : root : creating build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/__init__.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinekeyboardbutton.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinekeyboardmarkup.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequery.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresult.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultarticle.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultaudio.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedaudio.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcacheddocument.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedgif.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedmpeg4gif.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedphoto.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedsticker.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedvideo.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcachedvoice.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultcontact.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultdocument.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultgame.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultgif.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultlocation.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultmpeg4gif.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultphoto.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultsbutton.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultvenue.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultvideo.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inlinequeryresultvoice.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputcontactmessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputinvoicemessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputlocationmessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputmessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputtextmessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : copying build/lib/telegram/_inline/inputvenuemessagecontent.py -> build/bdist.linux-i686/wheel/telegram/_inline INFO : root : creating build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/__init__.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/credentials.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/data.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/encryptedpassportelement.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/passportdata.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/passportelementerrors.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : copying build/lib/telegram/_passport/passportfile.py -> build/bdist.linux-i686/wheel/telegram/_passport INFO : root : creating build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/__init__.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/invoice.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/labeledprice.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/orderinfo.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/precheckoutquery.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/shippingaddress.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/shippingoption.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/shippingquery.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : copying build/lib/telegram/_payment/successfulpayment.py -> build/bdist.linux-i686/wheel/telegram/_payment INFO : root : creating build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/__init__.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/argumentparsing.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/datetime.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/defaultvalue.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/entities.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/enum.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/files.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/logging.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/markup.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/repr.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/strings.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/types.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/warnings.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : copying build/lib/telegram/_utils/warnings_transition.py -> build/bdist.linux-i686/wheel/telegram/_utils INFO : root : creating build/bdist.linux-i686/wheel/telegram/ext INFO : root : creating build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/__init__.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/basehandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/businessconnectionhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/businessmessagesdeletedhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/callbackqueryhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/chatboosthandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/chatjoinrequesthandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/chatmemberhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/choseninlineresulthandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/commandhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/conversationhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/inlinequeryhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/messagehandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/messagereactionhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/pollanswerhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/pollhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/precheckoutqueryhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/prefixhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/shippingqueryhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/stringcommandhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/stringregexhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : copying build/lib/telegram/ext/_handlers/typehandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_handlers INFO : root : creating build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/__init__.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/_update_parsing.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/stack.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/trackingdict.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/types.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/_utils/webhookhandler.py -> build/bdist.linux-i686/wheel/telegram/ext/_utils INFO : root : copying build/lib/telegram/ext/__init__.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_aioratelimiter.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_application.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_applicationbuilder.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_basepersistence.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_baseratelimiter.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_baseupdateprocessor.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_callbackcontext.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_callbackdatacache.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_contexttypes.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_defaults.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_dictpersistence.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_extbot.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_jobqueue.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_picklepersistence.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/_updater.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : copying build/lib/telegram/ext/filters.py -> build/bdist.linux-i686/wheel/telegram/ext INFO : root : creating build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/request/__init__.py -> build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/request/_baserequest.py -> build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/request/_httpxrequest.py -> build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/request/_requestdata.py -> build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/request/_requestparameter.py -> build/bdist.linux-i686/wheel/telegram/request INFO : root : copying build/lib/telegram/__init__.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/__main__.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_birthdate.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_bot.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_botcommand.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_botcommandscope.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_botdescription.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_botname.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_business.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_callbackquery.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chat.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatadministratorrights.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatbackground.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatboost.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatfullinfo.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatinvitelink.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatjoinrequest.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatlocation.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatmember.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatmemberupdated.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_chatpermissions.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_choseninlineresult.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_dice.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_forcereply.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_forumtopic.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_giveaway.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_keyboardbutton.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_keyboardbuttonpolltype.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_keyboardbuttonrequest.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_linkpreviewoptions.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_loginurl.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_menubutton.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_message.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_messageautodeletetimerchanged.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_messageentity.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_messageid.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_messageorigin.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_messagereactionupdated.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_poll.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_proximityalerttriggered.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_reaction.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_reply.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_replykeyboardmarkup.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_replykeyboardremove.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_sentwebappmessage.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_shared.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_story.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_switchinlinequerychosenchat.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_telegramobject.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_update.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_user.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_userprofilephotos.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_version.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_videochat.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_webappdata.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_webappinfo.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_webhookinfo.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/_writeaccessallowed.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/constants.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/error.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/helpers.py -> build/bdist.linux-i686/wheel/telegram INFO : root : copying build/lib/telegram/warnings.py -> build/bdist.linux-i686/wheel/telegram INFO : root : running install_egg_info INFO : root : Copying python_telegram_bot.egg-info to build/bdist.linux-i686/wheel/python_telegram_bot-21.3-py3.12.egg-info INFO : root : running install_scripts INFO : root : creating build/bdist.linux-i686/wheel/python_telegram_bot-21.3.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist/.tmp-npicty66/python_telegram_bot-21.3-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it INFO : wheel : adding 'telegram/__init__.py' INFO : wheel : adding 'telegram/__main__.py' INFO : wheel : adding 'telegram/_birthdate.py' INFO : wheel : adding 'telegram/_bot.py' INFO : wheel : adding 'telegram/_botcommand.py' INFO : wheel : adding 'telegram/_botcommandscope.py' INFO : wheel : adding 'telegram/_botdescription.py' INFO : wheel : adding 'telegram/_botname.py' INFO : wheel : adding 'telegram/_business.py' INFO : wheel : adding 'telegram/_callbackquery.py' INFO : wheel : adding 'telegram/_chat.py' INFO : wheel : adding 'telegram/_chatadministratorrights.py' INFO : wheel : adding 'telegram/_chatbackground.py' INFO : wheel : adding 'telegram/_chatboost.py' INFO : wheel : adding 'telegram/_chatfullinfo.py' INFO : wheel : adding 'telegram/_chatinvitelink.py' INFO : wheel : adding 'telegram/_chatjoinrequest.py' INFO : wheel : adding 'telegram/_chatlocation.py' INFO : wheel : adding 'telegram/_chatmember.py' INFO : wheel : adding 'telegram/_chatmemberupdated.py' INFO : wheel : adding 'telegram/_chatpermissions.py' INFO : wheel : adding 'telegram/_choseninlineresult.py' INFO : wheel : adding 'telegram/_dice.py' INFO : wheel : adding 'telegram/_forcereply.py' INFO : wheel : adding 'telegram/_forumtopic.py' INFO : wheel : adding 'telegram/_giveaway.py' INFO : wheel : adding 'telegram/_keyboardbutton.py' INFO : wheel : adding 'telegram/_keyboardbuttonpolltype.py' INFO : wheel : adding 'telegram/_keyboardbuttonrequest.py' INFO : wheel : adding 'telegram/_linkpreviewoptions.py' INFO : wheel : adding 'telegram/_loginurl.py' INFO : wheel : adding 'telegram/_menubutton.py' INFO : wheel : adding 'telegram/_message.py' INFO : wheel : adding 'telegram/_messageautodeletetimerchanged.py' INFO : wheel : adding 'telegram/_messageentity.py' INFO : wheel : adding 'telegram/_messageid.py' INFO : wheel : adding 'telegram/_messageorigin.py' INFO : wheel : adding 'telegram/_messagereactionupdated.py' INFO : wheel : adding 'telegram/_poll.py' INFO : wheel : adding 'telegram/_proximityalerttriggered.py' INFO : wheel : adding 'telegram/_reaction.py' INFO : wheel : adding 'telegram/_reply.py' INFO : wheel : adding 'telegram/_replykeyboardmarkup.py' INFO : wheel : adding 'telegram/_replykeyboardremove.py' INFO : wheel : adding 'telegram/_sentwebappmessage.py' INFO : wheel : adding 'telegram/_shared.py' INFO : wheel : adding 'telegram/_story.py' INFO : wheel : adding 'telegram/_switchinlinequerychosenchat.py' INFO : wheel : adding 'telegram/_telegramobject.py' INFO : wheel : adding 'telegram/_update.py' INFO : wheel : adding 'telegram/_user.py' INFO : wheel : adding 'telegram/_userprofilephotos.py' INFO : wheel : adding 'telegram/_version.py' INFO : wheel : adding 'telegram/_videochat.py' INFO : wheel : adding 'telegram/_webappdata.py' INFO : wheel : adding 'telegram/_webappinfo.py' INFO : wheel : adding 'telegram/_webhookinfo.py' INFO : wheel : adding 'telegram/_writeaccessallowed.py' INFO : wheel : adding 'telegram/constants.py' INFO : wheel : adding 'telegram/error.py' INFO : wheel : adding 'telegram/helpers.py' INFO : wheel : adding 'telegram/py.typed' INFO : wheel : adding 'telegram/warnings.py' INFO : wheel : adding 'telegram/_files/__init__.py' INFO : wheel : adding 'telegram/_files/_basemedium.py' INFO : wheel : adding 'telegram/_files/_basethumbedmedium.py' INFO : wheel : adding 'telegram/_files/animation.py' INFO : wheel : adding 'telegram/_files/audio.py' INFO : wheel : adding 'telegram/_files/chatphoto.py' INFO : wheel : adding 'telegram/_files/contact.py' INFO : wheel : adding 'telegram/_files/document.py' INFO : wheel : adding 'telegram/_files/file.py' INFO : wheel : adding 'telegram/_files/inputfile.py' INFO : wheel : adding 'telegram/_files/inputmedia.py' INFO : wheel : adding 'telegram/_files/inputsticker.py' INFO : wheel : adding 'telegram/_files/location.py' INFO : wheel : adding 'telegram/_files/photosize.py' INFO : wheel : adding 'telegram/_files/sticker.py' INFO : wheel : adding 'telegram/_files/venue.py' INFO : wheel : adding 'telegram/_files/video.py' INFO : wheel : adding 'telegram/_files/videonote.py' INFO : wheel : adding 'telegram/_files/voice.py' INFO : wheel : adding 'telegram/_games/__init__.py' INFO : wheel : adding 'telegram/_games/callbackgame.py' INFO : wheel : adding 'telegram/_games/game.py' INFO : wheel : adding 'telegram/_games/gamehighscore.py' INFO : wheel : adding 'telegram/_inline/__init__.py' INFO : wheel : adding 'telegram/_inline/inlinekeyboardbutton.py' INFO : wheel : adding 'telegram/_inline/inlinekeyboardmarkup.py' INFO : wheel : adding 'telegram/_inline/inlinequery.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresult.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultarticle.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultaudio.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedaudio.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcacheddocument.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedgif.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedmpeg4gif.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedphoto.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedsticker.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedvideo.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcachedvoice.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultcontact.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultdocument.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultgame.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultgif.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultlocation.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultmpeg4gif.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultphoto.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultsbutton.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultvenue.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultvideo.py' INFO : wheel : adding 'telegram/_inline/inlinequeryresultvoice.py' INFO : wheel : adding 'telegram/_inline/inputcontactmessagecontent.py' INFO : wheel : adding 'telegram/_inline/inputinvoicemessagecontent.py' INFO : wheel : adding 'telegram/_inline/inputlocationmessagecontent.py' INFO : wheel : adding 'telegram/_inline/inputmessagecontent.py' INFO : wheel : adding 'telegram/_inline/inputtextmessagecontent.py' INFO : wheel : adding 'telegram/_inline/inputvenuemessagecontent.py' INFO : wheel : adding 'telegram/_passport/__init__.py' INFO : wheel : adding 'telegram/_passport/credentials.py' INFO : wheel : adding 'telegram/_passport/data.py' INFO : wheel : adding 'telegram/_passport/encryptedpassportelement.py' INFO : wheel : adding 'telegram/_passport/passportdata.py' INFO : wheel : adding 'telegram/_passport/passportelementerrors.py' INFO : wheel : adding 'telegram/_passport/passportfile.py' INFO : wheel : adding 'telegram/_payment/__init__.py' INFO : wheel : adding 'telegram/_payment/invoice.py' INFO : wheel : adding 'telegram/_payment/labeledprice.py' INFO : wheel : adding 'telegram/_payment/orderinfo.py' INFO : wheel : adding 'telegram/_payment/precheckoutquery.py' INFO : wheel : adding 'telegram/_payment/shippingaddress.py' INFO : wheel : adding 'telegram/_payment/shippingoption.py' INFO : wheel : adding 'telegram/_payment/shippingquery.py' INFO : wheel : adding 'telegram/_payment/successfulpayment.py' INFO : wheel : adding 'telegram/_utils/__init__.py' INFO : wheel : adding 'telegram/_utils/argumentparsing.py' INFO : wheel : adding 'telegram/_utils/datetime.py' INFO : wheel : adding 'telegram/_utils/defaultvalue.py' INFO : wheel : adding 'telegram/_utils/entities.py' INFO : wheel : adding 'telegram/_utils/enum.py' INFO : wheel : adding 'telegram/_utils/files.py' INFO : wheel : adding 'telegram/_utils/logging.py' INFO : wheel : adding 'telegram/_utils/markup.py' INFO : wheel : adding 'telegram/_utils/repr.py' INFO : wheel : adding 'telegram/_utils/strings.py' INFO : wheel : adding 'telegram/_utils/types.py' INFO : wheel : adding 'telegram/_utils/warnings.py' INFO : wheel : adding 'telegram/_utils/warnings_transition.py' INFO : wheel : adding 'telegram/ext/__init__.py' INFO : wheel : adding 'telegram/ext/_aioratelimiter.py' INFO : wheel : adding 'telegram/ext/_application.py' INFO : wheel : adding 'telegram/ext/_applicationbuilder.py' INFO : wheel : adding 'telegram/ext/_basepersistence.py' INFO : wheel : adding 'telegram/ext/_baseratelimiter.py' INFO : wheel : adding 'telegram/ext/_baseupdateprocessor.py' INFO : wheel : adding 'telegram/ext/_callbackcontext.py' INFO : wheel : adding 'telegram/ext/_callbackdatacache.py' INFO : wheel : adding 'telegram/ext/_contexttypes.py' INFO : wheel : adding 'telegram/ext/_defaults.py' INFO : wheel : adding 'telegram/ext/_dictpersistence.py' INFO : wheel : adding 'telegram/ext/_extbot.py' INFO : wheel : adding 'telegram/ext/_jobqueue.py' INFO : wheel : adding 'telegram/ext/_picklepersistence.py' INFO : wheel : adding 'telegram/ext/_updater.py' INFO : wheel : adding 'telegram/ext/filters.py' INFO : wheel : adding 'telegram/ext/_handlers/__init__.py' INFO : wheel : adding 'telegram/ext/_handlers/basehandler.py' INFO : wheel : adding 'telegram/ext/_handlers/businessconnectionhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/businessmessagesdeletedhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/callbackqueryhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/chatboosthandler.py' INFO : wheel : adding 'telegram/ext/_handlers/chatjoinrequesthandler.py' INFO : wheel : adding 'telegram/ext/_handlers/chatmemberhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/choseninlineresulthandler.py' INFO : wheel : adding 'telegram/ext/_handlers/commandhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/conversationhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/inlinequeryhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/messagehandler.py' INFO : wheel : adding 'telegram/ext/_handlers/messagereactionhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/pollanswerhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/pollhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/precheckoutqueryhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/prefixhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/shippingqueryhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/stringcommandhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/stringregexhandler.py' INFO : wheel : adding 'telegram/ext/_handlers/typehandler.py' INFO : wheel : adding 'telegram/ext/_utils/__init__.py' INFO : wheel : adding 'telegram/ext/_utils/_update_parsing.py' INFO : wheel : adding 'telegram/ext/_utils/stack.py' INFO : wheel : adding 'telegram/ext/_utils/trackingdict.py' INFO : wheel : adding 'telegram/ext/_utils/types.py' INFO : wheel : adding 'telegram/ext/_utils/webhookhandler.py' INFO : wheel : adding 'telegram/request/__init__.py' INFO : wheel : adding 'telegram/request/_baserequest.py' INFO : wheel : adding 'telegram/request/_httpxrequest.py' INFO : wheel : adding 'telegram/request/_requestdata.py' INFO : wheel : adding 'telegram/request/_requestparameter.py' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/LICENSE' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/LICENSE.dual' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/LICENSE.lesser' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/METADATA' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/WHEEL' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/top_level.txt' INFO : wheel : adding 'python_telegram_bot-21.3.dist-info/RECORD' INFO : root : removing build/bdist.linux-i686/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: python_telegram_bot-21.3-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.76488 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-telegram-bot-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-telegram-bot-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-telegram-bot-21.3 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-telegram-bot-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: python_telegram_bot-21.3-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-telegram-bot-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/LICENSE.dual DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/LICENSE.lesser DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: python_telegram_bot-21.3.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-telegram-bot-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-telegram-bot-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-telegram-bot-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-telegram-bot-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-telegram-bot-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-telegram-bot-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-telegram-bot-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-telegram-bot-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/defaultvalue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/entities.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/enum.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/logging.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/markup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/repr.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/strings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/_update_parsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/stack.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/trackingdict.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseupdateprocessor.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_version.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/error.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/warnings.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-telegram-bot-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/defaultvalue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/entities.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/enum.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/logging.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/markup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/repr.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/strings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/_update_parsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/stack.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/trackingdict.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseupdateprocessor.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_version.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/error.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/warnings.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-telegram-bot-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/defaultvalue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/entities.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/enum.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/logging.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/markup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/repr.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/strings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/_update_parsing.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/stack.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/trackingdict.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseupdateprocessor.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_version.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/error.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py compile /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/warnings.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/telegram/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/__main__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/__main__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_birthdate.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_birthdate.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_botcommand.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_botcommand.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_botcommandscope.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_botcommandscope.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_botdescription.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_botdescription.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_botname.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_botname.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_business.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_business.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_callbackquery.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_callbackquery.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chat.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chat.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatadministratorrights.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatadministratorrights.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatbackground.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatbackground.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatboost.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatboost.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatfullinfo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatfullinfo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatinvitelink.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatinvitelink.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatjoinrequest.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatjoinrequest.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatlocation.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatlocation.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatmember.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatmember.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatmemberupdated.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatmemberupdated.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_chatpermissions.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_chatpermissions.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_choseninlineresult.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_choseninlineresult.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_dice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_dice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_forcereply.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_forcereply.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_forumtopic.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_forumtopic.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_giveaway.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_giveaway.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbutton.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbutton.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbuttonpolltype.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbuttonpolltype.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbuttonrequest.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_keyboardbuttonrequest.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_linkpreviewoptions.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_linkpreviewoptions.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_loginurl.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_loginurl.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_menubutton.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_menubutton.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_messageautodeletetimerchanged.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_messageautodeletetimerchanged.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_messageentity.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_messageentity.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_messageid.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_messageid.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_messageorigin.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_messageorigin.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_messagereactionupdated.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_messagereactionupdated.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_poll.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_poll.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_proximityalerttriggered.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_proximityalerttriggered.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_reaction.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_reaction.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_reply.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_reply.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_replykeyboardmarkup.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_replykeyboardmarkup.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_replykeyboardremove.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_replykeyboardremove.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_sentwebappmessage.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_sentwebappmessage.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_shared.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_shared.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_story.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_story.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_switchinlinequerychosenchat.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_switchinlinequerychosenchat.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_update.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_update.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_user.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_user.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_userprofilephotos.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_userprofilephotos.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_version.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_version.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_videochat.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_videochat.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_webappdata.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_webappdata.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_webappinfo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_webappinfo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_webhookinfo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_webhookinfo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/_writeaccessallowed.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/_writeaccessallowed.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/constants.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/constants.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/error.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/error.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/__pycache__/warnings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/__pycache__/warnings.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/_basemedium.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/_basemedium.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/_basethumbedmedium.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/_basethumbedmedium.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/animation.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/animation.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/audio.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/audio.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/chatphoto.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/chatphoto.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/contact.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/contact.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/document.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/document.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/file.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/file.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputfile.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputfile.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputmedia.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputmedia.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputsticker.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/inputsticker.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/location.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/location.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/photosize.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/photosize.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/venue.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/venue.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/video.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/video.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/videonote.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/videonote.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_files/__pycache__/voice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_files/__pycache__/voice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_games/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_games/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_games/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_games/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_games/__pycache__/callbackgame.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_games/__pycache__/callbackgame.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_games/__pycache__/game.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_games/__pycache__/game.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_games/__pycache__/gamehighscore.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_games/__pycache__/gamehighscore.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardbutton.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardbutton.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequery.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequery.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresult.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresult.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultarticle.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultarticle.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultaudio.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultaudio.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedaudio.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedaudio.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcacheddocument.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcacheddocument.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedgif.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedgif.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedmpeg4gif.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedmpeg4gif.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedphoto.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedphoto.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedsticker.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedsticker.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedvideo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedvideo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedvoice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcachedvoice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcontact.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultcontact.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultdocument.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultdocument.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultgame.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultgame.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultgif.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultgif.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultlocation.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultlocation.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultmpeg4gif.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultmpeg4gif.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultphoto.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultphoto.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultsbutton.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultsbutton.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvenue.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvenue.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvideo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvideo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvoice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequeryresultvoice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputcontactmessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputcontactmessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputinvoicemessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputinvoicemessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputlocationmessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputlocationmessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputmessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputmessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputtextmessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputtextmessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputvenuemessagecontent.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_inline/__pycache__/inputvenuemessagecontent.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/credentials.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/credentials.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/data.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/data.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/encryptedpassportelement.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/encryptedpassportelement.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportdata.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportdata.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportelementerrors.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportelementerrors.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportfile.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_passport/__pycache__/passportfile.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/invoice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/invoice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/labeledprice.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/labeledprice.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/orderinfo.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/orderinfo.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/precheckoutquery.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/precheckoutquery.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingaddress.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingaddress.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingoption.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingoption.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingquery.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/shippingquery.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_payment/__pycache__/successfulpayment.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_payment/__pycache__/successfulpayment.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/argumentparsing.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/argumentparsing.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/datetime.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/datetime.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/defaultvalue.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/defaultvalue.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/entities.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/entities.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/enum.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/enum.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/files.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/files.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/logging.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/logging.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/repr.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/repr.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/strings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/strings.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/warnings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/warnings.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/_utils/__pycache__/warnings_transition.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/_utils/__pycache__/warnings_transition.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_basepersistence.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_basepersistence.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_baseratelimiter.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_baseratelimiter.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_baseupdateprocessor.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_baseupdateprocessor.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_contexttypes.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_contexttypes.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_jobqueue.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_jobqueue.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_picklepersistence.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_picklepersistence.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/basehandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/basehandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/businessconnectionhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/businessconnectionhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/businessmessagesdeletedhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/businessmessagesdeletedhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/callbackqueryhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/callbackqueryhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatboosthandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatboosthandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatjoinrequesthandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatjoinrequesthandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatmemberhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/chatmemberhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/choseninlineresulthandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/choseninlineresulthandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/inlinequeryhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/inlinequeryhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/messagehandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/messagehandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/messagereactionhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/messagereactionhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/pollanswerhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/pollanswerhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/pollhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/pollhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/precheckoutqueryhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/precheckoutqueryhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/prefixhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/prefixhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/shippingqueryhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/shippingqueryhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/stringcommandhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/stringcommandhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/stringregexhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/stringregexhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/typehandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/typehandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/_update_parsing.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/_update_parsing.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/stack.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/stack.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/webhookhandler.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/webhookhandler.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/request/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/request/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/request/__pycache__/_baserequest.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/request/__pycache__/_baserequest.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/request/__pycache__/_httpxrequest.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/request/__pycache__/_httpxrequest.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.pyc' './usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.57921 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-telegram-bot-21.3 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest -n auto --dist=loadgroup -m no_req INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist/python_telegram_bot-21.3-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/dist/python_telegram_bot-21.3-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-n', 'auto', '--dist=loadgroup', '-m', 'no_req'] ============================= test session starts ============================== platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0 rootdir: /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3 configfile: pyproject.toml testpaths: tests plugins: anyio-4.4.0, xdist-3.6.1, asyncio-0.23.8, flaky-3.8.1 asyncio: mode=Mode.AUTO created: 8/8 workers 8 workers [3452 items] .....EE.EE....EEEEEEE.EEEEEEE....EE.E.E.EE.EE.EE...E..EEEEE............. [ 2%] ............E..E...E.............E..E...E.E...........E.......E.E.E.EE.. [ 4%] ..EEEE..E.EEE....EEEE.EEE........EE..........E.EE.EE.EE.....E.E.E.E.EE.E [ 6%] ..EEEE.EE.E...EE.EEEEE.................................................. [ 8%] ......................................................E.........E....... [ 10%] ......E........................................sss......E.......E....... [ 12%] .......................................EE............................... [ 14%] ...E.E...E.E............................................................ [ 16%] ........s.......................................F.........F............. [ 18%] ........................................................................ [ 20%] ........................................................................ [ 22%] ........................................................................ [ 25%] ........................................................................ [ 27%] ........................................................................ [ 29%] ........................................................................ [ 31%] ........................................................................ [ 33%] .............................F.......................................... [ 35%] ........................................................................ [ 37%] ........................................................................ [ 39%] ........................................................................ [ 41%] ........................................................................ [ 43%] ..F..................................................................... [ 45%] ....................................................................F... [ 47%] ........................................................................ [ 50%] ........................................................................ [ 52%] ........................................................................ [ 54%] ...........F..EE..E.....E.EE...............E............................ [ 56%] ........................................................................ [ 58%] ........E.....................E.........................s..s...s.s...... [ 60%] ........................................................................ [ 62%] ........................................................................ [ 64%] ........................................................................ [ 66%] ........................................................................ [ 68%] ........................................................................ [ 70%] ........................................................................ [ 73%] ........................................................................ [ 75%] ........................................................................ [ 77%] ........................................................................ [ 79%] ........................................................................ [ 81%] ........................................................................ [ 83%] ............E...E................................E...E.................. [ 85%] .........................E.............................................. [ 87%] ........................................................................ [ 89%] ........................................................................ [ 91%] ........................................................................ [ 93%] ........................................................................ [ 95%] ..................................................................E..... [ 98%] ....................................................................E [100%]sys:1: RuntimeWarning: coroutine '_wrap_asyncgen_fixture.._asyncgen_fixture_wrapper..finalizer..async_finalizer' was never awaited RuntimeWarning: Enable tracemalloc to get the object allocation traceback ==================================== ERRORS ==================================== ____________ ERROR collecting tests/test_official/test_official.py _____________ ImportError while importing test module '/usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/tests/test_official/test_official.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_official/test_official.py:26: in from tests.test_official.arg_type_checker import ( tests/test_official/arg_type_checker.py:33: in from tests.test_official.exceptions import ParamTypeCheckingExceptions as PTCE tests/test_official/exceptions.py:23: in from tests.test_official.helpers import _get_params_base tests/test_official/helpers.py:25: in from bs4 import PageElement, Tag E ModuleNotFoundError: No module named 'bs4' __________ ERROR at setup of TestAnimationWithoutRequest.test_de_json __________ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestAnimationWithoutRequest.test_expected_values ______ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestAnimationWithoutRequest.test_to_dict __________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestAnimationWithoutRequest.test_slot_behaviour _______ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestAnimationWithoutRequest.test_creation __________ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAnimationWithoutRequest.test_send_animation_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAnimationWithoutRequest.test_get_file_instance_method __ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestAudioWithoutRequest.test_creation ____________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestAudioWithoutRequest.test_slot_behaviour _________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestAudioWithoutRequest.test_get_file_instance_method ____ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____ ERROR at setup of TestAnimationWithoutRequest.test_send_with_animation ____ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestAudioWithoutRequest.test_expected_values ________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestAudioWithoutRequest.test_to_dict ____________ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAnimationWithoutRequest.test_send_animation_default_quote_parse_mode[default_bot0-None] _ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAnimationWithoutRequest.test_send_animation_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def animation(bot, chat_id): with data_file("game.gif").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: return ( > await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) ).animation tests/_files/test_animation.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestAudioWithoutRequest.test_equality ____________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestChatPhotoWithoutRequest.test_de_json __________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] super_group_id = '-1001310911135' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestChatPhotoWithoutRequest.test_slot_behaviour _______ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] super_group_id = '-1001221216830' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAudioWithoutRequest.test_send_audio_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestChatPhotoWithoutRequest.test_get_big_file_instance_method _ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] super_group_id = '-1001310911135' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestChatPhotoWithoutRequest.test_to_dict __________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] super_group_id = '-1001221216830' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAudioWithoutRequest.test_send_audio_default_quote_parse_mode[default_bot0-None] _ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestAudioWithoutRequest.test_send_audio_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestAudioWithoutRequest.test_de_json ____________ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestAudioWithoutRequest.test_send_with_audio ________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def audio(bot, chat_id): with data_file("telegram.mp3").open("rb") as f, data_file("thumb.jpg").open("rb") as thumb: > return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio tests/_files/test_audio.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ ERROR at setup of TestDocumentWithoutRequest.test_slot_behaviour _______ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestChatPhotoWithoutRequest.test_get_small_file_instance_method _ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] super_group_id = '-1001221216830' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestChatPhotoWithoutRequest.test_send_with_chat_photo ____ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] super_group_id = '-1001310911135' @pytest.fixture(scope="module") async def chat_photo(bot, super_group_id): async def func(): return (await bot.get_chat(super_group_id, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_chatphoto.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_chatphoto.py:48: in func return (await bot.get_chat(super_group_id, read_timeout=50)).photo telegram/ext/_extbot.py:882: in get_chat result = await super().get_chat( telegram/_bot.py:4571: in get_chat result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getChat' method = 'POST' request_data = read_timeout = 50, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestDocumentWithoutRequest.test_to_dict ___________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __ ERROR at setup of TestDocumentWithoutRequest.test_send_with_document[True] __ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestDocumentWithoutRequest.test_expected_values _______ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestDocumentWithoutRequest.test_send_document_default_quote_parse_mode[default_bot0-None] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestDocumentWithoutRequest.test_creation __________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestDocumentWithoutRequest.test_equality __________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestDocumentWithoutRequest.test_de_json ___________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __ ERROR at setup of TestDocumentWithoutRequest.test_get_file_instance_method __ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestDocumentWithoutRequest.test_send_document_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestDocumentWithoutRequest.test_send_with_document[False] __ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestDocumentWithoutRequest.test_send_document_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __ ERROR at setup of TestDocumentWithoutRequest.test_send_with_document[None] __ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def document(bot, chat_id): with data_file("telegram.png").open("rb") as f: > return (await bot.send_document(chat_id, document=f, read_timeout=50)).document tests/_files/test_document.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestInputMediaVideoWithoutRequest.test_with_video ______ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_video.py:49: in video return (await bot.send_video(chat_id, video=f, read_timeout=50)).video telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestInputMediaAnimationWithoutRequest.test_with_animation __ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_animation.py:50: in animation await bot.send_animation(chat_id, animation=f, read_timeout=50, thumbnail=thumb) telegram/ext/_extbot.py:2401: in send_animation return await super().send_animation( telegram/_bot.py:2304: in send_animation return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendAnimation' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __ ERROR at setup of TestInputMediaDocumentWithoutRequest.test_with_document ___ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_document.py:49: in document return (await bot.send_document(chat_id, document=f, read_timeout=50)).document telegram/ext/_extbot.py:2627: in send_document return await super().send_document( telegram/_bot.py:1704: in send_document return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendDocument' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestInputMediaPhotoWithoutRequest.test_with_photo ______ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_photo.py:53: in photolist return await expect_bad_request( tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestInputMediaAudioWithoutRequest.test_with_audio ______ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_audio.py:49: in audio return (await bot.send_audio(chat_id, audio=f, read_timeout=50, thumbnail=thumb)).audio telegram/ext/_extbot.py:2459: in send_audio return await super().send_audio( telegram/_bot.py:1554: in send_audio return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendAudio' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestSendMediaGroupWithoutRequest.test_send_media_group_default_quote_parse_mode[default_bot0-None] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_photo.py:53: in photolist return await expect_bad_request( tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestSendMediaGroupWithoutRequest.test_send_media_group_throws_error_with_group_caption_and_individual_captions _ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_photo.py:53: in photolist return await expect_bad_request( tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestPhotoWithoutRequest.test_creation ____________ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestPhotoWithoutRequest.test_de_json ____________ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestSendMediaGroupWithoutRequest.test_send_media_group_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_photo.py:53: in photolist return await expect_bad_request( tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestPhotoWithoutRequest.test_equality ____________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestSendMediaGroupWithoutRequest.test_send_media_group_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:364: in setup res = await func( tests/_files/test_photo.py:53: in photolist return await expect_bad_request( tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestPhotoWithoutRequest.test_slot_behaviour _________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestPhotoWithoutRequest.test_send_with_photosize ______ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestPhotoWithoutRequest.test_expected_values ________ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestPhotoWithoutRequest.test_to_dict ____________ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestStickerWithoutRequest.test_creation ___________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ ERROR at setup of TestStickerWithoutRequest.test_slot_behaviour ________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestStickerWithoutRequest.test_de_json ___________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestPhotoWithoutRequest.test_send_photo_default_quote_parse_mode[default_bot0-None] _ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestStickerWithoutRequest.test_send_sticker_default_quote_parse_mode[default_bot0-None] _ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestPhotoWithoutRequest.test_get_file_instance_method ____ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestPhotoWithoutRequest.test_send_photo_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestStickerSetWithoutRequest.test_sticker_set_to_dict ____ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getStickerSet' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] @pytest.fixture() async def sticker_set(bot): > ss = await bot.get_sticker_set(f"test_by_{bot.username}") tests/_files/test_sticker.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1967: in get_sticker_set return await super().get_sticker_set( telegram/_bot.py:6233: in get_sticker_set result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getStickerSet' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ ERROR at setup of TestStickerWithoutRequest.test_expected_values _______ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestStickerWithoutRequest.test_to_dict ___________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestStickerWithoutRequest.test_equality ___________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestPhotoWithoutRequest.test_send_photo_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def photolist(bot, chat_id): async def func(): with data_file("telegram.jpg").open("rb") as f: return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo > return await expect_bad_request( func, "Type of file mismatch", "Telegram did not accept the file." ) tests/_files/test_photo.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/auxil/networking.py:77: in expect_bad_request return await func() tests/_files/test_photo.py:51: in func return (await bot.send_photo(chat_id, photo=f, read_timeout=50)).photo telegram/ext/_extbot.py:2943: in send_photo return await super().send_photo( telegram/_bot.py:1397: in send_photo return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendPhoto' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestStickerWithoutRequest.test_send_sticker_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestStickerWithoutRequest.test_send_sticker_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVideoWithoutRequest.test_expected_values ________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestStickerSetWithoutRequest.test_get_file_instance_method _ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestStickerSetWithoutRequest.test_de_json __________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestVideoWithoutRequest.test_get_file_instance_method ____ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestVideoWithoutRequest.test_equality ____________ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestStickerWithoutRequest.test_send_with_sticker ______ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def sticker(bot, chat_id): with data_file("telegram.webp").open("rb") as f: > sticker = (await bot.send_sticker(chat_id, sticker=f, read_timeout=50)).sticker tests/_files/test_sticker.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3056: in send_sticker return await super().send_sticker( telegram/_bot.py:1825: in send_sticker return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendSticker' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVideoWithoutRequest.test_send_with_video ________ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestVideoNoteWithoutRequest.test_equality __________ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestVideoWithoutRequest.test_creation ____________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoNoteWithoutRequest.test_get_file_instance_method __ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestVideoWithoutRequest.test_to_dict ____________ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoWithoutRequest.test_send_video_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVideoWithoutRequest.test_slot_behaviour _________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoWithoutRequest.test_send_video_default_quote_parse_mode[default_bot0-None] _ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestVideoNoteWithoutRequest.test_expected_values ______ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoWithoutRequest.test_send_video_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def video(bot, chat_id): with data_file("telegram.mp4").open("rb") as f: > return (await bot.send_video(chat_id, video=f, read_timeout=50)).video tests/_files/test_video.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3164: in send_video return await super().send_video( telegram/_bot.py:1996: in send_video return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideo' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __________ ERROR at setup of TestVideoNoteWithoutRequest.test_to_dict __________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoNoteWithoutRequest.test_send_video_note_default_quote_parse_mode[default_bot0-None] _ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestVideoNoteWithoutRequest.test_creation __________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestVideoNoteWithoutRequest.test_send_with_video_note ____ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestVoiceWithoutRequest.test_creation ____________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVoiceWithoutRequest.test_slot_behaviour _________ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____________ ERROR at setup of TestVoiceWithoutRequest.test_to_dict ____________ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVoiceWithoutRequest.test_send_with_voice ________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestVideoNoteWithoutRequest.test_slot_behaviour _______ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoNoteWithoutRequest.test_send_video_note_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___ ERROR at setup of TestVoiceWithoutRequest.test_get_file_instance_method ____ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVideoNoteWithoutRequest.test_send_video_note_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def video_note(bot, chat_id): with data_file("telegram2.mp4").open("rb") as f: > return (await bot.send_video_note(chat_id, video_note=f, read_timeout=50)).video_note tests/_files/test_videonote.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3219: in send_video_note return await super().send_video_note( telegram/_bot.py:2141: in send_video_note return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVideoNote' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ___________ ERROR at setup of TestVoiceWithoutRequest.test_equality ____________ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVoiceWithoutRequest.test_send_voice_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ________ ERROR at setup of TestVoiceWithoutRequest.test_expected_values ________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVoiceWithoutRequest.test_send_voice_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestVoiceWithoutRequest.test_send_voice_default_quote_parse_mode[default_bot0-None] _ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def voice(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return (await bot.send_voice(chat_id, voice=f, read_timeout=50)).voice tests/_files/test_voice.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 50, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestBotWithoutRequest.test_copy_message[Test-True] __ [gw3] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestBotWithoutRequest.test_copy_message[-False] _______ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ____ ERROR at setup of TestBotWithoutRequest.test_copy_message[None-False] _____ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ ERROR at setup of TestBotWithoutRequest.test_copy_message[-True] _______ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestBotWithoutRequest.test_copy_message[None-True] _____ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestBotWithoutRequest.test_copy_message[Test-False] _ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] chat_id = '675666224' @pytest.fixture(scope="module") async def media_message(bot, chat_id): with data_file("telegram.ogg").open("rb") as f: > return await bot.send_voice(chat_id, voice=f, caption="my caption", read_timeout=10) tests/test_bot.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:3268: in send_voice return await super().send_voice( telegram/_bot.py:2451: in send_voice return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/sendVoice' method = 'POST' request_data = read_timeout = 10, write_timeout = 20.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestBotWithoutRequest.test_send_message_default_quote_parse_mode[default_bot1-MarkdownV2] _ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:369: in _async_fixture_wrapper return event_loop.run_until_complete(setup()) /usr/lib/python3.12/asyncio/base_events.py:662: in run_until_complete self._check_closed() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=True debug=False> def _check_closed(self): if self._closed: > raise RuntimeError('Event loop is closed') E RuntimeError: Event loop is closed /usr/lib/python3.12/asyncio/base_events.py:541: RuntimeError _ ERROR at setup of TestBotWithoutRequest.test_send_message_default_quote_parse_mode[default_bot2-MarkdownV2] _ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendMessage' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture() async def message(bot, chat_id): # mostly used in tests for edit_message > out = await bot.send_message( chat_id, "Text", disable_web_page_preview=True, disable_notification=True ) tests/test_bot.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2893: in send_message return await super().send_message( telegram/_bot.py:1024: in send_message return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendMessage' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _ ERROR at setup of TestBotWithoutRequest.test_send_message_default_quote_parse_mode[default_bot0-None] _ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendMessage' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] chat_id = '675666224' @pytest.fixture() async def message(bot, chat_id): # mostly used in tests for edit_message > out = await bot.send_message( chat_id, "Text", disable_web_page_preview=True, disable_notification=True ) tests/test_bot.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:2893: in send_message return await super().send_message( telegram/_bot.py:1024: in send_message return await self._send_message( telegram/ext/_extbot.py:608: in _send_message result = await super()._send_message( telegram/_bot.py:740: in _send_message result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/sendMessage' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestForumTopicWithoutRequest.test_equality _________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ______ ERROR at setup of TestForumTopicWithoutRequest.test_slot_behaviour ______ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestForumTopicWithoutRequest.test_de_json __________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestForumTopicWithoutRequest.test_expected_values ______ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _________ ERROR at setup of TestForumTopicWithoutRequest.test_to_dict __________ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _____ ERROR at setup of TestForumTopicCreatedWithoutRequest.test_equality ______ [gw1] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] @pytest.fixture(scope="module") async def emoji_id(bot): > emoji_sticker_list = await bot.get_forum_topic_icon_stickers() tests/test_forum.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1862: in get_forum_topic_icon_stickers return await super().get_forum_topic_icon_stickers( telegram/_bot.py:8024: in get_forum_topic_icon_stickers result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( tests/auxil/networking.py:47: in _request_wrapper return await super()._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getForumTopicIconStickers' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ ERROR at teardown of TestWebhookInfoWithoutRequest.test_to_dict ________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) /usr/lib/python3/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:345: in finalizer event_loop.run_until_complete(async_finalizer()) /usr/lib/python3.12/asyncio/base_events.py:662: in run_until_complete self._check_closed() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=True debug=False> def _check_closed(self): if self._closed: > raise RuntimeError('Event loop is closed') E RuntimeError: Event loop is closed /usr/lib/python3.12/asyncio/base_events.py:541: RuntimeError =================================== FAILURES =================================== _____________ TestHTTPXRequestWithoutRequest.test_http_1_response ______________ [gw6] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = async def test_http_1_response(self): httpx_request = HTTPXRequest(http_version="1.1") async with httpx_request: > resp = await httpx_request._client.request( url="https://python-telegram-bot.org", method="GET", headers={"User-Agent": httpx_request.USER_AGENT}, ) tests/request/test_request.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError ___________ TestHTTPXRequestWithoutRequest.test_multiple_init_cycles ___________ [gw4] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://python-telegram-bot.org', method = 'GET', request_data = None read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: self = async def test_multiple_init_cycles(self): # nothing really to assert - this should just not fail httpx_request = HTTPXRequest() async with httpx_request: > await httpx_request.do_request(url="https://python-telegram-bot.org", method="GET") tests/request/test_request.py:518: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://python-telegram-bot.org', method = 'GET', request_data = None read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError _______ TestBotWithoutRequest.test_bot_method_logging[Bot-telegram.Bot] ________ [gw7] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: self = bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] cls = , logger_name = 'telegram.Bot' caplog = <_pytest.logging.LogCaptureFixture object at 0xf6069f90> @pytest.mark.parametrize( ("cls", "logger_name"), [(Bot, "telegram.Bot"), (ExtBot, "telegram.ext.ExtBot")] ) async def test_bot_method_logging(self, bot: PytestExtBot, cls, logger_name, caplog): # Second argument makes sure that we ignore logs from e.g. httpx with caplog.at_level(logging.DEBUG, logger="telegram"): > await cls(bot.token).get_me() tests/test_bot.py:399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/_bot.py:904: in get_me result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ------------------------------ Captured log call ------------------------------- _do_post - Line 646 - Calling Bot API endpoint `getMe` with parameters `{}` _______________ TestBotWithoutRequest.test_get_me_and_properties _______________ [gw0] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: self = bot = PytestExtBot[token=558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo] async def test_get_me_and_properties(self, bot): > get_me_bot = await ExtBot(bot.token).get_me() tests/test_bot.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1906: in get_me return await super().get_me( telegram/_bot.py:904: in get_me result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot558194066:AAFwDPIFlzGUlCaWHtTOEX4RFrX8u9DMqfo/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError __ TestBotWithoutRequest.test_bot_method_logging[ExtBot-telegram.ext.ExtBot] ___ [gw2] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: self = bot = PytestExtBot[token=579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c] cls = , logger_name = 'telegram.ext.ExtBot' caplog = <_pytest.logging.LogCaptureFixture object at 0xf41a5a20> @pytest.mark.parametrize( ("cls", "logger_name"), [(Bot, "telegram.Bot"), (ExtBot, "telegram.ext.ExtBot")] ) async def test_bot_method_logging(self, bot: PytestExtBot, cls, logger_name, caplog): # Second argument makes sure that we ignore logs from e.g. httpx with caplog.at_level(logging.DEBUG, logger="telegram"): > await cls(bot.token).get_me() tests/test_bot.py:399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/ext/_extbot.py:1906: in get_me return await super().get_me( telegram/_bot.py:904: in get_me result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/ext/_extbot.py:353: in _do_post return await super()._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ------------------------------ Captured log call ------------------------------- _do_post - Line 646 - Calling Bot API endpoint `getMe` with parameters `{}` _____________________ TestBotWithoutRequest.test_equality ______________________ [gw5] linux -- Python 3.12.5 /usr/src/RPM/BUILD/python3-module-telegram-bot-21.3/.run_venv/bin/python3 @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: > yield /usr/lib/python3/site-packages/httpx/_transports/default.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_transports/default.py:373: in handle_async_request resp = await self._pool.handle_async_request(req) /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:216: in handle_async_request raise exc from None /usr/lib/python3/site-packages/httpcore/_async/connection_pool.py:196: in handle_async_request response = await connection.handle_async_request( /usr/lib/python3/site-packages/httpcore/_async/connection.py:99: in handle_async_request raise exc /usr/lib/python3/site-packages/httpcore/_async/connection.py:76: in handle_async_request stream = await self._connect(request) /usr/lib/python3/site-packages/httpcore/_async/connection.py:122: in _connect stream = await self._network_backend.connect_tcp(**kwargs) /usr/lib/python3/site-packages/httpcore/_backends/auto.py:30: in connect_tcp return await self._backend.connect_tcp( /usr/lib/python3/site-packages/httpcore/_backends/anyio.py:114: in connect_tcp with map_exceptions(exc_map): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpcore/_exceptions.py:14: ConnectError The above exception was the direct cause of the following exception: self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: > res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) telegram/request/_httpxrequest.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/httpx/_client.py:1574: in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) /usr/lib/python3/site-packages/httpx/_client.py:1661: in send response = await self._send_handling_auth( /usr/lib/python3/site-packages/httpx/_client.py:1689: in _send_handling_auth response = await self._send_handling_redirects( /usr/lib/python3/site-packages/httpx/_client.py:1726: in _send_handling_redirects response = await self._send_single_request(request) /usr/lib/python3/site-packages/httpx/_client.py:1763: in _send_single_request response = await transport.handle_async_request(request) /usr/lib/python3/site-packages/httpx/_transports/default.py:372: in handle_async_request with map_httpcore_exceptions(): /usr/lib/python3.12/contextlib.py:158: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def map_httpcore_exceptions() -> typing.Iterator[None]: try: yield except Exception as exc: mapped_exc = None for from_exc, to_exc in HTTPCORE_EXC_MAP.items(): if not isinstance(exc, from_exc): continue # We want to map to the most specific exception we can find. # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to # `httpx.ReadTimeout`, not just `httpx.TimeoutException`. if mapped_exc is None or issubclass(to_exc, mapped_exc): mapped_exc = to_exc if mapped_exc is None: # pragma: no cover raise message = str(exc) > raise mapped_exc(message) from exc E httpx.ConnectError: [Errno -3] Temporary failure in name resolution /usr/lib/python3/site-packages/httpx/_transports/default.py:86: ConnectError The above exception was the direct cause of the following exception: self = async def test_equality(self): > async with make_bot(token=FALLBACKS[0]["token"]) as a, make_bot( token=FALLBACKS[0]["token"] ) as b, Bot(token=FALLBACKS[0]["token"]) as c, make_bot(token=FALLBACKS[1]["token"]) as d: tests/test_bot.py:327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ telegram/_bot.py:329: in __aenter__ raise exc telegram/_bot.py:325: in __aenter__ await self.initialize() telegram/_bot.py:772: in initialize await self.get_me() telegram/_bot.py:904: in get_me result = await self._post( telegram/_bot.py:618: in _post return await self._do_post( telegram/_bot.py:647: in _do_post result = await request.post( telegram/request/_baserequest.py:200: in post result = await self._request_wrapper( telegram/request/_baserequest.py:342: in _request_wrapper raise exc telegram/request/_baserequest.py:332: in _request_wrapper code, payload = await self.do_request( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = url = 'https://api.telegram.org/bot579694714:AAFpK8w6zkkUrD4xSeYwF3MO8e-4Grmcy7c/getMe' method = 'POST' request_data = read_timeout = 5.0, write_timeout = 5.0, connect_timeout = 5.0 pool_timeout = 1.0 async def do_request( self, url: str, method: str, request_data: Optional[RequestData] = None, read_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, write_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, connect_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, pool_timeout: ODVInput[float] = BaseRequest.DEFAULT_NONE, ) -> Tuple[int, bytes]: """See :meth:`BaseRequest.do_request`.""" if self._client.is_closed: raise RuntimeError("This HTTPXRequest is not initialized!") files = request_data.multipart_data if request_data else None data = request_data.json_parameters if request_data else None # If user did not specify timeouts (for e.g. in a bot method), use the default ones when we # created this instance. if isinstance(read_timeout, DefaultValue): read_timeout = self._client.timeout.read if isinstance(connect_timeout, DefaultValue): connect_timeout = self._client.timeout.connect if isinstance(pool_timeout, DefaultValue): pool_timeout = self._client.timeout.pool if isinstance(write_timeout, DefaultValue): write_timeout = self._client.timeout.write if not files else self._media_write_timeout timeout = httpx.Timeout( connect=connect_timeout, read=read_timeout, write=write_timeout, pool=pool_timeout, ) try: res = await self._client.request( method=method, url=url, headers={"User-Agent": self.USER_AGENT}, timeout=timeout, files=files, data=data, ) except httpx.TimeoutException as err: if isinstance(err, httpx.PoolTimeout): raise TimedOut( message=( "Pool timeout: All connections in the connection pool are occupied. " "Request was *not* sent to Telegram. Consider adjusting the connection " "pool size or the pool timeout." ) ) from err raise TimedOut from err except httpx.HTTPError as err: # HTTPError must come last as its the base httpx exception class # TODO p4: do something smart here; for now just raise NetworkError # We include the class name for easier debugging. Especially useful if the error # message of `err` is empty. > raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err E telegram.error.NetworkError: httpx.ConnectError: [Errno -3] Temporary failure in name resolution telegram/request/_httpxrequest.py:300: NetworkError ======= 6 failed, 3320 passed, 8 skipped, 120 errors in 72.90s (0:01:12) ======= INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest', '-n', 'auto', '--dist=loadgroup', '-m', 'no_req']' returned non-zero exit status 1. + : + exit 0 Processing files: python3-module-telegram-bot-21.3-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xx0hC8 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QFzNiQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) py3prov: detected potential module:telegram py3prov: detected potential module:telegram py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram" lines:[247] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._birthdate" lines:[248] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._bot" lines:[249] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._botcommand" lines:[250] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._botcommandscope" lines:[251] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._botdescription" lines:[261] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._botname" lines:[262] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._business" lines:[263] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._callbackquery" lines:[271] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chat" lines:[272] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatadministratorrights" lines:[273] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatbackground" lines:[274] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatboost" lines:[286] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatfullinfo" lines:[297] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatinvitelink" lines:[298] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatjoinrequest" lines:[299] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatlocation" lines:[300] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatmember" lines:[301] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatmemberupdated" lines:[310] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._chatpermissions" lines:[311] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._choseninlineresult" lines:[312] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._dice" lines:[313] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.animation" lines:[314] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.audio" lines:[315] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.chatphoto" lines:[316] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.contact" lines:[317] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.document" lines:[318] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.file" lines:[319] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.inputfile" lines:[320] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.inputmedia" lines:[321] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.inputsticker" lines:[329] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.location" lines:[330] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.photosize" lines:[331] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.sticker" lines:[332] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.venue" lines:[333] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.video" lines:[334] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.videonote" lines:[335] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._files.voice" lines:[336] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._forcereply" lines:[337] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._forumtopic" lines:[338] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._games.callbackgame" lines:[347] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._games.game" lines:[348] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._games.gamehighscore" lines:[349] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._giveaway" lines:[350] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinekeyboardbutton" lines:[351] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinekeyboardmarkup" lines:[352] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequery" lines:[353] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresult" lines:[354] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultarticle" lines:[355] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultaudio" lines:[356] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedaudio" lines:[357] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcacheddocument" lines:[358] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedgif" lines:[359] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedmpeg4gif" lines:[360] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedphoto" lines:[361] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedsticker" lines:[362] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedvideo" lines:[363] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcachedvoice" lines:[364] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultcontact" lines:[365] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultdocument" lines:[366] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultgame" lines:[367] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultgif" lines:[368] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultlocation" lines:[369] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultmpeg4gif" lines:[370] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultphoto" lines:[371] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultsbutton" lines:[372] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultvenue" lines:[373] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultvideo" lines:[374] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inlinequeryresultvoice" lines:[375] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputcontactmessagecontent" lines:[376] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputinvoicemessagecontent" lines:[377] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputlocationmessagecontent" lines:[378] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputmessagecontent" lines:[379] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputtextmessagecontent" lines:[380] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._inline.inputvenuemessagecontent" lines:[381] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._keyboardbutton" lines:[382] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._keyboardbuttonpolltype" lines:[383] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._keyboardbuttonrequest" lines:[384] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._linkpreviewoptions" lines:[385] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._loginurl" lines:[386] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._menubutton" lines:[387] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._message" lines:[388] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._messageautodeletetimerchanged" lines:[389] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._messageentity" lines:[390] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._messageid" lines:[391] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._messageorigin" lines:[392] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._messagereactionupdated" lines:[399] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.credentials" lines:[400] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.data" lines:[408] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.encryptedpassportelement" lines:[409] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.passportdata" lines:[410] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.passportelementerrors" lines:[411] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._passport.passportfile" lines:[423] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.invoice" lines:[424] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.labeledprice" lines:[425] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.orderinfo" lines:[426] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.precheckoutquery" lines:[427] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.shippingaddress" lines:[428] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.shippingoption" lines:[429] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.shippingquery" lines:[430] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._payment.successfulpayment" lines:[431] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._poll" lines:[432] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._proximityalerttriggered" lines:[433] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._reaction" lines:[434] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._reply" lines:[435] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._replykeyboardmarkup" lines:[436] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._replykeyboardremove" lines:[437] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._sentwebappmessage" lines:[438] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._shared" lines:[439] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._story" lines:[440] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._switchinlinequerychosenchat" lines:[441] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._telegramobject" lines:[442] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._update" lines:[443] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._user" lines:[444] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._userprofilephotos" lines:[445] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._utils.warnings" lines:[446] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._videochat" lines:[447] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._webappdata" lines:[453] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._webappinfo" lines:[454] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._webhookinfo" lines:[455] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py: "telegram._writeaccessallowed" lines:[456] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py: skipping "sys" lines:[21] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py: "telegram" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__main__.py: "telegram.constants" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._botcommand" lines:[56] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._botcommandscope" lines:[57] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._botdescription" lines:[58] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._botname" lines:[59] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._business" lines:[60] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatadministratorrights" lines:[61] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatboost" lines:[62] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatfullinfo" lines:[63] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatinvitelink" lines:[64] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatmember" lines:[65] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._chatpermissions" lines:[66] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.animation" lines:[67] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.audio" lines:[68] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.chatphoto" lines:[69] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.contact" lines:[70] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.document" lines:[71] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.file" lines:[72] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.inputmedia" lines:[73] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.location" lines:[74] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.photosize" lines:[75] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.sticker" lines:[76] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.venue" lines:[77] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.video" lines:[78] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.videonote" lines:[79] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._files.voice" lines:[80] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._forumtopic" lines:[81] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._games.gamehighscore" lines:[82] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._inline.inlinequeryresultsbutton" lines:[83] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._menubutton" lines:[84] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._message" lines:[85] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._messageid" lines:[86] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._poll" lines:[87] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._reaction" lines:[88] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._reply" lines:[89] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._sentwebappmessage" lines:[90] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._telegramobject" lines:[91] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._update" lines:[92] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._user" lines:[93] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._userprofilephotos" lines:[94] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.argumentparsing" lines:[95] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.defaultvalue" lines:[96] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.files" lines:[97] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.logging" lines:[98] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.repr" lines:[99] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.strings" lines:[100] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.types" lines:[101] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._utils.warnings" lines:[102] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram._webhookinfo" lines:[103] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.constants" lines:[104] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.error" lines:[105] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.request" lines:[106] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.request._httpxrequest" lines:[107] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.request._requestparameter" lines:[108] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram.warnings" lines:[109] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "cryptography.hazmat.backends" lines:[[47]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "cryptography.hazmat.primitives" lines:[[48]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py: "telegram" lines:[[112]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py: "telegram._utils" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._chat" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._files.location" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._files.sticker" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._telegramobject" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._user" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._utils.argumentparsing" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._utils.datetime" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram._utils.types" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py: "telegram" lines:[[35]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._files.location" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._message" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._user" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._utils.defaultvalue" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._chatpermissions" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._forumtopic" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._menubutton" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._reaction" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._telegramobject" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._utils" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._utils.defaultvalue" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram._utils.types" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram.helpers" lines:[34, 35, 36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py: "telegram" lines:[[39]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram._files.document" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram._utils" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram._utils.argumentparsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._chat" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._user" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._utils" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._utils.argumentparsing" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._utils.datetime" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram._utils.types" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py: "telegram" lines:[[34]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._birthdate" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._chat" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._chatlocation" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._chatpermissions" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._files.chatphoto" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._reaction" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._utils.argumentparsing" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._utils.datetime" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram._utils.types" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py: "telegram" lines:[[35], [[515]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py: "telegram._user" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py: "telegram._utils.datetime" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._chat" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._chatinvitelink" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._user" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._utils.datetime" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._utils.defaultvalue" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py: "telegram._files.location" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram._user" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram._utils.datetime" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._chat" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._chatinvitelink" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._chatmember" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._user" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._utils.datetime" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py: "telegram" lines:[[26]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py: "telegram._files.location" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py: "telegram._user" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py: "telegram" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py: "telegram._files._basemedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py: "telegram" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py: "telegram._files._basethumbedmedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py: "telegram._files._basethumbedmedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py: "telegram._files._basethumbedmedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram._passport.credentials" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram._telegramobject" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram._utils.defaultvalue" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram._utils.files" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram._utils.types" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py: "telegram" lines:[[33]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py: "telegram._utils.files" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.animation" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.audio" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.document" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.inputfile" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.photosize" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._files.video" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._messageentity" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._telegramobject" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._utils" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._utils.argumentparsing" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._utils.defaultvalue" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._utils.files" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram._utils.types" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py: "telegram.constants" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._files.sticker" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._utils.files" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py: "telegram._files.inputfile" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py: "telegram._files._basemedium" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._files._basethumbedmedium" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._files.file" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._files.photosize" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._utils" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._utils.argumentparsing" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py: "telegram._files.location" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py: "telegram._files._basethumbedmedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py: "telegram._files._basethumbedmedium" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py: "telegram._files.photosize" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py: "telegram._files._basemedium" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._files.animation" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._files.photosize" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._utils.argumentparsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py: "telegram._user" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._chat" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._user" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._utils.argumentparsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._utils.datetime" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py: "telegram._message" lines:[[[334]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._games.callbackgame" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._loginurl" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._switchinlinequerychosenchat" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._telegramobject" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram._webappinfo" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py: "telegram._inline.inlinekeyboardbutton" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py: "telegram._utils.markup" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._files.location" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._inline.inlinequeryresultsbutton" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._telegramobject" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._user" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._utils.defaultvalue" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram._utils.types" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py: "telegram" lines:[[33]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py: "telegram" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py: "telegram._utils" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py: "telegram._inline.inlinekeyboardmarkup" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py: "telegram._inline.inlinequeryresult" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py: "telegram.constants" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py: "telegram._inline.inlinekeyboardmarkup" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py: "telegram._inline.inlinequeryresult" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py: "telegram.constants" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py: "telegram._inline.inlinekeyboardmarkup" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py: "telegram._inline.inlinequeryresult" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py: "telegram.constants" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py: "telegram.constants" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py: "telegram._inline.inlinekeyboardmarkup" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py: "telegram._inline.inlinequeryresult" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py: "telegram._webappinfo" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py: "telegram._inline.inlinekeyboardmarkup" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py: "telegram._inline.inlinequeryresult" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py: "telegram.constants" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._inline.inlinekeyboardmarkup" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._inline.inlinequeryresult" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._messageentity" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram.constants" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py: "telegram._inline.inputmessagecontent" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py: "telegram._inline.inputmessagecontent" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py: "telegram._payment.labeledprice" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py: "telegram._utils.argumentparsing" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py: "telegram._inline.inputmessagecontent" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._inline.inputmessagecontent" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._messageentity" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._utils.argumentparsing" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._utils.defaultvalue" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py: "telegram._linkpreviewoptions" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py: "telegram._inline.inputmessagecontent" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram._keyboardbuttonpolltype" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram._keyboardbuttonrequest" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram._webappinfo" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py: "telegram._utils" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py: "telegram.constants" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py: "telegram._chatadministratorrights" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py: "telegram._utils.defaultvalue" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram._utils" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram._webappinfo" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._chat" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._chatbackground" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._chatboost" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._dice" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.animation" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.audio" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.contact" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.document" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.location" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.photosize" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.sticker" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.venue" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.video" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.videonote" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._files.voice" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._forumtopic" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._games.game" lines:[50] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._inline.inlinekeyboardmarkup" lines:[51] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._linkpreviewoptions" lines:[52] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._messageautodeletetimerchanged" lines:[53] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._messageentity" lines:[54] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._passport.passportdata" lines:[55] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._payment.invoice" lines:[56] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._payment.successfulpayment" lines:[57] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._poll" lines:[58] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._proximityalerttriggered" lines:[59] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._reply" lines:[60] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._shared" lines:[61] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._story" lines:[62] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._telegramobject" lines:[63] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._user" lines:[64] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.argumentparsing" lines:[65] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.datetime" lines:[66] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.defaultvalue" lines:[67] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.entities" lines:[68] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.types" lines:[69] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._utils.warnings" lines:[77] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._videochat" lines:[78] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._webappdata" lines:[84] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._writeaccessallowed" lines:[85] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram.constants" lines:[86] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram.helpers" lines:[87] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram.warnings" lines:[88] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram" lines:[[91]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._giveaway" lines:[[[1285]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._messageorigin" lines:[[[1291]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py: "telegram._reply" lines:[[[1294]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram._user" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram._utils" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._chat" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._user" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._utils" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._utils.datetime" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._chat" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._reaction" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._user" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._utils.argumentparsing" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._utils.datetime" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py: "telegram" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "telegram._telegramobject" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "telegram._utils.argumentparsing" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "telegram._utils.types" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "telegram.error" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.backends" lines:[[25]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.primitives.asymmetric.padding" lines:[[26]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.primitives.ciphers" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.primitives.ciphers.algorithms" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.primitives.ciphers.modes" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "cryptography.hazmat.primitives.hashes" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py: "telegram" lines:[[46]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._passport.credentials" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._passport.data" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._passport.passportfile" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._utils.argumentparsing" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py: "telegram" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram._passport.credentials" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram._passport.encryptedpassportelement" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py: "telegram._utils.warnings" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py: "telegram.warnings" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram._utils.warnings" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram.warnings" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py: "telegram._payment.shippingaddress" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram._payment.orderinfo" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram._user" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py: "telegram._utils.argumentparsing" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py: "telegram" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._payment.shippingaddress" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._user" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py: "telegram._payment.shippingoption" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py: "telegram._payment.orderinfo" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._chat" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._messageentity" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._user" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils.argumentparsing" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils.datetime" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils.defaultvalue" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils.entities" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram._utils.types" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py: "telegram" lines:[[36]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py: "telegram._user" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py: "telegram" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py: "telegram._utils" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._chat" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._dice" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.animation" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.audio" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.contact" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.document" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.location" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.photosize" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.sticker" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.venue" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.video" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.videonote" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._files.voice" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._games.game" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._giveaway" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._linkpreviewoptions" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._messageentity" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._messageorigin" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._payment.invoice" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._poll" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._story" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._telegramobject" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._utils.argumentparsing" lines:[44] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._utils.defaultvalue" lines:[45] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram._utils.types" lines:[46] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py: "telegram" lines:[[49]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py: "telegram._keyboardbutton" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py: "telegram._telegramobject" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py: "telegram._utils.markup" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py: "telegram._files.photosize" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py: "telegram._utils.argumentparsing" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py: "telegram._bot" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py: "telegram._chat" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py: "telegram._telegramobject" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py: "telegram" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py: "telegram._telegramobject" lines:[21] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py: "telegram._utils.types" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: skipping "itertools" lines:[27] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: "telegram._utils.datetime" lines:[46] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: "telegram._utils.defaultvalue" lines:[47] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: "telegram._utils.types" lines:[48] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: "telegram._utils.warnings" lines:[49] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py: "telegram" lines:[[52]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._business" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._callbackquery" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._chatboost" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._chatjoinrequest" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._chatmemberupdated" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._choseninlineresult" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._inline.inlinequery" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._message" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._messagereactionupdated" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._payment.precheckoutquery" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._payment.shippingquery" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._poll" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._telegramobject" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._utils.types" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram._utils.warnings" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py: "telegram" lines:[[41]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram._inline.inlinekeyboardbutton" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram._menubutton" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram._telegramobject" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram._utils.defaultvalue" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram.helpers" lines:[29, 30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py: "telegram" lines:[[33]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py: "telegram._files.photosize" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py: "telegram" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py: "telegram._linkpreviewoptions" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py: skipping "time" lines:[31] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py: "telegram" lines:[[35]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py: "pytz" lines:[[41]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/entities.py: "telegram._messageentity" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/enum.py: skipping "sys" lines:[27] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py: "telegram._utils.types" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py: "telegram" lines:[[37], [130]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py: "telegram" lines:[[41]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py: "telegram._utils.defaultvalue" lines:[[48]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings.py: "telegram.warnings" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py: "telegram._utils.warnings" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py: "telegram.warnings" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_version.py: "telegram" lines:[62] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram._user" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram._utils.argumentparsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram._utils.datetime" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py: "telegram" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py: "telegram._telegramobject" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py: "telegram._utils.argumentparsing" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py: "telegram._utils.datetime" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py: "telegram" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py: "telegram._telegramobject" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py: skipping "sys" lines:[103] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py: "telegram._utils.datetime" lines:[107] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/constants.py: "telegram._utils.enum" lines:[108] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext" lines:[66] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._aioratelimiter" lines:[67] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._application" lines:[68] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._applicationbuilder" lines:[69] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._basepersistence" lines:[70] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._baseratelimiter" lines:[71] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._baseupdateprocessor" lines:[72] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._callbackcontext" lines:[73] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._callbackdatacache" lines:[74] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._contexttypes" lines:[75] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._defaults" lines:[76] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._dictpersistence" lines:[77] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._extbot" lines:[78] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.basehandler" lines:[79] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.businessconnectionhandler" lines:[80] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.businessmessagesdeletedhandler" lines:[81] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.callbackqueryhandler" lines:[82] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.chatboosthandler" lines:[83] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.chatjoinrequesthandler" lines:[84] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.chatmemberhandler" lines:[85] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.choseninlineresulthandler" lines:[86] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.commandhandler" lines:[87] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.conversationhandler" lines:[88] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.inlinequeryhandler" lines:[89] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.messagehandler" lines:[90] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.messagereactionhandler" lines:[91] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.pollanswerhandler" lines:[92] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.pollhandler" lines:[93] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.precheckoutqueryhandler" lines:[94] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.prefixhandler" lines:[95] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.shippingqueryhandler" lines:[96] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.stringcommandhandler" lines:[97] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.stringregexhandler" lines:[98] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._handlers.typehandler" lines:[99] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._jobqueue" lines:[100] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._picklepersistence" lines:[101] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py: "telegram.ext._updater" lines:[102] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: skipping "sys" lines:[24] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: "telegram._utils.logging" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: "telegram._utils.types" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: "telegram.error" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: "telegram.ext._baseratelimiter" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py: "aiolimiter" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: skipping "itertools" lines:[23] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: skipping "sys" lines:[26] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._update" lines:[54] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._utils.defaultvalue" lines:[55] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._utils.logging" lines:[62] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._utils.repr" lines:[63] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._utils.types" lines:[64] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram._utils.warnings" lines:[65] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.error" lines:[66] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._basepersistence" lines:[67] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._contexttypes" lines:[68] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._extbot" lines:[69] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._handlers.basehandler" lines:[70] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._updater" lines:[71] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._utils.stack" lines:[72] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._utils.trackingdict" lines:[73] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._utils.types" lines:[74] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.warnings" lines:[75] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "socket" lines:[[78]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram" lines:[[80]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext" lines:[[81], [[469]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._applicationbuilder" lines:[[82]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._baseupdateprocessor" lines:[[83]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._jobqueue" lines:[[84]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py: "telegram.ext._handlers.conversationhandler" lines:[[[512], [1380], [1726]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram._bot" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram._utils.defaultvalue" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram._utils.types" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram._utils.warnings" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._application" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._baseupdateprocessor" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._contexttypes" lines:[44] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._extbot" lines:[45] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._jobqueue" lines:[46] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._updater" lines:[47] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._utils.types" lines:[48] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.request" lines:[49] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.request._httpxrequest" lines:[50] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.warnings" lines:[51] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram" lines:[[54]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext" lines:[[55]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py: "telegram.ext._utils.types" lines:[[56]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py: "telegram._bot" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py: "telegram.ext._extbot" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py: "telegram.ext._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py: "telegram._utils.types" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py: "telegram.ext._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram._callbackquery" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram._update" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram._utils.warnings" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram.ext._extbot" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram.ext._utils.types" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "asyncio" lines:[[42]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram.ext" lines:[[44]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py: "telegram.ext._utils.types" lines:[[45]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: skipping "time" lines:[20] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "telegram" lines:[33] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "telegram._utils.datetime" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "telegram.error" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "telegram.ext._utils.types" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "cachetools" lines:[[26]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py: "telegram.ext" lines:[[39]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py: "telegram.ext._callbackcontext" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py: "telegram.ext._extbot" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py: "telegram.ext._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py: "telegram._utils.datetime" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py: "telegram._utils.warnings" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py: "telegram.warnings" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py: "telegram.ext" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py: "telegram.ext._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py: "telegram._utils.types" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram._utils.datetime" lines:[92] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram._utils.defaultvalue" lines:[93] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram._utils.logging" lines:[94] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram._utils.repr" lines:[95] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram._utils.types" lines:[96] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram.ext._callbackdatacache" lines:[97] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram.ext._utils.types" lines:[98] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram.request" lines:[99] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram.warnings" lines:[100] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram" lines:[[103]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py: "telegram.ext" lines:[[115]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py: "telegram._utils.repr" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py: "telegram.ext._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py: "telegram.ext" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram.ext._handlers.basehandler" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram.ext._utils._update_parsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram.ext._handlers.basehandler" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram.ext._utils._update_parsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram._utils.defaultvalue" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram.ext._handlers.basehandler" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram.ext._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py: "telegram.ext" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py: "telegram.ext._handlers.basehandler" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py: "telegram.ext._utils._update_parsing" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py: "telegram.ext._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram.ext._utils._update_parsing" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py: "telegram.ext._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram.ext._handlers.basehandler" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram.ext._utils._update_parsing" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py: "telegram.ext" lines:[[32]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram.ext" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram.ext._handlers.basehandler" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram.ext._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py: "telegram.ext" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram._utils.defaultvalue" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram._utils.logging" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram._utils.repr" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram._utils.types" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram._utils.warnings" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._application" lines:[44] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._extbot" lines:[45] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.basehandler" lines:[46] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.callbackqueryhandler" lines:[47] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.choseninlineresulthandler" lines:[48] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.inlinequeryhandler" lines:[49] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.stringcommandhandler" lines:[50] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.stringregexhandler" lines:[51] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._handlers.typehandler" lines:[52] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._utils.trackingdict" lines:[53] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext._utils.types" lines:[54] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py: "telegram.ext" lines:[[57], [[314]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py: "telegram.ext" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram.ext" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py: "telegram.ext" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram.ext._utils._update_parsing" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py: "telegram.ext._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py: "telegram.ext._handlers.basehandler" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py: "telegram.ext._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py: "telegram.ext._handlers.basehandler" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py: "telegram.ext._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py: "telegram" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py: "telegram._utils.defaultvalue" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py: "telegram._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py: "telegram.ext._handlers.basehandler" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py: "telegram.ext._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: skipping "itertools" lines:[20] py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram.ext" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram.ext._handlers.basehandler" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram.ext._utils.types" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py: "telegram.ext" lines:[[31]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py: "telegram" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py: "telegram.ext._handlers.basehandler" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py: "telegram.ext._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py: "telegram.ext._handlers.basehandler" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py: "telegram.ext._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py: "telegram.ext" lines:[[29]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py: "telegram._utils.types" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py: "telegram.ext._handlers.basehandler" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py: "telegram.ext._utils.types" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py: "telegram.ext" lines:[[30]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py: "telegram._utils.defaultvalue" lines:[23] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py: "telegram.ext._handlers.basehandler" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py: "telegram.ext._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram._utils.logging" lines:[34] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram._utils.repr" lines:[35] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram._utils.types" lines:[36] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram.ext._extbot" lines:[37] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram.ext._utils.types" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "pytz" lines:[[26]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "apscheduler.executors.asyncio" lines:[[27]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "apscheduler.schedulers.asyncio" lines:[[28]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "telegram.ext" lines:[[44]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py: "apscheduler.job" lines:[[[42]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram._utils.warnings" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram.ext" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram.ext._contexttypes" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py: "telegram.ext._utils.types" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram._utils.defaultvalue" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram._utils.logging" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram._utils.repr" lines:[40] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram._utils.types" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram.error" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram.ext._utils.webhookhandler" lines:[[45]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "socket" lines:[[52]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py: "telegram" lines:[[54]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/_update_parsing.py: "telegram._utils.types" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/stack.py: "telegram._utils.logging" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/trackingdict.py: "telegram._utils.defaultvalue" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py: "typing" lines:[[42]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py: "telegram" lines:[[44]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py: "telegram.ext" lines:[[45]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py: "telegram" lines:[41] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py: "telegram._utils.logging" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py: "telegram.ext._extbot" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py: "tornado.netutil" lines:[[35]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py: "telegram" lines:[[46]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py: "telegram" lines:[123, 124, 132] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py: "telegram._utils.types" lines:[133] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py: "telegram.constants" lines:[134] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py: "telegram.ext._utils._update_parsing" lines:[135] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py: "telegram.ext._utils.types" lines:[136] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py: "telegram._utils.types" lines:[38] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py: "telegram.constants" lines:[39] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py: "telegram" lines:[[42], [128]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py: "telegram.request._baserequest" lines:[20] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py: "telegram.request._httpxrequest" lines:[21] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/__init__.py: "telegram.request._requestdata" lines:[22] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram._utils.defaultvalue" lines:[26, 27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram._utils.logging" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram._utils.types" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram._utils.warnings" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram._version" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram.error" lines:[32] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram.request._requestdata" lines:[42] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram.warnings" lines:[43] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py: "telegram.request" lines:[[[307]]]: Ignore for REQ:slight py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram._utils.defaultvalue" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram._utils.logging" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram._utils.types" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram._utils.warnings" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram.error" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram.request._baserequest" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram.request._requestdata" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py: "telegram.warnings" lines:[31] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py: "telegram._utils.types" lines:[24] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py: "telegram.request._requestparameter" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._files.inputfile" lines:[25] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._files.inputmedia" lines:[26] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._files.inputsticker" lines:[27] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._telegramobject" lines:[28] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._utils.datetime" lines:[29] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._utils.enum" lines:[30] is possibly a self-providing dependency, skip it py3req:/usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py: "telegram._utils.types" lines:[31] is possibly a self-providing dependency, skip it shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_birthdate.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_bot.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommand.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botcommandscope.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botdescription.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_botname.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_business.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_callbackquery.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chat.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatadministratorrights.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatbackground.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatboost.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatfullinfo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatinvitelink.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatjoinrequest.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatlocation.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmember.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatmemberupdated.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_chatpermissions.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_choseninlineresult.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_dice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basemedium.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/_basethumbedmedium.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/animation.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/audio.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/chatphoto.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/contact.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/document.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/file.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputfile.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputmedia.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/inputsticker.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/location.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/photosize.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/sticker.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/venue.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/video.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/videonote.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_files/voice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forcereply.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_forumtopic.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/callbackgame.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/game.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_games/gamehighscore.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_giveaway.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardbutton.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinekeyboardmarkup.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequery.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresult.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultarticle.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultaudio.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedaudio.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcacheddocument.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedgif.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedmpeg4gif.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedphoto.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedsticker.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvideo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcachedvoice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultcontact.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultdocument.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgame.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultgif.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultlocation.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultmpeg4gif.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultphoto.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultsbutton.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvenue.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvideo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inlinequeryresultvoice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputcontactmessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputinvoicemessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputlocationmessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputmessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputtextmessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_inline/inputvenuemessagecontent.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbutton.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonpolltype.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_keyboardbuttonrequest.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_linkpreviewoptions.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_loginurl.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_menubutton.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_message.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageautodeletetimerchanged.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageentity.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageid.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messageorigin.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_messagereactionupdated.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/credentials.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/data.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/encryptedpassportelement.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportdata.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportelementerrors.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_passport/passportfile.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/invoice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/labeledprice.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/orderinfo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/precheckoutquery.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingaddress.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingoption.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/shippingquery.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_payment/successfulpayment.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_poll.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_proximityalerttriggered.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reaction.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_reply.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardmarkup.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_replykeyboardremove.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_sentwebappmessage.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_shared.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_story.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_switchinlinequerychosenchat.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_telegramobject.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_update.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_user.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_userprofilephotos.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/argumentparsing.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/datetime.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/defaultvalue.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/entities.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/enum.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/files.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/logging.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/markup.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/repr.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/strings.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/types.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_utils/warnings_transition.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_version.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_videochat.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappdata.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webappinfo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_webhookinfo.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/_writeaccessallowed.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/error.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_application.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_applicationbuilder.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_basepersistence.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseratelimiter.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_baseupdateprocessor.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackcontext.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_callbackdatacache.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_contexttypes.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_defaults.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_dictpersistence.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_extbot.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/basehandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessconnectionhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/businessmessagesdeletedhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/callbackqueryhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatboosthandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatjoinrequesthandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/chatmemberhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/choseninlineresulthandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/commandhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/conversationhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/inlinequeryhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagehandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/messagereactionhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollanswerhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/pollhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/prefixhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/shippingqueryhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringcommandhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/stringregexhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_handlers/typehandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_jobqueue.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_picklepersistence.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_updater.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/_update_parsing.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/stack.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/trackingdict.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/types.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/_utils/webhookhandler.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/ext/filters.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/helpers.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_baserequest.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_httpxrequest.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestdata.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/request/_requestparameter.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-telegram-bot-buildroot/usr/lib/python3/site-packages/telegram/warnings.py is not executable Provides: python3(telegram), python3(telegram.__main__), python3(telegram._birthdate), python3(telegram._bot), python3(telegram._botcommand), python3(telegram._botcommandscope), python3(telegram._botdescription), python3(telegram._botname), python3(telegram._business), python3(telegram._callbackquery), python3(telegram._chat), python3(telegram._chatadministratorrights), python3(telegram._chatbackground), python3(telegram._chatboost), python3(telegram._chatfullinfo), python3(telegram._chatinvitelink), python3(telegram._chatjoinrequest), python3(telegram._chatlocation), python3(telegram._chatmember), python3(telegram._chatmemberupdated), python3(telegram._chatpermissions), python3(telegram._choseninlineresult), python3(telegram._dice), python3(telegram._files), python3(telegram._files._basemedium), python3(telegram._files._basethumbedmedium), python3(telegram._files.animation), python3(telegram._files.audio), python3(telegram._files.chatphoto), python3(telegram._files.contact), python3(telegram._files.document), python3(telegram._files.file), python3(telegram._files.inputfile), python3(telegram._files.inputmedia), python3(telegram._files.inputsticker), python3(telegram._files.location), python3(telegram._files.photosize), python3(telegram._files.sticker), python3(telegram._files.venue), python3(telegram._files.video), python3(telegram._files.videonote), python3(telegram._files.voice), python3(telegram._forcereply), python3(telegram._forumtopic), python3(telegram._games), python3(telegram._games.callbackgame), python3(telegram._games.game), python3(telegram._games.gamehighscore), python3(telegram._giveaway), python3(telegram._inline), python3(telegram._inline.inlinekeyboardbutton), python3(telegram._inline.inlinekeyboardmarkup), python3(telegram._inline.inlinequery), python3(telegram._inline.inlinequeryresult), python3(telegram._inline.inlinequeryresultarticle), python3(telegram._inline.inlinequeryresultaudio), python3(telegram._inline.inlinequeryresultcachedaudio), python3(telegram._inline.inlinequeryresultcacheddocument), python3(telegram._inline.inlinequeryresultcachedgif), python3(telegram._inline.inlinequeryresultcachedmpeg4gif), python3(telegram._inline.inlinequeryresultcachedphoto), python3(telegram._inline.inlinequeryresultcachedsticker), python3(telegram._inline.inlinequeryresultcachedvideo), python3(telegram._inline.inlinequeryresultcachedvoice), python3(telegram._inline.inlinequeryresultcontact), python3(telegram._inline.inlinequeryresultdocument), python3(telegram._inline.inlinequeryresultgame), python3(telegram._inline.inlinequeryresultgif), python3(telegram._inline.inlinequeryresultlocation), python3(telegram._inline.inlinequeryresultmpeg4gif), python3(telegram._inline.inlinequeryresultphoto), python3(telegram._inline.inlinequeryresultsbutton), python3(telegram._inline.inlinequeryresultvenue), python3(telegram._inline.inlinequeryresultvideo), python3(telegram._inline.inlinequeryresultvoice), python3(telegram._inline.inputcontactmessagecontent), python3(telegram._inline.inputinvoicemessagecontent), python3(telegram._inline.inputlocationmessagecontent), python3(telegram._inline.inputmessagecontent), python3(telegram._inline.inputtextmessagecontent), python3(telegram._inline.inputvenuemessagecontent), python3(telegram._keyboardbutton), python3(telegram._keyboardbuttonpolltype), python3(telegram._keyboardbuttonrequest), python3(telegram._linkpreviewoptions), python3(telegram._loginurl), python3(telegram._menubutton), python3(telegram._message), python3(telegram._messageautodeletetimerchanged), python3(telegram._messageentity), python3(telegram._messageid), python3(telegram._messageorigin), python3(telegram._messagereactionupdated), python3(telegram._passport), python3(telegram._passport.credentials), python3(telegram._passport.data), python3(telegram._passport.encryptedpassportelement), python3(telegram._passport.passportdata), python3(telegram._passport.passportelementerrors), python3(telegram._passport.passportfile), python3(telegram._payment), python3(telegram._payment.invoice), python3(telegram._payment.labeledprice), python3(telegram._payment.orderinfo), python3(telegram._payment.precheckoutquery), python3(telegram._payment.shippingaddress), python3(telegram._payment.shippingoption), python3(telegram._payment.shippingquery), python3(telegram._payment.successfulpayment), python3(telegram._poll), python3(telegram._proximityalerttriggered), python3(telegram._reaction), python3(telegram._reply), python3(telegram._replykeyboardmarkup), python3(telegram._replykeyboardremove), python3(telegram._sentwebappmessage), python3(telegram._shared), python3(telegram._story), python3(telegram._switchinlinequerychosenchat), python3(telegram._telegramobject), python3(telegram._update), python3(telegram._user), python3(telegram._userprofilephotos), python3(telegram._utils), python3(telegram._utils.argumentparsing), python3(telegram._utils.datetime), python3(telegram._utils.defaultvalue), python3(telegram._utils.entities), python3(telegram._utils.enum), python3(telegram._utils.files), python3(telegram._utils.logging), python3(telegram._utils.markup), python3(telegram._utils.repr), python3(telegram._utils.strings), python3(telegram._utils.types), python3(telegram._utils.warnings), python3(telegram._utils.warnings_transition), python3(telegram._version), python3(telegram._videochat), python3(telegram._webappdata), python3(telegram._webappinfo), python3(telegram._webhookinfo), python3(telegram._writeaccessallowed), python3(telegram.constants), python3(telegram.error), python3(telegram.ext), python3(telegram.ext._aioratelimiter), python3(telegram.ext._application), python3(telegram.ext._applicationbuilder), python3(telegram.ext._basepersistence), python3(telegram.ext._baseratelimiter), python3(telegram.ext._baseupdateprocessor), python3(telegram.ext._callbackcontext), python3(telegram.ext._callbackdatacache), python3(telegram.ext._contexttypes), python3(telegram.ext._defaults), python3(telegram.ext._dictpersistence), python3(telegram.ext._extbot), python3(telegram.ext._handlers), python3(telegram.ext._handlers.basehandler), python3(telegram.ext._handlers.businessconnectionhandler), python3(telegram.ext._handlers.businessmessagesdeletedhandler), python3(telegram.ext._handlers.callbackqueryhandler), python3(telegram.ext._handlers.chatboosthandler), python3(telegram.ext._handlers.chatjoinrequesthandler), python3(telegram.ext._handlers.chatmemberhandler), python3(telegram.ext._handlers.choseninlineresulthandler), python3(telegram.ext._handlers.commandhandler), python3(telegram.ext._handlers.conversationhandler), python3(telegram.ext._handlers.inlinequeryhandler), python3(telegram.ext._handlers.messagehandler), python3(telegram.ext._handlers.messagereactionhandler), python3(telegram.ext._handlers.pollanswerhandler), python3(telegram.ext._handlers.pollhandler), python3(telegram.ext._handlers.precheckoutqueryhandler), python3(telegram.ext._handlers.prefixhandler), python3(telegram.ext._handlers.shippingqueryhandler), python3(telegram.ext._handlers.stringcommandhandler), python3(telegram.ext._handlers.stringregexhandler), python3(telegram.ext._handlers.typehandler), python3(telegram.ext._jobqueue), python3(telegram.ext._picklepersistence), python3(telegram.ext._updater), python3(telegram.ext._utils), python3(telegram.ext._utils._update_parsing), python3(telegram.ext._utils.stack), python3(telegram.ext._utils.trackingdict), python3(telegram.ext._utils.types), python3(telegram.ext._utils.webhookhandler), python3(telegram.ext.filters), python3(telegram.helpers), python3(telegram.request), python3(telegram.request._baserequest), python3(telegram.request._httpxrequest), python3(telegram.request._requestdata), python3(telegram.request._requestparameter), python3(telegram.warnings) Requires: /usr/lib/python3/site-packages, python3(abc) < 0, python3(asyncio) < 0, python3(base64) < 0, python3(collections) < 0, python3(collections.abc) < 0, python3(contextlib) < 0, python3(copy) < 0, python3(dataclasses) < 0, python3(datetime) < 0, python3(enum) < 0, python3(html) < 0, python3(http) < 0, python3(httpx) < 0, python3(inspect) < 0, python3(json) < 0, python3(logging) < 0, python3(mimetypes) < 0, python3(pathlib) < 0, python3(pickle) < 0, python3(platform) < 0, python3(re) < 0, python3(shutil) < 0, python3(signal) < 0, python3(socket) < 0, python3(ssl) < 0, python3(subprocess) < 0, python3(tornado.httpserver) < 0, python3(tornado.web) < 0, python3(types) < 0, python3(typing) < 0, python3(urllib.parse) < 0, python3(uuid) < 0, python3(warnings) < 0, python3(weakref) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-telegram-bot-21.3-alt1.noarch.rpm (w2.lzdio) 217.52user 6.43system 1:27.44elapsed 256%CPU (0avgtext+0avgdata 109288maxresident)k 0inputs+0outputs (0major+799418minor)pagefaults 0swaps 10.01user 2.40system 1:52.54elapsed 11%CPU (0avgtext+0avgdata 130312maxresident)k 952inputs+0outputs (0major+279322minor)pagefaults 0swaps --- python3-module-telegram-bot-21.3-alt1.noarch.rpm.repo 2024-07-12 11:38:20.000000000 +0000 +++ python3-module-telegram-bot-21.3-alt1.noarch.rpm.hasher 2024-09-07 08:31:47.698276749 +0000 @@ -1062,5 +1062,5 @@ File: /usr/lib/python3/site-packages/telegram/__pycache__/_birthdate.cpython-312.pyc 100644 root:root f3dcc2d930faab7cc44a7f9d00cd6c95 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.opt-1.pyc 100644 root:root d896230a3363f8f6cb58c544f6abfc78 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.opt-2.pyc 100644 root:root 725ed0fc110149b57152135f549be727 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.pyc 100644 root:root d896230a3363f8f6cb58c544f6abfc78 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.opt-1.pyc 100644 root:root caaf2ea8575be20462a583ca4c14c943 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.opt-2.pyc 100644 root:root 5d7d2a1176f7b515127f05bdbb52dfc6 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_bot.cpython-312.pyc 100644 root:root caaf2ea8575be20462a583ca4c14c943 File: /usr/lib/python3/site-packages/telegram/__pycache__/_botcommand.cpython-312.opt-1.pyc 100644 root:root 01cdc87627ae390507772e1346ab57df @@ -1149,5 +1149,5 @@ File: /usr/lib/python3/site-packages/telegram/__pycache__/_menubutton.cpython-312.pyc 100644 root:root 7e065c446b6a1365e6c58998a66e1de6 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.opt-1.pyc 100644 root:root fa30d8547c4c0ee99688dc6fbdca9a3e -File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.opt-2.pyc 100644 root:root 22a4de856f4caa723147056bd563a41c -File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.pyc 100644 root:root fa30d8547c4c0ee99688dc6fbdca9a3e +File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.opt-1.pyc 100644 root:root f0c0638b784370b2947581a8635e1fdf +File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.opt-2.pyc 100644 root:root 133ed8e7f714d387e89e265a83348d9c +File: /usr/lib/python3/site-packages/telegram/__pycache__/_message.cpython-312.pyc 100644 root:root f0c0638b784370b2947581a8635e1fdf File: /usr/lib/python3/site-packages/telegram/__pycache__/_messageautodeletetimerchanged.cpython-312.opt-1.pyc 100644 root:root 7804b866538e9aa3d2303b52006582c3 @@ -1197,5 +1197,5 @@ File: /usr/lib/python3/site-packages/telegram/__pycache__/_switchinlinequerychosenchat.cpython-312.pyc 100644 root:root ff9bdf8d168968271fbe91c3ff5f44a5 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.opt-1.pyc 100644 root:root 20c5b3d2edb24977823f55c9a75ab4a8 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.opt-2.pyc 100644 root:root 28371028d16836d1c9ab6781fa9bd533 -File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.pyc 100644 root:root 20c5b3d2edb24977823f55c9a75ab4a8 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.opt-1.pyc 100644 root:root 1c6d37104740280089b3d29e9501ae13 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.opt-2.pyc 100644 root:root ad18bd91b5ad92499a84c21b1392e0b5 +File: /usr/lib/python3/site-packages/telegram/__pycache__/_telegramobject.cpython-312.pyc 100644 root:root 1c6d37104740280089b3d29e9501ae13 File: /usr/lib/python3/site-packages/telegram/__pycache__/_update.cpython-312.opt-1.pyc 100644 root:root c87326a2353cc779e5def0a3cabf6dc3 @@ -1233,5 +1233,5 @@ File: /usr/lib/python3/site-packages/telegram/__pycache__/error.cpython-312.pyc 100644 root:root dad84d360c3bbace9201f31216cedb67 -File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.opt-1.pyc 100644 root:root 2950b8dfe6d09b99ef0ec8d234194b50 -File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.opt-2.pyc 100644 root:root 54bde8749b3d319d047709ed5a8e15ee -File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.pyc 100644 root:root 2950b8dfe6d09b99ef0ec8d234194b50 +File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.opt-1.pyc 100644 root:root c4d52e946806f5183b8a99faffc3c224 +File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.opt-2.pyc 100644 root:root 80ae6ab9b9abfbb8290dcc5c0a94e318 +File: /usr/lib/python3/site-packages/telegram/__pycache__/helpers.cpython-312.pyc 100644 root:root c4d52e946806f5183b8a99faffc3c224 File: /usr/lib/python3/site-packages/telegram/__pycache__/warnings.cpython-312.opt-1.pyc 100644 root:root d8d0317f91bc26739c130fa28acc87fa @@ -1305,5 +1305,5 @@ File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/photosize.cpython-312.pyc 100644 root:root 3eeaa1feffae2436338bd05e01f4f3c0 -File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.opt-1.pyc 100644 root:root 43eda96118739def5de99f07dece56d6 -File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.opt-2.pyc 100644 root:root fc4556c263f78bb485394505a1f5b92f -File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.pyc 100644 root:root 43eda96118739def5de99f07dece56d6 +File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.opt-1.pyc 100644 root:root af888a45faf2a8018029f697678478d3 +File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.opt-2.pyc 100644 root:root 2754370ec0bd974483fc0a5aee2a642e +File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/sticker.cpython-312.pyc 100644 root:root af888a45faf2a8018029f697678478d3 File: /usr/lib/python3/site-packages/telegram/_files/__pycache__/venue.cpython-312.opt-1.pyc 100644 root:root a2194e7a467933ad0806874808810259 @@ -1368,5 +1368,5 @@ File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardbutton.cpython-312.pyc 100644 root:root 64a44d31aba7927d105aeab7806b2709 -File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.opt-1.pyc 100644 root:root f50e6c2484913448a5adf20d09abb8cf -File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.opt-2.pyc 100644 root:root 4f83fa7918dbc05e88878f2ab4eb8712 -File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.pyc 100644 root:root f50e6c2484913448a5adf20d09abb8cf +File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.opt-1.pyc 100644 root:root 065ba651c13fc93eedefe3462c061e3a +File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.opt-2.pyc 100644 root:root dc0d54e695f03e9404c0241ee143cd64 +File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinekeyboardmarkup.cpython-312.pyc 100644 root:root 065ba651c13fc93eedefe3462c061e3a File: /usr/lib/python3/site-packages/telegram/_inline/__pycache__/inlinequery.cpython-312.opt-1.pyc 100644 root:root 60201b83bcc50eaba4f0a1f91fdb466a @@ -1610,5 +1610,5 @@ File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/logging.cpython-312.pyc 100644 root:root 256160af8541e8bc116a2ee72dc2f2d8 -File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.opt-1.pyc 100644 root:root fc9c86b87975fd7c16a210f4dfb411c6 -File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.opt-2.pyc 100644 root:root 6a73e05805a3171ac40b7fef2357b2ae -File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.pyc 100644 root:root fc9c86b87975fd7c16a210f4dfb411c6 +File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.opt-1.pyc 100644 root:root 612024040f123bba58969a03c2717f9b +File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.opt-2.pyc 100644 root:root 847d38f26327a8d856a4a8639c7917b1 +File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/markup.cpython-312.pyc 100644 root:root 612024040f123bba58969a03c2717f9b File: /usr/lib/python3/site-packages/telegram/_utils/__pycache__/repr.cpython-312.opt-1.pyc 100644 root:root ebf57076c9bec331ea95d0d54fd7d712 @@ -1655,11 +1655,11 @@ File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/__init__.cpython-312.pyc 100644 root:root b1b854fb03de09b9a1f8242bf2f09564 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.opt-1.pyc 100644 root:root 07a6c9ba0a6320ad29e8f1f691bdece2 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.opt-2.pyc 100644 root:root 411734c4e2d8cd02200cdb29ca194d6a -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.pyc 100644 root:root 07a6c9ba0a6320ad29e8f1f691bdece2 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.opt-1.pyc 100644 root:root fc4e96961899cd3dec1f92e29af75cd9 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.opt-2.pyc 100644 root:root 4fe171b164eef638d86b1c7674c7060a -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.pyc 100644 root:root fc4e96961899cd3dec1f92e29af75cd9 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.opt-1.pyc 100644 root:root 08998daebbca3a80dd8ea699343f1373 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.opt-2.pyc 100644 root:root b59e2840fd7f03b8bbf0e4550d74701a -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.pyc 100644 root:root 08998daebbca3a80dd8ea699343f1373 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.opt-1.pyc 100644 root:root 57ffd6260aeae0c8415af066a2a1fb16 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.opt-2.pyc 100644 root:root 2c9a3f5aaa1da3ead95f819636927a54 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_aioratelimiter.cpython-312.pyc 100644 root:root 57ffd6260aeae0c8415af066a2a1fb16 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.opt-1.pyc 100644 root:root 64f9964bc30bc885136350ffbabd0e76 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.opt-2.pyc 100644 root:root 432fb96ba90426fb627c0fe152747a9a +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_application.cpython-312.pyc 100644 root:root 64f9964bc30bc885136350ffbabd0e76 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.opt-1.pyc 100644 root:root 3233d318253a93ad5fda57422b24878f +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.opt-2.pyc 100644 root:root bee551abd46234543a8beb695f1f06f3 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_applicationbuilder.cpython-312.pyc 100644 root:root 3233d318253a93ad5fda57422b24878f File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_basepersistence.cpython-312.opt-1.pyc 100644 root:root d5e9859fd35418ad6fba67f81de208aa @@ -1673,8 +1673,8 @@ File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_baseupdateprocessor.cpython-312.pyc 100644 root:root c3617bb914b51185aa7030f606d4b3cd -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.opt-1.pyc 100644 root:root 160622d91ee579380b6a56c1f1642fa5 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.opt-2.pyc 100644 root:root aadc74c1bba94280f3590f07361eefe0 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.pyc 100644 root:root 160622d91ee579380b6a56c1f1642fa5 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.opt-1.pyc 100644 root:root 01eb54f7323d4ee70e3e10a146ce63ae -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.opt-2.pyc 100644 root:root c110ef8f28eec1c0000ff9a88cf8590e -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.pyc 100644 root:root 01eb54f7323d4ee70e3e10a146ce63ae +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.opt-1.pyc 100644 root:root 94704b0206c8830b3f7e1935b866790a +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.opt-2.pyc 100644 root:root 78c1bd33be999a9ffb6e54dce14e42dc +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackcontext.cpython-312.pyc 100644 root:root 94704b0206c8830b3f7e1935b866790a +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.opt-1.pyc 100644 root:root 017b2c68f69252d0334fd95bb34f9090 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.opt-2.pyc 100644 root:root 0eab143df20a63f96c2e294bce87e808 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_callbackdatacache.cpython-312.pyc 100644 root:root 017b2c68f69252d0334fd95bb34f9090 File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_contexttypes.cpython-312.opt-1.pyc 100644 root:root 67e64af6b3fb5d4b1e759ddc41771304 @@ -1682,11 +1682,11 @@ File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_contexttypes.cpython-312.pyc 100644 root:root 67e64af6b3fb5d4b1e759ddc41771304 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.opt-1.pyc 100644 root:root edc68a28f4fbc1d7f5339408add9d67e -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.opt-2.pyc 100644 root:root e1f75a2774491b4d5b55dad128744502 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.pyc 100644 root:root edc68a28f4fbc1d7f5339408add9d67e -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.opt-1.pyc 100644 root:root 4bb60f54984482d0de146bd1e604d262 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.opt-2.pyc 100644 root:root 5bbef60661f295de20234597b4885dcb -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.pyc 100644 root:root 4bb60f54984482d0de146bd1e604d262 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.opt-1.pyc 100644 root:root a79233de9c2c1b53b55f9bfa881ef696 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.opt-2.pyc 100644 root:root 56fca4cb120604ee4ba26c2b7a40b1a5 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.pyc 100644 root:root a79233de9c2c1b53b55f9bfa881ef696 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.opt-1.pyc 100644 root:root f08182fd5317347c9d59a31d16f907bb +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.opt-2.pyc 100644 root:root 164f9253f7c99df84375a43ff26addc8 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_defaults.cpython-312.pyc 100644 root:root f08182fd5317347c9d59a31d16f907bb +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.opt-1.pyc 100644 root:root a5456a0c3dfc898f14dcdbad39d39b08 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.opt-2.pyc 100644 root:root c6838d9d02fcb3c85db65d8e8c94888a +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_dictpersistence.cpython-312.pyc 100644 root:root a5456a0c3dfc898f14dcdbad39d39b08 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.opt-1.pyc 100644 root:root 5f8aa6faee5d2729f6721c95e719a15a +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.opt-2.pyc 100644 root:root 4e702ff7d48654878cb1afa25fcfb1c2 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_extbot.cpython-312.pyc 100644 root:root 5f8aa6faee5d2729f6721c95e719a15a File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_jobqueue.cpython-312.opt-1.pyc 100644 root:root 5e6981ba7231c3c7a6502ce41378b458 @@ -1697,8 +1697,8 @@ File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_picklepersistence.cpython-312.pyc 100644 root:root 46f8de606d936df1edb8989554beb068 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.opt-1.pyc 100644 root:root cbbb636b711aa6d029ca04ddebfa609d -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.opt-2.pyc 100644 root:root 980b06d658d6689b0a33e82d4b94ba23 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.pyc 100644 root:root cbbb636b711aa6d029ca04ddebfa609d -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.opt-1.pyc 100644 root:root 57dc8bc7f1cd6b8966ac10ea321bc795 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.opt-2.pyc 100644 root:root ed968879c60f5ab735b0714523336a33 -File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.pyc 100644 root:root 57dc8bc7f1cd6b8966ac10ea321bc795 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.opt-1.pyc 100644 root:root 970f808e033ee7be1ce171fcd263f49e +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.opt-2.pyc 100644 root:root 4e337ec8249afb42ee39b663a4aeacd1 +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/_updater.cpython-312.pyc 100644 root:root 970f808e033ee7be1ce171fcd263f49e +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.opt-1.pyc 100644 root:root c45f251c670a7045a88167bfd3ae8b6d +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.opt-2.pyc 100644 root:root c30378a6a4a999bd42524c052acc947d +File: /usr/lib/python3/site-packages/telegram/ext/__pycache__/filters.cpython-312.pyc 100644 root:root c45f251c670a7045a88167bfd3ae8b6d File: /usr/lib/python3/site-packages/telegram/ext/_aioratelimiter.py 100644 root:root c424ccdae619b28264afdf10a2bc8a8e @@ -1745,8 +1745,8 @@ File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/choseninlineresulthandler.cpython-312.pyc 100644 root:root 0ddaff921dbd0c0e18462f3efa511fe8 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.opt-1.pyc 100644 root:root d27ae1c43a60ea40440f2f55bcdefdb4 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.opt-2.pyc 100644 root:root 6ca80051dba88fa6b1aaac0fa18b10e9 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.pyc 100644 root:root d27ae1c43a60ea40440f2f55bcdefdb4 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.opt-1.pyc 100644 root:root b9951cb032215cbb4a53e147b5190810 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.opt-2.pyc 100644 root:root 7877f6467acfc98c53e6d58079d4aa11 -File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.pyc 100644 root:root b9951cb032215cbb4a53e147b5190810 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.opt-1.pyc 100644 root:root 252f3b48739d8cb14555ca30bd02abf5 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.opt-2.pyc 100644 root:root 119ea81797e0e38c6a6530f29d5722f4 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/commandhandler.cpython-312.pyc 100644 root:root 252f3b48739d8cb14555ca30bd02abf5 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.opt-1.pyc 100644 root:root 259eada3884e317f2f26a05bbbe172b9 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.opt-2.pyc 100644 root:root f5d2b17e32bdeabf8a968d4e986a8238 +File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/conversationhandler.cpython-312.pyc 100644 root:root 259eada3884e317f2f26a05bbbe172b9 File: /usr/lib/python3/site-packages/telegram/ext/_handlers/__pycache__/inlinequeryhandler.cpython-312.opt-1.pyc 100644 root:root 605914e0843c1096dc26421c7c7c45a9 @@ -1820,5 +1820,5 @@ File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/stack.cpython-312.pyc 100644 root:root 347a9014e4063a91e54a519fbf8eb1a6 -File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.opt-1.pyc 100644 root:root 7969fa38526bdc2ea5c5787f80f7ec01 -File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.opt-2.pyc 100644 root:root e49e9b59fad45697dd611d7f70fc5dfa -File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.pyc 100644 root:root 7969fa38526bdc2ea5c5787f80f7ec01 +File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.opt-1.pyc 100644 root:root 7554943a9e9c9c62a61cdcac36852396 +File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.opt-2.pyc 100644 root:root e2b780675c16a5f30cdd7d0390524576 +File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/trackingdict.cpython-312.pyc 100644 root:root 7554943a9e9c9c62a61cdcac36852396 File: /usr/lib/python3/site-packages/telegram/ext/_utils/__pycache__/types.cpython-312.opt-1.pyc 100644 root:root 1affdc0c94c82aebf54c7210130ecb77 @@ -1849,8 +1849,8 @@ File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_httpxrequest.cpython-312.pyc 100644 root:root 662e23fc4022f8c279e86031a0ee63bc -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.opt-1.pyc 100644 root:root b77d18d178fc6428758645560c2d0e21 -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.opt-2.pyc 100644 root:root a0272500270afa955f53c047ba179928 -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.pyc 100644 root:root b77d18d178fc6428758645560c2d0e21 -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.opt-1.pyc 100644 root:root 168697d81309074bbd4a62ef25ff8234 -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.opt-2.pyc 100644 root:root 32e08c76aa70bfc728d0886119ce45f1 -File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.pyc 100644 root:root 168697d81309074bbd4a62ef25ff8234 +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.opt-1.pyc 100644 root:root 3ad1008f90f6ae768b62cdf7dc9f5019 +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.opt-2.pyc 100644 root:root b13675939ecbc039425a10483eb19f6e +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestdata.cpython-312.pyc 100644 root:root 3ad1008f90f6ae768b62cdf7dc9f5019 +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.opt-1.pyc 100644 root:root c673917896efcd3f310f4b49e5b0d779 +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.opt-2.pyc 100644 root:root 3e00f4c1b66b9fe0f7e76dc8547dd81d +File: /usr/lib/python3/site-packages/telegram/request/__pycache__/_requestparameter.cpython-312.pyc 100644 root:root c673917896efcd3f310f4b49e5b0d779 File: /usr/lib/python3/site-packages/telegram/request/_baserequest.py 100644 root:root cafb54556df58f8e6293c1d4d8976e91 @@ -1860,2 +1860,2 @@ File: /usr/lib/python3/site-packages/telegram/warnings.py 100644 root:root b99732d8e486e20aef5855e5bc100bfc -RPMIdentity: 8a25dcef416a2da17e37c17a82e0fc74a55ef0fe9016542eb4c0b46e7967c9f6f19fcd7f3a80925833c74a20c2c70a41c7ba6d37ad27316ab73fef0d4c8a500f +RPMIdentity: 65117ca3b37e02c62e2dbe33804ca8e531184afb9ca0a94eed5037ed9f233d8f329504e4950a44e99a2e543294a4361de73ad7eb3ed977bf3ea00a78089b9890