Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
pandas
galtimur commited on
Commit
7b61cd4
·
1 Parent(s): 6adacc8
data/0828c8d.json ADDED
The diff for this file is too large to render. See raw diff
 
data/0f71221.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 18, "repo_owner": "scrapy", "repo_name": "scrapy", "head_branch": "component-getters", "workflow_name": "Checks", "workflow_filename": "checks.yml", "workflow_path": ".github/workflows/checks.yml", "contributor": "Gallaecio", "sha_fail": "0f71221cf9875ed8ef3400e1008408e79b6691e6", "sha_success": "c1ba9ccdf916b89d875628ba143dc5c9f6977430", "workflow": "name: Checks\non: [push, pull_request]\n\nconcurrency:\n group: ${{github.workflow}}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n checks:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: false\n matrix:\n include:\n - python-version: \"3.12\"\n env:\n TOXENV: pylint\n - python-version: 3.8\n env:\n TOXENV: typing\n - python-version: \"3.11\" # Keep in sync with .readthedocs.yml\n env:\n TOXENV: docs\n - python-version: \"3.12\"\n env:\n TOXENV: twinecheck\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Run check\n env: ${{ matrix.env }}\n run: |\n pip install -U tox\n tox\n\n pre-commit:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: pre-commit/[email protected]\n", "logs": [{"step_name": "checks (3.12, pylint)/4_Run check.txt", "log": "##[group]Run pip install -U tox\n\u001b[36;1mpip install -U tox\u001b[0m\n\u001b[36;1mtox\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n TOXENV: pylint\n##[endgroup]\nCollecting tox\n Downloading tox-4.11.4-py3-none-any.whl.metadata (5.0 kB)\nCollecting cachetools>=5.3.1 (from tox)\n Downloading cachetools-5.3.2-py3-none-any.whl.metadata (5.2 kB)\nCollecting chardet>=5.2 (from tox)\n Downloading chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)\nCollecting colorama>=0.4.6 (from tox)\n Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)\nCollecting filelock>=3.12.3 (from tox)\n Downloading filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)\nCollecting packaging>=23.1 (from tox)\n Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)\nCollecting platformdirs>=3.10 (from tox)\n Downloading platformdirs-4.1.0-py3-none-any.whl.metadata (11 kB)\nCollecting pluggy>=1.3 (from tox)\n Downloading pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)\nCollecting pyproject-api>=1.6.1 (from tox)\n Downloading pyproject_api-1.6.1-py3-none-any.whl.metadata (2.8 kB)\nCollecting virtualenv>=20.24.3 (from tox)\n Downloading virtualenv-20.25.0-py3-none-any.whl.metadata (4.5 kB)\nCollecting distlib<1,>=0.3.7 (from virtualenv>=20.24.3->tox)\n Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)\nDownloading tox-4.11.4-py3-none-any.whl (153 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 154.0/154.0 kB 16.6 MB/s eta 0:00:00\nDownloading cachetools-5.3.2-py3-none-any.whl (9.3 kB)\nDownloading chardet-5.2.0-py3-none-any.whl (199 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 199.4/199.4 kB 48.7 MB/s eta 0:00:00\nDownloading filelock-3.13.1-py3-none-any.whl (11 kB)\nDownloading packaging-23.2-py3-none-any.whl (53 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 53.0/53.0 kB 16.1 MB/s eta 0:00:00\nDownloading platformdirs-4.1.0-py3-none-any.whl (17 kB)\nDownloading pluggy-1.3.0-py3-none-any.whl (18 kB)\nDownloading pyproject_api-1.6.1-py3-none-any.whl (12 kB)\nDownloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 3.8/3.8 MB 104.2 MB/s eta 0:00:00\nDownloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 468.9/468.9 kB 81.3 MB/s eta 0:00:00\nInstalling collected packages: distlib, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox\nSuccessfully installed cachetools-5.3.2 chardet-5.2.0 colorama-0.4.6 distlib-0.3.8 filelock-3.13.1 packaging-23.2 platformdirs-4.1.0 pluggy-1.3.0 pyproject-api-1.6.1 tox-4.11.4 virtualenv-20.25.0\n\n[notice] A new release of pip is available: 23.3.1 -> 23.3.2\n[notice] To update, run: pip install --upgrade pip\npylint: install_deps> python -I -m pip install -ctests/upper-constraints.txt boto3 google-cloud-storage 'markupsafe<2.1.0' 'mitmproxy<8,>=4.0.4; python_version < \"3.9\" and implementation_name != \"pypy\"' Pillow pylint==3.0.1 robotexclusionrulesparser 'Twisted[http2]' -r tests/requirements.txt\n.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel\n.pkg: _optional_hooks> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: get_requires_for_build_sdist> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: get_requires_for_build_wheel> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: install_requires_for_build_wheel> python -I -m pip install wheel\n.pkg: freeze> python -m pip freeze --all\n.pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0\n.pkg: prepare_metadata_for_build_wheel> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: build_sdist> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\npylint: install_package_deps> python -I -m pip install -ctests/upper-constraints.txt 'PyDispatcher>=2.0.5; platform_python_implementation == \"CPython\"' 'PyPyDispatcher>=2.1.0; platform_python_implementation == \"PyPy\"' 'Twisted>=18.9.0' 'cryptography>=36.0.0' 'cssselect>=0.9.1' 'itemadapter>=0.1.0' 'itemloaders>=1.0.1' 'lxml>=4.4.1' packaging 'parsel>=1.5.0' 'protego>=0.1.15' 'pyOpenSSL>=21.0.0' 'queuelib>=1.4.2' 'service-identity>=18.1.0' setuptools tldextract 'w3lib>=1.17.0' 'zope.interface>=5.1.0'\npylint: install_package> python -I -m pip install -ctests/upper-constraints.txt --force-reinstall --no-deps /home/runner/work/scrapy/scrapy/.tox/.tmp/package/1/Scrapy-2.11.0.tar.gz\npylint: freeze> python -m pip freeze --all\npylint: astroid==3.0.2,asttokens==2.4.1,attrs==23.1.0,Automat==22.10.0,blessed==1.20.0,boto3==1.34.3,botocore==1.34.3,bpython==0.24,Brotli==1.1.0,cachetools==5.3.2,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==3.3.2,constantly==23.10.4,coverage==7.3.3,cryptography==41.0.7,cssselect==1.2.0,curtsies==0.4.2,cwcwidth==0.1.9,decorator==5.1.1,dill==0.3.7,execnet==2.0.2,executing==2.0.1,filelock==3.13.1,google-api-core==2.15.0,google-auth==2.25.2,google-cloud-core==2.4.1,google-cloud-storage==2.14.0,google-crc32c==1.5.0,google-resumable-media==2.7.0,googleapis-common-protos==1.62.0,greenlet==3.0.2,h2==4.1.0,hpack==4.0.0,hyperframe==6.0.1,hyperlink==21.0.0,idna==3.6,incremental==22.10.0,iniconfig==2.0.0,ipython==8.18.1,isort==5.13.2,itemadapter==0.8.0,itemloaders==1.1.0,jedi==0.19.1,jmespath==1.0.1,lxml==4.9.3,MarkupSafe==2.0.1,matplotlib-inline==0.1.6,mccabe==0.7.0,packaging==23.2,parsel==1.8.1,parso==0.8.3,pexpect==4.9.0,Pillow==10.1.0,pip==23.3.2,platformdirs==4.1.0,pluggy==1.3.0,priority==1.3.0,prompt-toolkit==3.0.43,Protego==0.3.0,protobuf==4.25.1,ptyprocess==0.7.0,pure-eval==0.2.2,pyasn1==0.5.1,pyasn1-modules==0.3.0,pycparser==2.21,PyDispatcher==2.0.7,pyftpdlib==1.5.9,Pygments==2.17.2,pylint==3.0.1,pyOpenSSL==23.3.0,pytest==7.4.3,pytest-cov==4.0.0,pytest-xdist==3.5.0,python-dateutil==2.8.2,pyxdg==0.28,queuelib==1.6.2,requests==2.31.0,requests-file==1.5.1,robotexclusionrulesparser==1.7.1,rsa==4.9,s3transfer==0.9.0,Scrapy @ file:///home/runner/work/scrapy/scrapy/.tox/.tmp/package/1/Scrapy-2.11.0.tar.gz#sha256=6f43aa5d37ec10736bd947dbba89df54ebc97175083ab360a721b3360f0d895b,service-identity==23.1.0,setuptools==69.0.2,six==1.16.0,stack-data==0.6.3,sybil==6.0.2,testfixtures==7.2.2,tldextract==5.1.1,tomlkit==0.12.3,traitlets==5.14.0,Twisted==23.10.0,typing_extensions==4.9.0,urllib3==2.0.7,uvloop==0.19.0,w3lib==2.1.2,wcwidth==0.2.12,zope.interface==6.1,zstandard==0.22.0\npylint: commands[0]> pylint conftest.py docs extras scrapy setup.py tests\n<unknown>:230: SyntaxWarning: invalid escape sequence '\\d'\n************* Module scrapy.crawler\nscrapy/crawler.py:182:4: W0211: Static method with 'cls' as first argument (bad-staticmethod-argument)\nscrapy/crawler.py:184:15: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)\n\n------------------------------------\nYour code has been rated at 10.00/10\n\npylint: exit 20 (56.60 seconds) /home/runner/work/scrapy/scrapy> pylint conftest.py docs extras scrapy setup.py tests pid=2086\n.pkg: _exit> python /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n pylint: FAIL code 20 (100.72=setup[44.12]+cmd[56.60] seconds)\n evaluation failed :( (100.86 seconds)\n##[error]Process completed with exit code 20.\n"}], "diff": "diff --git a/scrapy/crawler.py b/scrapy/crawler.py\nindex 76f4048e4..333b39f33 100644\n--- a/scrapy/crawler.py\n+++ b/scrapy/crawler.py\n@@ -179,9 +179,12 @@ class Crawler:\n yield maybeDeferred(self.engine.stop)\n \n @staticmethod\n- def _get_component(cls, components):\n+ def _get_component(component_class, components):\n for component in components:\n- if type(component) is cls:\n+ if (\n+ type(component) # pylint: disable=unidiomatic-typecheck\n+ is component_class\n+ ):\n return component\n return None\n \n", "difficulty": "1"}
data/102f918.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 19, "repo_owner": "mindsdb", "repo_name": "mindsdb", "head_branch": "staging", "workflow_name": "MindsDB Code Checks", "workflow_filename": "code_checks.yml", "workflow_path": ".github/workflows/code_checks.yml", "contributor": "mindsdb", "sha_fail": "102f918deb2532bb7b825f00258f2c1414cf94da", "sha_success": "1cf75d7a1071fba82d4190725e984e8d55db48fb", "workflow": "name: MindsDB Code Checks\n\non:\n pull_request:\n branches: [stable, staging]\n \njobs:\n check_requirements:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/[email protected]\n - name: Set up Python 3.8\n uses: actions/[email protected]\n with:\n python-version: 3.9\n - name: Check main requirements\n shell: bash\n run: |\n pip install -r requirements/requirements-dev.txt\n\n python tests/scripts/check_requirements.py\n\n - name: Check requirements files are installable\n shell: bash\n run: |\n pip install --dry-run --ignore-installed . # Install only the default handlers. We can expand this to all handlers later with: .[all_handlers_extras]\n", "logs": [{"step_name": "check_requirements/4_Check main requirements.txt", "log": "##[group]Run pip install -r requirements/requirements-dev.txt\n\u001b[36;1mpip install -r requirements/requirements-dev.txt\u001b[0m\n\u001b[36;1m\u001b[0m\n\u001b[36;1mpython tests/scripts/check_requirements.py\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib\n##[endgroup]\nCollecting black==23.3.0 (from -r requirements/requirements-dev.txt (line 1))\n Downloading black-23.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 1.7/1.7 MB 18.4 MB/s eta 0:00:00\nCollecting flake8==5.0.4 (from -r requirements/requirements-dev.txt (line 2))\n Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 61.9/61.9 kB 19.0 MB/s eta 0:00:00\nCollecting isort==5.10.1 (from -r requirements/requirements-dev.txt (line 3))\n Downloading isort-5.10.1-py3-none-any.whl (103 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 103.4/103.4 kB 26.5 MB/s eta 0:00:00\nCollecting pre-commit>=2.16.0 (from -r requirements/requirements-dev.txt (line 4))\n Downloading pre_commit-3.6.0-py2.py3-none-any.whl.metadata (1.3 kB)\nCollecting watchfiles==0.19.0 (from -r requirements/requirements-dev.txt (line 5))\n Downloading watchfiles-0.19.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 1.3/1.3 MB 31.1 MB/s eta 0:00:00\nRequirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages (from -r requirements/requirements-dev.txt (line 6)) (58.1.0)\nCollecting wheel (from -r requirements/requirements-dev.txt (line 7))\n Downloading wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)\nCollecting deptry==0.12.0 (from -r requirements/requirements-dev.txt (line 8))\n Downloading deptry-0.12.0-py3-none-any.whl.metadata (4.6 kB)\nCollecting twine (from -r requirements/requirements-dev.txt (line 9))\n Downloading twine-4.0.2-py3-none-any.whl (36 kB)\nCollecting click>=8.0.0 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)\nCollecting mypy-extensions>=0.4.3 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)\nCollecting packaging>=22.0 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)\nCollecting pathspec>=0.9.0 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)\nCollecting platformdirs>=2 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading platformdirs-4.1.0-py3-none-any.whl.metadata (11 kB)\nCollecting tomli>=1.1.0 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading tomli-2.0.1-py3-none-any.whl (12 kB)\nCollecting typing-extensions>=3.10.0.0 (from black==23.3.0->-r requirements/requirements-dev.txt (line 1))\n Downloading typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB)\nCollecting mccabe<0.8.0,>=0.7.0 (from flake8==5.0.4->-r requirements/requirements-dev.txt (line 2))\n Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)\nCollecting pycodestyle<2.10.0,>=2.9.0 (from flake8==5.0.4->-r requirements/requirements-dev.txt (line 2))\n Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 41.5/41.5 kB 11.9 MB/s eta 0:00:00\nCollecting pyflakes<2.6.0,>=2.5.0 (from flake8==5.0.4->-r requirements/requirements-dev.txt (line 2))\n Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 66.1/66.1 kB 20.4 MB/s eta 0:00:00\nCollecting anyio>=3.0.0 (from watchfiles==0.19.0->-r requirements/requirements-dev.txt (line 5))\n Downloading anyio-4.2.0-py3-none-any.whl.metadata (4.6 kB)\nCollecting chardet>=4.0.0 (from deptry==0.12.0->-r requirements/requirements-dev.txt (line 8))\n Downloading chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)\nCollecting cfgv>=2.0.0 (from pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading cfgv-3.4.0-py2.py3-none-any.whl.metadata (8.5 kB)\nCollecting identify>=1.0.0 (from pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading identify-2.5.33-py2.py3-none-any.whl.metadata (4.4 kB)\nCollecting nodeenv>=0.11.1 (from pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading nodeenv-1.8.0-py2.py3-none-any.whl.metadata (21 kB)\nCollecting pyyaml>=5.1 (from pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)\nCollecting virtualenv>=20.10.0 (from pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading virtualenv-20.25.0-py3-none-any.whl.metadata (4.5 kB)\nCollecting pkginfo>=1.8.1 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading pkginfo-1.9.6-py3-none-any.whl (30 kB)\nCollecting readme-renderer>=35.0 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading readme_renderer-42.0-py3-none-any.whl.metadata (2.8 kB)\nCollecting requests>=2.20 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)\nCollecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 54.5/54.5 kB 17.0 MB/s eta 0:00:00\nCollecting urllib3>=1.26.0 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)\nCollecting importlib-metadata>=3.6 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB)\nCollecting keyring>=15.1 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading keyring-24.3.0-py3-none-any.whl.metadata (20 kB)\nCollecting rfc3986>=1.4.0 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)\nCollecting rich>=12.0.0 (from twine->-r requirements/requirements-dev.txt (line 9))\n Downloading rich-13.7.0-py3-none-any.whl.metadata (18 kB)\nCollecting idna>=2.8 (from anyio>=3.0.0->watchfiles==0.19.0->-r requirements/requirements-dev.txt (line 5))\n Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)\nCollecting sniffio>=1.1 (from anyio>=3.0.0->watchfiles==0.19.0->-r requirements/requirements-dev.txt (line 5))\n Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)\nCollecting exceptiongroup>=1.0.2 (from anyio>=3.0.0->watchfiles==0.19.0->-r requirements/requirements-dev.txt (line 5))\n Downloading exceptiongroup-1.2.0-py3-none-any.whl.metadata (6.6 kB)\nCollecting zipp>=0.5 (from importlib-metadata>=3.6->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)\nCollecting jaraco.classes (from keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading jaraco.classes-3.3.0-py3-none-any.whl.metadata (2.9 kB)\nCollecting SecretStorage>=3.2 (from keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)\nCollecting jeepney>=0.4.2 (from keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 48.4/48.4 kB 17.1 MB/s eta 0:00:00\nCollecting nh3>=0.2.14 (from readme-renderer>=35.0->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading nh3-0.2.15-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.7 kB)\nCollecting docutils>=0.13.1 (from readme-renderer>=35.0->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB)\nCollecting Pygments>=2.5.1 (from readme-renderer>=35.0->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB)\nCollecting charset-normalizer<4,>=2 (from requests>=2.20->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)\nCollecting certifi>=2017.4.17 (from requests>=2.20->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)\nCollecting markdown-it-py>=2.2.0 (from rich>=12.0.0->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)\nCollecting distlib<1,>=0.3.7 (from virtualenv>=20.10.0->pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)\nCollecting filelock<4,>=3.12.2 (from virtualenv>=20.10.0->pre-commit>=2.16.0->-r requirements/requirements-dev.txt (line 4))\n Downloading filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)\nCollecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.0.0->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)\nCollecting cryptography>=2.0 (from SecretStorage>=3.2->keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.2 kB)\nCollecting more-itertools (from jaraco.classes->keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB)\nCollecting cffi>=1.12 (from cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)\nCollecting pycparser (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=15.1->twine->-r requirements/requirements-dev.txt (line 9))\n Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 118.7/118.7 kB 35.3 MB/s eta 0:00:00\nDownloading deptry-0.12.0-py3-none-any.whl (41 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 41.7/41.7 kB 13.1 MB/s eta 0:00:00\nDownloading pre_commit-3.6.0-py2.py3-none-any.whl (204 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 204.0/204.0 kB 42.9 MB/s eta 0:00:00\nDownloading wheel-0.42.0-py3-none-any.whl (65 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 65.4/65.4 kB 22.9 MB/s eta 0:00:00\nDownloading anyio-4.2.0-py3-none-any.whl (85 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 85.5/85.5 kB 29.1 MB/s eta 0:00:00\nDownloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)\nDownloading chardet-5.2.0-py3-none-any.whl (199 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 199.4/199.4 kB 43.8 MB/s eta 0:00:00\nDownloading click-8.1.7-py3-none-any.whl (97 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 97.9/97.9 kB 33.7 MB/s eta 0:00:00\nDownloading identify-2.5.33-py2.py3-none-any.whl (98 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 98.9/98.9 kB 31.2 MB/s eta 0:00:00\nDownloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB)\nDownloading keyring-24.3.0-py3-none-any.whl (38 kB)\nDownloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)\nDownloading packaging-23.2-py3-none-any.whl (53 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 53.0/53.0 kB 18.2 MB/s eta 0:00:00\nDownloading pathspec-0.12.1-py3-none-any.whl (31 kB)\nDownloading platformdirs-4.1.0-py3-none-any.whl (17 kB)\nDownloading PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (738 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 738.9/738.9 kB 37.6 MB/s eta 0:00:00\nDownloading readme_renderer-42.0-py3-none-any.whl (13 kB)\nDownloading requests-2.31.0-py3-none-any.whl (62 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 62.6/62.6 kB 21.9 MB/s eta 0:00:00\nDownloading rich-13.7.0-py3-none-any.whl (240 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 240.6/240.6 kB 51.0 MB/s eta 0:00:00\nDownloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)\nDownloading urllib3-2.1.0-py3-none-any.whl (104 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 104.6/104.6 kB 33.0 MB/s eta 0:00:00\nDownloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 3.8/3.8 MB 53.1 MB/s eta 0:00:00\nDownloading certifi-2023.11.17-py3-none-any.whl (162 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 162.5/162.5 kB 43.3 MB/s eta 0:00:00\nDownloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 142.3/142.3 kB 40.8 MB/s eta 0:00:00\nDownloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 468.9/468.9 kB 68.6 MB/s eta 0:00:00\nDownloading docutils-0.20.1-py3-none-any.whl (572 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 572.7/572.7 kB 67.0 MB/s eta 0:00:00\nDownloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)\nDownloading filelock-3.13.1-py3-none-any.whl (11 kB)\nDownloading idna-3.6-py3-none-any.whl (61 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 61.6/61.6 kB 20.6 MB/s eta 0:00:00\nDownloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 87.5/87.5 kB 28.4 MB/s eta 0:00:00\nDownloading nh3-0.2.15-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 1.7/1.7 MB 72.8 MB/s eta 0:00:00\nDownloading pygments-2.17.2-py3-none-any.whl (1.2 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 1.2/1.2 MB 81.6 MB/s eta 0:00:00\nDownloading zipp-3.17.0-py3-none-any.whl (7.4 kB)\nDownloading jaraco.classes-3.3.0-py3-none-any.whl (5.9 kB)\nDownloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 4.4/4.4 MB 94.7 MB/s eta 0:00:00\nDownloading more_itertools-10.1.0-py3-none-any.whl (55 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 55.8/55.8 kB 17.6 MB/s eta 0:00:00\nDownloading cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 443.4/443.4 kB 72.9 MB/s eta 0:00:00\nInstalling collected packages: nh3, distlib, zipp, wheel, urllib3, typing-extensions, tomli, sniffio, rfc3986, pyyaml, Pygments, pyflakes, pycparser, pycodestyle, platformdirs, pkginfo, pathspec, packaging, nodeenv, mypy-extensions, more-itertools, mdurl, mccabe, jeepney, isort, idna, identify, filelock, exceptiongroup, docutils, click, charset-normalizer, chardet, cfgv, certifi, virtualenv, requests, readme-renderer, markdown-it-py, jaraco.classes, importlib-metadata, flake8, deptry, cffi, black, anyio, watchfiles, rich, requests-toolbelt, pre-commit, cryptography, SecretStorage, keyring, twine\nSuccessfully installed Pygments-2.17.2 SecretStorage-3.3.3 anyio-4.2.0 black-23.3.0 certifi-2023.11.17 cffi-1.16.0 cfgv-3.4.0 chardet-5.2.0 charset-normalizer-3.3.2 click-8.1.7 cryptography-41.0.7 deptry-0.12.0 distlib-0.3.8 docutils-0.20.1 exceptiongroup-1.2.0 filelock-3.13.1 flake8-5.0.4 identify-2.5.33 idna-3.6 importlib-metadata-7.0.1 isort-5.10.1 jaraco.classes-3.3.0 jeepney-0.8.0 keyring-24.3.0 markdown-it-py-3.0.0 mccabe-0.7.0 mdurl-0.1.2 more-itertools-10.1.0 mypy-extensions-1.0.0 nh3-0.2.15 nodeenv-1.8.0 packaging-23.2 pathspec-0.12.1 pkginfo-1.9.6 platformdirs-4.1.0 pre-commit-3.6.0 pycodestyle-2.9.1 pycparser-2.21 pyflakes-2.5.0 pyyaml-6.0.1 readme-renderer-42.0 requests-2.31.0 requests-toolbelt-1.0.0 rfc3986-2.0.0 rich-13.7.0 sniffio-1.3.0 tomli-2.0.1 twine-4.0.2 typing-extensions-4.9.0 urllib3-2.1.0 virtualenv-20.25.0 watchfiles-0.19.0 wheel-0.42.0 zipp-3.17.0\n\n[notice] A new release of pip is available: 23.0.1 -> 23.3.2\n[notice] To update, run: pip install --upgrade pip\n--- Checking requirements files for duplicates ---\n\n--- Checking that requirements match imports ---\n- requirements/requirements.txt\n None:None: DEP002 'type_infer' defined as a dependency but not used in the codebase\n\n\n--- Checking handlers that require other handlers ---\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/mindsdb/__main__.py b/mindsdb/__main__.py\nindex cac3482883..6cc92a7899 100644\n--- a/mindsdb/__main__.py\n+++ b/mindsdb/__main__.py\n@@ -35,6 +35,7 @@ from mindsdb.utilities.fs import create_dirs_recursive, clean_process_marks, cle\n from mindsdb.utilities.telemetry import telemetry_file_exists, disable_telemetry\n from mindsdb.utilities.context import context as ctx\n from mindsdb.utilities.auth import register_oauth_client, get_aws_meta_data\n+import type_infer # noqa\n \n try:\n import torch.multiprocessing as mp\n", "difficulty": "1"}
data/2a104bf.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 0, "repo_owner": "pyg-team", "repo_name": "pytorch_geometric", "head_branch": "master", "workflow_name": "Testing PyTorch nightly", "workflow_filename": "latest_testing.yml", "workflow_path": ".github/workflows/latest_testing.yml", "contributor": "pmpalang", "sha_fail": "2a104bfbc6cad12e95d941244955382e96f21c51", "sha_success": "060fc6a2edb9775331645512c1e6eb5ed4f0afbd", "workflow": "name: Testing PyTorch nightly\n\non: # yamllint disable-line rule:truthy\n push:\n branches:\n - master\n pull_request:\n\njobs:\n\n latest_pytest:\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n with:\n fetch-depth: 40\n\n # Skip workflow if only certain files have been changed.\n - name: Get changed files\n id: changed-files-specific\n uses: tj-actions/changed-files@v34\n with:\n files: |\n benchmark/**\n conda/**\n docker/**\n docs/**\n examples/**\n graphgym/**\n README.md\n CHANGELOG.md\n\n - name: Setup packages\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n uses: ./.github/actions/setup\n with:\n torch-version: nightly\n\n - name: Install main package\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n run: |\n pip install -e .[test]\n\n - name: Run tests\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n timeout-minutes: 10\n run: |\n pytest\n", "logs": [{"step_name": "latest_pytest/6_Run tests.txt", "log": "##[group]Run pytest\n\u001b[36;1mpytest\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n##[endgroup]\n\u001b[1m============================= test session starts ==============================\u001b[0m\nplatform linux -- Python 3.8.18, pytest-7.4.3, pluggy-1.3.0 -- /opt/hostedtoolcache/Python/3.8.18/x64/bin/python\ncachedir: .pytest_cache\nrootdir: /home/runner/work/pytorch_geometric/pytorch_geometric\nconfigfile: pyproject.toml\nplugins: cov-4.1.0\n\u001b[1mcollecting ... \u001b[0mcollected 5718 items / 1 error\n\n==================================== ERRORS ====================================\n\u001b[31m\u001b[1m_____________ ERROR collecting test/loader/test_neighbor_loader.py _____________\u001b[0m\n\u001b[31mImportError while importing test module '/home/runner/work/pytorch_geometric/pytorch_geometric/test/loader/test_neighbor_loader.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1014: in _gcd_import\n ???\n<frozen importlib._bootstrap>:991: in _find_and_load\n ???\n<frozen importlib._bootstrap>:975: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:671: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/loader/test_neighbor_loader.py:24: in <module>\n from torch_geometric.typing import (\nE ImportError: cannot import name 'WITH_EDGE_TIME_NEIGHBOR_SAMPLE' from 'torch_geometric.typing' (/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/typing.py)\u001b[0m\n\u001b[33m=============================== warnings summary ===============================\u001b[0m\ntorch_geometric/graphgym/config.py:19\n /home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/graphgym/config.py:19: UserWarning: Could not define global config object. Please install 'yacs' via 'pip install yacs' in order to use GraphGym\n warnings.warn(\"Could not define global config object. Please install \"\n\ntorch_geometric/graphgym/imports.py:14\n /home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/graphgym/imports.py:14: UserWarning: Please install 'pytorch_lightning' via 'pip install pytorch_lightning' in order to use GraphGym\n warnings.warn(\"Please install 'pytorch_lightning' via \"\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n\u001b[36m\u001b[1m=========================== short test summary info ============================\u001b[0m\n\u001b[31mERROR\u001b[0m test/loader/test_neighbor_loader.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n\u001b[31m========================= \u001b[33m2 warnings\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 7.62s\u001b[0m\u001b[31m =========================\u001b[0m\n##[error]Process completed with exit code 2.\n"}], "diff": "diff --git a/torch_geometric/typing.py b/torch_geometric/typing.py\nindex d9e687601..085ecc613 100644\n--- a/torch_geometric/typing.py\n+++ b/torch_geometric/typing.py\n@@ -57,6 +57,7 @@ except Exception as e:\n WITH_SAMPLED_OP = False\n WITH_INDEX_SORT = False\n WITH_METIS = False\n+ WITH_EDGE_TIME_NEIGHBOR_SAMPLE = False\n WITH_WEIGHTED_NEIGHBOR_SAMPLE = False\n \n try:\n", "difficulty": "1"}
data/2c06ffa.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 3, "repo_owner": "huggingface", "repo_name": "diffusers", "head_branch": "ipadapterfaceid", "workflow_name": "Run code quality checks", "workflow_filename": "pr_quality.yml", "workflow_path": ".github/workflows/pr_quality.yml", "contributor": "fabiorigano", "sha_fail": "2c06ffa4c9d2c37846c60ad75899b4d72f214ff9", "sha_success": "217d9d073981605acab5200fc841f20c798c1449", "workflow": "name: Run code quality checks\n\non:\n pull_request:\n branches:\n - main\n push:\n branches:\n - main\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n cancel-in-progress: true\n\njobs:\n check_code_quality:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python\n uses: actions/setup-python@v4\n with:\n python-version: \"3.8\"\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install .[quality]\n - name: Check quality\n run: |\n ruff check examples tests src utils scripts\n ruff format examples tests src utils scripts --check\n\n check_repository_consistency:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python\n uses: actions/setup-python@v4\n with:\n python-version: \"3.8\"\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install .[quality]\n - name: Check quality\n run: |\n python utils/check_copies.py\n python utils/check_dummies.py\n make deps_table_check_updated\n", "logs": [{"step_name": "check_code_quality/5_Check quality.txt", "log": "##[group]Run ruff check examples tests src utils scripts\n\u001b[36;1mruff check examples tests src utils scripts\u001b[0m\n\u001b[36;1mruff format examples tests src utils scripts --check\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/actions-runner/_work/_tool/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/actions-runner/_work/_tool/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/actions-runner/_work/_tool/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/actions-runner/_work/_tool/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/actions-runner/_work/_tool/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/actions-runner/_work/_tool/Python/3.8.18/x64/lib\n##[endgroup]\nexamples/community/ip_adapter_face_id.py:15:1: I001 [*] Import block is un-sorted or un-formatted\nFound 1 error.\n[*] 1 fixable with the `--fix` option.\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/examples/community/README.md b/examples/community/README.md\nindex f205f3b70..2fdbdb414 100755\n--- a/examples/community/README.md\n+++ b/examples/community/README.md\n@@ -3307,7 +3307,7 @@ pipeline = DiffusionPipeline.from_pretrained(\n torch_dtype=torch.float16,\n scheduler=noise_scheduler,\n vae=vae,\n- custom_pipeline=\"./forked/diffusers/examples/community/ip_adapter_face_id.py\"\n+ custom_pipeline=\"ip_adapter_face_id\"\n )\n pipeline.load_ip_adapter_face_id(\"h94/IP-Adapter-FaceID\", \"ip-adapter-faceid_sd15.bin\")\n pipeline.to(\"cuda\")\ndiff --git a/examples/community/ip_adapter_face_id.py b/examples/community/ip_adapter_face_id.py\nindex e3c5a2c84..d9325742c 100644\n--- a/examples/community/ip_adapter_face_id.py\n+++ b/examples/community/ip_adapter_face_id.py\n@@ -14,12 +14,12 @@\n \n import inspect\n from typing import Any, Callable, Dict, List, Optional, Union\n-from safetensors import safe_open\n \n import torch\n import torch.nn as nn\n import torch.nn.functional as F\n from packaging import version\n+from safetensors import safe_open\n from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModelWithProjection\n \n from diffusers.configuration_utils import FrozenDict\n@@ -27,20 +27,20 @@ from diffusers.image_processor import VaeImageProcessor\n from diffusers.loaders import FromSingleFileMixin, IPAdapterMixin, LoraLoaderMixin, TextualInversionLoaderMixin\n from diffusers.models import AutoencoderKL, UNet2DConditionModel\n from diffusers.models.attention_processor import FusedAttnProcessor2_0\n-from diffusers.models.lora import adjust_lora_scale_text_encoder, LoRALinearLayer\n+from diffusers.models.lora import LoRALinearLayer, adjust_lora_scale_text_encoder\n+from diffusers.pipelines.pipeline_utils import DiffusionPipeline\n+from diffusers.pipelines.stable_diffusion.pipeline_output import StableDiffusionPipelineOutput\n+from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker\n from diffusers.schedulers import KarrasDiffusionSchedulers\n from diffusers.utils import (\n- _get_model_file,\n USE_PEFT_BACKEND,\n+ _get_model_file,\n deprecate,\n logging,\n scale_lora_layers,\n unscale_lora_layers,\n )\n from diffusers.utils.torch_utils import randn_tensor\n-from diffusers.pipelines.pipeline_utils import DiffusionPipeline\n-from diffusers.pipelines.stable_diffusion.pipeline_output import StableDiffusionPipelineOutput\n-from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker\n \n \n logger = logging.get_logger(__name__) # pylint: disable=invalid-name\n@@ -555,7 +555,7 @@ class IPAdapterFaceIDStableDiffusionPipeline(\n revision=revision,\n subfolder=subfolder,\n user_agent=user_agent,\n- )\n+ )\n if weight_name.endswith(\".safetensors\"):\n state_dict = {\"image_proj\": {}, \"ip_adapter\": {}}\n with safe_open(model_file, framework=\"pt\", device=\"cpu\") as f:\n@@ -1438,7 +1438,7 @@ class IPAdapterFaceIDStableDiffusionPipeline(\n extra_step_kwargs = self.prepare_extra_step_kwargs(generator, eta)\n \n # 6.1 Add image embeds for IP-Adapter\n- added_cond_kwargs ={\"image_embeds\": image_embeds} if image_embeds is not None else None\n+ added_cond_kwargs = {\"image_embeds\": image_embeds} if image_embeds is not None else None\n \n # 6.2 Optionally get Guidance Scale Embedding\n timestep_cond = None\n", "difficulty": "1"}
data/2e41e78.json ADDED
The diff for this file is too large to render. See raw diff
 
data/405ef2c.json ADDED
The diff for this file is too large to render. See raw diff
 
data/434321a.json ADDED
The diff for this file is too large to render. See raw diff
 
data/43dd59c.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 8, "repo_owner": "yt-dlp", "repo_name": "yt-dlp", "head_branch": "master", "workflow_name": "Quick Test", "workflow_filename": "quick-test.yml", "workflow_path": ".github/workflows/quick-test.yml", "contributor": "Kenshin9977", "sha_fail": "43dd59c3137df77f5dd22cef4cb7bedfe9f6b12e", "sha_success": "0bedc0ee590f45a6229a4b78f83297f8c07392bb", "workflow": "name: Quick Test\non: [push, pull_request]\npermissions:\n contents: read\n\njobs:\n tests:\n name: Core Test\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python 3.11\n uses: actions/setup-python@v4\n with:\n python-version: '3.11'\n - name: Install test requirements\n run: pip install pytest pycryptodomex\n - name: Run tests\n run: |\n python3 -m yt_dlp -v || true\n ./devscripts/run_tests.sh core\n flake8:\n name: Linter\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-python@v4\n - name: Install flake8\n run: pip install flake8\n - name: Make lazy extractors\n run: python devscripts/make_lazy_extractors.py\n - name: Run flake8\n run: flake8 .\n", "logs": [{"step_name": "Core Test/5_Run tests.txt", "log": "##[group]Run python3 -m yt_dlp -v || true\n\u001b[36;1mpython3 -m yt_dlp -v || true\u001b[0m\n\u001b[36;1m./devscripts/run_tests.sh core\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.11.6/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib\n##[endgroup]\n[debug] Command-line config: ['-v']\n[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)\n[debug] yt-dlp version [email protected] [b634ba742] (source)\n[debug] Lazy loading extractors is disabled\n[debug] Git HEAD: f8abf45\n[debug] Python 3.11.6 (CPython x86_64 64bit) - Linux-6.2.0-1015-azure-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)\n[debug] exe versions: none\n[debug] Optional libraries: Cryptodome-3.19.0, sqlite3-3.37.2\n[debug] Proxy map: {}\n[debug] Request Handlers: urllib\n[debug] Loaded 1890 extractors\n\nUsage: yt-dlp [OPTIONS] URL [URL...]\n\nyt-dlp: error: You must provide at least one URL.\nType yt-dlp --help to see a list of all options.\n============================= test session starts ==============================\nplatform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 -- /opt/hostedtoolcache/Python/3.11.6/x64/bin/python3\ncachedir: .pytest_cache\nrootdir: /home/runner/work/yt-dlp/yt-dlp\nconfigfile: setup.cfg\ncollecting ... collected 6320 items / 5705 deselected / 615 selected\n\ntest/test_InfoExtractor.py::TestInfoExtractor::test_download_json PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_extract_jwplayer_data_realworld PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_html_search_meta PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_html_search_regex PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_ie_key PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_opengraph PASSED [ 0%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_f4m_formats PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_html5_media_entries PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_ism_formats PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_m3u8_formats PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_mpd_formats PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_parse_xspf PASSED [ 1%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_response_with_expected_status_returns_content PASSED [ 2%]\ntest/test_InfoExtractor.py::TestInfoExtractor::test_search_json_ld_realworld PASSED [ 2%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_audio_only_extractor_format_selection PASSED [ 2%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_default_format_spec PASSED [ 2%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_filtering PASSED [ 2%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_not_available PASSED [ 2%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection_audio PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection_audio_exts PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection_issue_10083 PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection_string_ops PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_format_selection_video PASSED [ 3%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_invalid_format_specs PASSED [ 4%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_prefer_free_formats PASSED [ 4%]\ntest/test_YoutubeDL.py::TestFormatSelection::test_youtube_format_selection PASSED [ 4%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_add_extra_info PASSED [ 4%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_add_headers_cookie PASSED [ 4%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_do_not_override_ie_key_in_url_transparent PASSED [ 4%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_format_note PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_header_cookies PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_infojson_cookies PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_match_filter PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_playlist_items_selection PASSED [ 5%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_postprocessors PASSED [ 6%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_prepare_outtmpl_and_filename PASSED [ 6%]\ntest/test_YoutubeDL.py::TestYoutubeDL::test_subtitles PASSED [ 6%]\ntest/test_YoutubeDLCookieJar.py::TestYoutubeDLCookieJar::test_get_cookie_header PASSED [ 6%]\ntest/test_YoutubeDLCookieJar.py::TestYoutubeDLCookieJar::test_get_cookies_for_url PASSED [ 6%]\ntest/test_YoutubeDLCookieJar.py::TestYoutubeDLCookieJar::test_keep_session_cookies PASSED [ 6%]\ntest/test_YoutubeDLCookieJar.py::TestYoutubeDLCookieJar::test_malformed_cookies PASSED [ 6%]\ntest/test_YoutubeDLCookieJar.py::TestYoutubeDLCookieJar::test_strip_httponly_prefix PASSED [ 7%]\ntest/test_aes.py::TestAES::test_cbc_decrypt PASSED [ 7%]\ntest/test_aes.py::TestAES::test_cbc_encrypt PASSED [ 7%]\ntest/test_aes.py::TestAES::test_ctr_decrypt PASSED [ 7%]\ntest/test_aes.py::TestAES::test_ctr_encrypt PASSED [ 7%]\ntest/test_aes.py::TestAES::test_decrypt_text PASSED [ 7%]\ntest/test_aes.py::TestAES::test_ecb_decrypt PASSED [ 8%]\ntest/test_aes.py::TestAES::test_ecb_encrypt PASSED [ 8%]\ntest/test_aes.py::TestAES::test_encrypt PASSED [ 8%]\ntest/test_aes.py::TestAES::test_gcm_decrypt PASSED [ 8%]\ntest/test_aes.py::TestAES::test_key_expansion PASSED [ 8%]\ntest/test_aes.py::TestAES::test_pad_block PASSED [ 8%]\ntest/test_all_urls.py::TestAllURLsMatching::test_facebook_matching PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_keywords PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_no_duplicated_ie_names PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_no_duplicates PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_pbs PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_soundcloud_not_matching_sets PASSED [ 9%]\ntest/test_all_urls.py::TestAllURLsMatching::test_tumblr PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_vimeo_matching PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_channel_matching PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_feeds PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_matching PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_playlist_matching PASSED [ 10%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_search_matching PASSED [ 11%]\ntest/test_all_urls.py::TestAllURLsMatching::test_youtube_user_matching PASSED [ 11%]\ntest/test_cache.py::TestCache::test_cache PASSED [ 11%]\ntest/test_compat.py::TestCompat::test_compat_etree_fromstring PASSED [ 11%]\ntest/test_compat.py::TestCompat::test_compat_etree_fromstring_doctype PASSED [ 11%]\ntest/test_compat.py::TestCompat::test_compat_expanduser PASSED [ 11%]\ntest/test_compat.py::TestCompat::test_compat_passthrough PASSED [ 12%]\ntest/test_compat.py::TestCompat::test_compat_urllib_parse_unquote PASSED [ 12%]\ntest/test_compat.py::TestCompat::test_compat_urllib_parse_unquote_plus PASSED [ 12%]\ntest/test_compat.py::TestCompat::test_compat_urllib_parse_urlencode PASSED [ 12%]\ntest/test_compat.py::TestCompat::test_struct_unpack PASSED [ 12%]\ntest/test_config.py::TestConfig::test_config__ENVIRON_DEFAULTS_sanity PASSED [ 12%]\ntest/test_config.py::TestConfig::test_config_all_environ_values PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_default_expected_locations PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_default_grouping PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_early_exit_commandline PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_early_exit_files PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_override_commandline PASSED [ 13%]\ntest/test_config.py::TestConfig::test_config_override_files PASSED [ 13%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_linux_derive_key PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_linux_v10 PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_linux_v11 PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_mac_derive_key PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_mac_v10 PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_chrome_cookie_decryptor_windows_v10 PASSED [ 14%]\ntest/test_cookies.py::TestCookies::test_get_desktop_environment PASSED [ 15%]\ntest/test_cookies.py::TestCookies::test_pbkdf2_sha1 PASSED [ 15%]\ntest/test_cookies.py::TestCookies::test_safari_cookie_parsing PASSED [ 15%]\ntest/test_cookies.py::TestLenientSimpleCookie::test_lenient_parsing PASSED [ 15%]\ntest/test_cookies.py::TestLenientSimpleCookie::test_parsing PASSED [ 15%]\ntest/test_downloader_external.py::TestHttpieFD::test_make_cmd PASSED [ 15%]\ntest/test_downloader_external.py::TestAxelFD::test_make_cmd PASSED [ 16%]\ntest/test_downloader_external.py::TestWgetFD::test_make_cmd PASSED [ 16%]\ntest/test_downloader_external.py::TestCurlFD::test_make_cmd PASSED [ 16%]\ntest/test_downloader_external.py::TestAria2cFD::test_make_cmd PASSED [ 16%]\ntest/test_downloader_external.py::TestFFmpegFD::test_make_cmd SKIPPED [ 16%]\ntest/test_downloader_http.py::TestHttpFD::test_chunked FAILED [ 16%]\ntest/test_downloader_http.py::TestHttpFD::test_regular FAILED [ 17%]\ntest/test_execution.py::TestExecution::test_cmdline_umlauts PASSED [ 17%]\ntest/test_execution.py::TestExecution::test_import PASSED [ 17%]\ntest/test_execution.py::TestExecution::test_lazy_extractors PASSED [ 17%]\ntest/test_execution.py::TestExecution::test_main_exec PASSED [ 17%]\ntest/test_execution.py::TestExecution::test_module_exec PASSED [ 17%]\ntest/test_jsinterp.py::TestJSInterpreter::test_add PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_array_access PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_assignments PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_basic PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_bitwise_operators_overflow PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_bitwise_operators_typecast PASSED [ 18%]\ntest/test_jsinterp.py::TestJSInterpreter::test_builtins PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_calc PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_call PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_catch PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_char_code_at PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_comma PASSED [ 19%]\ntest/test_jsinterp.py::TestJSInterpreter::test_comments SKIPPED (Not...) [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_date PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_div PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_empty_return PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_exp PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_finally PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_for_loop PASSED [ 20%]\ntest/test_jsinterp.py::TestJSInterpreter::test_for_loop_break PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_for_loop_continue PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_for_loop_try PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_if PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_literal_list PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_mod PASSED [ 21%]\ntest/test_jsinterp.py::TestJSInterpreter::test_morespace PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_mul PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_negative PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_nested_try PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_null PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_object PASSED [ 22%]\ntest/test_jsinterp.py::TestJSInterpreter::test_operators PASSED [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_packed SKIPPED (Not i...) [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_parens PASSED [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_precedence PASSED [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_quotes PASSED [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_regex PASSED [ 23%]\ntest/test_jsinterp.py::TestJSInterpreter::test_replace SKIPPED (Not ...) [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_return_function PASSED [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_strange_chars PASSED [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_sub PASSED [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_switch PASSED [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_switch_default PASSED [ 24%]\ntest/test_jsinterp.py::TestJSInterpreter::test_try PASSED [ 25%]\ntest/test_jsinterp.py::TestJSInterpreter::test_undefined PASSED [ 25%]\ntest/test_jsinterp.py::TestJSInterpreter::test_void PASSED [ 25%]\ntest/test_netrc.py::TestNetRc::test_netrc_present PASSED [ 25%]\ntest/test_networking.py::TestHTTPRequestHandler::test_verify_cert[Urllib] PASSED [ 25%]\ntest/test_networking.py::TestHTTPRequestHandler::test_verify_cert[Requests] SKIPPED [ 25%]\ntest/test_networking.py::TestHTTPRequestHandler::test_ssl_error[Urllib] PASSED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_ssl_error[Requests] SKIPPED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_percent_encode[Urllib] PASSED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_percent_encode[Requests] SKIPPED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_remove_dot_segments[Urllib] PASSED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_remove_dot_segments[Requests] SKIPPED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_unicode_path_redirection[Urllib] PASSED [ 26%]\ntest/test_networking.py::TestHTTPRequestHandler::test_unicode_path_redirection[Requests] SKIPPED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_raise_http_error[Urllib] PASSED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_raise_http_error[Requests] SKIPPED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_response_url[Urllib] PASSED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_response_url[Requests] SKIPPED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_redirect[Urllib] PASSED [ 27%]\ntest/test_networking.py::TestHTTPRequestHandler::test_redirect[Requests] SKIPPED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_request_cookie_header[Urllib] PASSED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_request_cookie_header[Requests] SKIPPED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_redirect_loop[Urllib] PASSED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_redirect_loop[Requests] SKIPPED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_incompleteread[Urllib] PASSED [ 28%]\ntest/test_networking.py::TestHTTPRequestHandler::test_incompleteread[Requests] SKIPPED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_cookies[Urllib] PASSED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_cookies[Requests] SKIPPED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_headers[Urllib] PASSED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_headers[Requests] SKIPPED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_timeout[Urllib] PASSED [ 29%]\ntest/test_networking.py::TestHTTPRequestHandler::test_timeout[Requests] SKIPPED [ 30%]\nTraceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/socketserver.py\", line 691, in process_request_thread\n self.finish_request(request, client_address)\n File \"/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/socketserver.py\", line 361, in finish_request\n self.RequestHandlerClass(request, client_address, self)\ntest/test_networking.py::TestHTTPRequestHandler::test_source_address[Urllib] PASSED [ 30%]\n File \"/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/socketserver.py\", line 755, in __init__\n self.handle()\n File \"/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/http/server.py\", line 436, in handle\n self.handle_one_request()\n File \"/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/http/server.py\", line 425, in handle_one_request\n self.wfile.flush() #actually send the response if not already done.\n ^^^^^^^^^^^^^^^^^^\nValueError: I/O operation on closed file.\n----------------------------------------\ntest/test_networking.py::TestHTTPRequestHandler::test_source_address[Requests] SKIPPED [ 30%]\ntest/test_networking.py::TestHTTPRequestHandler::test_gzip_trailing_garbage[Urllib] PASSED [ 30%]\ntest/test_networking.py::TestHTTPRequestHandler::test_gzip_trailing_garbage[Requests] SKIPPED [ 30%]\ntest/test_networking.py::TestHTTPRequestHandler::test_brotli[Urllib] SKIPPED [ 30%]\ntest/test_networking.py::TestHTTPRequestHandler::test_brotli[Requests] SKIPPED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_deflate[Urllib] PASSED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_deflate[Requests] SKIPPED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_gzip[Urllib] PASSED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_gzip[Requests] SKIPPED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_multiple_encodings[Urllib] PASSED [ 31%]\ntest/test_networking.py::TestHTTPRequestHandler::test_multiple_encodings[Requests] SKIPPED [ 32%]\ntest/test_networking.py::TestHTTPRequestHandler::test_unsupported_encoding[Urllib] PASSED [ 32%]\ntest/test_networking.py::TestHTTPRequestHandler::test_unsupported_encoding[Requests] SKIPPED [ 32%]\ntest/test_networking.py::TestHTTPRequestHandler::test_read[Urllib] PASSED [ 32%]\ntest/test_networking.py::TestHTTPRequestHandler::test_read[Requests] SKIPPED [ 32%]\ntest/test_networking.py::TestHTTPProxy::test_http_proxy[Urllib] PASSED [ 32%]\ntest/test_networking.py::TestHTTPProxy::test_http_proxy[Requests] SKIPPED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_noproxy[Urllib] PASSED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_noproxy[Requests] SKIPPED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_allproxy[Urllib] PASSED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_allproxy[Requests] SKIPPED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_http_proxy_with_idn[Urllib] PASSED [ 33%]\ntest/test_networking.py::TestHTTPProxy::test_http_proxy_with_idn[Requests] SKIPPED [ 33%]\ntest/test_networking.py::TestClientCertificate::test_certificate_combined_nopass[Urllib] PASSED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_combined_nopass[Requests] SKIPPED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_nocombined_nopass[Urllib] PASSED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_nocombined_nopass[Requests] SKIPPED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_combined_pass[Urllib] PASSED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_combined_pass[Requests] SKIPPED [ 34%]\ntest/test_networking.py::TestClientCertificate::test_certificate_nocombined_pass[Urllib] PASSED [ 35%]\ntest/test_networking.py::TestClientCertificate::test_certificate_nocombined_pass[Requests] SKIPPED [ 35%]\ntest/test_networking.py::TestUrllibRequestHandler::test_file_urls[Urllib] PASSED [ 35%]\ntest/test_networking.py::TestUrllibRequestHandler::test_http_error_returns_content[Urllib] PASSED [ 35%]\ntest/test_networking.py::TestUrllibRequestHandler::test_verify_cert_error_text[Urllib] PASSED [ 35%]\ntest/test_networking.py::TestUrllibRequestHandler::test_httplib_validation_errors[req0-method can't contain control characters-<lambda>-Urllib] PASSED [ 35%]\ntest/test_networking.py::TestUrllibRequestHandler::test_httplib_validation_errors[req1-URL can't contain control characters-<lambda>-Urllib] PASSED [ 36%]\ntest/test_networking.py::TestUrllibRequestHandler::test_httplib_validation_errors[req2-Invalid header name-None-Urllib] PASSED [ 36%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-TransportError0] SKIPPED [ 36%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-TransportError1] SKIPPED [ 36%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-TransportError2] SKIPPED [ 36%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-TransportError3] SKIPPED [ 36%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-ProxyError] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-CertificateVerifyError] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-SSLError] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-RequestError0] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-RequestError1] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-TransportError4] SKIPPED [ 37%]\ntest/test_networking.py::TestRequestsRequestHandler::test_request_error_mapping[Requests-<lambda>-RequestError2] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-SSLError-None] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-TransportError-None0] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-TransportError-None1] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-TransportError-None2] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-TransportError-None3] SKIPPED [ 38%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-TransportError-None4] SKIPPED [ 39%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-IncompleteRead-3 bytes read, 4 more expected] SKIPPED [ 39%]\ntest/test_networking.py::TestRequestsRequestHandler::test_response_error_mapping[Requests-<lambda>-IncompleteRead-3 bytes read, 5 more expected] SKIPPED [ 39%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-http-False-handler_kwargs0] PASSED [ 39%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-https-False-handler_kwargs1] PASSED [ 39%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-data-False-handler_kwargs2] PASSED [ 39%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-ftp-False-handler_kwargs3] PASSED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-file-UnsupportedRequest-handler_kwargs4] PASSED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Urllib-file-False-handler_kwargs5] PASSED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Requests-http-False-handler_kwargs6] SKIPPED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[Requests-https-False-handler_kwargs7] SKIPPED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[NoCheckRH-http-False-handler_kwargs8] PASSED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_url_scheme[ValidationRH-http-UnsupportedRequest-handler_kwargs9] PASSED [ 40%]\ntest/test_networking.py::TestRequestHandlerValidation::test_no_proxy[Urllib-False] PASSED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_no_proxy[Requests-False] SKIPPED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[Urllib-all-False] PASSED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[Urllib-unrelated-False] PASSED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[Requests-all-False] SKIPPED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[Requests-unrelated-False] SKIPPED [ 41%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[NoCheckRH-all-False] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[HTTPSupportedRH-all-UnsupportedRequest] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_key[HTTPSupportedRH-no-UnsupportedRequest] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-http-False] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-https-UnsupportedRequest] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-socks4-False] PASSED [ 42%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-socks4a-False] PASSED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-socks5-False] PASSED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-socks5h-False] PASSED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Urllib-socks-UnsupportedRequest] PASSED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-http-False] SKIPPED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-https-False] SKIPPED [ 43%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-socks4-False] SKIPPED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-socks4a-False] SKIPPED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-socks5-False] SKIPPED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[Requests-socks5h-False] SKIPPED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[NoCheckRH-http-False] PASSED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_proxy_scheme[HTTPSupportedRH-http-UnsupportedRequest] PASSED [ 44%]\ntest/test_networking.py::TestRequestHandlerValidation::test_empty_proxy[Urllib] PASSED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_empty_proxy[HTTPSupportedRH] PASSED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_empty_proxy[Requests] SKIPPED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Urllib-//example.com] PASSED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Urllib-example.com] PASSED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Urllib-127.0.0.1] PASSED [ 45%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Urllib-/a/b/c] PASSED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Requests-//example.com] SKIPPED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Requests-example.com] SKIPPED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Requests-127.0.0.1] SKIPPED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_proxy_url[Requests-/a/b/c] SKIPPED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions0-AssertionError] PASSED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions1-False] PASSED [ 46%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions2-AssertionError] PASSED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions3-False] PASSED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions4-AssertionError] PASSED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Urllib-extensions5-UnsupportedRequest] PASSED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Requests-extensions6-AssertionError] SKIPPED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Requests-extensions7-False] SKIPPED [ 47%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Requests-extensions8-False] SKIPPED [ 48%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Requests-extensions9-AssertionError] SKIPPED [ 48%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[Requests-extensions10-UnsupportedRequest] SKIPPED [ 48%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[NoCheckRH-extensions11-False] PASSED [ 48%]\ntest/test_networking.py::TestRequestHandlerValidation::test_extension[NoCheckRH-extensions12-False] PASSED [ 48%]\ntest/test_networking.py::TestRequestHandlerValidation::test_invalid_request_type PASSED [ 48%]\ntest/test_networking.py::TestRequestDirector::test_handler_operations PASSED [ 49%]\ntest/test_networking.py::TestRequestDirector::test_send PASSED [ 49%]\ntest/test_networking.py::TestRequestDirector::test_unsupported_handlers PASSED [ 49%]\ntest/test_networking.py::TestRequestDirector::test_unexpected_error PASSED [ 49%]\ntest/test_networking.py::TestRequestDirector::test_preference PASSED [ 49%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_compat_opener PASSED [ 49%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_proxy[http://127.0.0.1:8080-expected0] PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_proxy[-expected1] PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_proxy[None-expected2] PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_compat_request PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_extract_basic_auth PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_sanitize_url PASSED [ 50%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_file_urls_error PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_legacy_server_connect_error PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[http-__noproxy__-None] PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[no-127.0.0.1,foo.bar-127.0.0.1,foo.bar] PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[https-example.com-http://example.com] PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[https-//example.com-http://example.com] PASSED [ 51%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[https-socks5://example.com-socks5h://example.com] PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[http-socks://example.com-socks4://example.com] PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[http-socks4://example.com-socks4://example.com] PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy[unrelated-/bad/proxy-/bad/proxy] PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_proxy_header PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_clean_header PASSED [ 52%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_build_handler_params PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_client_certificate[ydl_params0] PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_client_certificate[ydl_params1] PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_client_certificate[ydl_params2] PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_client_certificate[ydl_params3] PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_urllib_file_urls PASSED [ 53%]\ntest/test_networking.py::TestYoutubeDLNetworking::test_compat_opt_prefer_urllib PASSED [ 53%]\ntest/test_networking.py::TestRequest::test_query PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_method PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_request_helpers PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_headers PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_data_type PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_content_length_header PASSED [ 54%]\ntest/test_networking.py::TestRequest::test_content_type_header PASSED [ 55%]\ntest/test_networking.py::TestRequest::test_update_req PASSED [ 55%]\ntest/test_networking.py::TestRequest::test_proxies PASSED [ 55%]\ntest/test_networking.py::TestRequest::test_extensions PASSED [ 55%]\ntest/test_networking.py::TestRequest::test_copy PASSED [ 55%]\ntest/test_networking.py::TestRequest::test_url PASSED [ 55%]\ntest/test_networking.py::TestResponse::test_reason[custom-200-custom] PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_reason[None-404-Not Found] PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_reason[-403-Forbidden] PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_reason[None-999-None] PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_headers PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_get_header PASSED [ 56%]\ntest/test_networking.py::TestResponse::test_compat PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_select_proxy PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_make_socks_proxy_opts[socks5h://example.com-expected0] PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_make_socks_proxy_opts[***example.com:5555-expected1] PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_make_socks_proxy_opts[***127.0.0.1:1080-expected2] PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_make_socks_proxy_opts[socks4a://:pa%[email protected]] PASSED [ 57%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_make_socks_proxy_unknown PASSED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_load_certifi SKIPPED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[GET-303-GET] PASSED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[HEAD-303-HEAD] PASSED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[PUT-303-GET] PASSED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[POST-301-GET] PASSED [ 58%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[HEAD-301-HEAD] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[POST-302-GET] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[HEAD-302-HEAD] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[PUT-302-PUT] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[POST-308-POST] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[POST-307-POST] PASSED [ 59%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[HEAD-308-HEAD] PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_get_redirect_method[HEAD-307-HEAD] PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_add_accept_encoding_header[headers0-supported_encodings0-expected0] PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_add_accept_encoding_header[headers1-supported_encodings1-expected1] PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingUtils::test_add_accept_encoding_header[headers2-supported_encodings2-expected2] PASSED [ 60%]\ntest/test_networking_utils.py::TestInstanceStoreMixin::test_mixin PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_http_error[HTTPError] PASSED [ 60%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_http_error[<lambda>] PASSED [ 61%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_redirect_http_error[HTTPError] PASSED [ 61%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_redirect_http_error[<lambda>] PASSED [ 61%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_compat_http_error PASSED [ 61%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_compat_http_error_autoclose PASSED [ 61%]\ntest/test_networking_utils.py::TestNetworkingExceptions::test_incomplete_read_error PASSED [ 61%]\ntest/test_plugins.py::TestPlugins::test_directories_containing_plugins PASSED [ 62%]\ntest/test_plugins.py::TestPlugins::test_extractor_classes PASSED [ 62%]\ntest/test_plugins.py::TestPlugins::test_importing_zipped_module PASSED [ 62%]\ntest/test_plugins.py::TestPlugins::test_postprocessor_classes PASSED [ 62%]\ntest/test_postprocessors.py::TestMetadataFromField::test_field_to_template PASSED [ 62%]\ntest/test_postprocessors.py::TestMetadataFromField::test_format_to_regex PASSED [ 62%]\ntest/test_postprocessors.py::TestMetadataFromField::test_metadatafromfield PASSED [ 63%]\ntest/test_postprocessors.py::TestConvertThumbnail::test_escaping PASSED [ 63%]\ntest/test_postprocessors.py::TestExec::test_parse_cmd PASSED [ 63%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_make_concat_opts_CommonCase PASSED [ 63%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_make_concat_opts_NoZeroDurationChunkAtVideoEnd PASSED [ 63%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_make_concat_opts_NoZeroDurationChunkAtVideoStart PASSED [ 63%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_quote_for_concat_QuotesAtEnd PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_quote_for_concat_QuotesAtStart PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_quote_for_concat_RunsOfQuotes PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CanGetThroughUnaltered PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithAdjacentCuts PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithAdjacentSponsors PASSED [ 64%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithCutHidingSponsor PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithCuts PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithOverlappingCuts PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithOverlappingSponsors PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithRunsOfOverlappingCuts PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithRunsOfOverlappingSponsors PASSED [ 65%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithRunsOfOverlappingSponsorsAndCuts PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithSponsorCutInTheMiddle PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithSponsors PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChapterWithSponsorsAndCuts PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChaptersAfterLastCut PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_ChaptersAfterLastSponsor PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutCoincidesWithChapters PASSED [ 66%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutEndsAtChapterEnd PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutOverlapsMultipleChapters PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutStartsAtChapterStart PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutsAtVideoBoundaries PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutsOverlapChaptersAtVideoBoundaries PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_CutsWithinSomeChaptersAndOverlappingOthers PASSED [ 67%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_EverythingCut PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_EverythingSponsored PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_OverlappingSponsorsDifferentTitlesAfterCut PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SingleTinyChapterIsPreserved PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SmallestSponsorInTheOverlapGetsNamed PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorBlockChapters PASSED [ 68%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorCoincidesWithChapters PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorEndsAtChapterEnd PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorOverlapsMultipleChapters PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorStartsAtChapterStart PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorsAtVideoBoundaries PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorsNoLongerOverlapAfterCut PASSED [ 69%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorsOverlapChaptersAtVideoBoundaries PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorsStillOverlapAfterCut PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_SponsorsWithinSomeChaptersAndOverlappingOthers PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinyChapterAtTheStartPrependedToTheNext PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinyChaptersInTheOriginalArePreserved PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinyChaptersResultingFromCutsAreIgnored PASSED [ 70%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinyChaptersResultingFromSponsorOverlapAreIgnored PASSED [ 71%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsAreIgnored PASSED [ 71%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsOverlapsAreIgnored PASSED [ 71%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsPrependedToTheNextSponsor PASSED [ 71%]\ntest/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_UniqueNamesForOverlappingSponsors PASSED [ 71%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_no_auth[Urllib-http] PASSED [ 71%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_no_auth[Requests-http] SKIPPED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_auth[Urllib-http] PASSED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_auth[Requests-http] SKIPPED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4a_ipv4_target[Urllib-http] PASSED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4a_ipv4_target[Requests-http] SKIPPED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4a_domain_target[Urllib-http] PASSED [ 72%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4a_domain_target[Requests-http] SKIPPED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_ipv4_client_source_address[Urllib-http] PASSED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_ipv4_client_source_address[Requests-http] SKIPPED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[91-Urllib-http] PASSED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[91-Requests-http] SKIPPED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[92-Urllib-http] PASSED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[92-Requests-http] SKIPPED [ 73%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[93-Urllib-http] PASSED [ 74%]\ntest/test_socks.py::TestSocks4Proxy::test_socks4_errors[93-Requests-http] SKIPPED [ 74%]\ntest/test_socks.py::TestSocks4Proxy::test_ipv6_socks4_proxy[Urllib-http] PASSED [ 74%]\ntest/test_socks.py::TestSocks4Proxy::test_ipv6_socks4_proxy[Requests-http] SKIPPED [ 74%]\ntest/test_socks.py::TestSocks4Proxy::test_timeout[Urllib-http] PASSED [ 74%]\ntest/test_socks.py::TestSocks4Proxy::test_timeout[Requests-http] SKIPPED [ 74%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_no_auth[Urllib-http] PASSED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_no_auth[Requests-http] SKIPPED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_user_pass[Urllib-http] PASSED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_user_pass[Requests-http] SKIPPED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_ipv4_target[Urllib-http] PASSED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_ipv4_target[Requests-http] SKIPPED [ 75%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_domain_target[Urllib-http] PASSED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_domain_target[Requests-http] SKIPPED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5h_domain_target[Urllib-http] PASSED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5h_domain_target[Requests-http] SKIPPED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5h_ip_target[Urllib-http] PASSED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5h_ip_target[Requests-http] SKIPPED [ 76%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_ipv6_destination[Urllib-http] PASSED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_ipv6_destination[Requests-http] SKIPPED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_ipv6_socks5_proxy[Urllib-http] PASSED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_ipv6_socks5_proxy[Requests-http] SKIPPED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_ipv4_client_source_address[Urllib-http] PASSED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_ipv4_client_source_address[Requests-http] SKIPPED [ 77%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[1-Urllib-http] PASSED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[1-Requests-http] SKIPPED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[2-Urllib-http] PASSED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[2-Requests-http] SKIPPED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[3-Urllib-http] PASSED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[3-Requests-http] SKIPPED [ 78%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[4-Urllib-http] PASSED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[4-Requests-http] SKIPPED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[5-Urllib-http] PASSED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[5-Requests-http] SKIPPED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[6-Urllib-http] PASSED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[6-Requests-http] SKIPPED [ 79%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[7-Urllib-http] PASSED [ 80%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[7-Requests-http] SKIPPED [ 80%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[8-Urllib-http] PASSED [ 80%]\ntest/test_socks.py::TestSocks5Proxy::test_socks5_errors[8-Requests-http] SKIPPED [ 80%]\ntest/test_socks.py::TestSocks5Proxy::test_timeout[Urllib-http] PASSED [ 80%]\ntest/test_utils.py::TestUtil::test_LazyList PASSED [ 80%]\ntest/test_utils.py::TestUtil::test_LazyList_laziness PASSED [ 80%]\ntest/test_utils.py::TestUtil::test_Popen_windows_escaping SKIPPED (O...) [ 81%]\ntest/test_utils.py::TestUtil::test_age_restricted PASSED [ 81%]\ntest/test_utils.py::TestUtil::test_args_to_str PASSED [ 81%]\ntest/test_utils.py::TestUtil::test_base_url PASSED [ 81%]\ntest/test_utils.py::TestUtil::test_caesar PASSED [ 81%]\ntest/test_utils.py::TestUtil::test_clean_html PASSED [ 81%]\ntest/test_utils.py::TestUtil::test_clean_podcast_url PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_cli_bool_option PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_cli_option PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_cli_valueless_option PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_date_from_str PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_daterange PASSED [ 82%]\ntest/test_utils.py::TestUtil::test_datetime_from_str PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_detect_exe_version PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_determine_ext PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_determine_file_encoding PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_dfxp2srt PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_dict_get PASSED [ 83%]\ntest/test_utils.py::TestUtil::test_encode_base_n PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_encode_compat_str PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_escape_rfc3986 PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_expand_path PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_extract_attributes PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_extract_basic_auth PASSED [ 84%]\ntest/test_utils.py::TestUtil::test_find_xpath_attr PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_fix_xml_ampersands PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_float_or_none PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_format_bytes PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_get_compatible_ext PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_get_element_by_attribute PASSED [ 85%]\ntest/test_utils.py::TestUtil::test_get_element_by_class PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_element_html_by_attribute PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_element_html_by_class PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_element_text_and_html_by_tag PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_elements_by_attribute PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_elements_by_class PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_elements_html_by_attribute PASSED [ 86%]\ntest/test_utils.py::TestUtil::test_get_elements_html_by_class PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_get_elements_text_and_html_by_attribute PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_hide_login_info PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_http_header_dict PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_int_or_none PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_intlist_to_bytes PASSED [ 87%]\ntest/test_utils.py::TestUtil::test_iri_to_uri PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_is_html PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_js_to_json_common_constructors PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_js_to_json_edgecases PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_js_to_json_malformed PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_js_to_json_realworld PASSED [ 88%]\ntest/test_utils.py::TestUtil::test_js_to_json_template_literal PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_js_to_json_vars_strings PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_limit_length PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_locked_file PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_lowercase_escape PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_match_str PASSED [ 89%]\ntest/test_utils.py::TestUtil::test_merge_dicts PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_mimetype2ext PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_month_by_name PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_multipart_encode PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_normalize_url PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_ohdave_rsa_encrypt PASSED [ 90%]\ntest/test_utils.py::TestUtil::test_ordered_set PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_paged_list PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_parse_age_limit PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_parse_bitrate PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_parse_codecs PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_parse_count PASSED [ 91%]\ntest/test_utils.py::TestUtil::test_parse_dfxp_time_expr PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_parse_duration PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_parse_filesize PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_parse_iso8601 PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_parse_resolution PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_pkcs1pad PASSED [ 92%]\ntest/test_utils.py::TestUtil::test_prepend_extension PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_read_batch_urls PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_remove_dot_segments PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_remove_end PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_remove_quotes PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_remove_start PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_render_table PASSED [ 93%]\ntest/test_utils.py::TestUtil::test_replace_extension PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_rot47 PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_sanitize_filename PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_sanitize_filename_restricted PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_sanitize_ids PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_sanitize_path PASSED [ 94%]\ntest/test_utils.py::TestUtil::test_sanitize_url PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_shell_quote PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_smuggle_url PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_str_to_int PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_strip_jsonp PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_strip_or_none PASSED [ 95%]\ntest/test_utils.py::TestUtil::test_subtitles_filename PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_timeconvert PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_traverse_obj PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_try_call PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_unescape_html PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_unified_dates PASSED [ 96%]\ntest/test_utils.py::TestUtil::test_unified_timestamps PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_update_url_query PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_uppercase_escape PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_url_basename PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_url_or_none PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_urlencode_postdata PASSED [ 97%]\ntest/test_utils.py::TestUtil::test_urljoin PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_urshift PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_variadic PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_version_tuple PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_xpath_attr PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_xpath_element PASSED [ 98%]\ntest/test_utils.py::TestUtil::test_xpath_text PASSED [ 99%]\ntest/test_utils.py::TestUtil::test_xpath_with_ns PASSED [ 99%]\ntest/test_verbose_output.py::TestVerboseOutput::test_private_info_arg PASSED [ 99%]\ntest/test_verbose_output.py::TestVerboseOutput::test_private_info_eq PASSED [ 99%]\ntest/test_verbose_output.py::TestVerboseOutput::test_private_info_shortarg PASSED [ 99%]\ntest/test_verbose_output.py::TestVerboseOutput::test_private_info_shortarg_eq PASSED [ 99%]\ntest/test_youtube_misc.py::TestYoutubeMisc::test_youtube_extract PASSED [100%]\n\n=================================== FAILURES ===================================\n___________________________ TestHttpFD.test_chunked ____________________________\n\nself = <test.test_downloader_http.TestHttpFD testMethod=test_chunked>\n\n def test_chunked(self):\n> self.download_all({\n 'http_chunk_size': 1000,\n })\n\ntest/test_downloader_http.py:100: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntest/test_downloader_http.py:94: in download_all\n self.download(params, ep)\ntest/test_downloader_http.py:86: in download\n self.assertTrue(downloader.real_download(filename, {\nyt_dlp/downloader/http.py:365: in real_download\n return download()\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def download():\n data_len = ctx.data.headers.get('Content-length')\n \n if ctx.data.headers.get('Content-encoding'):\n # Content-encoding is present, Content-length is not reliable anymore as we are\n # doing auto decompression. (See: https://github.com/yt-dlp/yt-dlp/pull/6176)\n data_len = None\n \n # Range HTTP header may be ignored/unsupported by a webserver\n # (e.g. extractor/scivee.py, extractor/bambuser.py).\n # However, for a test we still would like to download just a piece of a file.\n # To achieve this we limit data_len to _TEST_FILE_SIZE and manually control\n # block size when downloading a file.\n if is_test and (data_len is None or int(data_len) > self._TEST_FILE_SIZE):\n data_len = self._TEST_FILE_SIZE\n \n if data_len is not None:\n data_len = int(data_len) + ctx.resume_len\n min_data_len = self.params.get('min_filesize')\n max_data_len = self.params.get('max_filesize')\n if min_data_len is not None and data_len < min_data_len:\n self.to_screen(\n f'\\r[download] File is smaller than min-filesize ({data_len} bytes < {min_data_len} bytes). Aborting.')\n return False\n if max_data_len is not None and data_len > max_data_len:\n self.to_screen(\n f'\\r[download] File is larger than max-filesize ({data_len} bytes > {max_data_len} bytes). Aborting.')\n return False\n \n byte_counter = 0 + ctx.resume_len\n block_size = ctx.block_size\n start = time.time()\n \n # measure time over whole while-loop, so slow_down() and best_block_size() work together properly\n now = None # needed for slow_down() in the first loop run\n before = start # start measuring\n \n def retry(e):\n close_stream()\n ctx.resume_len = (byte_counter if ctx.tmpfilename == '-'\n else os.path.getsize(encodeFilename(ctx.tmpfilename)))\n raise RetryDownload(e)\n \n while True:\n try:\n # Download and write\n data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))\n except TransportError as err:\n retry(err)\n \n byte_counter += len(data_block)\n \n # exit loop when download is finished\n if len(data_block) == 0:\n break\n \n # Open destination file just in time\n if ctx.stream is None:\n try:\n ctx.stream, ctx.tmpfilename = self.sanitize_open(\n ctx.tmpfilename, ctx.open_mode)\n assert ctx.stream is not None\n ctx.filename = self.undo_temp_name(ctx.tmpfilename)\n self.report_destination(ctx.filename)\n except OSError as err:\n self.report_error('unable to open for writing: %s' % str(err))\n return False\n \n if self.params.get('xattr_set_filesize', False) and data_len is not None:\n try:\n write_xattr(ctx.tmpfilename, 'user.ytdl.filesize', str(data_len).encode())\n except (XAttrUnavailableError, XAttrMetadataError) as err:\n self.report_error('unable to set filesize xattr: %s' % str(err))\n \n try:\n ctx.stream.write(data_block)\n except OSError as err:\n self.to_stderr('\\n')\n self.report_error('unable to write data: %s' % str(err))\n return False\n \n # Apply rate limit\n self.slow_down(start, now, byte_counter - ctx.resume_len)\n \n # end measuring of one loop run\n now = time.time()\n after = now\n \n # Adjust block size\n if not self.params.get('noresizebuffer', False):\n block_size = self.best_block_size(after - before, len(data_block))\n \n before = after\n \n # Progress message\n> speed = self.calc_speed(start, now, byte_counter - ctx.resume_len)\nE AttributeError: 'HttpFD' object has no attribute 'calc_speed'\n\nyt_dlp/downloader/http.py:296: AttributeError\n___________________________ TestHttpFD.test_regular ____________________________\n\nself = <test.test_downloader_http.TestHttpFD testMethod=test_regular>\n\n def test_regular(self):\n> self.download_all({})\n\ntest/test_downloader_http.py:97: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntest/test_downloader_http.py:94: in download_all\n self.download(params, ep)\ntest/test_downloader_http.py:86: in download\n self.assertTrue(downloader.real_download(filename, {\nyt_dlp/downloader/http.py:365: in real_download\n return download()\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def download():\n data_len = ctx.data.headers.get('Content-length')\n \n if ctx.data.headers.get('Content-encoding'):\n # Content-encoding is present, Content-length is not reliable anymore as we are\n # doing auto decompression. (See: https://github.com/yt-dlp/yt-dlp/pull/6176)\n data_len = None\n \n # Range HTTP header may be ignored/unsupported by a webserver\n # (e.g. extractor/scivee.py, extractor/bambuser.py).\n # However, for a test we still would like to download just a piece of a file.\n # To achieve this we limit data_len to _TEST_FILE_SIZE and manually control\n # block size when downloading a file.\n if is_test and (data_len is None or int(data_len) > self._TEST_FILE_SIZE):\n data_len = self._TEST_FILE_SIZE\n \n if data_len is not None:\n data_len = int(data_len) + ctx.resume_len\n min_data_len = self.params.get('min_filesize')\n max_data_len = self.params.get('max_filesize')\n if min_data_len is not None and data_len < min_data_len:\n self.to_screen(\n f'\\r[download] File is smaller than min-filesize ({data_len} bytes < {min_data_len} bytes). Aborting.')\n return False\n if max_data_len is not None and data_len > max_data_len:\n self.to_screen(\n f'\\r[download] File is larger than max-filesize ({data_len} bytes > {max_data_len} bytes). Aborting.')\n return False\n \n byte_counter = 0 + ctx.resume_len\n block_size = ctx.block_size\n start = time.time()\n \n # measure time over whole while-loop, so slow_down() and best_block_size() work together properly\n now = None # needed for slow_down() in the first loop run\n before = start # start measuring\n \n def retry(e):\n close_stream()\n ctx.resume_len = (byte_counter if ctx.tmpfilename == '-'\n else os.path.getsize(encodeFilename(ctx.tmpfilename)))\n raise RetryDownload(e)\n \n while True:\n try:\n # Download and write\n data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))\n except TransportError as err:\n retry(err)\n \n byte_counter += len(data_block)\n \n # exit loop when download is finished\n if len(data_block) == 0:\n break\n \n # Open destination file just in time\n if ctx.stream is None:\n try:\n ctx.stream, ctx.tmpfilename = self.sanitize_open(\n ctx.tmpfilename, ctx.open_mode)\n assert ctx.stream is not None\n ctx.filename = self.undo_temp_name(ctx.tmpfilename)\n self.report_destination(ctx.filename)\n except OSError as err:\n self.report_error('unable to open for writing: %s' % str(err))\n return False\n \n if self.params.get('xattr_set_filesize', False) and data_len is not None:\n try:\n write_xattr(ctx.tmpfilename, 'user.ytdl.filesize', str(data_len).encode())\n except (XAttrUnavailableError, XAttrMetadataError) as err:\n self.report_error('unable to set filesize xattr: %s' % str(err))\n \n try:\n ctx.stream.write(data_block)\n except OSError as err:\n self.to_stderr('\\n')\n self.report_error('unable to write data: %s' % str(err))\n return False\n \n # Apply rate limit\n self.slow_down(start, now, byte_counter - ctx.resume_len)\n \n # end measuring of one loop run\n now = time.time()\n after = now\n \n # Adjust block size\n if not self.params.get('noresizebuffer', False):\n block_size = self.best_block_size(after - before, len(data_block))\n \n before = after\n \n # Progress message\n> speed = self.calc_speed(start, now, byte_counter - ctx.resume_len)\nE AttributeError: 'HttpFD' object has no attribute 'calc_speed'\n\nyt_dlp/downloader/http.py:296: AttributeError\n=========================== short test summary info ============================\nSKIPPED [1] test/test_downloader_external.py:115: ffmpeg not found\nSKIPPED [1] test/test_jsinterp.py:111: Not implemented\nSKIPPED [1] test/test_jsinterp.py:373: Not implemented\nSKIPPED [1] test/test_jsinterp.py:335: Not implemented\nSKIPPED [1] test/test_networking.py:309: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:320: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:338: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:350: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:365: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:372: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:382: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:393: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:448: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:480: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:486: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:492: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:509: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:525: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:541: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:549: Requests request handler is not available\nSKIPPED [2] test/test_networking.py:555: brotli support is not installed\nSKIPPED [1] test/test_networking.py:566: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:576: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:586: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:597: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:607: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:637: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:663: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:673: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:681: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:719: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:725: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:732: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:739: Requests request handler is not available\nSKIPPED [11] test/test_networking.py:824: Requests request handler is not available\nSKIPPED [8] test/test_networking.py:855: Requests request handler is not available\nSKIPPED [2] test/test_networking.py:996: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:1005: Requests request handler is not available\nSKIPPED [2] test/test_networking.py:1010: Requests request handler is not available\nSKIPPED [6] test/test_networking.py:1019: Requests request handler is not available\nSKIPPED [1] test/test_networking.py:1028: Requests request handler is not available\nSKIPPED [4] test/test_networking.py:1033: Requests request handler is not available\nSKIPPED [5] test/test_networking.py:1038: Requests request handler is not available\nSKIPPED [1] test/test_networking_utils.py:96: certifi is not installed\nSKIPPED [1] test/test_socks.py:266: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:274: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:284: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:292: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:301: Requests request handler is not available\nSKIPPED [3] test/test_socks.py:311: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:323: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:332: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:342: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:350: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:363: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:371: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:379: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:388: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:397: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:405: Requests request handler is not available\nSKIPPED [1] test/test_socks.py:416: Requests request handler is not available\nSKIPPED [8] test/test_socks.py:425: Requests request handler is not available\nSKIPPED [1] test/test_utils.py:2398: Only relevant on Windows\nFAILED test/test_downloader_http.py::TestHttpFD::test_chunked - AttributeError: 'HttpFD' object has no attribute 'calc_speed'\nFAILED test/test_downloader_http.py::TestHttpFD::test_regular - AttributeError: 'HttpFD' object has no attribute 'calc_speed'\n=== 2 failed, 509 passed, 104 skipped, 5705 deselected in 120.03s (0:02:00) ====\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/yt_dlp/downloader/http.py b/yt_dlp/downloader/http.py\nindex f5237443e..a1f95db29 100644\n--- a/yt_dlp/downloader/http.py\n+++ b/yt_dlp/downloader/http.py\n@@ -11,6 +11,7 @@\n )\n from ..utils import (\n ContentTooShortError,\n+ FormatProgressInfos,\n RetryManager,\n ThrottledDownload,\n XAttrMetadataError,\n@@ -293,11 +294,11 @@ def retry(e):\n before = after\n \n # Progress message\n- speed = self.calc_speed(start, now, byte_counter - ctx.resume_len)\n+ speed = FormatProgressInfos.calc_speed(start, now, byte_counter - ctx.resume_len)\n if ctx.data_len is None:\n eta = None\n else:\n- eta = self.calc_eta(start, time.time(), ctx.data_len - ctx.resume_len, byte_counter - ctx.resume_len)\n+ eta = FormatProgressInfos.calc_eta(start, time.time(), ctx.data_len - ctx.resume_len, byte_counter - ctx.resume_len)\n \n self._hook_progress({\n 'status': 'downloading',\ndiff --git a/yt_dlp/downloader/rtmp.py b/yt_dlp/downloader/rtmp.py\nindex 0e0952599..9373f3585 100644\n--- a/yt_dlp/downloader/rtmp.py\n+++ b/yt_dlp/downloader/rtmp.py\n@@ -5,6 +5,7 @@\n \n from .common import FileDownloader\n from ..utils import (\n+ FormatProgressInfos,\n Popen,\n check_executable,\n encodeArgument,\n@@ -50,8 +51,8 @@ def run_rtmpdump(args):\n resume_percent = percent\n resume_downloaded_data_len = downloaded_data_len\n time_now = time.time()\n- eta = self.calc_eta(start, time_now, 100 - resume_percent, percent - resume_percent)\n- speed = self.calc_speed(start, time_now, downloaded_data_len - resume_downloaded_data_len)\n+ eta = FormatProgressInfos.calc_eta(start, time_now, 100 - resume_percent, percent - resume_percent)\n+ speed = FormatProgressInfos.calc_speed(start, time_now, downloaded_data_len - resume_downloaded_data_len)\n data_len = None\n if percent > 0:\n data_len = int(downloaded_data_len * 100 / percent)\n", "difficulty": "2"}
data/497baa8.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 9, "repo_owner": "python-telegram-bot", "repo_name": "python-telegram-bot", "head_branch": "api-7.0", "workflow_name": "Check Type Completeness", "workflow_filename": "type_completeness.yml", "workflow_path": ".github/workflows/type_completeness.yml", "contributor": "python-telegram-bot", "sha_fail": "497baa821ab70a8a2e39d2479e451de1b4f855bc", "sha_success": "bf635f7d4182eec7a691ee58b0bbc8bb965b13c2", "workflow": "name: Check Type Completeness\non:\n pull_request:\n branches:\n - master\n push:\n branches:\n - master\n\njobs:\n test-type-completeness:\n name: test-type-completeness\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - run: git fetch --depth=1 # https://github.com/actions/checkout/issues/329#issuecomment-674881489\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: 3.9\n cache: 'pip'\n cache-dependency-path: '**/requirements*.txt'\n - name: Install Pyright\n run: |\n python -W ignore -m pip install pyright~=1.1.316\n - name: Get PR Completeness\n # Must run before base completeness, as base completeness will checkout the base branch\n # And we can't go back to the PR branch after that in case the PR is coming from a fork\n run: |\n pip install . -U\n pyright --verifytypes telegram --ignoreexternal --outputjson > pr.json || true\n pyright --verifytypes telegram --ignoreexternal > pr.readable || true\n - name: Get Base Completeness\n run: |\n git checkout ${{ github.base_ref }}\n pip install . -U\n pyright --verifytypes telegram --ignoreexternal --outputjson > base.json || true\n - name: Compare Completeness\n uses: jannekem/run-python-script-action@v1\n with:\n script: |\n import json\n import os\n from pathlib import Path\n\n base = float(\n json.load(open(\"base.json\", \"rb\"))[\"typeCompleteness\"][\"completenessScore\"]\n )\n pr = float(\n json.load(open(\"pr.json\", \"rb\"))[\"typeCompleteness\"][\"completenessScore\"]\n )\n base_text = f\"This PR changes type completeness from {round(base, 3)} to {round(pr, 3)}.\"\n \n if base == 0:\n text = f\"Something is broken in the workflow. Reported type completeness is 0. \ud83d\udca5\"\n set_summary(text)\n print(Path(\"pr.readable\").read_text(encoding=\"utf-8\"))\n error(text)\n exit(1)\n \n if pr < (base - 0.001):\n text = f\"{base_text} \u274c\"\n set_summary(text)\n print(Path(\"pr.readable\").read_text(encoding=\"utf-8\"))\n error(text)\n exit(1)\n elif pr > (base + 0.001):\n text = f\"{base_text} \u2728\"\n set_summary(text)\n if pr < 1:\n print(Path(\"pr.readable\").read_text(encoding=\"utf-8\"))\n print(text)\n else:\n text = f\"{base_text} This is less than 0.1 percentage points. \u2705\"\n set_summary(text)\n print(Path(\"pr.readable\").read_text(encoding=\"utf-8\"))\n print(text)\n", "logs": [{"step_name": "test-type-completeness/8_Compare Completeness.txt", "log": "##[group]Run jannekem/run-python-script-action@v1\nwith:\n script: import json\n \"rb\"))[\"typeCompleteness\"][\"completenessScore\"]\nrb\"))[\"typeCompleteness\"][\"completenessScore\"]\n type completeness from {round(base, 3)} to {round(pr, 3)}.\"\nken in the workflow. Reported type completeness is 0. \ud83d\udca5\"\n.read_text(encoding=\"utf-8\"))\n.read_text(encoding=\"utf-8\"))\nle\").read_text(encoding=\"utf-8\"))\n is less than 0.1 percentage points. \u2705\"\n.read_text(encoding=\"utf-8\"))\n fail-on-error: true\n util: true\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib\n##[endgroup]\n[command]/opt/hostedtoolcache/Python/3.9.18/x64/bin/python /tmp/tmp-1917-L3j5u176j7ba-.py\nModule name: \"telegram\"\nPackage directory: \"file:///opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram\"\nModule directory: \"file:///opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram\"\nPath of py.typed file: \"file:///opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/py.typed\"\n\nPublic modules: 9\n telegram\n telegram.__main__\n telegram.constants\n telegram.error\n telegram.ext\n telegram.ext.filters\n telegram.helpers\n telegram.request\n telegram.warnings\n\nSymbols used in public interface:\ntelegram._callbackquery.CallbackQuery.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_callbackquery.py:116:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\ntelegram._message.Message.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_message.py:747:9 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"LinkPreviewOptions | None\"\ntelegram._linkpreviewoptions.LinkPreviewOptions.is_disabled\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_linkpreviewoptions.py:89:14 - error: Type is missing type annotation and could be inferred differently by type checkers\n \u00a0\u00a0Inferred type is \"bool | None\"\ntelegram._linkpreviewoptions.LinkPreviewOptions.url\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_linkpreviewoptions.py:90:14 - error: Type is missing type annotation and could be inferred differently by type checkers\n \u00a0\u00a0Inferred type is \"str | None\"\ntelegram._linkpreviewoptions.LinkPreviewOptions.prefer_small_media\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_linkpreviewoptions.py:91:14 - error: Type is missing type annotation and could be inferred differently by type checkers\n \u00a0\u00a0Inferred type is \"bool | None\"\ntelegram._linkpreviewoptions.LinkPreviewOptions.prefer_large_media\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_linkpreviewoptions.py:92:14 - error: Type is missing type annotation and could be inferred differently by type checkers\n \u00a0\u00a0Inferred type is \"bool | None\"\ntelegram._linkpreviewoptions.LinkPreviewOptions.show_above_text\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_linkpreviewoptions.py:93:14 - error: Type is missing type annotation and could be inferred differently by type checkers\n \u00a0\u00a0Inferred type is \"bool | None\"\ntelegram._update.Update.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_update.py:235:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_update.py:235:9 - error: Type of parameter \"edited_message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_update.py:235:9 - error: Type of parameter \"channel_post\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_update.py:235:9 - error: Type of parameter \"edited_channel_post\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/_update.py:235:9 - error: Type of parameter \"callback_query\" is partially unknown\n \u00a0\u00a0Parameter type is \"CallbackQuery | None\"\ntelegram._update.Update.effective_message\n error: Return type is partially unknown\n \u00a0\u00a0Return type is \"Message | None\"\ntelegram.ext._application.Application.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_application.py:275:9 - error: Type of parameter \"context_types\" is partially unknown\n \u00a0\u00a0Parameter type is \"ContextTypes[CCT@Application, UD@Application, CD@Application, BD@Application]\"\ntelegram.ext._callbackcontext.CallbackContext.drop_callback_data\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackcontext.py:248:9 - error: Type of parameter \"callback_query\" is partially unknown\n \u00a0\u00a0Parameter type is \"CallbackQuery\"\ntelegram.ext._contexttypes.ContextTypes.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_contexttypes.py:199:9 - error: Type of parameter \"context\" is partially unknown\n \u00a0\u00a0Parameter type is \"type[CallbackContext[ExtBot[Any], ADict, ADict, ADict]]\"\ntelegram.ext._application.Application.builder\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_application.py:448:9 - error: Return type is partially unknown\n \u00a0\u00a0Return type is \"InitApplicationBuilder\"\ntelegram.ext._applicationbuilder.ApplicationBuilder.defaults\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_applicationbuilder.py:941:9 - error: Type of parameter \"defaults\" is partially unknown\n \u00a0\u00a0Parameter type is \"Defaults\"\ntelegram.ext._defaults.Defaults.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_defaults.py:87:9 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"LinkPreviewOptions | None\"\ntelegram.ext._defaults.Defaults.link_preview_options\n error: Return type is partially unknown\n \u00a0\u00a0Return type is \"LinkPreviewOptions | None\"\ntelegram.ext._applicationbuilder.ApplicationBuilder.context_types\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_applicationbuilder.py:1163:9 - error: Type of parameter \"context_types\" is partially unknown\n \u00a0\u00a0Parameter type is \"ContextTypes[InCCT@context_types, InUD@context_types, InCD@context_types, InBD@context_types]\"\ntelegram.ext._application.Application.migrate_chat_data\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_application.py:1439:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | None\"\ntelegram.ext._callbackdatacache.CallbackDataCache.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackdatacache.py:153:9 - error: Type of parameter \"bot\" is partially unknown\n \u00a0\u00a0Parameter type is \"ExtBot[Any]\"\ntelegram.ext._extbot.ExtBot.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:204:9 - error: Type of parameter \"defaults\" is partially unknown\n \u00a0\u00a0Parameter type is \"Defaults | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:204:9 - error: Type of parameter \"defaults\" is partially unknown\n \u00a0\u00a0Parameter type is \"Defaults | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:204:9 - error: Type of parameter \"defaults\" is partially unknown\n \u00a0\u00a0Parameter type is \"Defaults | None\"\ntelegram.ext._extbot.ExtBot.defaults\n error: Return type is partially unknown\n \u00a0\u00a0Return type is \"Defaults | None\"\ntelegram.ext._extbot.ExtBot.insert_callback_data\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:463:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext._extbot.ExtBot.edit_message_text\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:1535:15 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"ODVInput[LinkPreviewOptions]\"\ntelegram.ext._extbot.ExtBot.send_message\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:2715:15 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"ODVInput[LinkPreviewOptions]\"\ntelegram.ext._extbot.ExtBot.sendMessage\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:3857:5 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"ODVInput[LinkPreviewOptions]\"\ntelegram.ext._extbot.ExtBot.editMessageText\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_extbot.py:3886:5 - error: Type of parameter \"link_preview_options\" is partially unknown\n \u00a0\u00a0Parameter type is \"ODVInput[LinkPreviewOptions]\"\ntelegram.ext._callbackdatacache.CallbackDataCache.process_message\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackdatacache.py:298:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext._callbackdatacache.CallbackDataCache.process_callback_query\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackdatacache.py:361:9 - error: Type of parameter \"callback_query\" is partially unknown\n \u00a0\u00a0Parameter type is \"CallbackQuery\"\ntelegram.ext._callbackdatacache.CallbackDataCache.drop_data\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackdatacache.py:407:9 - error: Type of parameter \"callback_query\" is partially unknown\n \u00a0\u00a0Parameter type is \"CallbackQuery\"\ntelegram.ext._callbackqueryhandler.CallbackQueryHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackqueryhandler.py:159:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_callbackqueryhandler.py:159:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@CallbackQueryHandler, Any, Any, Any, Any]\"\ntelegram.ext._choseninlineresulthandler.ChosenInlineResultHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_choseninlineresulthandler.py:109:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_choseninlineresulthandler.py:109:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@ChosenInlineResultHandler, Any, Any, Any, Any]\"\ntelegram.ext._commandhandler.CommandHandler.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_commandhandler.py:120:9 - error: Type of parameter \"filters\" is partially unknown\n \u00a0\u00a0Parameter type is \"BaseFilter | None\"\ntelegram.ext.filters.BaseFilter.check_update\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:260:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext._commandhandler.CommandHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_commandhandler.py:207:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_commandhandler.py:207:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@CommandHandler, Any, Any, Any, Any]\"\ntelegram.ext._conversationhandler.ConversationHandler.handle_update\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_conversationhandler.py:813:15 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_conversationhandler.py:813:15 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@ConversationHandler, Any, Any, Any, Any]\"\ntelegram.ext._inlinequeryhandler.InlineQueryHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_inlinequeryhandler.py:130:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_inlinequeryhandler.py:130:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@InlineQueryHandler, Any, Any, Any, Any]\"\ntelegram.ext._messagehandler.MessageHandler.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_messagehandler.py:77:9 - error: Type of parameter \"filters\" is partially unknown\n \u00a0\u00a0Parameter type is \"BaseFilter\"\ntelegram.ext._messagehandler.MessageHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_messagehandler.py:102:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_messagehandler.py:102:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@MessageHandler, Any, Any, Any, Any]\"\ntelegram.ext._picklepersistence.PicklePersistence.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_picklepersistence.py:223:9 - error: Type of parameter \"context_types\" is partially unknown\n \u00a0\u00a0Parameter type is \"ContextTypes[Any, UD@PicklePersistence, CD@PicklePersistence, BD@PicklePersistence] | None\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_picklepersistence.py:223:9 - error: Type of parameter \"context_types\" is partially unknown\n \u00a0\u00a0Parameter type is \"ContextTypes[Any, UD@PicklePersistence, CD@PicklePersistence, BD@PicklePersistence] | None\"\ntelegram.ext._prefixhandler.PrefixHandler.__init__\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_prefixhandler.py:125:9 - error: Type of parameter \"filters\" is partially unknown\n \u00a0\u00a0Parameter type is \"BaseFilter | None\"\ntelegram.ext._prefixhandler.PrefixHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_prefixhandler.py:171:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_prefixhandler.py:171:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@PrefixHandler, Any, Any, Any, Any]\"\ntelegram.ext._stringcommandhandler.StringCommandHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_stringcommandhandler.py:98:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@StringCommandHandler, Any, Any, Any, Any]\"\ntelegram.ext._stringregexhandler.StringRegexHandler.collect_additional_context\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/_stringregexhandler.py:103:9 - error: Type of parameter \"application\" is partially unknown\n \u00a0\u00a0Parameter type is \"Application[Any, CCT@StringRegexHandler, Any, Any, Any, Any]\"\ntelegram.ext.filters.MessageFilter\n error: Type of base class \"telegram.ext.filters.BaseFilter\" is partially unknown\ntelegram.ext.filters.MessageFilter.check_update\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:296:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.MessageFilter.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:314:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.UpdateFilter\n error: Type of base class \"telegram.ext.filters.BaseFilter\" is partially unknown\ntelegram.ext.filters.UpdateFilter.check_update\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:338:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateFilter.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:353:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters._All\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._All.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:515:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Animation\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Animation.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:526:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Attachment\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Attachment.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:537:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Audio\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Audio.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:550:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Caption\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Caption.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:579:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.CaptionEntity\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.CaptionEntity.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:613:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.CaptionRegex\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.CaptionRegex.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:644:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Chat\n error: Type of base class \"telegram.ext.filters._ChatUserBaseFilter\" is partially unknown\ntelegram.ext.filters._ChatUserBaseFilter\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._ChatUserBaseFilter.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:794:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Chat\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Chat.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:876:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ChatType._Channel\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.ChatType._Channel.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:900:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ChatType._Group\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.ChatType._Group.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:909:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ChatType._Groups\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.ChatType._Groups.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:918:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ChatType._Private\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.ChatType._Private.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:927:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ChatType._SuperGroup\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.ChatType._SuperGroup.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:936:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Command\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Command.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:969:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Contact\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Contact.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:992:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Dice\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters._Dice\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Dice.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1017:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Dice.Basketball\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Dice.Bowling\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Dice.Darts\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Dice.Dice\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Dice.Football\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Dice.SlotMachine\n error: Type of base class \"telegram.ext.filters._Dice\" is partially unknown\ntelegram.ext.filters.Document._All\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Document._All.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1174:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Document.Category\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Document.Category.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1202:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Document.FileExtension\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Document.FileExtension.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1266:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Document.MimeType\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Document.MimeType.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1298:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Entity\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Entity.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1357:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Forwarded\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Forwarded.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1364:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ForwardedFrom\n error: Type of base class \"telegram.ext.filters._ChatUserBaseFilter\" is partially unknown\ntelegram.ext.filters._Game\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Game.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1443:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Giveaway\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Giveaway.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1454:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._GiveawayWinners\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._GiveawayWinners.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1465:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._HasMediaSpoiler\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._HasMediaSpoiler.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1476:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._HasProtectedContent\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._HasProtectedContent.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1490:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Invoice\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Invoice.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1504:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._IsAutomaticForward\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._IsAutomaticForward.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1515:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._IsTopicMessage\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._IsTopicMessage.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1529:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Language\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Language.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1569:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Location\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Location.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1580:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Mention\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Mention.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1651:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._PassportData\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._PassportData.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1658:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Photo\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Photo.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1669:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Poll\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Poll.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1680:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Regex\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Regex.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1729:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Reply\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Reply.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1738:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.SenderChat\n error: Type of base class \"telegram.ext.filters._ChatUserBaseFilter\" is partially unknown\ntelegram.ext.filters._SenderChat\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._SenderChat.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1749:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.SenderChat._SUPERGROUP\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.SenderChat._SUPERGROUP.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1817:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.SenderChat._CHANNEL\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.SenderChat._CHANNEL.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1809:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._All\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._All.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1869:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.StatusUpdate._ChatCreated\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ChatCreated.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1906:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ChatShared\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ChatShared.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1921:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ConnectedWebsite\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ConnectedWebsite.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1933:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._DeleteChatPhoto\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._DeleteChatPhoto.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1942:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ForumTopicClosed\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ForumTopicClosed.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1951:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ForumTopicCreated\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ForumTopicCreated.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1963:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ForumTopicEdited\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ForumTopicEdited.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1975:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ForumTopicReopened\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ForumTopicReopened.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1987:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._GeneralForumTopicHidden\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._GeneralForumTopicHidden.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:1999:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._GeneralForumTopicUnhidden\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._GeneralForumTopicUnhidden.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2013:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._GiveawayCreated\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._GiveawayCreated.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2027:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._GiveawayCompleted\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._GiveawayCompleted.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2039:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._LeftChatMember\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._LeftChatMember.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2050:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._MessageAutoDeleteTimerChanged\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._MessageAutoDeleteTimerChanged.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2059:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._Migrate\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._Migrate.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2073:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._NewChatMembers\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._NewChatMembers.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2083:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._NewChatPhoto\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._NewChatPhoto.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2092:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._NewChatTitle\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._NewChatTitle.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2101:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._PinnedMessage\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._PinnedMessage.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2110:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._ProximityAlertTriggered\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._ProximityAlertTriggered.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2119:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._UserShared\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._UserShared.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2130:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._VideoChatEnded\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._VideoChatEnded.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2142:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._VideoChatScheduled\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._VideoChatScheduled.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2156:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._VideoChatStarted\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._VideoChatStarted.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2170:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._VideoChatParticipantsInvited\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._VideoChatParticipantsInvited.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2184:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._WebAppData\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._WebAppData.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2200:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.StatusUpdate._WriteAccessAllowed\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.StatusUpdate._WriteAccessAllowed.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2212:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Sticker._All\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Sticker._All.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2238:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Sticker._Animated\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Sticker._Animated.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2247:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Sticker._Static\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Sticker._Static.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2260:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Sticker._Video\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Sticker._Video.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2276:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Sticker._Premium\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Sticker._Premium.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2289:13 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Story\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Story.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2306:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._SuccessfulPayment\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._SuccessfulPayment.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2320:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.Text\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters.Text.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2363:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.UpdateType._ChannelPost\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._ChannelPost.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2395:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._ChannelPosts\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._ChannelPosts.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2404:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._Edited\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._Edited.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2414:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._EditedChannelPost\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._EditedChannelPost.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2427:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._EditedMessage\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._EditedMessage.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2436:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._Message\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._Message.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2445:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.UpdateType._Messages\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters.UpdateType._Messages.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2454:13 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters.User\n error: Type of base class \"telegram.ext.filters._ChatUserBaseFilter\" is partially unknown\ntelegram.ext.filters._User\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._User.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2544:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._UserAttachment\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters._UserAttachment.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2555:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters._UserPremium\n error: Type of base class \"telegram.ext.filters.UpdateFilter\" is partially unknown\ntelegram.ext.filters._UserPremium.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2573:9 - error: Type of parameter \"update\" is partially unknown\n \u00a0\u00a0Parameter type is \"Update\"\ntelegram.ext.filters._Venue\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Venue.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2590:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters.ViaBot\n error: Type of base class \"telegram.ext.filters._ChatUserBaseFilter\" is partially unknown\ntelegram.ext.filters._ViaBot\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._ViaBot.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2680:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Video\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Video.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2691:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._VideoNote\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._VideoNote.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2702:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.ext.filters._Voice\n error: Type of base class \"telegram.ext.filters.MessageFilter\" is partially unknown\ntelegram.ext.filters._Voice.filter\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/ext/filters.py:2713:9 - error: Type of parameter \"message\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message\"\ntelegram.helpers.effective_message_type\n /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/telegram/helpers.py:113:5 - error: Type of parameter \"entity\" is partially unknown\n \u00a0\u00a0Parameter type is \"Message | Update\"\n\nSymbols exported by \"telegram\": 809\n With known type: 628\n With ambiguous type: 181\n With unknown type: 0\n (Ignoring unknown types imported from other packages)\n\nOther symbols referenced but not exported by \"telegram\": 2760\n With known type: 2521\n With ambiguous type: 239\n With unknown type: 0\n\nSymbols without documentation:\n Functions without docstring: 210\n Functions without default param: 0\n Classes without docstring: 81\n\nType completeness score: 77.6%\n\nCompleted in 3.259sec\n\n\n##[error]This PR changes type completeness from 1.0 to 0.776. \u274c\n##[error]Error: The process '/opt/hostedtoolcache/Python/3.9.18/x64/bin/python' failed with exit code 1\n"}], "diff": "diff --git a/telegram/_keyboardbutton.py b/telegram/_keyboardbutton.py\nindex fde3a5d6..28f0f500 100644\n--- a/telegram/_keyboardbutton.py\n+++ b/telegram/_keyboardbutton.py\n@@ -24,9 +24,11 @@ from telegram._keyboardbuttonpolltype import KeyboardButtonPollType\n from telegram._keyboardbuttonrequest import KeyboardButtonRequestChat, KeyboardButtonRequestUsers\n from telegram._telegramobject import TelegramObject\n from telegram._utils.types import JSONDict\n-from telegram._utils.warnings import warn\n+from telegram._utils.warnings_transition import (\n+ warn_about_deprecated_arg_return_new_arg,\n+ warn_about_deprecated_attr_in_property,\n+)\n from telegram._webappinfo import WebAppInfo\n-from telegram.warnings import PTBDeprecationWarning\n \n if TYPE_CHECKING:\n from telegram import Bot\n@@ -149,19 +151,8 @@ class KeyboardButton(TelegramObject):\n *,\n api_kwargs: Optional[JSONDict] = None,\n ):\n- if request_users and request_user:\n- raise ValueError(\n- \"Only one of request_user and request_users can be specified, not both.\"\n- )\n- if request_user:\n- warn(\n- \"request_user is deprecated in favor of request_users and will be removed in \"\n- \"future versions.\",\n- PTBDeprecationWarning,\n- stacklevel=2,\n- )\n-\n super().__init__(api_kwargs=api_kwargs)\n+\n # Required\n self.text: str = text\n # Optionals\n@@ -169,7 +160,15 @@ class KeyboardButton(TelegramObject):\n self.request_location: Optional[bool] = request_location\n self.request_poll: Optional[KeyboardButtonPollType] = request_poll\n self.web_app: Optional[WebAppInfo] = web_app\n- self.request_users: Optional[KeyboardButtonRequestUsers] = request_user or request_users\n+ self.request_users: Optional[\n+ KeyboardButtonRequestUsers\n+ ] = warn_about_deprecated_arg_return_new_arg(\n+ deprecated_arg=request_user,\n+ new_arg=request_users,\n+ deprecated_arg_name=\"request_user\",\n+ new_arg_name=\"request_users\",\n+ bot_api_version=\"7.0\",\n+ )\n self.request_chat: Optional[KeyboardButtonRequestChat] = request_chat\n \n self._id_attrs = (\n@@ -192,11 +191,10 @@ class KeyboardButton(TelegramObject):\n .. deprecated:: NEXT.VERSION\n Bot API 7.0 deprecates this attribute in favor of :attr:`request_users`.\n \"\"\"\n- warn(\n- \"request_user is deprecated in favor of request_users and will be removed in future \"\n- \"versions.\",\n- PTBDeprecationWarning,\n- stacklevel=2,\n+ warn_about_deprecated_attr_in_property(\n+ deprecated_attr_name=\"request_user\",\n+ new_attr_name=\"request_users\",\n+ bot_api_version=\"7.0\",\n )\n return self.request_users\n \ndiff --git a/telegram/_keyboardbuttonrequest.py b/telegram/_keyboardbuttonrequest.py\nindex 976d4c30..c7c19aab 100644\n--- a/telegram/_keyboardbuttonrequest.py\n+++ b/telegram/_keyboardbuttonrequest.py\n@@ -23,6 +23,7 @@ from telegram._chatadministratorrights import ChatAdministratorRights\n from telegram._telegramobject import TelegramObject\n from telegram._utils.types import JSONDict\n from telegram._utils.warnings import warn\n+from telegram._utils.warnings_transition import build_deprecation_warning_message\n from telegram.warnings import PTBDeprecationWarning\n \n if TYPE_CHECKING:\n@@ -135,7 +136,12 @@ class KeyboardButtonRequestUser(KeyboardButtonRequestUsers):\n )\n \n warn(\n- \"`KeyboardButtonRequestUser` is deprecated, use `KeyboardButtonRequestUsers` instead.\",\n+ build_deprecation_warning_message(\n+ deprecated_name=\"KeyboardButtonRequestUser\",\n+ new_name=\"KeyboardButtonRequestUsers\",\n+ object_type=\"class\",\n+ bot_api_version=\"7.0\",\n+ ),\n PTBDeprecationWarning,\n stacklevel=2,\n )\ndiff --git a/telegram/_linkpreviewoptions.py b/telegram/_linkpreviewoptions.py\nindex 69a8ffef..373797b3 100644\n--- a/telegram/_linkpreviewoptions.py\n+++ b/telegram/_linkpreviewoptions.py\n@@ -86,11 +86,11 @@ class LinkPreviewOptions(TelegramObject):\n \n # Optionals\n \n- self.is_disabled = is_disabled\n- self.url = url\n- self.prefer_small_media = prefer_small_media\n- self.prefer_large_media = prefer_large_media\n- self.show_above_text = show_above_text\n+ self.is_disabled: Optional[bool] = is_disabled\n+ self.url: Optional[str] = url\n+ self.prefer_small_media: Optional[bool] = prefer_small_media\n+ self.prefer_large_media: Optional[bool] = prefer_large_media\n+ self.show_above_text: Optional[bool] = show_above_text\n \n self._id_attrs = (\n self.is_disabled,\ndiff --git a/telegram/_message.py b/telegram/_message.py\nindex bb9301c6..f5a91f51 100644\n--- a/telegram/_message.py\n+++ b/telegram/_message.py\n@@ -69,6 +69,10 @@ from telegram._utils.types import (\n ReplyMarkup,\n )\n from telegram._utils.warnings import warn\n+from telegram._utils.warnings_transition import (\n+ build_deprecation_warning_message,\n+ warn_about_deprecated_attr_in_property,\n+)\n from telegram._videochat import (\n VideoChatEnded,\n VideoChatParticipantsInvited,\n@@ -831,8 +835,12 @@ class Message(TelegramObject):\n \n if user_shared:\n warn(\n- \"`user_shared` is deprecated in favor of `users_shared and will be removed in \"\n- \"future versions.\",\n+ build_deprecation_warning_message(\n+ deprecated_name=\"user_shared\",\n+ new_name=\"users_shared\",\n+ object_type=\"parameter\",\n+ bot_api_version=\"7.0\",\n+ ),\n PTBDeprecationWarning,\n stacklevel=2,\n )\n@@ -948,11 +956,10 @@ class Message(TelegramObject):\n .. deprecated:: NEXT.VERSION\n Bot API 7.0 deprecates :attr:`user_shared` in favor of :attr:`users_shared`.\n \"\"\"\n- warn(\n- \"`user_shared` is deprecated in favor of users_shared and will be removed in future \"\n- \"versions.\",\n- PTBDeprecationWarning,\n- stacklevel=2,\n+ warn_about_deprecated_attr_in_property(\n+ deprecated_attr_name=\"user_shared\",\n+ new_attr_name=\"users_shared\",\n+ bot_api_version=\"7.0\",\n )\n return self._user_shared\n \ndiff --git a/telegram/_shared.py b/telegram/_shared.py\nindex 4b77b2ed..ba174349 100644\n--- a/telegram/_shared.py\n+++ b/telegram/_shared.py\n@@ -22,6 +22,10 @@ from typing import Optional, Sequence, Tuple\n from telegram._telegramobject import TelegramObject\n from telegram._utils.types import JSONDict\n from telegram._utils.warnings import warn\n+from telegram._utils.warnings_transition import (\n+ build_deprecation_warning_message,\n+ warn_about_deprecated_attr_in_property,\n+)\n from telegram.warnings import PTBDeprecationWarning\n \n \n@@ -96,7 +100,12 @@ class UserShared(UsersShared):\n super().__init__(request_id, (user_id,), api_kwargs=api_kwargs)\n \n warn(\n- \"`UserShared` is deprecated, use `UsersShared` instead.\",\n+ build_deprecation_warning_message(\n+ deprecated_name=\"UserShared\",\n+ new_name=\"UsersShared\",\n+ object_type=\"class\",\n+ bot_api_version=\"7.0\",\n+ ),\n PTBDeprecationWarning,\n stacklevel=2,\n )\n@@ -110,12 +119,10 @@ class UserShared(UsersShared):\n .. deprecated:: NEXT.VERSION\n Bot API 7.0 deprecates this attribute in favor of :attr:`UsersShared.user_ids`.\n \"\"\"\n-\n- warn(\n- \"`user_id` is deprecated in favor of `user_ids` and will be removed in future \"\n- \"versions.\",\n- PTBDeprecationWarning,\n- stacklevel=2,\n+ warn_about_deprecated_attr_in_property(\n+ deprecated_attr_name=\"user_id\",\n+ new_attr_name=\"user_ids\",\n+ bot_api_version=\"7.0\",\n )\n return self.user_ids[0]\n \ndiff --git a/telegram/_utils/warnings_transition.py b/telegram/_utils/warnings_transition.py\nindex c3799a12..3caca518 100644\n--- a/telegram/_utils/warnings_transition.py\n+++ b/telegram/_utils/warnings_transition.py\n@@ -29,6 +29,23 @@ from telegram._utils.warnings import warn\n from telegram.warnings import PTBDeprecationWarning\n \n \n+def build_deprecation_warning_message(\n+ deprecated_name: str,\n+ new_name: str,\n+ object_type: str,\n+ bot_api_version: str,\n+) -> str:\n+ \"\"\"Builds a warning message for the transition in API when an object is renamed.\n+\n+ Returns a warning message that can be used in `warn` function.\n+ \"\"\"\n+ return (\n+ f\"The {object_type} '{deprecated_name}' was renamed to '{new_name}' in Bot API \"\n+ f\"{bot_api_version}. We recommend using '{new_name}' instead of \"\n+ f\"'{deprecated_name}'.\"\n+ )\n+\n+\n # Narrower type hints will cause linting errors and/or circular imports.\n # We'll use `Any` here and put type hints in the calling code.\n def warn_about_deprecated_arg_return_new_arg(\n@@ -50,11 +67,15 @@ def warn_about_deprecated_arg_return_new_arg(\n different.\n \"\"\"\n if deprecated_arg and new_arg and deprecated_arg != new_arg:\n+ base_message = build_deprecation_warning_message(\n+ deprecated_name=deprecated_arg_name,\n+ new_name=new_arg_name,\n+ object_type=\"parameter\",\n+ bot_api_version=bot_api_version,\n+ )\n raise ValueError(\n f\"You passed different entities as '{deprecated_arg_name}' and '{new_arg_name}'. \"\n- f\"The parameter '{deprecated_arg_name}' was renamed to '{new_arg_name}' in Bot API \"\n- f\"{bot_api_version}. We recommend using '{new_arg_name}' instead of \"\n- f\"'{deprecated_arg_name}'.\"\n+ f\"{base_message}\"\n )\n \n if deprecated_arg:\ndiff --git a/telegram/ext/_application.py b/telegram/ext/_application.py\nindex 23fd57d4..52ce0332 100644\n--- a/telegram/ext/_application.py\n+++ b/telegram/ext/_application.py\n@@ -1133,7 +1133,7 @@ class Application(Generic[BT, CCT, UD, CD, BD, JQ], AsyncContextManager[\"Applica\n return await asyncio.create_task(coroutine)\n # If user uses generator in python 3.12+, Exception will happen and we cannot do\n # anything about it. (hence the type ignore if mypy is run on python 3.12-)\n- return await coroutine\n+ return await coroutine # type: ignore[misc]\n except Exception as exception:\n if isinstance(exception, ApplicationHandlerStop):\n warn(\ndiff --git a/telegram/ext/filters.py b/telegram/ext/filters.py\nindex e251e2fa..14c7f7cd 100644\n--- a/telegram/ext/filters.py\n+++ b/telegram/ext/filters.py\n@@ -1868,33 +1868,35 @@ class StatusUpdate:\n \n def filter(self, update: Update) -> bool:\n return bool(\n- StatusUpdate.NEW_CHAT_MEMBERS.check_update(update)\n- or StatusUpdate.LEFT_CHAT_MEMBER.check_update(update)\n- or StatusUpdate.NEW_CHAT_TITLE.check_update(update)\n- or StatusUpdate.NEW_CHAT_PHOTO.check_update(update)\n+ # keep this alphabetically sorted for easier maintenance\n+ StatusUpdate.CHAT_CREATED.check_update(update)\n+ or StatusUpdate.CHAT_SHARED.check_update(update)\n+ or StatusUpdate.CONNECTED_WEBSITE.check_update(update)\n or StatusUpdate.DELETE_CHAT_PHOTO.check_update(update)\n- or StatusUpdate.CHAT_CREATED.check_update(update)\n+ or StatusUpdate.FORUM_TOPIC_CLOSED.check_update(update)\n+ or StatusUpdate.FORUM_TOPIC_CREATED.check_update(update)\n+ or StatusUpdate.FORUM_TOPIC_EDITED.check_update(update)\n+ or StatusUpdate.FORUM_TOPIC_REOPENED.check_update(update)\n+ or StatusUpdate.GENERAL_FORUM_TOPIC_HIDDEN.check_update(update)\n+ or StatusUpdate.GENERAL_FORUM_TOPIC_UNHIDDEN.check_update(update)\n+ or StatusUpdate.GIVEAWAY_COMPLETED.check_update(update)\n+ or StatusUpdate.GIVEAWAY_CREATED.check_update(update)\n+ or StatusUpdate.LEFT_CHAT_MEMBER.check_update(update)\n or StatusUpdate.MESSAGE_AUTO_DELETE_TIMER_CHANGED.check_update(update)\n or StatusUpdate.MIGRATE.check_update(update)\n+ or StatusUpdate.NEW_CHAT_MEMBERS.check_update(update)\n+ or StatusUpdate.NEW_CHAT_PHOTO.check_update(update)\n+ or StatusUpdate.NEW_CHAT_TITLE.check_update(update)\n or StatusUpdate.PINNED_MESSAGE.check_update(update)\n- or StatusUpdate.CONNECTED_WEBSITE.check_update(update)\n or StatusUpdate.PROXIMITY_ALERT_TRIGGERED.check_update(update)\n- or StatusUpdate.VIDEO_CHAT_SCHEDULED.check_update(update)\n- or StatusUpdate.VIDEO_CHAT_STARTED.check_update(update)\n+ or StatusUpdate.USERS_SHARED.check_update(update)\n+ or StatusUpdate.USER_SHARED.check_update(update)\n or StatusUpdate.VIDEO_CHAT_ENDED.check_update(update)\n or StatusUpdate.VIDEO_CHAT_PARTICIPANTS_INVITED.check_update(update)\n+ or StatusUpdate.VIDEO_CHAT_SCHEDULED.check_update(update)\n+ or StatusUpdate.VIDEO_CHAT_STARTED.check_update(update)\n or StatusUpdate.WEB_APP_DATA.check_update(update)\n- or StatusUpdate.FORUM_TOPIC_CREATED.check_update(update)\n- or StatusUpdate.FORUM_TOPIC_CLOSED.check_update(update)\n- or StatusUpdate.FORUM_TOPIC_REOPENED.check_update(update)\n- or StatusUpdate.FORUM_TOPIC_EDITED.check_update(update)\n- or StatusUpdate.GENERAL_FORUM_TOPIC_HIDDEN.check_update(update)\n- or StatusUpdate.GENERAL_FORUM_TOPIC_UNHIDDEN.check_update(update)\n or StatusUpdate.WRITE_ACCESS_ALLOWED.check_update(update)\n- or StatusUpdate.USER_SHARED.check_update(update)\n- or StatusUpdate.CHAT_SHARED.check_update(update)\n- or StatusUpdate.GIVEAWAY_CREATED.check_update(update)\n- or StatusUpdate.GIVEAWAY_COMPLETED.check_update(update)\n )\n \n ALL = _All(name=\"filters.StatusUpdate.ALL\")\n@@ -2133,7 +2135,25 @@ class StatusUpdate:\n USER_SHARED = _UserShared(name=\"filters.StatusUpdate.USER_SHARED\")\n \"\"\"Messages that contain :attr:`telegram.Message.user_shared`.\n \n+ Warning:\n+ This will only catch the legacy :attr:`telegram.Message.user_shared` attribute, not the\n+ new :attr:`telegram.Message.users_shared` attribute!\n+\n .. versionadded:: 20.1\n+ .. deprecated:: NEXT.VERSION\n+ User :attr:`USERS_SHARED` instead.\n+ \"\"\"\n+\n+ class _UsersShared(MessageFilter):\n+ __slots__ = ()\n+\n+ def filter(self, message: Message) -> bool:\n+ return bool(message.users_shared)\n+\n+ USERS_SHARED = _UsersShared(name=\"filters.StatusUpdate.USERS_SHARED\")\n+ \"\"\"Messages that contain :attr:`telegram.Message.users_shared`.\n+\n+ .. versionadded:: NEXT.VERSION\n \"\"\"\n \n class _VideoChatEnded(MessageFilter):\ndiff --git a/tests/ext/test_filters.py b/tests/ext/test_filters.py\nindex 4801a25f..d1223b1e 100644\n--- a/tests/ext/test_filters.py\n+++ b/tests/ext/test_filters.py\n@@ -1054,10 +1054,15 @@ class TestFilters:\n assert filters.StatusUpdate.WRITE_ACCESS_ALLOWED.check_update(update)\n update.message.write_access_allowed = None\n \n- update.message.user_shared = \"user_shared\"\n+ update.message._user_shared = \"user_shared\"\n assert filters.StatusUpdate.ALL.check_update(update)\n assert filters.StatusUpdate.USER_SHARED.check_update(update)\n- update.message.user_shared = None\n+ update.message._user_shared = None\n+\n+ update.message.users_shared = \"users_shared\"\n+ assert filters.StatusUpdate.ALL.check_update(update)\n+ assert filters.StatusUpdate.USERS_SHARED.check_update(update)\n+ update.message.users_shared = None\n \n update.message.chat_shared = \"user_shared\"\n assert filters.StatusUpdate.ALL.check_update(update)\ndiff --git a/tests/test_constants.py b/tests/test_constants.py\nindex 591f5b7b..5faf8811 100644\n--- a/tests/test_constants.py\n+++ b/tests/test_constants.py\n@@ -162,6 +162,7 @@ class TestConstantsWithoutRequest:\n \"is_automatic_forward\",\n \"is_topic_message\",\n \"link\",\n+ \"link_preview_options\",\n \"media_group_id\",\n \"message_id\",\n \"message_thread_id\",\ndiff --git a/tests/test_keyboardbutton.py b/tests/test_keyboardbutton.py\nindex 532c1524..f679faa6 100644\n--- a/tests/test_keyboardbutton.py\n+++ b/tests/test_keyboardbutton.py\n@@ -106,21 +106,25 @@ class TestKeyboardButtonWithoutRequest(TestKeyboardButtonBase):\n assert none is None\n \n def test_request_user_deprecation_mutually_exclusive(self):\n- with pytest.raises(ValueError, match=\"Only one of request_user and request_users\"):\n+ with pytest.raises(ValueError, match=\"'request_user' was renamed to 'request_users'\"):\n KeyboardButton(\n \"test\",\n- request_users=KeyboardButtonRequestUsers(2),\n+ request_users=KeyboardButtonRequestUsers(1),\n request_user=KeyboardButtonRequestUsers(2),\n )\n \n def test_request_user_argument_deprecation_warning(self):\n- with pytest.warns(PTBDeprecationWarning, match=\"request_user is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning, match=\"'request_user' to 'request_users'\"\n+ ) as record:\n KeyboardButton(\"test\", request_user=KeyboardButtonRequestUsers(2))\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\n \n def test_request_user_property_deprecation_warning(self, keyboard_button):\n- with pytest.warns(PTBDeprecationWarning, match=\"request_user is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning, match=\"'request_user' to 'request_users'\"\n+ ) as record:\n assert keyboard_button.request_user is keyboard_button.request_users\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\ndiff --git a/tests/test_keyboardbuttonrequest.py b/tests/test_keyboardbuttonrequest.py\nindex 92499f22..2a70df24 100644\n--- a/tests/test_keyboardbuttonrequest.py\n+++ b/tests/test_keyboardbuttonrequest.py\n@@ -105,7 +105,10 @@ class TestKeyboardButtonRequestUserWithoutRequest:\n )\n \n def test_deprecation_warning(self):\n- with pytest.warns(PTBDeprecationWarning, match=\"User` is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning,\n+ match=\"'KeyboardButtonRequestUser' was renamed to 'KeyboardButtonRequestUsers'\",\n+ ) as record:\n KeyboardButtonRequestUser(request_id=1)\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\ndiff --git a/tests/test_message.py b/tests/test_message.py\nindex bba2fd18..6d063968 100644\n--- a/tests/test_message.py\n+++ b/tests/test_message.py\n@@ -480,13 +480,17 @@ class TestMessageWithoutRequest(TestMessageBase):\n assert hash(a) != hash(e)\n \n def test_user_shared_init_deprecation(self, message):\n- with pytest.warns(PTBDeprecationWarning, match=\"`user_shared` is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning, match=\"'user_shared' was renamed to 'users_shared'\"\n+ ) as record:\n Message(message_id=1, date=self.date, chat=self.chat, user_shared=1)\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\n \n def test_user_shared_property_deprecation(self, message):\n- with pytest.warns(PTBDeprecationWarning, match=\"`user_shared` is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning, match=\"'user_shared' to 'users_shared'\"\n+ ) as record:\n message.user_shared\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\ndiff --git a/tests/test_shared.py b/tests/test_shared.py\nindex fd2d0e50..1ea98ac5 100644\n--- a/tests/test_shared.py\n+++ b/tests/test_shared.py\n@@ -122,12 +122,14 @@ class TestUserSharedWithoutRequest(TestUsersSharedBase):\n assert set(users_signature.parameters) - set(user_signature.parameters) == {\"user_ids\"}\n \n def test_deprecation_warnings(self):\n- with pytest.warns(PTBDeprecationWarning, match=\"UserShared` is deprecated\") as record:\n+ with pytest.warns(\n+ PTBDeprecationWarning, match=\"'UserShared' was renamed to 'UsersShared'\"\n+ ) as record:\n user_shared = UserShared(request_id=1, user_id=1)\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\n \n- with pytest.warns(PTBDeprecationWarning, match=\"`user_id` is deprecated\") as record:\n+ with pytest.warns(PTBDeprecationWarning, match=\"'user_id' to 'user_ids'\") as record:\n user_shared.user_id\n \n assert record[0].filename == __file__, \"wrong stacklevel\"\n", "difficulty": "2"}
data/4f43efc.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 15, "repo_owner": "psf", "repo_name": "black", "head_branch": "dummy-change", "workflow_name": "Lint + format ourselves", "workflow_filename": "lint.yml", "workflow_path": ".github/workflows/lint.yml", "contributor": "hauntsaninja", "sha_fail": "4f43efc5b87a54547d9adb269eeae6d66ffc48df", "sha_success": "df1257fd5c0feb2f5ff382f0230ebc40e0d2d76f", "workflow": "name: Lint + format ourselves\n\non: [push, pull_request]\n\njobs:\n build:\n # We want to run on external PRs, but not on our own internal PRs as they'll be run\n # by the push to the branch. Without this if check, checks are duplicated since\n # internal PRs match both the push and pull_request events.\n if:\n github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n github.repository\n\n runs-on: ubuntu-latest\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Assert PR target is main\n if: github.event_name == 'pull_request' && github.repository == 'psf/black'\n run: |\n if [ \"$GITHUB_BASE_REF\" != \"main\" ]; then\n echo \"::error::PR targeting '$GITHUB_BASE_REF', please refile targeting 'main'.\" && exit 1\n fi\n\n - name: Set up latest Python\n uses: actions/setup-python@v5\n with:\n python-version: \"*\"\n\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n python -m pip install -e '.'\n python -m pip install tox\n\n - name: Run pre-commit hooks\n uses: pre-commit/[email protected]\n\n - name: Format ourselves\n run: |\n tox -e run_self\n", "logs": [{"step_name": "build/6_Run pre-commit hooks.txt", "log": "##[group]Run pre-commit/[email protected]\nwith:\n extra_args: --all-files\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\n##[group]Run python -m pip install pre-commit\n\u001b[36;1mpython -m pip install pre-commit\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCollecting pre-commit\n Downloading pre_commit-3.6.0-py2.py3-none-any.whl.metadata (1.3 kB)\nCollecting cfgv>=2.0.0 (from pre-commit)\n Downloading cfgv-3.4.0-py2.py3-none-any.whl.metadata (8.5 kB)\nCollecting identify>=1.0.0 (from pre-commit)\n Downloading identify-2.5.33-py2.py3-none-any.whl.metadata (4.4 kB)\nCollecting nodeenv>=0.11.1 (from pre-commit)\n Downloading nodeenv-1.8.0-py2.py3-none-any.whl.metadata (21 kB)\nCollecting pyyaml>=5.1 (from pre-commit)\n Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)\nRequirement already satisfied: virtualenv>=20.10.0 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from pre-commit) (20.25.0)\nCollecting setuptools (from nodeenv>=0.11.1->pre-commit)\n Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB)\nRequirement already satisfied: distlib<1,>=0.3.7 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (0.3.8)\nRequirement already satisfied: filelock<4,>=3.12.2 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (3.13.1)\nRequirement already satisfied: platformdirs<5,>=3.9.1 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (4.1.0)\nDownloading pre_commit-3.6.0-py2.py3-none-any.whl (204 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 204.0/204.0 kB 4.8 MB/s eta 0:00:00\nDownloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)\nDownloading identify-2.5.33-py2.py3-none-any.whl (98 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 98.9/98.9 kB 26.1 MB/s eta 0:00:00\nDownloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)\nDownloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (724 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 725.0/725.0 kB 18.4 MB/s eta 0:00:00\nUsing cached setuptools-69.0.3-py3-none-any.whl (819 kB)\nInstalling collected packages: setuptools, pyyaml, identify, cfgv, nodeenv, pre-commit\nSuccessfully installed cfgv-3.4.0 identify-2.5.33 nodeenv-1.8.0 pre-commit-3.6.0 pyyaml-6.0.1 setuptools-69.0.3\n##[group]Run python -m pip freeze --local\n\u001b[36;1mpython -m pip freeze --local\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\n-e git+https://github.com/psf/black@20a6ce49fe0d8bbf88f4953c57c82b697bfdf276#egg=black\ncachetools==5.3.2\ncfgv==3.4.0\nchardet==5.2.0\nclick==8.1.7\ncolorama==0.4.6\ndistlib==0.3.8\nfilelock==3.13.1\nidentify==2.5.33\nmypy-extensions==1.0.0\nnodeenv==1.8.0\npackaging==23.2\npathspec==0.12.1\nplatformdirs==4.1.0\npluggy==1.3.0\npre-commit==3.6.0\npyproject-api==1.6.1\nPyYAML==6.0.1\nsetuptools==69.0.3\ntox==4.11.4\nvirtualenv==20.25.0\n##[group]Run actions/cache@v3\nwith:\n path: ~/.cache/pre-commit\n key: pre-commit-3|/opt/hostedtoolcache/Python/3.12.1/x64|e783ffdd3afdd346f32828fee33795d01f66a4290c54025b0264415f0fc33b79\n enableCrossOsArchive: false\n fail-on-cache-miss: false\n lookup-only: false\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCache Size: ~46 MB (48381490 B)\n[command]/usr/bin/tar -xf /home/runner/work/_temp/9713045d-599d-4f7f-9337-3dbcd0ae79b7/cache.tzst -P -C /home/runner/work/black/black --use-compress-program unzstd\nReceived 48381490 of 48381490 (100.0%), 46.1 MBs/sec\nCache restored successfully\nCache restored from key: pre-commit-3|/opt/hostedtoolcache/Python/3.12.1/x64|e783ffdd3afdd346f32828fee33795d01f66a4290c54025b0264415f0fc33b79\n##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files\n\u001b[36;1mpre-commit run --show-diff-on-failure --color=always --all-files\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCheck pre-commit rev in example..........................................\u001b[42mPassed\u001b[m\nCheck black version in the basics example................................\u001b[42mPassed\u001b[m\nisort....................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: isort\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\nFixing /home/runner/work/black/black/src/black/linegen.py\n\nflake8...................................................................\u001b[42mPassed\u001b[m\nmypy.....................................................................\u001b[42mPassed\u001b[m\nprettier.................................................................\u001b[42mPassed\u001b[m\nfix end of files.........................................................\u001b[42mPassed\u001b[m\ntrim trailing whitespace.................................................\u001b[42mPassed\u001b[m\npre-commit hook(s) made changes.\nIf you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.\nTo run `pre-commit` as part of git workflow, use `pre-commit install`.\nAll changes made by hooks:\n\u001b[1mdiff --git a/src/black/linegen.py b/src/black/linegen.py\u001b[m\n\u001b[1mindex 325b6d8..574c89b 100644\u001b[m\n\u001b[1m--- a/src/black/linegen.py\u001b[m\n\u001b[1m+++ b/src/black/linegen.py\u001b[m\n\u001b[36m@@ -42,12 +42,12 @@\u001b[m \u001b[mfrom black.nodes import (\u001b[m\n is_atom_with_invisible_parens,\u001b[m\n is_docstring,\u001b[m\n is_empty_tuple,\u001b[m\n\u001b[31m- is_parent_function_or_class,\u001b[m\n is_lpar_token,\u001b[m\n is_multiline_string,\u001b[m\n is_name_token,\u001b[m\n is_one_sequence_between,\u001b[m\n is_one_tuple,\u001b[m\n\u001b[32m+\u001b[m\u001b[32m is_parent_function_or_class,\u001b[m\n is_rpar_token,\u001b[m\n is_stub_body,\u001b[m\n is_stub_suite,\u001b[m\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/src/black/linegen.py b/src/black/linegen.py\nindex 325b6d80..574c89b8 100644\n--- a/src/black/linegen.py\n+++ b/src/black/linegen.py\n@@ -42,12 +42,12 @@ from black.nodes import (\n is_atom_with_invisible_parens,\n is_docstring,\n is_empty_tuple,\n- is_parent_function_or_class,\n is_lpar_token,\n is_multiline_string,\n is_name_token,\n is_one_sequence_between,\n is_one_tuple,\n+ is_parent_function_or_class,\n is_rpar_token,\n is_stub_body,\n is_stub_suite,\n", "difficulty": "1"}
data/715dcdc.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 5, "repo_owner": "huggingface", "repo_name": "diffusers", "head_branch": "main", "workflow_name": "Build PR Documentation", "workflow_filename": "build_pr_documentation.yml", "workflow_path": ".github/workflows/build_pr_documentation.yml", "contributor": "antoine-scenario", "sha_fail": "715dcdc0556e0f5796ac8ed6684995d24a15c093", "sha_success": "eb48d761eefb28e96c27d1dc8041b7851a28937b", "workflow": "name: Build PR Documentation\n\non:\n pull_request:\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n cancel-in-progress: true\n\njobs:\n build:\n uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n with:\n commit_sha: ${{ github.event.pull_request.head.sha }}\n pr_number: ${{ github.event.number }}\n install_libgl1: true\n package: diffusers\n languages: en ko zh ja pt\n", "logs": [{"step_name": "build build_pr_documentation/11_Make documentation.txt", "log": "##[group]Run echo \"doc_folder has been set to diffusers/docs/source\"\n\u001b[36;1mecho \"doc_folder has been set to diffusers/docs/source\"\u001b[0m\n\u001b[36;1mcd doc-builder\u001b[0m\n\u001b[36;1margs=\"--build_dir ../build_dir --clean --version pr_6293 --html --repo_owner huggingface --repo_name diffusers --version_tag_suffix=src/\"\u001b[0m\n\u001b[36;1m\u001b[0m\n\u001b[36;1mif [ -z \"en ko zh ja pt\" ];\u001b[0m\n\u001b[36;1mthen\u001b[0m\n\u001b[36;1m echo \"languages not provided, defaulting to English\"\u001b[0m\n\u001b[36;1m doc-builder build diffusers ../diffusers/docs/source $args\u001b[0m\n\u001b[36;1melse\u001b[0m\n\u001b[36;1m IFS=', ' read -r -a langs <<< \"en ko zh ja pt\"\u001b[0m\n\u001b[36;1m for lang in \"${langs[@]}\"\u001b[0m\n\u001b[36;1m do\u001b[0m\n\u001b[36;1m echo \"Generating docs for language $lang\"\u001b[0m\n\u001b[36;1m doc-builder build diffusers ../diffusers/docs/source/$lang $args --language $lang\u001b[0m\n\u001b[36;1m done\u001b[0m\n\u001b[36;1mfi\u001b[0m\n\u001b[36;1mcd ..\u001b[0m\nshell: bash --noprofile --norc -e -o pipefail {0}\nenv:\n DIFFUSERS_SLOW_IMPORT: yes\n doc_folder: diffusers/docs/source\n package_name: diffusers\n NODE_OPTIONS: --max-old-space-size=6656\n##[endgroup]\ndoc_folder has been set to diffusers/docs/source\nGenerating docs for language en\nThe cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.\nBuilding docs for diffusers ../diffusers/docs/source/en ../build_dir/diffusers/pr_6293/en\n\n0it [00:00, ?it/s]\n0it [00:00, ?it/s]2023-12-22 13:16:26.674137: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n\nTraceback (most recent call last):\n File \"/usr/local/bin/doc-builder\", line 8, in <module>\n sys.exit(main())\n File \"/usr/local/lib/python3.8/site-packages/doc_builder/commands/doc_builder_cli.py\", line 47, in main\n args.func(args)\n File \"/usr/local/lib/python3.8/site-packages/doc_builder/commands/build.py\", line 102, in build_command\n build_doc(\n File \"/usr/local/lib/python3.8/site-packages/doc_builder/build_doc.py\", line 364, in build_doc\n package = importlib.import_module(package_name) if is_python_module else None\n File \"/usr/local/lib/python3.8/importlib/__init__.py\", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 1014, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 991, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 975, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 671, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 843, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/usr/local/lib/python3.8/site-packages/diffusers/__init__.py\", line 492, in <module>\n from .pipelines import (\n File \"/usr/local/lib/python3.8/site-packages/diffusers/pipelines/__init__.py\", line 314, in <module>\n from .auto_pipeline import (\n File \"/usr/local/lib/python3.8/site-packages/diffusers/pipelines/auto_pipeline.py\", line 22, in <module>\n from .controlnet import (\n File \"/usr/local/lib/python3.8/site-packages/diffusers/pipelines/controlnet/__init__.py\", line 59, in <module>\n from .pipeline_controlnet_sd_xl_img2img import StableDiffusionXLControlNetImg2ImgPipeline\n File \"/usr/local/lib/python3.8/site-packages/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py\", line 153, in <module>\n class StableDiffusionXLControlNetImg2ImgPipeline(\n File \"/usr/local/lib/python3.8/site-packages/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py\", line 233, in StableDiffusionXLControlNetImg2ImgPipeline\n feature_extractor: CLIPImageProcessor = None,\nNameError: name 'CLIPImageProcessor' is not defined\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py b/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py\nindex 73adb386d..f5ea3a7c0 100644\n--- a/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py\n+++ b/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py\n@@ -20,7 +20,8 @@ import numpy as np\n import PIL.Image\n import torch\n import torch.nn.functional as F\n-from transformers import CLIPTextModel, CLIPTextModelWithProjection, CLIPTokenizer\n+from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTextModelWithProjection, CLIPTokenizer, \\\n+ CLIPVisionModelWithProjection\n \n from diffusers.utils.import_utils import is_invisible_watermark_available\n \n@@ -30,7 +31,7 @@ from ...loaders import (\n TextualInversionLoaderMixin,\n IPAdapterMixin,\n )\n-from ...models import AutoencoderKL, ControlNetModel, UNet2DConditionModel\n+from ...models import AutoencoderKL, ControlNetModel, ImageProjection, UNet2DConditionModel\n from ...models.attention_processor import (\n AttnProcessor2_0,\n LoRAAttnProcessor2_0,\n", "difficulty": "2"}
data/72cd8be.json ADDED
The diff for this file is too large to render. See raw diff
 
data/79f4668.json ADDED
The diff for this file is too large to render. See raw diff
 
data/cc2ad92.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 17, "repo_owner": "scrapy", "repo_name": "scrapy", "head_branch": "master", "workflow_name": "Checks", "workflow_filename": "checks.yml", "workflow_path": ".github/workflows/checks.yml", "contributor": "Chenwei-Niu", "sha_fail": "cc2ad923f94d2f5485c20f594db56e2540024ae0", "sha_success": "39ee8d1ee2decce995c4dafc5da5a6fb55f478c9", "workflow": "name: Checks\non: [push, pull_request]\n\nconcurrency:\n group: ${{github.workflow}}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n checks:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: false\n matrix:\n include:\n - python-version: \"3.12\"\n env:\n TOXENV: pylint\n - python-version: 3.8\n env:\n TOXENV: typing\n - python-version: \"3.11\" # Keep in sync with .readthedocs.yml\n env:\n TOXENV: docs\n - python-version: \"3.12\"\n env:\n TOXENV: twinecheck\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Run check\n env: ${{ matrix.env }}\n run: |\n pip install -U tox\n tox\n\n pre-commit:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: pre-commit/[email protected]\n", "logs": [{"step_name": "checks (3.8, typing)/4_Run check.txt", "log": "##[group]Run pip install -U tox\n\u001b[36;1mpip install -U tox\u001b[0m\n\u001b[36;1mtox\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n TOXENV: typing\n##[endgroup]\nCollecting tox\n Obtaining dependency information for tox from https://files.pythonhosted.org/packages/f5/f9/963052e8b825645c54262dce7b7c88691505e3b9ee10a3e3667711eaaf21/tox-4.11.3-py3-none-any.whl.metadata\n Downloading tox-4.11.3-py3-none-any.whl.metadata (5.0 kB)\nCollecting cachetools>=5.3.1 (from tox)\n Obtaining dependency information for cachetools>=5.3.1 from https://files.pythonhosted.org/packages/a9/c9/c8a7710f2cedcb1db9224fdd4d8307c9e48cbddc46c18b515fefc0f1abbe/cachetools-5.3.1-py3-none-any.whl.metadata\n Downloading cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)\nCollecting chardet>=5.2 (from tox)\n Obtaining dependency information for chardet>=5.2 from https://files.pythonhosted.org/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl.metadata\n Downloading chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)\nCollecting colorama>=0.4.6 (from tox)\n Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)\nCollecting filelock>=3.12.3 (from tox)\n Obtaining dependency information for filelock>=3.12.3 from https://files.pythonhosted.org/packages/5e/5d/97afbafd9d584ff1b45fcb354a479a3609bd97f912f8f1f6c563cb1fae21/filelock-3.12.4-py3-none-any.whl.metadata\n Downloading filelock-3.12.4-py3-none-any.whl.metadata (2.8 kB)\nCollecting packaging>=23.1 (from tox)\n Obtaining dependency information for packaging>=23.1 from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata\n Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)\nCollecting platformdirs>=3.10 (from tox)\n Obtaining dependency information for platformdirs>=3.10 from https://files.pythonhosted.org/packages/56/29/3ec311dc18804409ecf0d2b09caa976f3ae6215559306b5b530004e11156/platformdirs-3.11.0-py3-none-any.whl.metadata\n Downloading platformdirs-3.11.0-py3-none-any.whl.metadata (11 kB)\nCollecting pluggy>=1.3 (from tox)\n Obtaining dependency information for pluggy>=1.3 from https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl.metadata\n Downloading pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)\nCollecting pyproject-api>=1.6.1 (from tox)\n Obtaining dependency information for pyproject-api>=1.6.1 from https://files.pythonhosted.org/packages/cf/b4/39eea50542e50e93876ebc09c4349a9c9eee9f6b9c9d30f88c7dc5433db8/pyproject_api-1.6.1-py3-none-any.whl.metadata\n Downloading pyproject_api-1.6.1-py3-none-any.whl.metadata (2.8 kB)\nCollecting tomli>=2.0.1 (from tox)\n Downloading tomli-2.0.1-py3-none-any.whl (12 kB)\nCollecting virtualenv>=20.24.3 (from tox)\n Obtaining dependency information for virtualenv>=20.24.3 from https://files.pythonhosted.org/packages/4e/8b/f0d3a468c0186c603217a6656ea4f49259630e8ed99558501d92f6ff7dc3/virtualenv-20.24.5-py3-none-any.whl.metadata\n Downloading virtualenv-20.24.5-py3-none-any.whl.metadata (4.5 kB)\nCollecting distlib<1,>=0.3.7 (from virtualenv>=20.24.3->tox)\n Obtaining dependency information for distlib<1,>=0.3.7 from https://files.pythonhosted.org/packages/43/a0/9ba967fdbd55293bacfc1507f58e316f740a3b231fc00e3d86dc39bc185a/distlib-0.3.7-py2.py3-none-any.whl.metadata\n Downloading distlib-0.3.7-py2.py3-none-any.whl.metadata (5.1 kB)\nDownloading tox-4.11.3-py3-none-any.whl (153 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 153.8/153.8 kB 19.6 MB/s eta 0:00:00\nDownloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)\nDownloading chardet-5.2.0-py3-none-any.whl (199 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 199.4/199.4 kB 54.3 MB/s eta 0:00:00\nDownloading filelock-3.12.4-py3-none-any.whl (11 kB)\nDownloading packaging-23.2-py3-none-any.whl (53 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 53.0/53.0 kB 18.9 MB/s eta 0:00:00\nDownloading platformdirs-3.11.0-py3-none-any.whl (17 kB)\nDownloading pluggy-1.3.0-py3-none-any.whl (18 kB)\nDownloading pyproject_api-1.6.1-py3-none-any.whl (12 kB)\nDownloading virtualenv-20.24.5-py3-none-any.whl (3.7 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 3.7/3.7 MB 101.6 MB/s eta 0:00:00\nDownloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 468.9/468.9 kB 83.7 MB/s eta 0:00:00\nInstalling collected packages: distlib, tomli, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox\nSuccessfully installed cachetools-5.3.1 chardet-5.2.0 colorama-0.4.6 distlib-0.3.7 filelock-3.12.4 packaging-23.2 platformdirs-3.11.0 pluggy-1.3.0 pyproject-api-1.6.1 tomli-2.0.1 tox-4.11.3 virtualenv-20.24.5\n\n[notice] A new release of pip is available: 23.0.1 -> 23.3\n[notice] To update, run: pip install --upgrade pip\ntyping: install_deps> python -I -m pip install -ctests/upper-constraints.txt mypy==1.5.1 types-attrs==19.1.0 types-lxml==2023.3.28 types-Pillow==10.0.0.3 types-Pygments==2.16.0.0 types-pyOpenSSL==23.2.0.2 types-setuptools==68.2.0.0 typing-extensions==4.7.1 'w3lib>=2.1.2'\n.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel\n.pkg: _optional_hooks> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: get_requires_for_build_sdist> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: get_requires_for_build_wheel> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: install_requires_for_build_wheel> python -I -m pip install wheel\n.pkg: freeze> python -m pip freeze --all\n.pkg: pip==23.2.1,setuptools==68.2.0,wheel==0.41.2\n.pkg: prepare_metadata_for_build_wheel> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n.pkg: build_sdist> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\ntyping: install_package_deps> python -I -m pip install -ctests/upper-constraints.txt 'PyDispatcher>=2.0.5; platform_python_implementation == \"CPython\"' 'PyPyDispatcher>=2.1.0; platform_python_implementation == \"PyPy\"' 'Twisted>=18.9.0' 'cryptography>=36.0.0' 'cssselect>=0.9.1' 'itemadapter>=0.1.0' 'itemloaders>=1.0.1' 'lxml>=4.4.1' packaging 'parsel>=1.5.0' 'protego>=0.1.15' 'pyOpenSSL>=21.0.0' 'queuelib>=1.4.2' 'service-identity>=18.1.0' setuptools tldextract 'w3lib>=1.17.0' 'zope.interface>=5.1.0'\ntyping: install_package> python -I -m pip install -ctests/upper-constraints.txt --force-reinstall --no-deps /home/runner/work/scrapy/scrapy/.tox/.tmp/package/1/Scrapy-2.11.0.tar.gz\ntyping: freeze> python -m pip freeze --all\ntyping: attrs==23.1.0,Automat==22.10.0,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,constantly==15.1.0,cryptography==41.0.4,cssselect==1.2.0,filelock==3.12.4,hyperlink==21.0.0,idna==3.4,incremental==22.10.0,itemadapter==0.8.0,itemloaders==1.1.0,jmespath==1.0.1,lxml==4.9.3,mypy==1.5.1,mypy-extensions==1.0.0,packaging==23.2,parsel==1.8.1,pip==23.3,Protego==0.3.0,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,PyDispatcher==2.0.7,pyOpenSSL==23.2.0,queuelib==1.6.2,requests==2.31.0,requests-file==1.5.1,Scrapy @ file:///home/runner/work/scrapy/scrapy/.tox/.tmp/package/1/Scrapy-2.11.0.tar.gz#sha256=4d445cc983c6a263ec00575a9fe7de7dc03f7e00eedb8629eb85077c420d42e7,service-identity==23.1.0,setuptools==68.2.2,six==1.16.0,tldextract==5.0.1,tomli==2.0.1,Twisted==23.8.0,types-attrs==19.1.0,types-beautifulsoup4==4.12.0.6,types-docutils==0.20.0.3,types-html5lib==1.1.11.15,types-lxml==2023.3.28,types-Pillow==10.0.0.3,types-Pygments==2.16.0.0,types-pyOpenSSL==23.2.0.2,types-setuptools==68.2.0.0,typing_extensions==4.7.1,urllib3==2.0.7,w3lib==2.1.2,wheel==0.41.2,zope.interface==6.1\ntyping: commands[0]> mypy scrapy tests\nscrapy/utils/log.py:244: error: Incompatible return value type (got \"Tuple[Any, Optional[Any], Any]\", expected \"Tuple[int, str, Dict[Any, Any]]\") [return-value]\nFound 1 error in 1 file (checked 338 source files)\ntyping: exit 1 (10.57 seconds) /home/runner/work/scrapy/scrapy> mypy scrapy tests pid=1884\n.pkg: _exit> python /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__\n typing: FAIL code 1 (31.11=setup[20.53]+cmd[10.57] seconds)\n evaluation failed :( (31.27 seconds)\n##[error]Process completed with exit code 1.\n"}, {"step_name": "pre-commit/3_Run [email protected]", "log": "##[group]Run pre-commit/[email protected]\nwith:\n extra_args: --all-files\n##[endgroup]\n##[group]Run python -m pip install pre-commit\n\u001b[36;1mpython -m pip install pre-commit\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nDefaulting to user installation because normal site-packages is not writeable\nCollecting pre-commit\n Downloading pre_commit-3.5.0-py2.py3-none-any.whl (203 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 203.7/203.7 KB 3.7 MB/s eta 0:00:00\nCollecting identify>=1.0.0\n Downloading identify-2.5.30-py2.py3-none-any.whl (98 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 98.9/98.9 KB 20.1 MB/s eta 0:00:00\nRequirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from pre-commit) (5.4.1)\nCollecting cfgv>=2.0.0\n Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)\nCollecting virtualenv>=20.10.0\n Downloading virtualenv-20.24.5-py3-none-any.whl (3.7 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 3.7/3.7 MB 69.0 MB/s eta 0:00:00\nCollecting nodeenv>=0.11.1\n Downloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)\nRequirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from nodeenv>=0.11.1->pre-commit) (59.6.0)\nCollecting filelock<4,>=3.12.2\n Downloading filelock-3.12.4-py3-none-any.whl (11 kB)\nCollecting distlib<1,>=0.3.7\n Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 468.9/468.9 KB 57.0 MB/s eta 0:00:00\nCollecting platformdirs<4,>=3.9.1\n Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)\nInstalling collected packages: distlib, platformdirs, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit\nSuccessfully installed cfgv-3.4.0 distlib-0.3.7 filelock-3.12.4 identify-2.5.30 nodeenv-1.8.0 platformdirs-3.11.0 pre-commit-3.5.0 virtualenv-20.24.5\n##[group]Run python -m pip freeze --local\n\u001b[36;1mpython -m pip freeze --local\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nargcomplete==3.1.2\ncfgv==3.4.0\ndistlib==0.3.7\nfilelock==3.12.4\nidentify==2.5.30\nnodeenv==1.8.0\npackaging==23.2\npipx==1.2.0\nplatformdirs==3.11.0\npre-commit==3.5.0\nuserpath==1.9.1\nvirtualenv==20.24.5\n##[group]Run actions/cache@v3\nwith:\n path: ~/.cache/pre-commit\n key: pre-commit-3||7a8fe885594aed9a90fd5938b4bb49b65732538a44c08aad3d6ea69d9d0cf64c\n enableCrossOsArchive: false\n fail-on-cache-miss: false\n lookup-only: false\n##[endgroup]\nCache Size: ~33 MB (34938818 B)\n[command]/usr/bin/tar -xf /home/runner/work/_temp/2e73504e-c13e-4da4-97ff-45c557d92a27/cache.tzst -P -C /home/runner/work/scrapy/scrapy --use-compress-program unzstd\nReceived 34938818 of 34938818 (100.0%), 33.3 MBs/sec\nCache restored successfully\nCache restored from key: pre-commit-3||7a8fe885594aed9a90fd5938b4bb49b65732538a44c08aad3d6ea69d9d0cf64c\n##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files\n\u001b[36;1mpre-commit run --show-diff-on-failure --color=always --all-files\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nbandit...................................................................\u001b[42mPassed\u001b[m\nflake8...................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: flake8\u001b[m\n\u001b[2m- exit code: 1\u001b[m\n\n\u001b[1mscrapy/utils/response.py\u001b[m\u001b[36m:\u001b[m17\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mF401\u001b[m 'scrapy.utils.decorators.deprecated' imported but unused\n\u001b[1mtests/test_downloadermiddleware_stats.py\u001b[m\u001b[36m:\u001b[m12\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mE302\u001b[m expected 2 blank lines, found 1\n\u001b[1mtests/test_utils_response.py\u001b[m\u001b[36m:\u001b[m2\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mF401\u001b[m 'warnings' imported but unused\n\u001b[1mtests/test_utils_response.py\u001b[m\u001b[36m:\u001b[m6\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mF401\u001b[m 'scrapy.exceptions.ScrapyDeprecationWarning' imported but unused\n\nblack....................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: black\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\n\u001b[1mreformatted tests/test_downloadermiddleware_stats.py\u001b[0m\n\n\u001b[1mAll done! \u2728 \ud83c\udf70 \u2728\u001b[0m\n\u001b[34m\u001b[1m1 file \u001b[0m\u001b[1mreformatted\u001b[0m, \u001b[34m345 files \u001b[0mleft unchanged.\n\nisort....................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: isort\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\nFixing /home/runner/work/scrapy/scrapy/tests/test_downloadermiddleware_stats.py\n\nblacken-docs.............................................................\u001b[42mPassed\u001b[m\npre-commit hook(s) made changes.\nIf you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.\nTo run `pre-commit` as part of git workflow, use `pre-commit install`.\nAll changes made by hooks:\n\u001b[1mdiff --git a/tests/test_downloadermiddleware_stats.py b/tests/test_downloadermiddleware_stats.py\u001b[m\n\u001b[1mindex 766b965..eda5a0a 100644\u001b[m\n\u001b[1m--- a/tests/test_downloadermiddleware_stats.py\u001b[m\n\u001b[1m+++ b/tests/test_downloadermiddleware_stats.py\u001b[m\n\u001b[36m@@ -6,8 +6,9 @@\u001b[m \u001b[mfrom scrapy.downloadermiddlewares.stats import DownloaderStats\u001b[m\n from scrapy.exceptions import ScrapyDeprecationWarning\u001b[m\n from scrapy.http import Request, Response\u001b[m\n from scrapy.spiders import Spider\u001b[m\n\u001b[31m-from scrapy.utils.test import get_crawler\u001b[m\n from scrapy.utils.python import to_bytes\u001b[m\n\u001b[32m+\u001b[m\u001b[32mfrom scrapy.utils.test import get_crawler\u001b[m\n\u001b[32m+\u001b[m\n \u001b[m\n class MyException(Exception):\u001b[m\n pass\u001b[m\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst\nindex a8e5b23bf..1abbc4968 100644\n--- a/docs/topics/downloader-middleware.rst\n+++ b/docs/topics/downloader-middleware.rst\n@@ -1039,8 +1039,8 @@ RobotsTxtMiddleware\n \n * :ref:`Protego <protego-parser>` (default)\n * :ref:`RobotFileParser <python-robotfileparser>`\n- * :ref:`Reppy <reppy-parser>`\n * :ref:`Robotexclusionrulesparser <rerp-parser>`\n+ * :ref:`Reppy <reppy-parser>` (deprecated)\n \n You can change the robots.txt_ parser with the :setting:`ROBOTSTXT_PARSER`\n setting. Or you can also :ref:`implement support for a new parser <support-for-new-robots-parser>`.\n@@ -1133,6 +1133,7 @@ In order to use this parser:\n \n .. warning:: `Upstream issue #122\n <https://github.com/seomoz/reppy/issues/122>`_ prevents reppy usage in Python 3.9+.\n+ Because of this the Reppy parser is deprecated.\n \n * Set :setting:`ROBOTSTXT_PARSER` setting to\n ``scrapy.robotstxt.ReppyRobotParser``\ndiff --git a/scrapy/robotstxt.py b/scrapy/robotstxt.py\nindex 604b5e314..5c5ac4e41 100644\n--- a/scrapy/robotstxt.py\n+++ b/scrapy/robotstxt.py\n@@ -1,7 +1,9 @@\n import logging\n import sys\n from abc import ABCMeta, abstractmethod\n+from warnings import warn\n \n+from scrapy.exceptions import ScrapyDeprecationWarning\n from scrapy.utils.python import to_unicode\n \n logger = logging.getLogger(__name__)\n@@ -79,6 +81,7 @@ class PythonRobotParser(RobotParser):\n \n class ReppyRobotParser(RobotParser):\n def __init__(self, robotstxt_body, spider):\n+ warn(\"ReppyRobotParser is deprecated.\", ScrapyDeprecationWarning, stacklevel=2)\n from reppy.robots import Robots\n \n self.spider = spider\ndiff --git a/scrapy/utils/log.py b/scrapy/utils/log.py\nindex 276c62a87..fdea46a3d 100644\n--- a/scrapy/utils/log.py\n+++ b/scrapy/utils/log.py\n@@ -235,8 +235,15 @@ def logformatter_adapter(logkws: dict) -> Tuple[int, str, dict]:\n if not {\"level\", \"msg\", \"args\"} <= set(logkws):\n warnings.warn(\"Missing keys in LogFormatter method\", ScrapyDeprecationWarning)\n \n+ if \"format\" in logkws:\n+ warnings.warn(\n+ \"`format` key in LogFormatter methods has been \"\n+ \"deprecated, use `msg` instead\",\n+ ScrapyDeprecationWarning,\n+ )\n+\n level = logkws.get(\"level\", logging.INFO)\n- message = logkws.get(\"msg\")\n+ message = logkws.get(\"format\", logkws.get(\"msg\"))\n # NOTE: This also handles 'args' being an empty dict, that case doesn't\n # play well in logger.log calls\n args = logkws if not logkws.get(\"args\") else logkws[\"args\"]\ndiff --git a/scrapy/utils/response.py b/scrapy/utils/response.py\nindex be51b0bee..c540d6278 100644\n--- a/scrapy/utils/response.py\n+++ b/scrapy/utils/response.py\n@@ -55,6 +55,25 @@ def response_status_message(status: Union[bytes, float, int, str]) -> str:\n return f\"{status_int} {to_unicode(message)}\"\n \n \n+@deprecated\n+def response_httprepr(response: Response) -> bytes:\n+ \"\"\"Return raw HTTP representation (as bytes) of the given response. This\n+ is provided only for reference, since it's not the exact stream of bytes\n+ that was received (that's not exposed by Twisted).\n+ \"\"\"\n+ values = [\n+ b\"HTTP/1.1 \",\n+ to_bytes(str(response.status)),\n+ b\" \",\n+ to_bytes(http.RESPONSES.get(response.status, b\"\")),\n+ b\"\\r\\n\",\n+ ]\n+ if response.headers:\n+ values.extend([response.headers.to_string(), b\"\\r\\n\"])\n+ values.extend([b\"\\r\\n\", response.body])\n+ return b\"\".join(values)\n+\n+\n def open_in_browser(\n response: Union[\n \"scrapy.http.response.html.HtmlResponse\",\ndiff --git a/tests/test_downloadermiddleware_stats.py b/tests/test_downloadermiddleware_stats.py\nindex 766b96521..39dfe9ab5 100644\n--- a/tests/test_downloadermiddleware_stats.py\n+++ b/tests/test_downloadermiddleware_stats.py\n@@ -6,8 +6,9 @@ from scrapy.downloadermiddlewares.stats import DownloaderStats\n from scrapy.exceptions import ScrapyDeprecationWarning\n from scrapy.http import Request, Response\n from scrapy.spiders import Spider\n+from scrapy.utils.response import response_httprepr\n from scrapy.utils.test import get_crawler\n-from scrapy.utils.python import to_bytes\n+\n \n class MyException(Exception):\n pass\n@@ -55,7 +56,7 @@ class TestDownloaderStats(TestCase):\n self.mw.process_response(self.req, test_response, self.spider)\n with warnings.catch_warnings():\n warnings.simplefilter(\"ignore\", ScrapyDeprecationWarning)\n- resp_size = to_bytes(test_response)\n+ resp_size = len(response_httprepr(test_response))\n self.assertStatsEqual(\"downloader/response_bytes\", resp_size)\n \n def test_process_exception(self):\ndiff --git a/tests/test_utils_response.py b/tests/test_utils_response.py\nindex d45358d9a..80e15a60f 100644\n--- a/tests/test_utils_response.py\n+++ b/tests/test_utils_response.py\n@@ -10,6 +10,7 @@ from scrapy.utils.response import (\n get_base_url,\n get_meta_refresh,\n open_in_browser,\n+ response_httprepr,\n response_status_message,\n )\n \n@@ -19,6 +20,35 @@ __doctests__ = [\"scrapy.utils.response\"]\n class ResponseUtilsTest(unittest.TestCase):\n dummy_response = TextResponse(url=\"http://example.org/\", body=b\"dummy_response\")\n \n+ def test_response_httprepr(self):\n+ with warnings.catch_warnings():\n+ warnings.simplefilter(\"ignore\", ScrapyDeprecationWarning)\n+\n+ r1 = Response(\"http://www.example.com\")\n+ self.assertEqual(response_httprepr(r1), b\"HTTP/1.1 200 OK\\r\\n\\r\\n\")\n+\n+ r1 = Response(\n+ \"http://www.example.com\",\n+ status=404,\n+ headers={\"Content-type\": \"text/html\"},\n+ body=b\"Some body\",\n+ )\n+ self.assertEqual(\n+ response_httprepr(r1),\n+ b\"HTTP/1.1 404 Not Found\\r\\nContent-Type: text/html\\r\\n\\r\\nSome body\",\n+ )\n+\n+ r1 = Response(\n+ \"http://www.example.com\",\n+ status=6666,\n+ headers={\"Content-type\": \"text/html\"},\n+ body=b\"Some body\",\n+ )\n+ self.assertEqual(\n+ response_httprepr(r1),\n+ b\"HTTP/1.1 6666 \\r\\nContent-Type: text/html\\r\\n\\r\\nSome body\",\n+ )\n+\n def test_open_in_browser(self):\n url = \"http:///www.example.com/some/page.html\"\n body = b\"<html> <head> <title>test page</title> </head> <body>test body</body> </html>\"\n", "difficulty": "1"}
data/cdfe3ca.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 16, "repo_owner": "scrapy", "repo_name": "scrapy", "head_branch": "master", "workflow_name": "Checks", "workflow_filename": "checks.yml", "workflow_path": ".github/workflows/checks.yml", "contributor": "pyvadev", "sha_fail": "cdfe3ca519dc8d1c3add855c05bb8f56ef25ae84", "sha_success": "731f7495563591f1b76b1b2ae83f07d2239b7897", "workflow": "name: Checks\non: [push, pull_request]\n\nconcurrency:\n group: ${{github.workflow}}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n checks:\n runs-on: ubuntu-latest\n strategy:\n fail-fast: false\n matrix:\n include:\n - python-version: \"3.12\"\n env:\n TOXENV: pylint\n - python-version: 3.8\n env:\n TOXENV: typing\n - python-version: \"3.11\" # Keep in sync with .readthedocs.yml\n env:\n TOXENV: docs\n - python-version: \"3.12\"\n env:\n TOXENV: twinecheck\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Run check\n env: ${{ matrix.env }}\n run: |\n pip install -U tox\n tox\n\n pre-commit:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - uses: pre-commit/[email protected]\n", "logs": [{"step_name": "pre-commit/3_Run [email protected]", "log": "##[group]Run pre-commit/[email protected]\nwith:\n extra_args: --all-files\n##[endgroup]\n##[group]Run python -m pip install pre-commit\n\u001b[36;1mpython -m pip install pre-commit\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nDefaulting to user installation because normal site-packages is not writeable\nCollecting pre-commit\n Downloading pre_commit-3.5.0-py2.py3-none-any.whl (203 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 203.7/203.7 KB 5.6 MB/s eta 0:00:00\nCollecting virtualenv>=20.10.0\n Downloading virtualenv-20.24.7-py3-none-any.whl (3.8 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 3.8/3.8 MB 16.4 MB/s eta 0:00:00\nRequirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from pre-commit) (5.4.1)\nCollecting identify>=1.0.0\n Downloading identify-2.5.32-py2.py3-none-any.whl (98 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 98.9/98.9 KB 30.7 MB/s eta 0:00:00\nCollecting cfgv>=2.0.0\n Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)\nCollecting nodeenv>=0.11.1\n Downloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)\nRequirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from nodeenv>=0.11.1->pre-commit) (59.6.0)\nCollecting platformdirs<5,>=3.9.1\n Downloading platformdirs-4.0.0-py3-none-any.whl (17 kB)\nCollecting filelock<4,>=3.12.2\n Downloading filelock-3.13.1-py3-none-any.whl (11 kB)\nCollecting distlib<1,>=0.3.7\n Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 468.9/468.9 KB 28.3 MB/s eta 0:00:00\nInstalling collected packages: distlib, platformdirs, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit\nSuccessfully installed cfgv-3.4.0 distlib-0.3.7 filelock-3.13.1 identify-2.5.32 nodeenv-1.8.0 platformdirs-4.0.0 pre-commit-3.5.0 virtualenv-20.24.7\n##[group]Run python -m pip freeze --local\n\u001b[36;1mpython -m pip freeze --local\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nargcomplete==3.1.6\ncfgv==3.4.0\ndistlib==0.3.7\nfilelock==3.13.1\nidentify==2.5.32\nnodeenv==1.8.0\npackaging==23.2\npipx==1.2.1\nplatformdirs==4.0.0\npre-commit==3.5.0\nuserpath==1.9.1\nvirtualenv==20.24.7\n##[group]Run actions/cache@v3\nwith:\n path: ~/.cache/pre-commit\n key: pre-commit-3||7a8fe885594aed9a90fd5938b4bb49b65732538a44c08aad3d6ea69d9d0cf64c\n enableCrossOsArchive: false\n fail-on-cache-miss: false\n lookup-only: false\n##[endgroup]\nCache Size: ~33 MB (34938818 B)\n[command]/usr/bin/tar -xf /home/runner/work/_temp/a467b59a-7374-4fce-b8ee-234d26fbaca7/cache.tzst -P -C /home/runner/work/scrapy/scrapy --use-compress-program unzstd\nReceived 34938818 of 34938818 (100.0%), 33.3 MBs/sec\nCache restored successfully\nCache restored from key: pre-commit-3||7a8fe885594aed9a90fd5938b4bb49b65732538a44c08aad3d6ea69d9d0cf64c\n##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files\n\u001b[36;1mpre-commit run --show-diff-on-failure --color=always --all-files\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\n##[endgroup]\nbandit...................................................................\u001b[42mPassed\u001b[m\nflake8...................................................................\u001b[42mPassed\u001b[m\nblack....................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: black\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\n\u001b[1mreformatted scrapy/cmdline.py\u001b[0m\n\n\u001b[1mAll done! \u2728 \ud83c\udf70 \u2728\u001b[0m\n\u001b[34m\u001b[1m1 file \u001b[0m\u001b[1mreformatted\u001b[0m, \u001b[34m340 files \u001b[0mleft unchanged.\n\nisort....................................................................\u001b[42mPassed\u001b[m\nblacken-docs.............................................................\u001b[42mPassed\u001b[m\npre-commit hook(s) made changes.\nIf you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.\nTo run `pre-commit` as part of git workflow, use `pre-commit install`.\nAll changes made by hooks:\n\u001b[1mdiff --git a/scrapy/cmdline.py b/scrapy/cmdline.py\u001b[m\n\u001b[1mindex 761f9df..69e4f79 100644\u001b[m\n\u001b[1m--- a/scrapy/cmdline.py\u001b[m\n\u001b[1m+++ b/scrapy/cmdline.py\u001b[m\n\u001b[36m@@ -72,7 +72,7 @@\u001b[m \u001b[mdef _get_commands_dict(settings, inproject):\u001b[m\n \u001b[m\n def _pop_command_name(argv):\u001b[m\n for i, v in enumerate(argv):\u001b[m\n\u001b[31m- if v.startswith('-'):\u001b[m\n\u001b[32m+\u001b[m\u001b[32m if v.startswith(\"-\"):\u001b[m\n continue\u001b[m\n return argv.pop(i)\u001b[m\n \u001b[m\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst\nindex adf3d0f4a..8edf710bc 100644\n--- a/docs/topics/request-response.rst\n+++ b/docs/topics/request-response.rst\n@@ -193,18 +193,47 @@ Request objects\n :meth:`replace`.\n \n .. attribute:: Request.meta\n-\n- A dict that contains arbitrary metadata for this request. This dict is\n- empty for new Requests, and is usually populated by different Scrapy\n- components (extensions, middlewares, etc). So the data contained in this\n- dict depends on the extensions you have enabled.\n-\n- See :ref:`topics-request-meta` for a list of special meta keys\n- recognized by Scrapy.\n-\n- This dict is :doc:`shallow copied <library/copy>` when the request is\n- cloned using the ``copy()`` or ``replace()`` methods, and can also be\n- accessed, in your spider, from the ``response.meta`` attribute.\n+ :value: {}\n+\n+ A dictionary of arbitrary metadata for the request.\n+\n+ You may extend request metadata as you see fit.\n+\n+ Request metadata can also be accessed through the\n+ :attr:`~scrapy.http.Response.meta` attribute of a response.\n+\n+ To pass data from one spider callback to another, consider using\n+ :attr:`cb_kwargs` instead. However, request metadata may be the right\n+ choice in certain scenarios, such as to maintain some debugging data\n+ across all follow-up requests (e.g. the source URL).\n+\n+ A common use of request metadata is to define request-specific\n+ parameters for Scrapy components (extensions, middlewares, etc.). For\n+ example, if you set ``dont_retry`` to ``True``,\n+ :class:`~scrapy.downloadermiddlewares.retry.RetryMiddleware` will never\n+ retry that request, even if it fails. See :ref:`topics-request-meta`.\n+\n+ You may also use request metadata in your custom Scrapy components, for\n+ example, to keep request state information relevant to your component.\n+ For example,\n+ :class:`~scrapy.downloadermiddlewares.retry.RetryMiddleware` uses the\n+ ``retry_times`` metadata key to keep track of how many times a request\n+ has been retried so far.\n+\n+ Copying all the metadata of a previous request into a new, follow-up\n+ request in a spider callback is a bad practice, because request\n+ metadata may include metadata set by Scrapy components that is not\n+ meant to be copied into other requests. For example, copying the\n+ ``retry_times`` metadata key into follow-up requests can lower the\n+ amount of retries allowed for those follow-up requests.\n+\n+ You should only copy all request metadata from one request to another\n+ if the new request is meant to replace the old request, as is often the\n+ case when returning a request from a :ref:`downloader middleware\n+ <topics-downloader-middleware>` method.\n+\n+ Also mind that the :meth:`copy` and :meth:`replace` request methods\n+ :doc:`shallow-copy <library/copy>` request metadata.\n \n .. attribute:: Request.cb_kwargs\n \ndiff --git a/scrapy/cmdline.py b/scrapy/cmdline.py\nindex 761f9df83..6580ba9ce 100644\n--- a/scrapy/cmdline.py\n+++ b/scrapy/cmdline.py\n@@ -71,10 +71,12 @@ def _get_commands_dict(settings, inproject):\n \n \n def _pop_command_name(argv):\n- for i, v in enumerate(argv):\n- if v.startswith('-'):\n- continue\n- return argv.pop(i)\n+ i = 0\n+ for arg in argv[1:]:\n+ if not arg.startswith(\"-\"):\n+ del argv[i]\n+ return arg\n+ i += 1\n \n \n def _print_header(settings, inproject):\n@@ -86,11 +88,12 @@ def _print_header(settings, inproject):\n print(f\"Scrapy {version} - no active project\\n\")\n \n \n-def _print_commands(settings, inproject, cmds):\n+def _print_commands(settings, inproject):\n _print_header(settings, inproject)\n print(\"Usage:\")\n print(\" scrapy <command> [options] [args]\\n\")\n print(\"Available commands:\")\n+ cmds = _get_commands_dict(settings, inproject)\n for cmdname, cmdclass in sorted(cmds.items()):\n print(f\" {cmdname:<13} {cmdclass.short_desc()}\")\n if not inproject:\n@@ -106,7 +109,6 @@ def _print_unknown_command(settings, cmdname, inproject):\n print('Use \"scrapy\" to see available commands')\n \n \n-# TODO: Confusion, can be improved.\n def _run_print_help(parser, func, *a, **kw):\n try:\n func(*a, **kw)\n@@ -134,9 +136,9 @@ def execute(argv=None, settings=None):\n \n inproject = inside_project()\n cmds = _get_commands_dict(settings, inproject)\n- cmdname = _pop_command_name(argv[1:])\n+ cmdname = _pop_command_name(argv)\n if not cmdname:\n- _print_commands(settings, inproject, cmds)\n+ _print_commands(settings, inproject)\n sys.exit(0)\n elif cmdname not in cmds:\n _print_unknown_command(settings, cmdname, inproject)\n@@ -152,7 +154,7 @@ def execute(argv=None, settings=None):\n settings.setdict(cmd.default_settings, priority=\"command\")\n cmd.settings = settings\n cmd.add_options(parser)\n- opts, args = parser.parse_known_args(argv[1:])\n+ opts, args = parser.parse_known_args(args=argv[1:])\n _run_print_help(parser, cmd.process_options, args, opts)\n \n cmd.crawler_process = CrawlerProcess(settings)\n", "difficulty": "1"}
data/d2e06b5.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 6, "repo_owner": "yt-dlp", "repo_name": "yt-dlp", "head_branch": "master", "workflow_name": "Quick Test", "workflow_filename": "quick-test.yml", "workflow_path": ".github/workflows/quick-test.yml", "contributor": "aniolpages", "sha_fail": "d2e06b56d64570ac18b90329ac791c155ce415db", "sha_success": "2121e472bab5ae519ff81a306afc35a6c906be59", "workflow": "name: Quick Test\non: [push, pull_request]\npermissions:\n contents: read\n\njobs:\n tests:\n name: Core Test\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python 3.11\n uses: actions/setup-python@v4\n with:\n python-version: '3.11'\n - name: Install test requirements\n run: pip install pytest pycryptodomex\n - name: Run tests\n run: |\n python3 -m yt_dlp -v || true\n ./devscripts/run_tests.sh core\n flake8:\n name: Linter\n if: \"!contains(github.event.head_commit.message, 'ci skip all')\"\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - uses: actions/setup-python@v4\n - name: Install flake8\n run: pip install flake8\n - name: Make lazy extractors\n run: python devscripts/make_lazy_extractors.py\n - name: Run flake8\n run: flake8 .\n", "logs": [{"step_name": "Linter/5_Make lazy extractors.txt", "log": "##[group]Run python devscripts/make_lazy_extractors.py\n\u001b[36;1mpython devscripts/make_lazy_extractors.py\u001b[0m\nshell: /usr/bin/bash -e {0}\n##[endgroup]\nTraceback (most recent call last):\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 132, in <module>\n main()\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 41, in main\n _ALL_CLASSES = get_all_ies() # Must be before import\n File \"/home/runner/work/yt-dlp/yt-dlp/devscripts/make_lazy_extractors.py\", line 68, in get_all_ies\n from yt_dlp.extractor.extractors import _ALL_CLASSES\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/extractors.py\", line 17, in <module>\n from ._extractors import * # noqa: F403\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/_extractors.py\", line 956, in <module>\n from .laxarxames import LaXarxaMesIE\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\n )\n ^\nSyntaxError: unmatched ')'\n##[error]Process completed with exit code 1.\n"}, {"step_name": "Core Test/5_Run tests.txt", "log": "##[group]Run python3 -m yt_dlp -v || true\n\u001b[36;1mpython3 -m yt_dlp -v || true\u001b[0m\n\u001b[36;1m./devscripts/run_tests.sh core\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.11.6/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.6/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib\n##[endgroup]\n[debug] Command-line config: ['-v']\nTraceback (most recent call last):\n File \"<frozen runpy>\", line 198, in _run_module_as_main\n File \"<frozen runpy>\", line 88, in _run_code\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__main__.py\", line 17, in <module>\n yt_dlp.main()\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__init__.py\", line 1008, in main\n _exit(*variadic(_real_main(argv)))\n ^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/__init__.py\", line 962, in _real_main\n with YoutubeDL(ydl_opts) as ydl:\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py\", line 681, in __init__\n self.print_debug_header()\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py\", line 3889, in print_debug_header\n from .extractor.extractors import _LAZY_LOADER\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/extractors.py\", line 17, in <module>\n from ._extractors import * # noqa: F403\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/_extractors.py\", line 956, in <module>\n from .laxarxames import LaXarxaMesIE\n File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\n )\n ^\nSyntaxError: unmatched ')'\n============================= test session starts ==============================\nplatform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 -- /opt/hostedtoolcache/Python/3.11.6/x64/bin/python3\ncachedir: .pytest_cache\nrootdir: /home/runner/work/yt-dlp/yt-dlp\nconfigfile: setup.cfg\ncollecting ... collected 567 items / 9 errors / 6 deselected / 561 selected\n\n==================================== ERRORS ====================================\n_________________ ERROR collecting test/test_InfoExtractor.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_InfoExtractor.py:16: in <module>\n from yt_dlp.extractor import YoutubeIE, get_info_extractor\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n___________________ ERROR collecting test/test_YoutubeDL.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_YoutubeDL.py:17: in <module>\n from yt_dlp.extractor import YoutubeIE\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n____________________ ERROR collecting test/test_all_urls.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_all_urls.py:14: in <module>\n from yt_dlp.extractor import FacebookIE, YoutubeIE, gen_extractors\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n____________________ ERROR collecting test/test_download.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_download.py:286: in <module>\n inject_tests(normal_test_cases)\ntest/test_download.py:275: in inject_tests\n for test_case in test_cases:\ntest/helper.py:91: in gettestcases\n for ie in yt_dlp.extractor.gen_extractors():\nyt_dlp/extractor/__init__.py:20: in gen_extractors\n return [klass() for klass in gen_extractor_classes()]\nyt_dlp/extractor/__init__.py:11: in gen_extractor_classes\n from .extractors import _ALL_CLASSES\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_____________ ERROR collecting test/test_iqiyi_sdk_interpreter.py ______________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_iqiyi_sdk_interpreter.py:12: in <module>\n from yt_dlp.extractor import IqiyiIE\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n___________________ ERROR collecting test/test_subtitles.py ____________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_subtitles.py:12: in <module>\n from yt_dlp.extractor import (\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_________________ ERROR collecting test/test_youtube_lists.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_lists.py:12: in <module>\n from yt_dlp.extractor import YoutubeIE, YoutubeTabIE\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n__________________ ERROR collecting test/test_youtube_misc.py __________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_misc.py:11: in <module>\n from yt_dlp.extractor import YoutubeIE\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n_______________ ERROR collecting test/test_youtube_signature.py ________________\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule\n mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path\n importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1204: in _gcd_import\n ???\n<frozen importlib._bootstrap>:1176: in _find_and_load\n ???\n<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:690: in _load_unlocked\n ???\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n exec(co, module.__dict__)\ntest/test_youtube_signature.py:17: in <module>\n from yt_dlp.extractor import YoutubeIE\n<frozen importlib._bootstrap>:1229: in _handle_fromlist\n ???\nyt_dlp/compat/compat_utils.py:36: in __getattribute__\n ret = super().__getattribute__(attr)\nyt_dlp/compat/compat_utils.py:54: in __getattr__\n ret = from_child(attr)\nyt_dlp/compat/compat_utils.py:68: in from_child\n child = importlib.import_module(child, parent.__name__)\n/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\nyt_dlp/extractor/extractors.py:17: in <module>\n from ._extractors import * # noqa: F403\nyt_dlp/extractor/_extractors.py:956: in <module>\n from .laxarxames import LaXarxaMesIE\nE File \"/home/runner/work/yt-dlp/yt-dlp/yt_dlp/extractor/laxarxames.py\", line 37\nE )\nE ^\nE SyntaxError: unmatched ')'\n=========================== short test summary info ============================\nERROR test/test_InfoExtractor.py\nERROR test/test_YoutubeDL.py\nERROR test/test_all_urls.py\nERROR test/test_download.py\nERROR test/test_iqiyi_sdk_interpreter.py\nERROR test/test_subtitles.py\nERROR test/test_youtube_lists.py\nERROR test/test_youtube_misc.py\nERROR test/test_youtube_signature.py\n!!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!!\n======================= 6 deselected, 9 errors in 2.30s ========================\n##[error]Process completed with exit code 2.\n"}], "diff": "diff --git a/README.md b/README.md\nindex 3b7432474..d464519f0 100644\n--- a/README.md\n+++ b/README.md\n@@ -1801,7 +1801,7 @@ # EXTRACTOR ARGUMENTS\n #### youtube\n * `lang`: Prefer translated metadata (`title`, `description` etc) of this language code (case-sensitive). By default, the video primary language metadata is preferred, with a fallback to `en` translated. See [youtube.py](https://github.com/yt-dlp/yt-dlp/blob/c26f9b991a0681fd3ea548d535919cec1fbbd430/yt_dlp/extractor/youtube.py#L381-L390) for list of supported content language codes\n * `skip`: One or more of `hls`, `dash` or `translated_subs` to skip extraction of the m3u8 manifests, dash manifests and [auto-translated subtitles](https://github.com/yt-dlp/yt-dlp/issues/4090#issuecomment-1158102032) respectively\n-* `player_client`: Clients to extract video data from. The main clients are `web`, `android` and `ios` with variants `_music`, `_embedded`, `_embedscreen`, `_creator` (e.g. `web_embedded`); and `mweb`, `mweb_embedscreen` and `tv_embedded` (agegate bypass) with no variants. By default, `ios,android,web` is used, but `tv_embedded` and `creator` variants are added as required for age-gated videos. Similarly, the music variants are added for `music.youtube.com` urls. You can use `all` to use all the clients, and `default` for the default clients.\n+* `player_client`: Clients to extract video data from. The main clients are `web`, `android` and `ios` with variants `_music`, `_embedded`, `_embedscreen`, `_creator` (e.g. `web_embedded`); and `mweb`, `mweb_embedscreen` and `tv_embedded` (agegate bypass) with no variants. By default, `android,web,ios` is used, but `tv_embedded` and `creator` variants are added as required for age-gated videos. Similarly, the music variants are added for `music.youtube.com` urls. You can use `all` to use all the clients, and `default` for the default clients.\n * `player_skip`: Skip some network requests that are generally needed for robust extraction. One or more of `configs` (skip client configs), `webpage` (skip initial webpage), `js` (skip js player). While these options can help reduce the number of requests needed or avoid some rate-limiting, they could cause some issues. See [#860](https://github.com/yt-dlp/yt-dlp/pull/860) for more details\n * `player_params`: YouTube player parameters to use for player requests. Will overwrite any default ones set by yt-dlp.\n * `comment_sort`: `top` or `new` (default) - choose comment sorting mode (on YouTube's side)\ndiff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py\nindex 8e11646d3..f10167826 100644\n--- a/yt_dlp/YoutubeDL.py\n+++ b/yt_dlp/YoutubeDL.py\n@@ -2338,7 +2338,7 @@ def _check_formats(formats):\n return\n \n for f in formats:\n- if f.get('has_drm'):\n+ if f.get('has_drm') or f.get('__needs_testing'):\n yield from self._check_formats([f])\n else:\n yield f\n@@ -4242,7 +4242,7 @@ def _write_thumbnails(self, label, info_dict, filename, thumb_filename_base=None\n self.write_debug(f'Skipping writing {label} thumbnail')\n return ret\n \n- if not self._ensure_dir_exists(filename):\n+ if thumbnails and not self._ensure_dir_exists(filename):\n return None\n \n for idx, t in list(enumerate(thumbnails))[::-1]:\ndiff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py\nindex f415819ed..a8eac0bc5 100644\n--- a/yt_dlp/extractor/_extractors.py\n+++ b/yt_dlp/extractor/_extractors.py\n@@ -953,7 +953,6 @@\n LastFMPlaylistIE,\n LastFMUserIE,\n )\n-from .laxarxames import LaXarxaMesIE\n from .lbry import (\n LBRYIE,\n LBRYChannelIE,\n@@ -1417,6 +1416,7 @@\n ORFTVthekIE,\n ORFFM4StoryIE,\n ORFRadioIE,\n+ ORFPodcastIE,\n ORFIPTVIE,\n )\n from .outsidetv import OutsideTVIE\ndiff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py\nindex 5e1240c13..ac7cc673f 100644\n--- a/yt_dlp/extractor/generic.py\n+++ b/yt_dlp/extractor/generic.py\n@@ -34,6 +34,7 @@\n unified_timestamp,\n unsmuggle_url,\n update_url_query,\n+ urlhandle_detect_ext,\n url_or_none,\n urljoin,\n variadic,\n@@ -2459,7 +2460,7 @@ def _real_extract(self, url):\n self.report_detected('direct video link')\n headers = smuggled_data.get('http_headers', {})\n format_id = str(m.group('format_id'))\n- ext = determine_ext(url)\n+ ext = determine_ext(url, default_ext=None) or urlhandle_detect_ext(full_response)\n subtitles = {}\n if format_id.endswith('mpegurl') or ext == 'm3u8':\n formats, subtitles = self._extract_m3u8_formats_and_subtitles(url, video_id, 'mp4', headers=headers)\n@@ -2471,6 +2472,7 @@ def _real_extract(self, url):\n formats = [{\n 'format_id': format_id,\n 'url': url,\n+ 'ext': ext,\n 'vcodec': 'none' if m.group('type') == 'audio' else None\n }]\n info_dict['direct'] = True\ndiff --git a/yt_dlp/extractor/laxarxames.py b/yt_dlp/extractor/laxarxames.py\ndeleted file mode 100644\nindex b7cad9cdb..000000000\n--- a/yt_dlp/extractor/laxarxames.py\n+++ /dev/null\n@@ -1,97 +0,0 @@\n-from .common import InfoExtractor\n-\n-\n-class LaXarxaMesIE(InfoExtractor):\n- _VALID_URL = r'https?://(?:www\\.)?laxarxames\\.cat/(?:[^/]+/)*?(player|movie-details)/(?P<id>[0-9]+)'\n- _NETRC_MACHINE = 'laxarxames'\n- _IS_LOGGED_IN = False\n- _LOGIN_URL = 'https://www.laxarxames.cat/login'\n- _TESTS = [{\n- 'url': 'https://www.laxarxames.cat/player/3459421',\n- 'md5': '0966f46c34275934c19af78f3df6e2bc',\n- 'info_dict': {\n- 'id': '3459421',\n- 'ext': 'mp4',\n- 'title': 'Resum | UA Horta \u2014 UD Viladecans',\n- 'type': 'video/mp4',\n- },\n- 'skip': 'Requires login',\n- }]\n-\n- def _perform_login(self, username, password):\n- login = self._download_json(\n- 'https://api.laxarxames.cat/Authorization/SignIn', None, note='Logging in', headers={\n- 'X-Tenantorigin': 'https://laxarxames.cat',\n- 'Content-Type': 'application/json',\n- 'Accept': 'application/json, text/plain, */*',\n- 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)',\n- 'Origin': 'https://www.laxarxames.cat',\n- }, data=json.dumps({\n- 'Username': username,\n- 'Password': password,\n- 'Device': {\n- 'PlatformCode': 'WEB',\n- 'Name': 'Mac OS ()',\n- },\n- }).encode('utf-8'))\n- )\n-\n- if not login['AuthorizationToken']:\n- raise Exception('Login failed')\n- else:\n- self._set_cookie('www.laxarxames.cat', 'didomi_token', login['AuthorizationToken']['Token'])\n-\n- def _real_extract(self, url):\n- video_id = self._match_id(url)\n- authorization = self._get_cookies('https://www.laxarxames.cat/').get('didomi_token')\n-\n- if not authorization:\n- self.raise_login_required()\n- mediaplayinfo = self._download_json(\n- 'https://api.laxarxames.cat/Media/GetMediaPlayInfo',\n- video_id,\n- data=b'{\"MediaId\":%s,\"StreamType\":\"MAIN\"}' % video_id.encode(),\n- headers={\n- 'Authorization': 'Bearer ' + authorization.value,\n- 'X-Tenantorigin': 'https://laxarxames.cat',\n- 'Content-Type': 'application/json',\n- 'Accept': 'application/json, text/plain, */*',\n- 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)',\n- 'Origin': 'https://www.laxarxames.cat',\n- }\n- )\n-\n- contenturl = mediaplayinfo['ContentUrl']\n- title = mediaplayinfo['Title']\n-\n- videodata = self._download_json(\n- 'https://edge.api.brightcove.com/playback/v1/accounts/5779379807001/videos/' + contenturl,\n- video_id,\n- headers={\n- 'Accept': 'application/json;pk=BCpkADawqM2uXEFYflHlCdYKQdRAfbdvR3tpOY9_jxup5aqCrMmJxjXtV6k9Khk7hKqFFp15BwULNmQkWBik0SJgtgqDAoni09Ezx2w4dIGs1GAjhnLMWXaeCmveEusJKQYs83DIlSUIPccu'\n- }\n- )\n-\n- sources = videodata['sources']\n-\n- formats = []\n- for source in sources:\n- url = source['src']\n- type = ''\n- manifest_url = None\n- if 'type' in source:\n- type = source['type']\n- manifest_url = source['src']\n- else:\n- type = 'video/mp4'\n- formats.append({\n- 'url': url,\n- 'type': type,\n- 'manifest_url': manifest_url\n- })\n-\n- return {\n- 'id': video_id,\n- 'title': title,\n- 'formats': formats,\n- }\ndiff --git a/yt_dlp/extractor/npo.py b/yt_dlp/extractor/npo.py\nindex 40fee24d0..4d5ff50de 100644\n--- a/yt_dlp/extractor/npo.py\n+++ b/yt_dlp/extractor/npo.py\n@@ -245,7 +245,7 @@ def _real_extract(self, url):\n 'quality': 'npoplus',\n 'tokenId': player_token,\n 'streamType': 'broadcast',\n- })\n+ }, data=b'') # endpoint requires POST\n if not streams:\n continue\n stream = streams.get('stream')\ndiff --git a/yt_dlp/extractor/orf.py b/yt_dlp/extractor/orf.py\nindex cc3c003fa..f33b0501f 100644\n--- a/yt_dlp/extractor/orf.py\n+++ b/yt_dlp/extractor/orf.py\n@@ -20,7 +20,9 @@\n unified_strdate,\n unsmuggle_url,\n url_or_none,\n+ mimetype2ext,\n )\n+from ..utils.traversal import traverse_obj\n \n \n class ORFTVthekIE(InfoExtractor):\n@@ -334,6 +336,45 @@ def _real_extract(self, url):\n self._entries(data, station or station2), show_id, data.get('title'), clean_html(data.get('subtitle')))\n \n \n+class ORFPodcastIE(InfoExtractor):\n+ IE_NAME = 'orf:podcast'\n+ _STATION_RE = '|'.join(map(re.escape, (\n+ 'bgl', 'fm4', 'ktn', 'noe', 'oe1', 'oe3',\n+ 'ooe', 'sbg', 'stm', 'tir', 'tv', 'vbg', 'wie')))\n+ _VALID_URL = rf'https?://sound\\.orf\\.at/podcast/(?P<station>{_STATION_RE})/(?P<show>[\\w-]+)/(?P<id>[\\w-]+)'\n+ _TESTS = [{\n+ 'url': 'https://sound.orf.at/podcast/oe3/fruehstueck-bei-mir/nicolas-stockhammer-15102023',\n+ 'md5': '526a5700e03d271a1505386a8721ab9b',\n+ 'info_dict': {\n+ 'id': 'nicolas-stockhammer-15102023',\n+ 'ext': 'mp3',\n+ 'title': 'Nicolas Stockhammer (15.10.2023)',\n+ 'duration': 3396.0,\n+ 'series': 'Fr\u00fchst\u00fcck bei mir',\n+ },\n+ 'skip': 'ORF podcasts are only available for a limited time'\n+ }]\n+\n+ def _real_extract(self, url):\n+ station, show, show_id = self._match_valid_url(url).group('station', 'show', 'id')\n+ data = self._download_json(\n+ f'https://audioapi.orf.at/radiothek/api/2.0/podcast/{station}/{show}/{show_id}', show_id)\n+\n+ return {\n+ 'id': show_id,\n+ 'ext': 'mp3',\n+ 'vcodec': 'none',\n+ **traverse_obj(data, ('payload', {\n+ 'url': ('enclosures', 0, 'url'),\n+ 'ext': ('enclosures', 0, 'type', {mimetype2ext}),\n+ 'title': 'title',\n+ 'description': ('description', {clean_html}),\n+ 'duration': ('duration', {functools.partial(float_or_none, scale=1000)}),\n+ 'series': ('podcast', 'title'),\n+ })),\n+ }\n+\n+\n class ORFIPTVIE(InfoExtractor):\n IE_NAME = 'orf:iptv'\n IE_DESC = 'iptv.ORF.at'\ndiff --git a/yt_dlp/extractor/polskieradio.py b/yt_dlp/extractor/polskieradio.py\nindex 5bf92b9b5..e0b22fffd 100644\n--- a/yt_dlp/extractor/polskieradio.py\n+++ b/yt_dlp/extractor/polskieradio.py\n@@ -262,14 +262,14 @@ def _call_lp3(self, path, query, video_id, note):\n query=query, headers={'x-api-key': '9bf6c5a2-a7d0-4980-9ed7-a3f7291f2a81'})\n \n def _entries(self, playlist_id, has_episodes, has_articles):\n- for i in itertools.count(1) if has_episodes else []:\n+ for i in itertools.count(0) if has_episodes else []:\n page = self._call_lp3(\n 'AudioArticle/GetListByCategoryId', {\n 'categoryId': playlist_id,\n 'PageSize': 10,\n 'skip': i,\n 'format': 400,\n- }, playlist_id, f'Downloading episode list page {i}')\n+ }, playlist_id, f'Downloading episode list page {i + 1}')\n if not traverse_obj(page, 'data'):\n break\n for episode in page['data']:\n@@ -281,14 +281,14 @@ def _entries(self, playlist_id, has_episodes, has_articles):\n 'timestamp': parse_iso8601(episode.get('datePublic')),\n }\n \n- for i in itertools.count(1) if has_articles else []:\n+ for i in itertools.count(0) if has_articles else []:\n page = self._call_lp3(\n 'Article/GetListByCategoryId', {\n 'categoryId': playlist_id,\n 'PageSize': 9,\n 'skip': i,\n 'format': 400,\n- }, playlist_id, f'Downloading article list page {i}')\n+ }, playlist_id, f'Downloading article list page {i + 1}')\n if not traverse_obj(page, 'data'):\n break\n for article in page['data']:\ndiff --git a/yt_dlp/extractor/qdance.py b/yt_dlp/extractor/qdance.py\nindex d817677f0..934ebbfd7 100644\n--- a/yt_dlp/extractor/qdance.py\n+++ b/yt_dlp/extractor/qdance.py\n@@ -15,7 +15,7 @@\n \n class QDanceIE(InfoExtractor):\n _NETRC_MACHINE = 'qdance'\n- _VALID_URL = r'https?://(?:www\\.)?q-dance\\.com/network/(?:library|live)/(?P<id>\\d+)'\n+ _VALID_URL = r'https?://(?:www\\.)?q-dance\\.com/network/(?:library|live)/(?P<id>[\\w-]+)'\n _TESTS = [{\n 'note': 'vod',\n 'url': 'https://www.q-dance.com/network/library/146542138',\n@@ -53,6 +53,27 @@ class QDanceIE(InfoExtractor):\n 'channel_id': 'qdancenetwork.video_149170353',\n },\n 'skip': 'Completed livestream',\n+ }, {\n+ 'note': 'vod with alphanumeric id',\n+ 'url': 'https://www.q-dance.com/network/library/WhDleSIWSfeT3Q9ObBKBeA',\n+ 'info_dict': {\n+ 'id': 'WhDleSIWSfeT3Q9ObBKBeA',\n+ 'ext': 'mp4',\n+ 'title': 'Aftershock I Defqon.1 Weekend Festival 2023 I Sunday I BLUE',\n+ 'display_id': 'naam-i-defqon-1-weekend-festival-2023-i-dag-i-podium',\n+ 'description': 'Relive Defqon.1 Path of the Warrior with Aftershock at the BLUE \ud83d\udd25',\n+ 'series': 'Defqon.1',\n+ 'series_id': '31840378',\n+ 'season': 'Defqon.1 Weekend Festival 2023',\n+ 'season_id': '141735599',\n+ 'duration': 3507,\n+ 'availability': 'premium_only',\n+ 'thumbnail': 'https://images.q-dance.network/1698158361-230625-135716-defqon-1-aftershock.jpg',\n+ },\n+ 'params': {'skip_download': 'm3u8'},\n+ }, {\n+ 'url': 'https://www.q-dance.com/network/library/-uRFKXwmRZGVnve7av9uqA',\n+ 'only_matching': True,\n }]\n \n _access_token = None\ndiff --git a/yt_dlp/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.py\nindex 540e217fd..32a38c86e 100644\n--- a/yt_dlp/extractor/twitcasting.py\n+++ b/yt_dlp/extractor/twitcasting.py\n@@ -142,7 +142,7 @@ def _real_extract(self, url):\n 'https://twitcasting.tv/streamserver.php?target=%s&mode=client' % uploader_id, video_id,\n 'Downloading live info', fatal=False)\n \n- is_live = 'data-status=\"online\"' in webpage\n+ is_live = any(f'data-{x}' in webpage for x in ['is-onlive=\"true\"', 'live-type=\"live\"', 'status=\"online\"'])\n if not traverse_obj(stream_server_data, 'llfmp4') and is_live:\n self.raise_login_required(method='cookies')\n \ndiff --git a/yt_dlp/extractor/weverse.py b/yt_dlp/extractor/weverse.py\nindex 47f36806b..c94ca9db9 100644\n--- a/yt_dlp/extractor/weverse.py\n+++ b/yt_dlp/extractor/weverse.py\n@@ -45,10 +45,10 @@ def _perform_login(self, username, password):\n 'x-acc-trace-id': str(uuid.uuid4()),\n 'x-clog-user-device-id': str(uuid.uuid4()),\n }\n- check_username = self._download_json(\n- f'{self._ACCOUNT_API_BASE}/signup/email/status', None,\n- note='Checking username', query={'email': username}, headers=headers)\n- if not check_username.get('hasPassword'):\n+ valid_username = traverse_obj(self._download_json(\n+ f'{self._ACCOUNT_API_BASE}/signup/email/status', None, note='Checking username',\n+ query={'email': username}, headers=headers, expected_status=(400, 404)), 'hasPassword')\n+ if not valid_username:\n raise ExtractorError('Invalid username provided', expected=True)\n \n headers['content-type'] = 'application/json'\ndiff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py\nindex ac28ed7d2..ddbd614d6 100644\n--- a/yt_dlp/extractor/youtube.py\n+++ b/yt_dlp/extractor/youtube.py\n@@ -3619,7 +3619,7 @@ def _extract_player_response(self, client, video_id, master_ytcfg, player_ytcfg,\n \n def _get_requested_clients(self, url, smuggled_data):\n requested_clients = []\n- default = ['ios', 'android', 'web']\n+ default = ['android', 'web', 'ios']\n allowed_clients = sorted(\n (client for client in INNERTUBE_CLIENTS.keys() if client[:1] != '_'),\n key=lambda client: INNERTUBE_CLIENTS[client]['priority'], reverse=True)\n@@ -4560,6 +4560,14 @@ def process_language(container, base_url, lang_code, sub_name, query):\n self._parse_time_text(self._get_text(vpir, 'dateText'))) or upload_date\n info['upload_date'] = upload_date\n \n+ if upload_date and live_status not in ('is_live', 'post_live', 'is_upcoming'):\n+ # Newly uploaded videos' HLS formats are potentially problematic and need to be checked\n+ upload_datetime = datetime_from_str(upload_date).replace(tzinfo=datetime.timezone.utc)\n+ if upload_datetime >= datetime_from_str('today-1day'):\n+ for fmt in info['formats']:\n+ if fmt.get('protocol') == 'm3u8_native':\n+ fmt['__needs_testing'] = True\n+\n for s_k, d_k in [('artist', 'creator'), ('track', 'alt_title')]:\n v = info.get(s_k)\n if v:\n", "difficulty": "1"}
data/db6550a.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 4, "repo_owner": "huggingface", "repo_name": "diffusers", "head_branch": "ipadapterfaceid", "workflow_name": "Run code quality checks", "workflow_filename": "pr_quality.yml", "workflow_path": ".github/workflows/pr_quality.yml", "contributor": "fabiorigano", "sha_fail": "db6550a228941b538f340fb5b65ed16c43a21b88", "sha_success": "6c29e66eb023f2805e4a4fd697815e9a0d2c6468", "workflow": "name: Run code quality checks\n\non:\n pull_request:\n branches:\n - main\n push:\n branches:\n - main\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n cancel-in-progress: true\n\njobs:\n check_code_quality:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python\n uses: actions/setup-python@v4\n with:\n python-version: \"3.8\"\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install .[quality]\n - name: Check quality\n run: |\n ruff check examples tests src utils scripts\n ruff format examples tests src utils scripts --check\n\n check_repository_consistency:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v3\n - name: Set up Python\n uses: actions/setup-python@v4\n with:\n python-version: \"3.8\"\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip install .[quality]\n - name: Check quality\n run: |\n python utils/check_copies.py\n python utils/check_dummies.py\n make deps_table_check_updated\n", "logs": [{"step_name": "check_code_quality/5_Check quality.txt", "log": "##[group]Run ruff check examples tests src utils scripts\n\u001b[36;1mruff check examples tests src utils scripts\u001b[0m\n\u001b[36;1mruff format examples tests src utils scripts --check\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n##[endgroup]\nsrc/diffusers/loaders/ip_adapter.py:15:26: F401 [*] `typing.Optional` imported but unused\nFound 1 error.\n[*] 1 fixable with the `--fix` option.\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/src/diffusers/loaders/ip_adapter.py b/src/diffusers/loaders/ip_adapter.py\nindex df9caa946..0c310019f 100644\n--- a/src/diffusers/loaders/ip_adapter.py\n+++ b/src/diffusers/loaders/ip_adapter.py\n@@ -12,7 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import os\n-from typing import Dict, Optional, Union\n+from typing import Dict, Union\n \n import torch\n from huggingface_hub.utils import validate_hf_hub_args\n", "difficulty": "1"}
data/eaba357.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 1, "repo_owner": "pyg-team", "repo_name": "pytorch_geometric", "head_branch": "master", "workflow_name": "Documentation", "workflow_filename": "documentation.yml", "workflow_path": ".github/workflows/documentation.yml", "contributor": "RafiBrent", "sha_fail": "eaba3578fb0d3bc8d6cb28db561f33656248bb86", "sha_success": "ea326156c6d7a396ce8cc3374aaffa94f92f05f3", "workflow": "name: Documentation\n\non: # yamllint disable-line rule:truthy\n push:\n branches:\n - master\n pull_request:\n\njobs:\n\n make_html:\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n with:\n fetch-depth: 40\n\n # Skip workflow if only certain files have been changed.\n - name: Get changed files\n id: changed-files-specific\n uses: tj-actions/changed-files@v34\n with:\n files: |\n benchmark/**\n conda/**\n docker/**\n examples/**\n graphgym/**\n README.md\n CHANGELOG.md\n\n - name: Setup packages\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n uses: ./.github/actions/setup\n with:\n full_install: false\n\n - name: Install main package\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n run: |\n pip install nbsphinx\n pip install git+https://github.com/pyg-team/pyg_sphinx_theme.git\n pip install -e .\n\n - name: Build documentation\n if: steps.changed-files-specific.outputs.only_changed != 'true'\n run: |\n cd docs && make clean && make html SPHINXOPTS=\"-W\" # Fail on warning.\n", "logs": [{"step_name": "make_html/6_Build documentation.txt", "log": "##[group]Run cd docs && make clean && make html SPHINXOPTS=\"-W\" # Fail on warning.\n\u001b[36;1mcd docs && make clean && make html SPHINXOPTS=\"-W\" # Fail on warning.\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n##[endgroup]\nRunning Sphinx v5.1.1\n\nConfiguration error:\nThere is a programmable error in your configuration file:\n\nTraceback (most recent call last):\n File \"/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sphinx/config.py\", line 347, in eval_config_file\n exec(code, namespace)\n File \"/home/runner/work/pytorch_geometric/pytorch_geometric/docs/source/conf.py\", line 7, in <module>\n import torch_geometric\n File \"/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/__init__.py\", line 6, in <module>\n import torch_geometric.datasets\n File \"/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/datasets/__init__.py\", line 18, in <module>\n from .qm9 import QM9\n File \"/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/datasets/qm9.py\", line 47, in <module>\n class QM9(InMemoryDataset):\n File \"/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/datasets/qm9.py\", line 150, in QM9\n if self.featurize:\nNameError: name 'self' is not defined\n\nmake: *** [Makefile:9: html] Error 2\n##[error]Process completed with exit code 2.\n"}], "diff": "diff --git a/torch_geometric/datasets/qm9.py b/torch_geometric/datasets/qm9.py\nindex 11c457796..d0ef96b1c 100644\n--- a/torch_geometric/datasets/qm9.py\n+++ b/torch_geometric/datasets/qm9.py\n@@ -147,11 +147,6 @@ class QM9(InMemoryDataset):\n 'molnet_publish/qm9.zip')\n raw_url2 = 'https://ndownloader.figshare.com/files/3195404'\n \n- if self.featurize:\n- processed_url = 'https://data.pyg.org/datasets/qm9_v3_featurized.zip'\n- else:\n- processed_url = 'https://data.pyg.org/datasets/qm9_v3.zip'\n-\n def __init__(\n self,\n root: str,\n@@ -163,6 +158,12 @@ class QM9(InMemoryDataset):\n ):\n super().__init__(root, transform, pre_transform, pre_filter,\n force_reload=force_reload)\n+\n+ if featurize == True:\n+ self.processed_url = 'https://data.pyg.org/datasets/qm9_v3_featurized.zip'\n+ else:\n+ self.processed_url = 'https://data.pyg.org/datasets/qm9_v3.zip'\n+ \n self.featurize = featurize\n self.load(self.processed_paths[0])\n \n", "difficulty": "1"}
data/f9f4b05.json ADDED
The diff for this file is too large to render. See raw diff
 
data/fb85e3a.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"language": "Python", "id": 14, "repo_owner": "psf", "repo_name": "black", "head_branch": "dummy-change", "workflow_name": "Lint + format ourselves", "workflow_filename": "lint.yml", "workflow_path": ".github/workflows/lint.yml", "contributor": "hauntsaninja", "sha_fail": "fb85e3ae413c548e50aee0449c7dcb1d4f52c600", "sha_success": "7c897ac99f9af1c44c60f115109c3af935643c4f", "workflow": "name: Lint + format ourselves\n\non: [push, pull_request]\n\njobs:\n build:\n # We want to run on external PRs, but not on our own internal PRs as they'll be run\n # by the push to the branch. Without this if check, checks are duplicated since\n # internal PRs match both the push and pull_request events.\n if:\n github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n github.repository\n\n runs-on: ubuntu-latest\n\n steps:\n - uses: actions/checkout@v4\n\n - name: Assert PR target is main\n if: github.event_name == 'pull_request' && github.repository == 'psf/black'\n run: |\n if [ \"$GITHUB_BASE_REF\" != \"main\" ]; then\n echo \"::error::PR targeting '$GITHUB_BASE_REF', please refile targeting 'main'.\" && exit 1\n fi\n\n - name: Set up latest Python\n uses: actions/setup-python@v5\n with:\n python-version: \"*\"\n\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n python -m pip install -e '.'\n python -m pip install tox\n\n - name: Run pre-commit hooks\n uses: pre-commit/[email protected]\n\n - name: Format ourselves\n run: |\n tox -e run_self\n", "logs": [{"step_name": "build/6_Run pre-commit hooks.txt", "log": "##[group]Run pre-commit/[email protected]\nwith:\n extra_args: --all-files\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\n##[group]Run python -m pip install pre-commit\n\u001b[36;1mpython -m pip install pre-commit\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCollecting pre-commit\n Downloading pre_commit-3.6.0-py2.py3-none-any.whl.metadata (1.3 kB)\nCollecting cfgv>=2.0.0 (from pre-commit)\n Downloading cfgv-3.4.0-py2.py3-none-any.whl.metadata (8.5 kB)\nCollecting identify>=1.0.0 (from pre-commit)\n Downloading identify-2.5.33-py2.py3-none-any.whl.metadata (4.4 kB)\nCollecting nodeenv>=0.11.1 (from pre-commit)\n Downloading nodeenv-1.8.0-py2.py3-none-any.whl.metadata (21 kB)\nCollecting pyyaml>=5.1 (from pre-commit)\n Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)\nRequirement already satisfied: virtualenv>=20.10.0 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from pre-commit) (20.25.0)\nCollecting setuptools (from nodeenv>=0.11.1->pre-commit)\n Using cached setuptools-69.0.3-py3-none-any.whl.metadata (6.3 kB)\nRequirement already satisfied: distlib<1,>=0.3.7 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (0.3.8)\nRequirement already satisfied: filelock<4,>=3.12.2 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (3.13.1)\nRequirement already satisfied: platformdirs<5,>=3.9.1 in /opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit) (4.1.0)\nDownloading pre_commit-3.6.0-py2.py3-none-any.whl (204 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 204.0/204.0 kB 14.6 MB/s eta 0:00:00\nDownloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)\nDownloading identify-2.5.33-py2.py3-none-any.whl (98 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 98.9/98.9 kB 19.8 MB/s eta 0:00:00\nDownloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)\nDownloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (724 kB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 725.0/725.0 kB 49.5 MB/s eta 0:00:00\nUsing cached setuptools-69.0.3-py3-none-any.whl (819 kB)\nInstalling collected packages: setuptools, pyyaml, identify, cfgv, nodeenv, pre-commit\nSuccessfully installed cfgv-3.4.0 identify-2.5.33 nodeenv-1.8.0 pre-commit-3.6.0 pyyaml-6.0.1 setuptools-69.0.3\n##[group]Run python -m pip freeze --local\n\u001b[36;1mpython -m pip freeze --local\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\n-e git+https://github.com/psf/black@427999a0622525739dc487c5d4cf800455bab91e#egg=black\ncachetools==5.3.2\ncfgv==3.4.0\nchardet==5.2.0\nclick==8.1.7\ncolorama==0.4.6\ndistlib==0.3.8\nfilelock==3.13.1\nidentify==2.5.33\nmypy-extensions==1.0.0\nnodeenv==1.8.0\npackaging==23.2\npathspec==0.12.1\nplatformdirs==4.1.0\npluggy==1.3.0\npre-commit==3.6.0\npyproject-api==1.6.1\nPyYAML==6.0.1\nsetuptools==69.0.3\ntox==4.11.4\nvirtualenv==20.25.0\n##[group]Run actions/cache@v3\nwith:\n path: ~/.cache/pre-commit\n key: pre-commit-3|/opt/hostedtoolcache/Python/3.12.1/x64|2f53e69fb363b5ce1de2d9c07551c3dea71959f87798933b0db08a1ea22fbecf\n enableCrossOsArchive: false\n fail-on-cache-miss: false\n lookup-only: false\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCache Size: ~49 MB (51405993 B)\n[command]/usr/bin/tar -xf /home/runner/work/_temp/b6d78502-5f69-4058-a358-6d09c5cfea62/cache.tzst -P -C /home/runner/work/black/black --use-compress-program unzstd\nReceived 51405993 of 51405993 (100.0%), 48.9 MBs/sec\nCache restored successfully\nCache restored from key: pre-commit-3|/opt/hostedtoolcache/Python/3.12.1/x64|2f53e69fb363b5ce1de2d9c07551c3dea71959f87798933b0db08a1ea22fbecf\n##[group]Run pre-commit run --show-diff-on-failure --color=always --all-files\n\u001b[36;1mpre-commit run --show-diff-on-failure --color=always --all-files\u001b[0m\nshell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.12.1/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.1/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.1/x64/lib\n##[endgroup]\nCheck pre-commit rev in example..........................................\u001b[42mPassed\u001b[m\nCheck black version in the basics example................................\u001b[42mPassed\u001b[m\nisort....................................................................\u001b[42mPassed\u001b[m\nflake8...................................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: flake8\u001b[m\n\u001b[2m- exit code: 1\u001b[m\n\n\u001b[1msrc/black/nodes.py\u001b[m\u001b[36m:\u001b[m750\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mW293\u001b[m blank line contains whitespace\n\u001b[1msrc/black/nodes.py\u001b[m\u001b[36m:\u001b[m751\u001b[36m:\u001b[m1\u001b[36m:\u001b[m \u001b[1m\u001b[31mW293\u001b[m blank line contains whitespace\n\nmypy.....................................................................\u001b[42mPassed\u001b[m\nprettier.................................................................\u001b[42mPassed\u001b[m\nfix end of files.........................................................\u001b[42mPassed\u001b[m\ntrim trailing whitespace.................................................\u001b[41mFailed\u001b[m\n\u001b[2m- hook id: trailing-whitespace\u001b[m\n\u001b[2m- exit code: 1\u001b[m\n\u001b[2m- files were modified by this hook\u001b[m\n\nFixing src/black/nodes.py\n\npre-commit hook(s) made changes.\nIf you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.\nTo run `pre-commit` as part of git workflow, use `pre-commit install`.\nAll changes made by hooks:\n\u001b[1mdiff --git a/src/black/nodes.py b/src/black/nodes.py\u001b[m\n\u001b[1mindex bad5a66..7ee2df2 100644\u001b[m\n\u001b[1m--- a/src/black/nodes.py\u001b[m\n\u001b[1m+++ b/src/black/nodes.py\u001b[m\n\u001b[36m@@ -747,8 +747,8 @@\u001b[m \u001b[mdef is_parent_function_or_class(node: Node) -> bool:\u001b[m\n assert node.parent is not None\u001b[m\n # Note this works for suites / simple_stmts in async def as well\u001b[m\n return node.parent.type in {syms.funcdef, syms.classdef}\u001b[m\n\u001b[31m- \u001b[m\n\u001b[31m- \u001b[m\n\u001b[32m+\u001b[m\n\u001b[32m+\u001b[m\n def is_function_or_class(node: Node) -> bool:\u001b[m\n return node.type in {syms.funcdef, syms.classdef, syms.async_funcdef}\u001b[m\n \u001b[m\n##[error]Process completed with exit code 1.\n"}], "diff": "diff --git a/src/black/nodes.py b/src/black/nodes.py\nindex bad5a662..7ee2df2e 100644\n--- a/src/black/nodes.py\n+++ b/src/black/nodes.py\n@@ -747,8 +747,8 @@ def is_parent_function_or_class(node: Node) -> bool:\n assert node.parent is not None\n # Note this works for suites / simple_stmts in async def as well\n return node.parent.type in {syms.funcdef, syms.classdef}\n- \n- \n+\n+\n def is_function_or_class(node: Node) -> bool:\n return node.type in {syms.funcdef, syms.classdef, syms.async_funcdef}\n \n", "difficulty": "1"}