chore: PP309: Filter warnings specified #491
Annotations
10 errors
tests\inspection\test_lazy_wheel.py#L341
test_metadata_from_wheel_url_range_requests_not_supported_one_request[None]
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\tests\inspection\test_lazy_wheel.py", line 380, in test_metadata_from_wheel_url_range_requests_not_supported_one_request
with pytest.raises(HTTPRangeRequestUnsupported):
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpvddpylnd'>
|
tests\inspection\test_lazy_wheel.py#L341
test_metadata_from_wheel_url_range_requests_not_supported_two_requests[negative_offset_error1]
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\tests\inspection\test_lazy_wheel.py", line 410, in test_metadata_from_wheel_url_range_requests_not_supported_two_requests
with pytest.raises(HTTPRangeRequestUnsupported):
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpqu7gef2n'>
|
tests\inspection\test_lazy_wheel.py#L341
test_metadata_from_wheel_url_range_requests_supported_but_not_respected
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\tests\inspection\test_lazy_wheel.py", line 434, in test_metadata_from_wheel_url_range_requests_supported_but_not_respected
with pytest.raises(HTTPRangeRequestNotRespected):
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpxh1u4ugw'>
|
tests\repositories\test_legacy_repository.py#L341
test_package_not_canonicalized
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\legacy_repository.py", line 57, in package
index = self._packages.index(Package(name, version))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Package('discord-py', '2.0.0') is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\http_repository.py", line 139, in _get_info_from_wheel
self._supports_range_requests.setdefault(netloc, False)
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpzrudcik0'>
|
tests\repositories\test_legacy_repository.py#L341
test_get_package_with_dist_and_universal_py3_wheel
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\legacy_repository.py", line 57, in package
index = self._packages.index(Package(name, version))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Package('ipython', '7.5.0') is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\http_repository.py", line 139, in _get_info_from_wheel
self._supports_range_requests.setdefault(netloc, False)
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp6o4euwn9'>
|
tests\repositories\test_legacy_repository.py#L341
test_page_filters_out_invalid_package_names
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\legacy_repository.py", line 57, in package
index = self._packages.index(Package(name, version))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Package('pytest', '3.5.0') is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\http_repository.py", line 139, in _get_info_from_wheel
self._supports_range_requests.setdefault(netloc, False)
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp0ze2_6hr'>
|
tests\console\commands\test_init.py#L687
test_predefined_and_interactive_dependencies
EncodingWarning: 'encoding' argument not specified
|
tests\console\commands\test_init.py#L178
test_interactive_with_dependencies_and_no_selection
EncodingWarning: 'encoding' argument not specified
|
tests\repositories\test_legacy_repository.py#L138
test_get_package_information_fallback_read_setup
poetry.utils.isolated_build.IsolatedBuildInstallError: Failed to install wheel, setuptools >= 40.8.0.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
- Installing wheel (0.40.0)
DeprecationWarning
read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
at C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\importlib\resources\_legacy.py:18 in wrapper
14│
15│ def deprecated(func):
16│ @functools.wraps(func)
17│ def wrapper(*args, **kwargs):
→ 18│ warnings.warn(
19│ f"{func.__name__} is deprecated. Use files() instead. "
20│ "Refer to https://importlib-resources.readthedocs.io"
21│ "/en/latest/using.html#migrating-from-legacy for migration advice.",
22│ DeprecationWarning,
Cannot install wheel.
Error:
|
tests\repositories\test_legacy_repository.py#L341
test_find_links_for_package_yanked[black-21.11b0-True-Broken regex dependency. Use 21.11b1 instead.]
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\legacy_repository.py", line 57, in package
index = self._packages.index(Package(name, version))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Package('black', '21.11b0') is not in list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\poetry\poetry\src\poetry\repositories\http_repository.py", line 139, in _get_info_from_wheel
self._supports_range_requests.setdefault(netloc, False)
ResourceWarning: unclosed file <_io.BufferedRandom name='C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpe9au6lqr'>
|
This job failed
Loading