2023-05-30T14:31:33,906 Created temporary directory: /tmp/pip-build-tracker-_im9wgzc 2023-05-30T14:31:33,907 Initialized build tracking at /tmp/pip-build-tracker-_im9wgzc 2023-05-30T14:31:33,907 Created build tracker: /tmp/pip-build-tracker-_im9wgzc 2023-05-30T14:31:33,907 Entered build tracker: /tmp/pip-build-tracker-_im9wgzc 2023-05-30T14:31:33,908 Created temporary directory: /tmp/pip-wheel-llxuh8q8 2023-05-30T14:31:33,911 Created temporary directory: /tmp/pip-ephem-wheel-cache-y3axelao 2023-05-30T14:31:33,933 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:31:33,936 2 location(s) to search for versions of cz-ossfs: 2023-05-30T14:31:33,936 * https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:31:33,936 * https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:31:33,937 Fetching project page and analyzing links: https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:31:33,937 Getting page https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:31:33,939 Found index url https://pypi.org/simple/ 2023-05-30T14:31:33,999 Fetched page https://pypi.org/simple/cz-ossfs/ as application/vnd.pypi.simple.v1+json 2023-05-30T14:31:34,001 Found link https://files.pythonhosted.org/packages/41/71/334f5b6f40ffc30e31fc4132b1e6d53415fa2edcc0d55b5d1e3c1302e1c5/cz-ossfs-0.0.1.tar.gz (from https://pypi.org/simple/cz-ossfs/) (requires-python:>=3.8), version: 0.0.1 2023-05-30T14:31:34,001 Skipping link: No binaries permitted for cz-ossfs: https://files.pythonhosted.org/packages/c4/44/f3eeba39e035ee0fec772fa0daa23fe606b5a5693ef3124b6f098bdfd2ad/cz_ossfs-0.0.1-py3-none-any.whl (from https://pypi.org/simple/cz-ossfs/) (requires-python:>=3.8) 2023-05-30T14:31:34,002 Found link https://files.pythonhosted.org/packages/6d/ca/f4470282e401829a4b9e601f4b2342dfbf5ac445261247b0809cd34bac32/cz-ossfs-0.0.2.tar.gz (from https://pypi.org/simple/cz-ossfs/) (requires-python:>=3.8), version: 0.0.2 2023-05-30T14:31:34,002 Skipping link: No binaries permitted for cz-ossfs: https://files.pythonhosted.org/packages/46/6b/ff0a33aff1114325bcdd85c04f5c74162fc1ada6b9c9e575082fd7b46f7f/cz_ossfs-0.0.2-py3-none-any.whl (from https://pypi.org/simple/cz-ossfs/) (requires-python:>=3.8) 2023-05-30T14:31:34,003 Fetching project page and analyzing links: https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:31:34,003 Getting page https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:31:34,004 Found index url https://www.piwheels.org/simple/ 2023-05-30T14:31:34,182 Fetched page https://www.piwheels.org/simple/cz-ossfs/ as text/html 2023-05-30T14:31:34,183 Skipping link: not a file: https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:31:34,183 Skipping link: not a file: https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:31:34,201 Given no hashes to check 1 links for project 'cz-ossfs': discarding no candidates 2023-05-30T14:31:34,217 Collecting cz-ossfs==0.0.1 2023-05-30T14:31:34,219 Created temporary directory: /tmp/pip-unpack-_wnpcq0z 2023-05-30T14:31:34,359 Downloading cz-ossfs-0.0.1.tar.gz (22 kB) 2023-05-30T14:31:34,407 Added cz-ossfs==0.0.1 from https://files.pythonhosted.org/packages/41/71/334f5b6f40ffc30e31fc4132b1e6d53415fa2edcc0d55b5d1e3c1302e1c5/cz-ossfs-0.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-_im9wgzc' 2023-05-30T14:31:34,414 Created temporary directory: /tmp/pip-build-env-oqb7w2kl 2023-05-30T14:31:34,424 Installing build dependencies: started 2023-05-30T14:31:34,425 Running command pip subprocess to install build dependencies 2023-05-30T14:31:35,622 Using pip 23.1.2 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-05-30T14:31:35,979 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:31:37,660 Collecting setuptools>=48 2023-05-30T14:31:37,749 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.8.0-py3-none-any.whl (1.1 MB) 2023-05-30T14:31:38,101 Collecting setuptools_scm[toml]>=6.3.1 2023-05-30T14:31:38,119 Using cached https://www.piwheels.org/simple/setuptools-scm/setuptools_scm-7.1.0-py3-none-any.whl (43 kB) 2023-05-30T14:31:38,488 Collecting packaging>=20.0 (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:31:38,505 Using cached https://www.piwheels.org/simple/packaging/packaging-23.1-py3-none-any.whl (48 kB) 2023-05-30T14:31:38,617 Collecting typing-extensions (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:31:38,633 Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.6.2-py3-none-any.whl (31 kB) 2023-05-30T14:31:38,752 Collecting tomli>=1.0.0 (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:31:38,767 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-05-30T14:31:40,716 Installing collected packages: typing-extensions, tomli, setuptools, packaging, setuptools_scm 2023-05-30T14:31:43,226 Successfully installed packaging-23.1 setuptools-67.8.0 setuptools_scm-7.1.0 tomli-2.0.1 typing-extensions-4.6.2 2023-05-30T14:31:43,505 Installing build dependencies: finished with status 'done' 2023-05-30T14:31:43,510 Getting requirements to build wheel: started 2023-05-30T14:31:43,511 Running command Getting requirements to build wheel 2023-05-30T14:31:44,043 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:31:44,043 !! 2023-05-30T14:31:44,043 ******************************************************************************** 2023-05-30T14:31:44,044 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:31:44,044 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,044 or your builds will no longer be supported. 2023-05-30T14:31:44,044 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:31:44,044 ******************************************************************************** 2023-05-30T14:31:44,045 !! 2023-05-30T14:31:44,045 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:31:44,226 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `description` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:44,226 !! 2023-05-30T14:31:44,226 ******************************************************************************** 2023-05-30T14:31:44,226 ########################################################################## 2023-05-30T14:31:44,226 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:44,227 ########################################################################## 2023-05-30T14:31:44,227 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:44,227 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:31:44,227 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:44,227 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:31:44,228 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:44,228 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:44,228 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:44,228 follow strictly the standard. 2023-05-30T14:31:44,228 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:31:44,229 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:44,229 configuration. 2023-05-30T14:31:44,229 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,229 or your builds will no longer be supported. 2023-05-30T14:31:44,229 ******************************************************************************** 2023-05-30T14:31:44,229 !! 2023-05-30T14:31:44,230 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:44,230 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `readme` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:44,230 !! 2023-05-30T14:31:44,230 ******************************************************************************** 2023-05-30T14:31:44,230 ########################################################################## 2023-05-30T14:31:44,230 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:44,231 ########################################################################## 2023-05-30T14:31:44,231 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:44,231 `readme = "OSSFS\n=====\n\n|PyPI| |Status| |Python Version| |License|\n\n|Tests| |Codecov| |pre-commit| |Black|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: PyPI\n.. |Status| image:: https://img.shields.io/pypi/status/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: Status\n.. |Python Version| image:: https://img.shields.io/pypi/pyversions/ossfs\n :target: https://pypi.org/project/ossfs\n :alt: Python Version\n.. |License| image:: https://img.shields.io/pypi/l/ossfs\n :target: https://opensource.org/licenses/Apache-2.0\n :alt: License\n.. |Tests| image:: https://github.com/karajan1001/ossfs/workflows/Tests/badge.svg\n :target: https://github.com/karajan1001/ossfs/actions?workflow=Tests\n :alt: Tests\n.. |Codecov| image:: https://codecov.io/gh/karajan1001/ossfs/branch/main/graph/badge.svg\n :target: https://app.codecov.io/gh/karajan1001/ossfs\n :alt: Codecov\n.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n :target: https://github.com/pre-commit/pre-commit\n :alt: pre-commit\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Black\n\n**OSSFS** is a Python-based interface for file systems that enables interaction with\nOSS (Object Storage Service). Through **OSSFS**, users can utilize fsspec's standard\nAPI to operate on OSS objects\n\nInstallation\n------------\n\nYou can install *OSSFS* via pip_ from PyPI_:\n\n.. code:: console\n\n $ pip install ossfs\n\nUp-to-date package also provided through conda-forge distribution:\n\n.. code:: console\n\n $ conda install -c conda-forge ossfs\n\nQuick Start\n------------\n\nHere is a simple example of locating and reading an object in OSS.\n\n.. code:: python\n\n import ossfs\n fs = ossfs.OSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n fs.ls('/dvc-test-anonymous/LICENSE')\n [{'name': '/dvc-test-anonymous/LICENSE',\n 'Key': '/dvc-test-anonymous/LICENSE',\n 'type': 'file',\n 'size': 11357,\n 'Size': 11357,\n 'StorageClass': 'OBJECT',\n 'LastModified': 1622761222}]\n with fs.open('/dvc-test-anonymous/LICENSE') as f:\n ... print(f.readline())\n b' Apache License\\n'\n\nFor more use case and apis please refer to the documentation of `fsspec `_\n\nAsync OSSFS\n------------\n\nAsync **OSSFS** is a variant of ossfs that utilizes the third-party async OSS\nbackend `aiooss2`_, rather than the official sync one, `oss2`_. Async OSSFS\nallows for concurrent calls within bulk operations, such as *cat*, *put*, and\n*get* etc even from normal code, and enables the direct use of fsspec in async\ncode without blocking. The usage of async **OSSFS** is similar to the synchronous\nvariant; one simply needs to replace **OSSFileSystem** with **AioOSSFileSystem**\nneed to do is replacing the **OSSFileSystem** with the **AioOSSFileSystem**\n\n.. code:: python\n\n import ossfs\n fs = ossfs.AioOSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n print(fs.cat('/dvc-test-anonymous/LICENSE'))\n b' Apache License\\n'\n ...\n\nAlthough `aiooss2`_ is not officially supported, there are still some\nfeatures that are currently lacking. However, in tests involving the\n*put*/*get* of 1200 small files, the async version of ossfs ran ten times\nfaster than the synchronous variant (depending on the pool size of the\nconcurrency).\n\n+-------------------------------------------+------------------------+\n| Task | time cost in (seconds) |\n+===========================================+========================+\n| put 1200 small files via OSSFileSystem | 35.2688 (13.53) |\n+-------------------------------------------+------------------------+\n| put 1200 small files via AioOSSFileSystem | 2.6060 (1.0) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via OSSFileSystem | 32.9096 (12.63) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via AioOSSFileSystem | 3.3497 (1.29) |\n+-------------------------------------------+------------------------+\n\nContributing\n------------\n\nContributions are very welcome.\nTo learn more, see the `Contributor Guide`_.\n\n\nLicense\n-------\n\nDistributed under the terms of the `Apache 2.0 license`_,\n*Ossfs* is free and open source software.\n\n\nIssues\n------\n\nIf you encounter any problems,\nplease `file an issue`_ along with a detailed description.\n\n\n.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0\n.. _PyPI: https://pypi.org/\n.. _file an issue: https://github.com/fsspec/ossfs/issues\n.. _aiooss2: https://github.com/karajan1001/aiooss2/\n.. _oss2: https://pypi.org/project/oss2/\n.. _pip: https://pip.pypa.io/\n.. github-only\n.. _Contributor Guide: CONTRIBUTING.rst\n"` 2023-05-30T14:31:44,232 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:44,232 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:31:44,232 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:44,232 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:44,232 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:44,232 follow strictly the standard. 2023-05-30T14:31:44,233 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:31:44,233 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:44,233 configuration. 2023-05-30T14:31:44,233 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,233 or your builds will no longer be supported. 2023-05-30T14:31:44,234 ******************************************************************************** 2023-05-30T14:31:44,234 !! 2023-05-30T14:31:44,234 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:44,234 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `requires-python` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:44,234 !! 2023-05-30T14:31:44,234 ******************************************************************************** 2023-05-30T14:31:44,234 ########################################################################## 2023-05-30T14:31:44,235 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:44,235 ########################################################################## 2023-05-30T14:31:44,235 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:44,235 `requires-python = =3.8')>` 2023-05-30T14:31:44,236 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:44,236 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:31:44,236 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:44,236 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:44,237 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:44,237 follow strictly the standard. 2023-05-30T14:31:44,237 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:31:44,237 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:44,237 configuration. 2023-05-30T14:31:44,238 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,238 or your builds will no longer be supported. 2023-05-30T14:31:44,238 ******************************************************************************** 2023-05-30T14:31:44,238 !! 2023-05-30T14:31:44,238 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:44,239 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `license` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:44,239 !! 2023-05-30T14:31:44,239 ******************************************************************************** 2023-05-30T14:31:44,239 ########################################################################## 2023-05-30T14:31:44,239 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:44,240 ########################################################################## 2023-05-30T14:31:44,240 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:44,240 `license = 'Apache-2.0'` 2023-05-30T14:31:44,240 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:44,240 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:31:44,241 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:44,241 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:44,241 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:44,241 follow strictly the standard. 2023-05-30T14:31:44,242 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:31:44,242 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:44,242 configuration. 2023-05-30T14:31:44,242 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,242 or your builds will no longer be supported. 2023-05-30T14:31:44,242 ******************************************************************************** 2023-05-30T14:31:44,243 !! 2023-05-30T14:31:44,243 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:44,243 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `classifiers` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:44,243 !! 2023-05-30T14:31:44,243 ******************************************************************************** 2023-05-30T14:31:44,243 ########################################################################## 2023-05-30T14:31:44,244 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:44,244 ########################################################################## 2023-05-30T14:31:44,244 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:44,244 `classifiers = ['Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Development Status :: 4 - Beta']` 2023-05-30T14:31:44,245 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:44,245 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:31:44,245 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:44,245 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:44,246 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:44,246 follow strictly the standard. 2023-05-30T14:31:44,246 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:31:44,246 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:44,246 configuration. 2023-05-30T14:31:44,246 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:44,247 or your builds will no longer be supported. 2023-05-30T14:31:44,247 ******************************************************************************** 2023-05-30T14:31:44,247 !! 2023-05-30T14:31:44,247 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:44,506 running egg_info 2023-05-30T14:31:44,512 writing src/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:31:44,514 writing dependency_links to src/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:31:44,517 writing requirements to src/cz_ossfs.egg-info/requires.txt 2023-05-30T14:31:44,518 writing top-level names to src/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:31:44,556 listing git files failed - pretending there aren't any 2023-05-30T14:31:44,564 reading manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:44,566 reading manifest template 'MANIFEST.in' 2023-05-30T14:31:44,567 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:31:44,567 adding license file 'LICENSE' 2023-05-30T14:31:44,570 writing manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:44,679 Getting requirements to build wheel: finished with status 'done' 2023-05-30T14:31:44,693 Installing backend dependencies: started 2023-05-30T14:31:44,694 Running command pip subprocess to install backend dependencies 2023-05-30T14:31:45,850 Using pip 23.1.2 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-05-30T14:31:46,204 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:31:46,636 Collecting wheel 2023-05-30T14:31:46,655 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-05-30T14:31:47,950 Installing collected packages: wheel 2023-05-30T14:31:48,203 Creating /tmp/pip-build-env-oqb7w2kl/normal/bin 2023-05-30T14:31:48,205 changing mode of /tmp/pip-build-env-oqb7w2kl/normal/bin/wheel to 755 2023-05-30T14:31:48,218 Successfully installed wheel-0.40.0 2023-05-30T14:31:48,436 Installing backend dependencies: finished with status 'done' 2023-05-30T14:31:48,438 Created temporary directory: /tmp/pip-modern-metadata-ms_93e0t 2023-05-30T14:31:48,441 Preparing metadata (pyproject.toml): started 2023-05-30T14:31:48,442 Running command Preparing metadata (pyproject.toml) 2023-05-30T14:31:49,033 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:31:49,034 !! 2023-05-30T14:31:49,034 ******************************************************************************** 2023-05-30T14:31:49,035 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:31:49,035 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,035 or your builds will no longer be supported. 2023-05-30T14:31:49,035 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:31:49,035 ******************************************************************************** 2023-05-30T14:31:49,036 !! 2023-05-30T14:31:49,036 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:31:49,077 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `description` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:49,077 !! 2023-05-30T14:31:49,077 ******************************************************************************** 2023-05-30T14:31:49,078 ########################################################################## 2023-05-30T14:31:49,078 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:49,078 ########################################################################## 2023-05-30T14:31:49,078 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:49,078 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:31:49,079 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:49,079 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:31:49,079 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:49,079 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:49,079 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:49,080 follow strictly the standard. 2023-05-30T14:31:49,080 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:31:49,080 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:49,080 configuration. 2023-05-30T14:31:49,080 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,080 or your builds will no longer be supported. 2023-05-30T14:31:49,081 ******************************************************************************** 2023-05-30T14:31:49,081 !! 2023-05-30T14:31:49,081 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:49,081 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `readme` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:49,081 !! 2023-05-30T14:31:49,081 ******************************************************************************** 2023-05-30T14:31:49,082 ########################################################################## 2023-05-30T14:31:49,082 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:49,082 ########################################################################## 2023-05-30T14:31:49,082 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:49,082 `readme = "OSSFS\n=====\n\n|PyPI| |Status| |Python Version| |License|\n\n|Tests| |Codecov| |pre-commit| |Black|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: PyPI\n.. |Status| image:: https://img.shields.io/pypi/status/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: Status\n.. |Python Version| image:: https://img.shields.io/pypi/pyversions/ossfs\n :target: https://pypi.org/project/ossfs\n :alt: Python Version\n.. |License| image:: https://img.shields.io/pypi/l/ossfs\n :target: https://opensource.org/licenses/Apache-2.0\n :alt: License\n.. |Tests| image:: https://github.com/karajan1001/ossfs/workflows/Tests/badge.svg\n :target: https://github.com/karajan1001/ossfs/actions?workflow=Tests\n :alt: Tests\n.. |Codecov| image:: https://codecov.io/gh/karajan1001/ossfs/branch/main/graph/badge.svg\n :target: https://app.codecov.io/gh/karajan1001/ossfs\n :alt: Codecov\n.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n :target: https://github.com/pre-commit/pre-commit\n :alt: pre-commit\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Black\n\n**OSSFS** is a Python-based interface for file systems that enables interaction with\nOSS (Object Storage Service). Through **OSSFS**, users can utilize fsspec's standard\nAPI to operate on OSS objects\n\nInstallation\n------------\n\nYou can install *OSSFS* via pip_ from PyPI_:\n\n.. code:: console\n\n $ pip install ossfs\n\nUp-to-date package also provided through conda-forge distribution:\n\n.. code:: console\n\n $ conda install -c conda-forge ossfs\n\nQuick Start\n------------\n\nHere is a simple example of locating and reading an object in OSS.\n\n.. code:: python\n\n import ossfs\n fs = ossfs.OSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n fs.ls('/dvc-test-anonymous/LICENSE')\n [{'name': '/dvc-test-anonymous/LICENSE',\n 'Key': '/dvc-test-anonymous/LICENSE',\n 'type': 'file',\n 'size': 11357,\n 'Size': 11357,\n 'StorageClass': 'OBJECT',\n 'LastModified': 1622761222}]\n with fs.open('/dvc-test-anonymous/LICENSE') as f:\n ... print(f.readline())\n b' Apache License\\n'\n\nFor more use case and apis please refer to the documentation of `fsspec `_\n\nAsync OSSFS\n------------\n\nAsync **OSSFS** is a variant of ossfs that utilizes the third-party async OSS\nbackend `aiooss2`_, rather than the official sync one, `oss2`_. Async OSSFS\nallows for concurrent calls within bulk operations, such as *cat*, *put*, and\n*get* etc even from normal code, and enables the direct use of fsspec in async\ncode without blocking. The usage of async **OSSFS** is similar to the synchronous\nvariant; one simply needs to replace **OSSFileSystem** with **AioOSSFileSystem**\nneed to do is replacing the **OSSFileSystem** with the **AioOSSFileSystem**\n\n.. code:: python\n\n import ossfs\n fs = ossfs.AioOSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n print(fs.cat('/dvc-test-anonymous/LICENSE'))\n b' Apache License\\n'\n ...\n\nAlthough `aiooss2`_ is not officially supported, there are still some\nfeatures that are currently lacking. However, in tests involving the\n*put*/*get* of 1200 small files, the async version of ossfs ran ten times\nfaster than the synchronous variant (depending on the pool size of the\nconcurrency).\n\n+-------------------------------------------+------------------------+\n| Task | time cost in (seconds) |\n+===========================================+========================+\n| put 1200 small files via OSSFileSystem | 35.2688 (13.53) |\n+-------------------------------------------+------------------------+\n| put 1200 small files via AioOSSFileSystem | 2.6060 (1.0) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via OSSFileSystem | 32.9096 (12.63) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via AioOSSFileSystem | 3.3497 (1.29) |\n+-------------------------------------------+------------------------+\n\nContributing\n------------\n\nContributions are very welcome.\nTo learn more, see the `Contributor Guide`_.\n\n\nLicense\n-------\n\nDistributed under the terms of the `Apache 2.0 license`_,\n*Ossfs* is free and open source software.\n\n\nIssues\n------\n\nIf you encounter any problems,\nplease `file an issue`_ along with a detailed description.\n\n\n.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0\n.. _PyPI: https://pypi.org/\n.. _file an issue: https://github.com/fsspec/ossfs/issues\n.. _aiooss2: https://github.com/karajan1001/aiooss2/\n.. _oss2: https://pypi.org/project/oss2/\n.. _pip: https://pip.pypa.io/\n.. github-only\n.. _Contributor Guide: CONTRIBUTING.rst\n"` 2023-05-30T14:31:49,083 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:49,083 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:31:49,083 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:49,083 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:49,083 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:49,084 follow strictly the standard. 2023-05-30T14:31:49,084 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:31:49,084 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:49,084 configuration. 2023-05-30T14:31:49,084 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,084 or your builds will no longer be supported. 2023-05-30T14:31:49,085 ******************************************************************************** 2023-05-30T14:31:49,085 !! 2023-05-30T14:31:49,085 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:49,085 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `requires-python` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:49,085 !! 2023-05-30T14:31:49,085 ******************************************************************************** 2023-05-30T14:31:49,086 ########################################################################## 2023-05-30T14:31:49,086 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:49,086 ########################################################################## 2023-05-30T14:31:49,086 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:49,086 `requires-python = =3.8')>` 2023-05-30T14:31:49,087 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:49,087 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:31:49,087 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:49,087 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:49,087 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:49,087 follow strictly the standard. 2023-05-30T14:31:49,088 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:31:49,088 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:49,088 configuration. 2023-05-30T14:31:49,088 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,088 or your builds will no longer be supported. 2023-05-30T14:31:49,089 ******************************************************************************** 2023-05-30T14:31:49,089 !! 2023-05-30T14:31:49,089 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:49,089 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `license` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:49,089 !! 2023-05-30T14:31:49,089 ******************************************************************************** 2023-05-30T14:31:49,090 ########################################################################## 2023-05-30T14:31:49,090 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:49,090 ########################################################################## 2023-05-30T14:31:49,090 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:49,090 `license = 'Apache-2.0'` 2023-05-30T14:31:49,091 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:49,091 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:31:49,091 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:49,091 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:49,091 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:49,092 follow strictly the standard. 2023-05-30T14:31:49,092 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:31:49,092 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:49,092 configuration. 2023-05-30T14:31:49,092 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,093 or your builds will no longer be supported. 2023-05-30T14:31:49,093 ******************************************************************************** 2023-05-30T14:31:49,093 !! 2023-05-30T14:31:49,093 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:49,093 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `classifiers` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:49,093 !! 2023-05-30T14:31:49,094 ******************************************************************************** 2023-05-30T14:31:49,094 ########################################################################## 2023-05-30T14:31:49,094 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:49,094 ########################################################################## 2023-05-30T14:31:49,094 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:49,094 `classifiers = ['Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Development Status :: 4 - Beta']` 2023-05-30T14:31:49,095 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:49,095 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:31:49,095 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:49,095 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:49,096 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:49,096 follow strictly the standard. 2023-05-30T14:31:49,096 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:31:49,096 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:49,096 configuration. 2023-05-30T14:31:49,096 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:49,097 or your builds will no longer be supported. 2023-05-30T14:31:49,097 ******************************************************************************** 2023-05-30T14:31:49,097 !! 2023-05-30T14:31:49,097 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:49,416 running dist_info 2023-05-30T14:31:49,423 creating /tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info 2023-05-30T14:31:49,429 writing /tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:31:49,432 writing dependency_links to /tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:31:49,434 writing requirements to /tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/requires.txt 2023-05-30T14:31:49,435 writing top-level names to /tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:31:49,437 writing manifest file '/tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:49,475 listing git files failed - pretending there aren't any 2023-05-30T14:31:49,484 reading manifest file '/tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:49,486 reading manifest template 'MANIFEST.in' 2023-05-30T14:31:49,487 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:31:49,488 adding license file 'LICENSE' 2023-05-30T14:31:49,490 writing manifest file '/tmp/pip-modern-metadata-ms_93e0t/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:49,491 creating '/tmp/pip-modern-metadata-ms_93e0t/cz_ossfs-0.0.1.dist-info' 2023-05-30T14:31:49,655 Preparing metadata (pyproject.toml): finished with status 'done' 2023-05-30T14:31:49,662 Source in /tmp/pip-wheel-llxuh8q8/cz-ossfs_be5a22d8d32b43cebc39cea5c3ea299d has version 0.0.1, which satisfies requirement cz-ossfs==0.0.1 from https://files.pythonhosted.org/packages/41/71/334f5b6f40ffc30e31fc4132b1e6d53415fa2edcc0d55b5d1e3c1302e1c5/cz-ossfs-0.0.1.tar.gz 2023-05-30T14:31:49,663 Removed cz-ossfs==0.0.1 from https://files.pythonhosted.org/packages/41/71/334f5b6f40ffc30e31fc4132b1e6d53415fa2edcc0d55b5d1e3c1302e1c5/cz-ossfs-0.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-_im9wgzc' 2023-05-30T14:31:49,669 Created temporary directory: /tmp/pip-unpack-vpe45uqh 2023-05-30T14:31:49,670 Building wheels for collected packages: cz-ossfs 2023-05-30T14:31:49,674 Created temporary directory: /tmp/pip-wheel-l6oyi7h0 2023-05-30T14:31:49,674 Destination directory: /tmp/pip-wheel-l6oyi7h0 2023-05-30T14:31:49,677 Building wheel for cz-ossfs (pyproject.toml): started 2023-05-30T14:31:49,678 Running command Building wheel for cz-ossfs (pyproject.toml) 2023-05-30T14:31:50,246 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:31:50,247 !! 2023-05-30T14:31:50,247 ******************************************************************************** 2023-05-30T14:31:50,247 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:31:50,247 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,248 or your builds will no longer be supported. 2023-05-30T14:31:50,248 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:31:50,248 ******************************************************************************** 2023-05-30T14:31:50,248 !! 2023-05-30T14:31:50,248 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:31:50,282 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `description` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:50,282 !! 2023-05-30T14:31:50,282 ******************************************************************************** 2023-05-30T14:31:50,282 ########################################################################## 2023-05-30T14:31:50,282 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:50,283 ########################################################################## 2023-05-30T14:31:50,283 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:50,283 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:31:50,283 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:50,283 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:31:50,284 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:50,284 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:50,284 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:50,284 follow strictly the standard. 2023-05-30T14:31:50,284 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:31:50,285 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:50,285 configuration. 2023-05-30T14:31:50,285 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,285 or your builds will no longer be supported. 2023-05-30T14:31:50,285 ******************************************************************************** 2023-05-30T14:31:50,285 !! 2023-05-30T14:31:50,286 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:50,286 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `readme` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:50,286 !! 2023-05-30T14:31:50,286 ******************************************************************************** 2023-05-30T14:31:50,286 ########################################################################## 2023-05-30T14:31:50,286 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:50,287 ########################################################################## 2023-05-30T14:31:50,287 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:50,287 `readme = "OSSFS\n=====\n\n|PyPI| |Status| |Python Version| |License|\n\n|Tests| |Codecov| |pre-commit| |Black|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: PyPI\n.. |Status| image:: https://img.shields.io/pypi/status/ossfs.svg\n :target: https://pypi.org/project/ossfs/\n :alt: Status\n.. |Python Version| image:: https://img.shields.io/pypi/pyversions/ossfs\n :target: https://pypi.org/project/ossfs\n :alt: Python Version\n.. |License| image:: https://img.shields.io/pypi/l/ossfs\n :target: https://opensource.org/licenses/Apache-2.0\n :alt: License\n.. |Tests| image:: https://github.com/karajan1001/ossfs/workflows/Tests/badge.svg\n :target: https://github.com/karajan1001/ossfs/actions?workflow=Tests\n :alt: Tests\n.. |Codecov| image:: https://codecov.io/gh/karajan1001/ossfs/branch/main/graph/badge.svg\n :target: https://app.codecov.io/gh/karajan1001/ossfs\n :alt: Codecov\n.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n :target: https://github.com/pre-commit/pre-commit\n :alt: pre-commit\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Black\n\n**OSSFS** is a Python-based interface for file systems that enables interaction with\nOSS (Object Storage Service). Through **OSSFS**, users can utilize fsspec's standard\nAPI to operate on OSS objects\n\nInstallation\n------------\n\nYou can install *OSSFS* via pip_ from PyPI_:\n\n.. code:: console\n\n $ pip install ossfs\n\nUp-to-date package also provided through conda-forge distribution:\n\n.. code:: console\n\n $ conda install -c conda-forge ossfs\n\nQuick Start\n------------\n\nHere is a simple example of locating and reading an object in OSS.\n\n.. code:: python\n\n import ossfs\n fs = ossfs.OSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n fs.ls('/dvc-test-anonymous/LICENSE')\n [{'name': '/dvc-test-anonymous/LICENSE',\n 'Key': '/dvc-test-anonymous/LICENSE',\n 'type': 'file',\n 'size': 11357,\n 'Size': 11357,\n 'StorageClass': 'OBJECT',\n 'LastModified': 1622761222}]\n with fs.open('/dvc-test-anonymous/LICENSE') as f:\n ... print(f.readline())\n b' Apache License\\n'\n\nFor more use case and apis please refer to the documentation of `fsspec `_\n\nAsync OSSFS\n------------\n\nAsync **OSSFS** is a variant of ossfs that utilizes the third-party async OSS\nbackend `aiooss2`_, rather than the official sync one, `oss2`_. Async OSSFS\nallows for concurrent calls within bulk operations, such as *cat*, *put*, and\n*get* etc even from normal code, and enables the direct use of fsspec in async\ncode without blocking. The usage of async **OSSFS** is similar to the synchronous\nvariant; one simply needs to replace **OSSFileSystem** with **AioOSSFileSystem**\nneed to do is replacing the **OSSFileSystem** with the **AioOSSFileSystem**\n\n.. code:: python\n\n import ossfs\n fs = ossfs.AioOSSFileSystem(endpoint='http://oss-cn-hangzhou.aliyuncs.com')\n print(fs.cat('/dvc-test-anonymous/LICENSE'))\n b' Apache License\\n'\n ...\n\nAlthough `aiooss2`_ is not officially supported, there are still some\nfeatures that are currently lacking. However, in tests involving the\n*put*/*get* of 1200 small files, the async version of ossfs ran ten times\nfaster than the synchronous variant (depending on the pool size of the\nconcurrency).\n\n+-------------------------------------------+------------------------+\n| Task | time cost in (seconds) |\n+===========================================+========================+\n| put 1200 small files via OSSFileSystem | 35.2688 (13.53) |\n+-------------------------------------------+------------------------+\n| put 1200 small files via AioOSSFileSystem | 2.6060 (1.0) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via OSSFileSystem | 32.9096 (12.63) |\n+-------------------------------------------+------------------------+\n| get 1200 small files via AioOSSFileSystem | 3.3497 (1.29) |\n+-------------------------------------------+------------------------+\n\nContributing\n------------\n\nContributions are very welcome.\nTo learn more, see the `Contributor Guide`_.\n\n\nLicense\n-------\n\nDistributed under the terms of the `Apache 2.0 license`_,\n*Ossfs* is free and open source software.\n\n\nIssues\n------\n\nIf you encounter any problems,\nplease `file an issue`_ along with a detailed description.\n\n\n.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0\n.. _PyPI: https://pypi.org/\n.. _file an issue: https://github.com/fsspec/ossfs/issues\n.. _aiooss2: https://github.com/karajan1001/aiooss2/\n.. _oss2: https://pypi.org/project/oss2/\n.. _pip: https://pip.pypa.io/\n.. github-only\n.. _Contributor Guide: CONTRIBUTING.rst\n"` 2023-05-30T14:31:50,287 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:50,288 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:31:50,288 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:50,288 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:50,288 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:50,288 follow strictly the standard. 2023-05-30T14:31:50,289 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:31:50,289 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:50,289 configuration. 2023-05-30T14:31:50,289 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,289 or your builds will no longer be supported. 2023-05-30T14:31:50,289 ******************************************************************************** 2023-05-30T14:31:50,290 !! 2023-05-30T14:31:50,290 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:50,290 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `requires-python` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:50,290 !! 2023-05-30T14:31:50,290 ******************************************************************************** 2023-05-30T14:31:50,290 ########################################################################## 2023-05-30T14:31:50,291 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:50,291 ########################################################################## 2023-05-30T14:31:50,291 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:50,291 `requires-python = =3.8')>` 2023-05-30T14:31:50,292 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:50,292 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:31:50,292 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:50,292 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:50,292 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:50,292 follow strictly the standard. 2023-05-30T14:31:50,293 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:31:50,293 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:50,293 configuration. 2023-05-30T14:31:50,293 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,294 or your builds will no longer be supported. 2023-05-30T14:31:50,294 ******************************************************************************** 2023-05-30T14:31:50,294 !! 2023-05-30T14:31:50,294 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:50,294 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `license` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:50,294 !! 2023-05-30T14:31:50,295 ******************************************************************************** 2023-05-30T14:31:50,295 ########################################################################## 2023-05-30T14:31:50,295 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:50,295 ########################################################################## 2023-05-30T14:31:50,295 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:50,296 `license = 'Apache-2.0'` 2023-05-30T14:31:50,296 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:50,296 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:31:50,296 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:50,296 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:50,297 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:50,297 follow strictly the standard. 2023-05-30T14:31:50,297 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:31:50,297 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:50,297 configuration. 2023-05-30T14:31:50,297 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,297 or your builds will no longer be supported. 2023-05-30T14:31:50,298 ******************************************************************************** 2023-05-30T14:31:50,298 !! 2023-05-30T14:31:50,298 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:50,298 /tmp/pip-build-env-oqb7w2kl/overlay/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:62: _WouldIgnoreField: `classifiers` defined outside of `pyproject.toml` would be ignored. 2023-05-30T14:31:50,298 !! 2023-05-30T14:31:50,298 ******************************************************************************** 2023-05-30T14:31:50,299 ########################################################################## 2023-05-30T14:31:50,299 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:31:50,299 ########################################################################## 2023-05-30T14:31:50,299 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:31:50,299 `classifiers = ['Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Development Status :: 4 - Beta']` 2023-05-30T14:31:50,300 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:31:50,300 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:31:50,300 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:31:50,300 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:31:50,300 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:31:50,300 follow strictly the standard. 2023-05-30T14:31:50,301 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:31:50,301 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:31:50,301 configuration. 2023-05-30T14:31:50,301 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:31:50,301 or your builds will no longer be supported. 2023-05-30T14:31:50,301 ******************************************************************************** 2023-05-30T14:31:50,302 !! 2023-05-30T14:31:50,302 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:31:50,585 running bdist_wheel 2023-05-30T14:31:50,605 running build 2023-05-30T14:31:50,605 running build_py 2023-05-30T14:31:50,612 creating build 2023-05-30T14:31:50,612 creating build/lib 2023-05-30T14:31:50,613 creating build/lib/ossfs 2023-05-30T14:31:50,614 copying src/ossfs/core.py -> build/lib/ossfs 2023-05-30T14:31:50,617 copying src/ossfs/base.py -> build/lib/ossfs 2023-05-30T14:31:50,619 copying src/ossfs/async_oss.py -> build/lib/ossfs 2023-05-30T14:31:50,622 copying src/ossfs/exceptions.py -> build/lib/ossfs 2023-05-30T14:31:50,623 copying src/ossfs/__init__.py -> build/lib/ossfs 2023-05-30T14:31:50,625 copying src/ossfs/file.py -> build/lib/ossfs 2023-05-30T14:31:50,626 copying src/ossfs/utils.py -> build/lib/ossfs 2023-05-30T14:31:50,628 running egg_info 2023-05-30T14:31:50,639 writing src/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:31:50,641 writing dependency_links to src/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:31:50,643 writing requirements to src/cz_ossfs.egg-info/requires.txt 2023-05-30T14:31:50,644 writing top-level names to src/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:31:50,673 listing git files failed - pretending there aren't any 2023-05-30T14:31:50,681 reading manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:50,683 reading manifest template 'MANIFEST.in' 2023-05-30T14:31:50,684 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:31:50,684 adding license file 'LICENSE' 2023-05-30T14:31:50,687 writing manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:31:50,701 installing to build/bdist.linux-armv7l/wheel 2023-05-30T14:31:50,701 running install 2023-05-30T14:31:50,726 running install_lib 2023-05-30T14:31:50,733 creating build/bdist.linux-armv7l 2023-05-30T14:31:50,733 creating build/bdist.linux-armv7l/wheel 2023-05-30T14:31:50,735 creating build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,736 copying build/lib/ossfs/core.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,738 copying build/lib/ossfs/base.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,740 copying build/lib/ossfs/async_oss.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,743 copying build/lib/ossfs/exceptions.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,744 copying build/lib/ossfs/__init__.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,746 copying build/lib/ossfs/file.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,748 copying build/lib/ossfs/utils.py -> build/bdist.linux-armv7l/wheel/ossfs 2023-05-30T14:31:50,749 running install_egg_info 2023-05-30T14:31:50,755 Copying src/cz_ossfs.egg-info to build/bdist.linux-armv7l/wheel/cz_ossfs-0.0.1-py3.9.egg-info 2023-05-30T14:31:50,766 running install_scripts 2023-05-30T14:31:50,791 creating build/bdist.linux-armv7l/wheel/cz_ossfs-0.0.1.dist-info/WHEEL 2023-05-30T14:31:50,793 creating '/tmp/pip-wheel-l6oyi7h0/.tmp-4ml0dccz/cz_ossfs-0.0.1-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-05-30T14:31:50,797 adding 'ossfs/__init__.py' 2023-05-30T14:31:50,800 adding 'ossfs/async_oss.py' 2023-05-30T14:31:50,802 adding 'ossfs/base.py' 2023-05-30T14:31:50,805 adding 'ossfs/core.py' 2023-05-30T14:31:50,806 adding 'ossfs/exceptions.py' 2023-05-30T14:31:50,807 adding 'ossfs/file.py' 2023-05-30T14:31:50,809 adding 'ossfs/utils.py' 2023-05-30T14:31:50,811 adding 'cz_ossfs-0.0.1.dist-info/LICENSE' 2023-05-30T14:31:50,812 adding 'cz_ossfs-0.0.1.dist-info/METADATA' 2023-05-30T14:31:50,813 adding 'cz_ossfs-0.0.1.dist-info/WHEEL' 2023-05-30T14:31:50,814 adding 'cz_ossfs-0.0.1.dist-info/top_level.txt' 2023-05-30T14:31:50,815 adding 'cz_ossfs-0.0.1.dist-info/RECORD' 2023-05-30T14:31:50,817 removing build/bdist.linux-armv7l/wheel 2023-05-30T14:31:50,935 Building wheel for cz-ossfs (pyproject.toml): finished with status 'done' 2023-05-30T14:31:50,940 Created wheel for cz-ossfs: filename=cz_ossfs-0.0.1-py3-none-any.whl size=25106 sha256=301bf8e58ca14a7f0612587b887d71307d069b54c2f1b840fa6396fb221cc359 2023-05-30T14:31:50,941 Stored in directory: /tmp/pip-ephem-wheel-cache-y3axelao/wheels/c6/a6/d6/96659b934ba45dcb95ff15db003dc3323dd861b2d70dc09450 2023-05-30T14:31:50,953 Successfully built cz-ossfs 2023-05-30T14:31:50,957 Removed build tracker: '/tmp/pip-build-tracker-_im9wgzc'