--- Begin Message ---
Source: fsspec
Version: 2024.12.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250107 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/fsspec-2024.12.0/docs'
> Running Sphinx v8.1.3
> loading translations [en]... done
> making output directory... done
> Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
> 'restructuredtext'}`.
> [autosummary] generating autosummary for: api.rst, async.rst, changelog.rst,
> copying.rst, developer.rst, features.rst, index.rst, intro.rst, usage.rst
> building [mo]: targets for 0 po files that are out of date
> writing output...
> building [html]: targets for 9 source files that are out of date
> updating environment: [new config] 9 added, 0 changed, 0 removed
> reading sources... [ 11%] api
> /usr/lib/python3/dist-packages/numpydoc/docscrape.py:421: UserWarning:
> Unknown section Example in the docstring of tree in
> /build/reproducible-path/fsspec-2024.12.0/fsspec/spec.py.
> self[section] = content
> /usr/lib/python3/dist-packages/numpydoc/docscrape.py:421: UserWarning:
> Unknown section Example in the docstring of DataFileSystem in
> /build/reproducible-path/fsspec-2024.12.0/fsspec/implementations/data.py.
> self[section] = content
> reading sources... [ 22%] async
> reading sources... [ 33%] changelog
> reading sources... [ 44%] copying
> reading sources... [ 56%] developer
> reading sources... [ 67%] features
> reading sources... [ 78%] index
> reading sources... [ 89%] intro
> reading sources... [100%] usage
>
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.available_compressions' with 'available_compressions'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.available_protocols' with 'available_protocols'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.filesystem' with 'filesystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.fuse.run' with 'fuse.run'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.generic.rsync' with 'generic.rsync'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.get_filesystem_class' with 'get_filesystem_class'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.get_mapper' with 'get_mapper'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.gui.FileSelector' with 'gui.FileSelector'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.open' with 'open'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.open_files' with 'open_files'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.open_local' with 'open_local'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.archive.AbstractArchiveFileSystem' with
> 'archive.AbstractArchiveFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.asyn.AsyncFileSystem' with 'asyn.AsyncFileSystem'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.callbacks.Callback' with 'callbacks.Callback'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.callbacks.DotPrinterCallback' with 'callbacks.DotPrinterCallback'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.callbacks.NoOpCallback' with 'callbacks.NoOpCallback'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.callbacks.TqdmCallback' with 'callbacks.TqdmCallback'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.core.BaseCache' with 'core.BaseCache'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.core.OpenFile' with 'core.OpenFile'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.core.OpenFiles' with 'core.OpenFiles'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.core.get_fs_token_paths' with 'core.get_fs_token_paths'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.core.url_to_fs' with 'core.url_to_fs'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.dircache.DirCache' with 'dircache.DirCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.FSMap' with 'FSMap'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.generic.GenericFileSystem' with 'generic.GenericFileSystem'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.registry.register_implementation' with
> 'registry.register_implementation'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.spec.AbstractBufferedFile' with 'spec.AbstractBufferedFile'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.spec.AbstractFileSystem' with 'spec.AbstractFileSystem'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.spec.Transaction' with 'spec.Transaction'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.arrow.ArrowFSWrapper' with
> 'implementations.arrow.ArrowFSWrapper'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.arrow.HadoopFileSystem' with
> 'implementations.arrow.HadoopFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.cached.CachingFileSystem' with
> 'implementations.cached.CachingFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.cached.SimpleCacheFileSystem' with
> 'implementations.cached.SimpleCacheFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.cached.WholeFileCacheFileSystem' with
> 'implementations.cached.WholeFileCacheFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.dask.DaskWorkerFileSystem' with
> 'implementations.dask.DaskWorkerFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.data.DataFileSystem' with
> 'implementations.data.DataFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.dbfs.DatabricksFileSystem' with
> 'implementations.dbfs.DatabricksFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.dirfs.DirFileSystem' with
> 'implementations.dirfs.DirFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.ftp.FTPFileSystem' with
> 'implementations.ftp.FTPFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.git.GitFileSystem' with
> 'implementations.git.GitFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.github.GithubFileSystem' with
> 'implementations.github.GithubFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.http.HTTPFileSystem' with
> 'implementations.http.HTTPFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.jupyter.JupyterFileSystem' with
> 'implementations.jupyter.JupyterFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.libarchive.LibArchiveFileSystem' with
> 'implementations.libarchive.LibArchiveFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.local.LocalFileSystem' with
> 'implementations.local.LocalFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.memory.MemoryFileSystem' with
> 'implementations.memory.MemoryFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.reference.ReferenceFileSystem' with
> 'implementations.reference.ReferenceFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.reference.LazyReferenceMapper' with
> 'implementations.reference.LazyReferenceMapper'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.sftp.SFTPFileSystem' with
> 'implementations.sftp.SFTPFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.smb.SMBFileSystem' with
> 'implementations.smb.SMBFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.tar.TarFileSystem' with
> 'implementations.tar.TarFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.webhdfs.WebHDFS' with
> 'implementations.webhdfs.WebHDFS'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.implementations.zip.ZipFileSystem' with
> 'implementations.zip.ZipFileSystem'. [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.BlockCache' with 'caching.BlockCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.BytesCache' with 'caching.BytesCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.MMapCache' with 'caching.MMapCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.ReadAheadCache' with 'caching.ReadAheadCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.FirstChunkCache' with 'caching.FirstChunkCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.caching.BackgroundBlockCache' with 'caching.BackgroundBlockCache'.
> [autosummary.import_cycle]
> WARNING: Summarised items should not include the current module. Replace
> 'fsspec.utils.read_block' with 'utils.read_block'. [autosummary.import_cycle]
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets...
> copying static files...
> Writing evaluated template result to
> /build/reproducible-path/fsspec-2024.12.0/docs/build/html/_static/documentation_options.js
> Writing evaluated template result to
> /build/reproducible-path/fsspec-2024.12.0/docs/build/html/_static/basic.css
> Writing evaluated template result to
> /build/reproducible-path/fsspec-2024.12.0/docs/build/html/_static/language_data.js
> Writing evaluated template result to
> /build/reproducible-path/fsspec-2024.12.0/docs/build/html/_static/js/versions.js
> copying static files: done
> copying extra files...
> copying extra files: done
> copying assets: done
> writing output... [ 11%] api
> writing output... [ 22%] async
> writing output... [ 33%] changelog
> writing output... [ 44%] copying
> writing output... [ 56%] developer
> writing output... [ 67%] features
> writing output... [ 78%] index
> writing output... [ 89%] intro
> writing output... [100%] usage
>
> generating indices... genindex done
> highlighting module code... [ 3%] fsspec.archive
> highlighting module code... [ 6%] fsspec.asyn
> highlighting module code... [ 9%] fsspec.caching
> highlighting module code... [ 11%] fsspec.callbacks
> highlighting module code... [ 14%] fsspec.compression
> highlighting module code... [ 17%] fsspec.core
> highlighting module code... [ 20%] fsspec.dircache
> highlighting module code... [ 23%] fsspec.fuse
> highlighting module code... [ 26%] fsspec.generic
> highlighting module code... [ 29%] fsspec.gui
> highlighting module code... [ 31%] fsspec.implementations.arrow
> highlighting module code... [ 34%] fsspec.implementations.cached
> highlighting module code... [ 37%] fsspec.implementations.dask
> highlighting module code... [ 40%] fsspec.implementations.data
> highlighting module code... [ 43%] fsspec.implementations.dbfs
> highlighting module code... [ 46%] fsspec.implementations.dirfs
> highlighting module code... [ 49%] fsspec.implementations.ftp
> highlighting module code... [ 51%] fsspec.implementations.git
> highlighting module code... [ 54%] fsspec.implementations.github
> highlighting module code... [ 57%] fsspec.implementations.http
> highlighting module code... [ 60%] fsspec.implementations.jupyter
> highlighting module code... [ 63%] fsspec.implementations.libarchive
> highlighting module code... [ 66%] fsspec.implementations.local
> highlighting module code... [ 69%] fsspec.implementations.memory
> highlighting module code... [ 71%] fsspec.implementations.reference
> highlighting module code... [ 74%] fsspec.implementations.sftp
> highlighting module code... [ 77%] fsspec.implementations.smb
> highlighting module code... [ 80%] fsspec.implementations.tar
> highlighting module code... [ 83%] fsspec.implementations.webhdfs
> highlighting module code... [ 86%] fsspec.implementations.zip
> highlighting module code... [ 89%] fsspec.mapping
> highlighting module code... [ 91%] fsspec.registry
> highlighting module code... [ 94%] fsspec.spec
> highlighting module code... [ 97%] fsspec.transaction
> highlighting module code... [100%] fsspec.utils
>
> writing additional pages... search done
> copying images... [100%] img/gui.png
>
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 60 warnings.
>
> The HTML pages are in build/html.
> make[2]: Leaving directory '/build/reproducible-path/fsspec-2024.12.0/docs'
> make[1]: Leaving directory '/build/reproducible-path/fsspec-2024.12.0'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:308: cp -R
> /build/reproducible-path/fsspec-2024.12.0/fsspec/tests
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.12_fsspec/build/fsspec/
> ; cp -R
> /build/reproducible-path/fsspec-2024.12.0/fsspec/implementations/tests
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.12_fsspec/build/fsspec/implementations/
> I: pybuild base:311: cd
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.12_fsspec/build;
> python3.12 -m pytest -k 'not test_dbfs_file_listing and not test_dbfs_mkdir
> and not test_dbfs_write_and_read and not test_dbfs_read_range and not
> test_dbfs_read_range_chunked and not
> test_find_returns_expected_result_detail_true_include_dirs and not
> test_find_returns_expected_result_detail_true' fsspec/
> /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207:
> PytestDeprecationWarning: The configuration option
> "asyncio_default_fixture_loop_scope" is unset.
> The event loop scope for asynchronous fixtures will default to the fixture
> caching scope. Future versions of pytest-asyncio will default the loop scope
> for asynchronous fixtures to function scope. Set the default fixture loop
> scope explicitly in order to avoid unexpected behavior in the future. Valid
> fixture loop scopes are: "function", "class", "module", "package", "session"
>
> warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
> rootdir:
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.12_fsspec/build
> configfile: pyproject.toml
> plugins: vcr-1.0.2, mock-3.14.0, asyncio-0.25.1, typeguard-4.4.1
> asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
> collected 1746 items / 2 deselected / 10 skipped / 1744 selected
>
> fsspec/implementations/tests/local/local_test.py ....................... [
> 1%]
> ........................................................................ [
> 5%]
> ........................................ [
> 7%]
> fsspec/implementations/tests/memory/memory_test.py ..................... [
> 8%]
> ........................................................................ [
> 13%]
> ............................................ [
> 15%]
> fsspec/implementations/tests/test_archive.py ........................... [
> 17%]
> ..........................................................ssssssssssssss [
> 21%]
> sss [
> 21%]
> fsspec/implementations/tests/test_asyn_wrapper.py ........ [
> 21%]
> fsspec/implementations/tests/test_cached.py ..........ssssssss......sss. [
> 23%]
> .................ssssssssssssssss.s........ssss..................... [
> 27%]
> fsspec/implementations/tests/test_common.py ssss [
> 27%]
> fsspec/implementations/tests/test_data.py .. [
> 27%]
> fsspec/implementations/tests/test_dirfs.py ............................. [
> 29%]
> ........................................................................ [
> 33%]
> ................................. [
> 35%]
> fsspec/implementations/tests/test_ftp.py sssssssssssssssssss [
> 36%]
> fsspec/implementations/tests/test_http.py .............................. [
> 38%]
> .......................... [
> 39%]
> fsspec/implementations/tests/test_libarchive.py s [
> 39%]
> fsspec/implementations/tests/test_local.py .s........................s.. [
> 41%]
> ..........................................................ss........ss.s [
> 45%]
> ssss.......sss....s.......................... [
> 48%]
> fsspec/implementations/tests/test_memory.py ............................ [
> 49%]
> .. [
> 49%]
> fsspec/implementations/tests/test_reference.py .................s...F..s [
> 51%]
> s..sssss [
> 51%]
> fsspec/implementations/tests/test_tar.py ......................... [
> 53%]
> fsspec/implementations/tests/test_webhdfs.py ssssssssssss [
> 53%]
> fsspec/implementations/tests/test_zip.py ............... [
> 54%]
> fsspec/tests/test_api.py ...............x...... [
> 56%]
> fsspec/tests/test_async.py .........s... [
> 56%]
> fsspec/tests/test_caches.py ............................................ [
> 59%]
> ........................................................................ [
> 63%]
> ............................. [
> 65%]
> fsspec/tests/test_callbacks.py ........ [
> 65%]
> fsspec/tests/test_compression.py ...sss [
> 65%]
> fsspec/tests/test_config.py ....... [
> 66%]
> fsspec/tests/test_core.py .............................................. [
> 68%]
> ...ss..sss.s [
> 69%]
> fsspec/tests/test_file.py sssssssss.s [
> 70%]
> fsspec/tests/test_generic.py ...... [
> 70%]
> fsspec/tests/test_mapping.py ................. [
> 71%]
> fsspec/tests/test_parquet.py sssssssssssssssssssssssssssssssssssssssssss [
> 74%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [
> 78%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [
> 82%]
> sssss [
> 82%]
> fsspec/tests/test_registry.py ......s [
> 82%]
> fsspec/tests/test_spec.py ....................x......................... [
> 85%]
> ............ssssssssss.................................................. [
> 89%]
> ........................................................................ [
> 93%]
> ........................................ [
> 96%]
> fsspec/tests/test_utils.py ............................................. [
> 98%]
> ......................
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_async_cat_file_ranges
> __________________________
>
> self = <aiohttp.connector.TCPConnector object at 0x7f81f0e091f0>
> req = <aiohttp.client_reqrep.ClientRequest object at 0x7f81f0bc0080>
> traces = []
> timeout = ClientTimeout(total=300, connect=None, sock_read=None,
> sock_connect=30, ceil_threshold=5)
>
> async def _create_direct_connection(
> self,
> req: ClientRequest,
> traces: List["Trace"],
> timeout: "ClientTimeout",
> *,
> client_error: Type[Exception] = ClientConnectorError,
> ) -> Tuple[asyncio.Transport, ResponseHandler]:
> sslcontext = self._get_ssl_context(req)
> fingerprint = self._get_fingerprint(req)
>
> host = req.url.raw_host
> assert host is not None
> # Replace multiple trailing dots with a single one.
> # A trailing dot is only present for fully-qualified domain names.
> # See https://github.com/aio-libs/aiohttp/pull/7364.
> if host.endswith(".."):
> host = host.rstrip(".") + "."
> port = req.port
> assert port is not None
> try:
> # Cancelling this lookup should not cancel the underlying lookup
> # or else the cancel event will get broadcast to all the waiters
> # across all connections.
> > hosts = await self._resolve_host(host, port, traces=traces)
>
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1335:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3/dist-packages/aiohttp/connector.py:989: in _resolve_host
> return await asyncio.shield(resolved_host_task)
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1020: in
> _resolve_host_with_throttle
> addrs = await self._resolver.resolve(host, port, family=self._family)
> /usr/lib/python3/dist-packages/aiohttp/resolver.py:38: in resolve
> infos = await self._loop.getaddrinfo(
> /usr/lib/python3.12/asyncio/base_events.py:900: in getaddrinfo
> return await self.run_in_executor(
> /usr/lib/python3.12/concurrent/futures/thread.py:59: in run
> result = self.fn(*self.args, **self.kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> host = 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com', port = 443
> family = <AddressFamily.AF_UNSPEC: 0>, type = <SocketKind.SOCK_STREAM: 1>
> proto = 0, flags = <AddressInfo.AI_ADDRCONFIG: 32>
>
> def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0):
> """Resolve host and port into list of address info entries.
>
> Translate the host/port argument into a sequence of 5-tuples that
> contain
> all the necessary arguments for creating a socket connected to that
> service.
> host is a domain name, a string representation of an IPv4/v6 address
> or
> None. port is a string service name such as 'http', a numeric port
> number or
> None. By passing None as the value of host and port, you can pass
> NULL to
> the underlying C API.
>
> The family, type and proto arguments can be optionally specified in
> order to
> narrow the list of addresses returned. Passing zero as a value for
> each of
> these arguments selects the full range of results.
> """
> # We override this function since we want to translate the numeric
> family
> # and socket type values to enum constants.
> addrlist = []
> > for res in _socket.getaddrinfo(host, port, family, type, proto,
> > flags):
> E socket.gaierror: [Errno -3] Temporary failure in name resolution
>
> /usr/lib/python3.12/socket.py:976: gaierror
>
> The above exception was the direct cause of the following exception:
>
> self = <fsspec.implementations.reference.ReferenceFileSystem object at
> 0x7f81f0c19c10>
> path = 'reference_time/0', start = None, end = None, kwargs = {}
> part_or_url =
> 'https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
> start0 = 39783, end0 = 39795, protocol = 'https'
> _ =
> 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
>
> async def _cat_file(self, path, start=None, end=None, **kwargs):
> part_or_url, start0, end0 = self._cat_common(path, start=start,
> end=end)
> if isinstance(part_or_url, bytes):
> return part_or_url[start:end]
> protocol, _ = split_protocol(part_or_url)
> try:
> > return await self.fss[protocol]._cat_file(
> part_or_url, start=start0, end=end0
> )
>
> fsspec/implementations/reference.py:814:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> fsspec/implementations/http.py:234: in _cat_file
> async with session.get(self.encode_url(url), **kw) as r:
> /usr/lib/python3/dist-packages/aiohttp/client.py:1360: in __aenter__
> self._resp: _RetType = await self._coro
> /usr/lib/python3/dist-packages/aiohttp/client.py:663: in _request
> conn = await self._connector.connect(
> /usr/lib/python3/dist-packages/aiohttp/connector.py:538: in connect
> proto = await self._create_connection(req, traces, timeout)
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1050: in
> _create_connection
> _, proto = await self._create_direct_connection(req, traces, timeout)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <aiohttp.connector.TCPConnector object at 0x7f81f0e091f0>
> req = <aiohttp.client_reqrep.ClientRequest object at 0x7f81f0bc0080>
> traces = []
> timeout = ClientTimeout(total=300, connect=None, sock_read=None,
> sock_connect=30, ceil_threshold=5)
>
> async def _create_direct_connection(
> self,
> req: ClientRequest,
> traces: List["Trace"],
> timeout: "ClientTimeout",
> *,
> client_error: Type[Exception] = ClientConnectorError,
> ) -> Tuple[asyncio.Transport, ResponseHandler]:
> sslcontext = self._get_ssl_context(req)
> fingerprint = self._get_fingerprint(req)
>
> host = req.url.raw_host
> assert host is not None
> # Replace multiple trailing dots with a single one.
> # A trailing dot is only present for fully-qualified domain names.
> # See https://github.com/aio-libs/aiohttp/pull/7364.
> if host.endswith(".."):
> host = host.rstrip(".") + "."
> port = req.port
> assert port is not None
> try:
> # Cancelling this lookup should not cancel the underlying lookup
> # or else the cancel event will get broadcast to all the waiters
> # across all connections.
> hosts = await self._resolve_host(host, port, traces=traces)
> except OSError as exc:
> if exc.errno is None and isinstance(exc, asyncio.TimeoutError):
> raise
> # in case of proxy it is not ClientProxyConnectionError
> # it is problem of resolving proxy ip itself
> > raise ClientConnectorDNSError(req.connection_key, exc) from exc
> E aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect
> to host noaa-nwm-retro-v2-0-pds.s3.amazonaws.com:443 ssl:default [Temporary
> failure in name resolution]
>
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1341:
> ClientConnectorDNSError
>
> The above exception was the direct cause of the following exception:
>
> @pytest.mark.asyncio
> async def test_async_cat_file_ranges():
> fsspec.get_filesystem_class("http").clear_instance_cache()
> fss = fsspec.filesystem("https", asynchronous=True)
> session = await fss.set_session()
>
> fs = fsspec.filesystem(
> "reference",
> fo={
> "version": 1,
> "refs": {
> "reference_time/0": [
>
> "https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp",
> 39783,
> 12,
> ],
> },
> },
> fs={"https": fss},
> remote_protocol="https",
> asynchronous=True,
> )
>
> assert (
> > await fs._cat_file("reference_time/0") ==
> > b"x^K0\xa9d\x04\x00\x03\x13\x01\x0f"
> )
>
> fsspec/implementations/tests/test_reference.py:541:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <fsspec.implementations.reference.ReferenceFileSystem object at
> 0x7f81f0c19c10>
> path = 'reference_time/0', start = None, end = None, kwargs = {}
> part_or_url =
> 'https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
> start0 = 39783, end0 = 39795, protocol = 'https'
> _ =
> 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
>
> async def _cat_file(self, path, start=None, end=None, **kwargs):
> part_or_url, start0, end0 = self._cat_common(path, start=start,
> end=end)
> if isinstance(part_or_url, bytes):
> return part_or_url[start:end]
> protocol, _ = split_protocol(part_or_url)
> try:
> return await self.fss[protocol]._cat_file(
> part_or_url, start=start0, end=end0
> )
> except Exception as e:
> > raise ReferenceNotReachable(path, part_or_url) from e
> E fsspec.implementations.reference.ReferenceNotReachable: Reference
> "reference_time/0" failed to fetch target
> https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp
>
> fsspec/implementations/reference.py:818: ReferenceNotReachable
> =============================== warnings summary
> ===============================
> fsspec/tests/test_async.py::test_run_coros_in_chunks
> /usr/lib/python3.12/asyncio/events.py:36: RuntimeWarning: coroutine
> 'test_run_coros_in_chunks.<locals>.runner' was never awaited
> def __init__(self, callback, args, loop, context=None):
> Enable tracemalloc to get traceback where the object was allocated.
> See
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
> for more info.
>
> fsspec/tests/test_async.py::test_async_streamed_file_write
> /usr/lib/python3.12/functools.py:58: RuntimeWarning: coroutine
> 'test_run_coros_in_chunks.<locals>.runner' was never awaited
> getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
> Enable tracemalloc to get traceback where the object was allocated.
> See
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
> for more info.
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED
> fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges
> = 1 failed, 1410 passed, 341 skipped, 2 deselected, 2 xfailed, 2 warnings in
> 33.60s =
> /usr/lib/python3/dist-packages/aiohttp/client.py:418: ResourceWarning:
> Unclosed client session <aiohttp.client.ClientSession object at
> 0x7f81f0b57410>
> Unclosed client session
> client_session: <aiohttp.client.ClientSession object at 0x7f81f0b57410>
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.12_fsspec/build;
> python3.12 -m pytest -k 'not test_dbfs_file_listing and not test_dbfs_mkdir
> and not test_dbfs_write_and_read and not test_dbfs_read_range and not
> test_dbfs_read_range_chunked and not
> test_find_returns_expected_result_detail_true_include_dirs and not
> test_find_returns_expected_result_detail_true' fsspec/
> I: pybuild pybuild:308: cp -R
> /build/reproducible-path/fsspec-2024.12.0/fsspec/tests
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.13_fsspec/build/fsspec/
> ; cp -R
> /build/reproducible-path/fsspec-2024.12.0/fsspec/implementations/tests
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.13_fsspec/build/fsspec/implementations/
> I: pybuild base:311: cd
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.13_fsspec/build;
> python3.13 -m pytest -k 'not test_dbfs_file_listing and not test_dbfs_mkdir
> and not test_dbfs_write_and_read and not test_dbfs_read_range and not
> test_dbfs_read_range_chunked and not
> test_find_returns_expected_result_detail_true_include_dirs and not
> test_find_returns_expected_result_detail_true' fsspec/
> /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207:
> PytestDeprecationWarning: The configuration option
> "asyncio_default_fixture_loop_scope" is unset.
> The event loop scope for asynchronous fixtures will default to the fixture
> caching scope. Future versions of pytest-asyncio will default the loop scope
> for asynchronous fixtures to function scope. Set the default fixture loop
> scope explicitly in order to avoid unexpected behavior in the future. Valid
> fixture loop scopes are: "function", "class", "module", "package", "session"
>
> warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
> ============================= test session starts
> ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
> rootdir:
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.13_fsspec/build
> configfile: pyproject.toml
> plugins: vcr-1.0.2, mock-3.14.0, asyncio-0.25.1, typeguard-4.4.1
> asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
> collected 1746 items / 2 deselected / 10 skipped / 1744 selected
>
> fsspec/implementations/tests/local/local_test.py ....................... [
> 1%]
> ........................................................................ [
> 5%]
> ........................................ [
> 7%]
> fsspec/implementations/tests/memory/memory_test.py ..................... [
> 8%]
> ........................................................................ [
> 13%]
> ............................................ [
> 15%]
> fsspec/implementations/tests/test_archive.py ........................... [
> 17%]
> ..........................................................ssssssssssssss [
> 21%]
> sss [
> 21%]
> fsspec/implementations/tests/test_asyn_wrapper.py ........ [
> 21%]
> fsspec/implementations/tests/test_cached.py ..........ssssssss......sss. [
> 23%]
> .................ssssssssssssssss.s........ssss..................... [
> 27%]
> fsspec/implementations/tests/test_common.py ssss [
> 27%]
> fsspec/implementations/tests/test_data.py .. [
> 27%]
> fsspec/implementations/tests/test_dirfs.py ............................. [
> 29%]
> ........................................................................ [
> 33%]
> ................................. [
> 35%]
> fsspec/implementations/tests/test_ftp.py sssssssssssssssssss [
> 36%]
> fsspec/implementations/tests/test_http.py .............................. [
> 38%]
> .......................... [
> 39%]
> fsspec/implementations/tests/test_libarchive.py s [
> 39%]
> fsspec/implementations/tests/test_local.py .s........................s.. [
> 41%]
> ..........................................................ss........ss.s [
> 45%]
> ssss.......sss....s.......................... [
> 48%]
> fsspec/implementations/tests/test_memory.py ............................ [
> 49%]
> .. [
> 49%]
> fsspec/implementations/tests/test_reference.py .................s...F..s [
> 51%]
> s..sssss [
> 51%]
> fsspec/implementations/tests/test_tar.py ......................... [
> 53%]
> fsspec/implementations/tests/test_webhdfs.py ssssssssssss [
> 53%]
> fsspec/implementations/tests/test_zip.py ............... [
> 54%]
> fsspec/tests/test_api.py ...............x...... [
> 56%]
> fsspec/tests/test_async.py .........s... [
> 56%]
> fsspec/tests/test_caches.py ............................................ [
> 59%]
> ........................................................................ [
> 63%]
> ............................. [
> 65%]
> fsspec/tests/test_callbacks.py ........ [
> 65%]
> fsspec/tests/test_compression.py ...sss [
> 65%]
> fsspec/tests/test_config.py ....... [
> 66%]
> fsspec/tests/test_core.py .............................................. [
> 68%]
> ...ss..sss.s [
> 69%]
> fsspec/tests/test_file.py sssssssss.s [
> 70%]
> fsspec/tests/test_generic.py ...... [
> 70%]
> fsspec/tests/test_mapping.py ................. [
> 71%]
> fsspec/tests/test_parquet.py sssssssssssssssssssssssssssssssssssssssssss [
> 74%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [
> 78%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [
> 82%]
> sssss [
> 82%]
> fsspec/tests/test_registry.py ......s [
> 82%]
> fsspec/tests/test_spec.py ....................x......................... [
> 85%]
> ............ssssssssss.................................................. [
> 89%]
> ........................................................................ [
> 93%]
> ........................................ [
> 96%]
> fsspec/tests/test_utils.py ............................................. [
> 98%]
> ......................
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_async_cat_file_ranges
> __________________________
>
> self = <aiohttp.connector.TCPConnector object at 0x7fa9e4e48510>
> req = <aiohttp.client_reqrep.ClientRequest object at 0x7fa9e4d8f250>
> traces = []
> timeout = ClientTimeout(total=300, connect=None, sock_read=None,
> sock_connect=30, ceil_threshold=5)
>
> async def _create_direct_connection(
> self,
> req: ClientRequest,
> traces: List["Trace"],
> timeout: "ClientTimeout",
> *,
> client_error: Type[Exception] = ClientConnectorError,
> ) -> Tuple[asyncio.Transport, ResponseHandler]:
> sslcontext = self._get_ssl_context(req)
> fingerprint = self._get_fingerprint(req)
>
> host = req.url.raw_host
> assert host is not None
> # Replace multiple trailing dots with a single one.
> # A trailing dot is only present for fully-qualified domain names.
> # See https://github.com/aio-libs/aiohttp/pull/7364.
> if host.endswith(".."):
> host = host.rstrip(".") + "."
> port = req.port
> assert port is not None
> try:
> # Cancelling this lookup should not cancel the underlying lookup
> # or else the cancel event will get broadcast to all the waiters
> # across all connections.
> > hosts = await self._resolve_host(host, port, traces=traces)
>
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1335:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3/dist-packages/aiohttp/connector.py:989: in _resolve_host
> return await asyncio.shield(resolved_host_task)
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1020: in
> _resolve_host_with_throttle
> addrs = await self._resolver.resolve(host, port, family=self._family)
> /usr/lib/python3/dist-packages/aiohttp/resolver.py:38: in resolve
> infos = await self._loop.getaddrinfo(
> /usr/lib/python3.13/asyncio/base_events.py:934: in getaddrinfo
> return await self.run_in_executor(
> /usr/lib/python3.13/concurrent/futures/thread.py:59: in run
> result = self.fn(*self.args, **self.kwargs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> host = 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com', port = 443
> family = <AddressFamily.AF_UNSPEC: 0>, type = <SocketKind.SOCK_STREAM: 1>
> proto = 0, flags = <AddressInfo.AI_ADDRCONFIG: 32>
>
> def getaddrinfo(host, port, family=0, type=0, proto=0, flags=0):
> """Resolve host and port into list of address info entries.
>
> Translate the host/port argument into a sequence of 5-tuples that
> contain
> all the necessary arguments for creating a socket connected to that
> service.
> host is a domain name, a string representation of an IPv4/v6 address
> or
> None. port is a string service name such as 'http', a numeric port
> number or
> None. By passing None as the value of host and port, you can pass
> NULL to
> the underlying C API.
>
> The family, type and proto arguments can be optionally specified in
> order to
> narrow the list of addresses returned. Passing zero as a value for
> each of
> these arguments selects the full range of results.
> """
> # We override this function since we want to translate the numeric
> family
> # and socket type values to enum constants.
> addrlist = []
> > for res in _socket.getaddrinfo(host, port, family, type, proto,
> > flags):
> E socket.gaierror: [Errno -3] Temporary failure in name resolution
>
> /usr/lib/python3.13/socket.py:975: gaierror
>
> The above exception was the direct cause of the following exception:
>
> self = <fsspec.implementations.reference.ReferenceFileSystem object at
> 0x7fa9e4d8a490>
> path = 'reference_time/0', start = None, end = None, kwargs = {}
> part_or_url =
> 'https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
> start0 = 39783, end0 = 39795, protocol = 'https'
> _ =
> 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
>
> async def _cat_file(self, path, start=None, end=None, **kwargs):
> part_or_url, start0, end0 = self._cat_common(path, start=start,
> end=end)
> if isinstance(part_or_url, bytes):
> return part_or_url[start:end]
> protocol, _ = split_protocol(part_or_url)
> try:
> > return await self.fss[protocol]._cat_file(
> part_or_url, start=start0, end=end0
> )
>
> fsspec/implementations/reference.py:814:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> fsspec/implementations/http.py:234: in _cat_file
> async with session.get(self.encode_url(url), **kw) as r:
> /usr/lib/python3/dist-packages/aiohttp/client.py:1360: in __aenter__
> self._resp: _RetType = await self._coro
> /usr/lib/python3/dist-packages/aiohttp/client.py:663: in _request
> conn = await self._connector.connect(
> /usr/lib/python3/dist-packages/aiohttp/connector.py:538: in connect
> proto = await self._create_connection(req, traces, timeout)
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1050: in
> _create_connection
> _, proto = await self._create_direct_connection(req, traces, timeout)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <aiohttp.connector.TCPConnector object at 0x7fa9e4e48510>
> req = <aiohttp.client_reqrep.ClientRequest object at 0x7fa9e4d8f250>
> traces = []
> timeout = ClientTimeout(total=300, connect=None, sock_read=None,
> sock_connect=30, ceil_threshold=5)
>
> async def _create_direct_connection(
> self,
> req: ClientRequest,
> traces: List["Trace"],
> timeout: "ClientTimeout",
> *,
> client_error: Type[Exception] = ClientConnectorError,
> ) -> Tuple[asyncio.Transport, ResponseHandler]:
> sslcontext = self._get_ssl_context(req)
> fingerprint = self._get_fingerprint(req)
>
> host = req.url.raw_host
> assert host is not None
> # Replace multiple trailing dots with a single one.
> # A trailing dot is only present for fully-qualified domain names.
> # See https://github.com/aio-libs/aiohttp/pull/7364.
> if host.endswith(".."):
> host = host.rstrip(".") + "."
> port = req.port
> assert port is not None
> try:
> # Cancelling this lookup should not cancel the underlying lookup
> # or else the cancel event will get broadcast to all the waiters
> # across all connections.
> hosts = await self._resolve_host(host, port, traces=traces)
> except OSError as exc:
> if exc.errno is None and isinstance(exc, asyncio.TimeoutError):
> raise
> # in case of proxy it is not ClientProxyConnectionError
> # it is problem of resolving proxy ip itself
> > raise ClientConnectorDNSError(req.connection_key, exc) from exc
> E aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect
> to host noaa-nwm-retro-v2-0-pds.s3.amazonaws.com:443 ssl:default [Temporary
> failure in name resolution]
>
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1341:
> ClientConnectorDNSError
>
> The above exception was the direct cause of the following exception:
>
> @pytest.mark.asyncio
> async def test_async_cat_file_ranges():
> fsspec.get_filesystem_class("http").clear_instance_cache()
> fss = fsspec.filesystem("https", asynchronous=True)
> session = await fss.set_session()
>
> fs = fsspec.filesystem(
> "reference",
> fo={
> "version": 1,
> "refs": {
> "reference_time/0": [
>
> "https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp",
> 39783,
> 12,
> ],
> },
> },
> fs={"https": fss},
> remote_protocol="https",
> asynchronous=True,
> )
>
> assert (
> > await fs._cat_file("reference_time/0") ==
> > b"x^K0\xa9d\x04\x00\x03\x13\x01\x0f"
> )
>
> fsspec/implementations/tests/test_reference.py:541:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <fsspec.implementations.reference.ReferenceFileSystem object at
> 0x7fa9e4d8a490>
> path = 'reference_time/0', start = None, end = None, kwargs = {}
> part_or_url =
> 'https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
> start0 = 39783, end0 = 39795, protocol = 'https'
> _ =
> 'noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp'
>
> async def _cat_file(self, path, start=None, end=None, **kwargs):
> part_or_url, start0, end0 = self._cat_common(path, start=start,
> end=end)
> if isinstance(part_or_url, bytes):
> return part_or_url[start:end]
> protocol, _ = split_protocol(part_or_url)
> try:
> return await self.fss[protocol]._cat_file(
> part_or_url, start=start0, end=end0
> )
> except Exception as e:
> > raise ReferenceNotReachable(path, part_or_url) from e
> E fsspec.implementations.reference.ReferenceNotReachable: Reference
> "reference_time/0" failed to fetch target
> https://noaa-nwm-retro-v2-0-pds.s3.amazonaws.com/full_physics/2017/201704010000.CHRTOUT_DOMAIN1.comp
>
> fsspec/implementations/reference.py:818: ReferenceNotReachable
> =============================== warnings summary
> ===============================
> fsspec/tests/test_async.py::test_async_streamed_file_read
> /usr/lib/python3/dist-packages/pluggy/_result.py:67: RuntimeWarning:
> coroutine 'test_run_coros_in_chunks.<locals>.runner' was never awaited
> def force_result(self, result: ResultType) -> None:
> Enable tracemalloc to get traceback where the object was allocated.
> See
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
> for more info.
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED
> fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges
> = 1 failed, 1410 passed, 341 skipped, 2 deselected, 2 xfailed, 1 warning in
> 30.52s =
> Unclosed client session
> client_session: <aiohttp.client.ClientSession object at 0x7fa9e6a145a0>
> Unclosed client session
> client_session: <aiohttp.client.ClientSession object at 0x7fa9e4dd96a0>
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /build/reproducible-path/fsspec-2024.12.0/.pybuild/cpython3_3.13_fsspec/build;
> python3.13 -m pytest -k 'not test_dbfs_file_listing and not test_dbfs_mkdir
> and not test_dbfs_write_and_read and not test_dbfs_read_range and not
> test_dbfs_read_range_chunked and not
> test_find_returns_expected_result_detail_true_include_dirs and not
> test_find_returns_expected_result_detail_true' fsspec/
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.13" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2025/01/07/fsspec_2024.12.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250107;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250107&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---