2023-05-30T14:43:56,172 Created temporary directory: /tmp/pip-build-tracker-bed42nyv 2023-05-30T14:43:56,174 Initialized build tracking at /tmp/pip-build-tracker-bed42nyv 2023-05-30T14:43:56,174 Created build tracker: /tmp/pip-build-tracker-bed42nyv 2023-05-30T14:43:56,174 Entered build tracker: /tmp/pip-build-tracker-bed42nyv 2023-05-30T14:43:56,175 Created temporary directory: /tmp/pip-wheel-o73hxtna 2023-05-30T14:43:56,178 Created temporary directory: /tmp/pip-ephem-wheel-cache-o2ue6v2d 2023-05-30T14:43:56,204 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:43:56,207 2 location(s) to search for versions of cz-ossfs: 2023-05-30T14:43:56,207 * https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:43:56,207 * https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:43:56,208 Fetching project page and analyzing links: https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:43:56,208 Getting page https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:43:56,210 Found index url https://pypi.org/simple/ 2023-05-30T14:43:56,259 Fetched page https://pypi.org/simple/cz-ossfs/ as application/vnd.pypi.simple.v1+json 2023-05-30T14:43:56,261 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:43:56,262 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:43:56,262 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:43:56,262 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:43:56,263 Fetching project page and analyzing links: https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:43:56,263 Getting page https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:43:56,264 Found index url https://www.piwheels.org/simple/ 2023-05-30T14:43:56,437 Fetched page https://www.piwheels.org/simple/cz-ossfs/ as text/html 2023-05-30T14:43:56,438 Skipping link: No binaries permitted for cz-ossfs: https://www.piwheels.org/simple/cz-ossfs/cz_ossfs-0.0.1-py3-none-any.whl#sha256=301bf8e58ca14a7f0612587b887d71307d069b54c2f1b840fa6396fb221cc359 (from https://www.piwheels.org/simple/cz-ossfs/) (requires-python:>=3.8) 2023-05-30T14:43:56,438 Skipping link: not a file: https://www.piwheels.org/simple/cz-ossfs/ 2023-05-30T14:43:56,439 Skipping link: not a file: https://pypi.org/simple/cz-ossfs/ 2023-05-30T14:43:56,457 Given no hashes to check 1 links for project 'cz-ossfs': discarding no candidates 2023-05-30T14:43:56,473 Collecting cz-ossfs==0.0.2 2023-05-30T14:43:56,475 Created temporary directory: /tmp/pip-unpack-e6rxw97j 2023-05-30T14:43:56,597 Downloading cz-ossfs-0.0.2.tar.gz (24 kB) 2023-05-30T14:43:56,649 Added cz-ossfs==0.0.2 from https://files.pythonhosted.org/packages/6d/ca/f4470282e401829a4b9e601f4b2342dfbf5ac445261247b0809cd34bac32/cz-ossfs-0.0.2.tar.gz to build tracker '/tmp/pip-build-tracker-bed42nyv' 2023-05-30T14:43:56,656 Created temporary directory: /tmp/pip-build-env-r9o5ax7x 2023-05-30T14:43:56,666 Installing build dependencies: started 2023-05-30T14:43:56,667 Running command pip subprocess to install build dependencies 2023-05-30T14:43:57,821 Using pip 23.1.2 from /home/piwheels/.local/lib/python3.9/site-packages/pip (python 3.9) 2023-05-30T14:43:58,186 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:43:59,872 Collecting setuptools>=48 2023-05-30T14:43:59,962 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.8.0-py3-none-any.whl (1.1 MB) 2023-05-30T14:44:00,317 Collecting setuptools_scm[toml]>=6.3.1 2023-05-30T14:44:00,333 Using cached https://www.piwheels.org/simple/setuptools-scm/setuptools_scm-7.1.0-py3-none-any.whl (43 kB) 2023-05-30T14:44:00,695 Collecting packaging>=20.0 (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:44:00,712 Using cached https://www.piwheels.org/simple/packaging/packaging-23.1-py3-none-any.whl (48 kB) 2023-05-30T14:44:00,838 Collecting typing-extensions (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:44:00,855 Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.6.2-py3-none-any.whl (31 kB) 2023-05-30T14:44:00,971 Collecting tomli>=1.0.0 (from setuptools_scm[toml]>=6.3.1) 2023-05-30T14:44:00,987 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-05-30T14:44:03,024 Installing collected packages: typing-extensions, tomli, setuptools, packaging, setuptools_scm 2023-05-30T14:44:05,753 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:44:06,032 Installing build dependencies: finished with status 'done' 2023-05-30T14:44:06,037 Getting requirements to build wheel: started 2023-05-30T14:44:06,038 Running command Getting requirements to build wheel 2023-05-30T14:44:06,571 /tmp/pip-build-env-r9o5ax7x/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:44:06,571 !! 2023-05-30T14:44:06,572 ******************************************************************************** 2023-05-30T14:44:06,572 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:44:06,572 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,572 or your builds will no longer be supported. 2023-05-30T14:44:06,572 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:44:06,572 ******************************************************************************** 2023-05-30T14:44:06,573 !! 2023-05-30T14:44:06,573 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:44:06,753 /tmp/pip-build-env-r9o5ax7x/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:44:06,753 !! 2023-05-30T14:44:06,754 ******************************************************************************** 2023-05-30T14:44:06,754 ########################################################################## 2023-05-30T14:44:06,754 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:06,754 ########################################################################## 2023-05-30T14:44:06,754 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:06,755 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:44:06,755 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:06,755 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:44:06,755 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:06,755 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:06,756 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:06,756 follow strictly the standard. 2023-05-30T14:44:06,756 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:44:06,756 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:06,756 configuration. 2023-05-30T14:44:06,756 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,757 or your builds will no longer be supported. 2023-05-30T14:44:06,757 ******************************************************************************** 2023-05-30T14:44:06,757 !! 2023-05-30T14:44:06,757 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:06,757 /tmp/pip-build-env-r9o5ax7x/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:44:06,757 !! 2023-05-30T14:44:06,758 ******************************************************************************** 2023-05-30T14:44:06,758 ########################################################################## 2023-05-30T14:44:06,758 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:06,758 ########################################################################## 2023-05-30T14:44:06,758 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:06,759 `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:44:06,759 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:06,759 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:44:06,759 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:06,760 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:06,760 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:06,760 follow strictly the standard. 2023-05-30T14:44:06,760 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:44:06,760 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:06,760 configuration. 2023-05-30T14:44:06,760 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,761 or your builds will no longer be supported. 2023-05-30T14:44:06,761 ******************************************************************************** 2023-05-30T14:44:06,761 !! 2023-05-30T14:44:06,761 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:06,761 /tmp/pip-build-env-r9o5ax7x/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:44:06,761 !! 2023-05-30T14:44:06,762 ******************************************************************************** 2023-05-30T14:44:06,762 ########################################################################## 2023-05-30T14:44:06,762 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:06,762 ########################################################################## 2023-05-30T14:44:06,762 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:06,762 `requires-python = =3.8')>` 2023-05-30T14:44:06,763 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:06,763 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:44:06,763 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:06,763 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:06,763 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:06,764 follow strictly the standard. 2023-05-30T14:44:06,764 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:44:06,764 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:06,764 configuration. 2023-05-30T14:44:06,764 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,765 or your builds will no longer be supported. 2023-05-30T14:44:06,765 ******************************************************************************** 2023-05-30T14:44:06,765 !! 2023-05-30T14:44:06,765 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:06,765 /tmp/pip-build-env-r9o5ax7x/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:44:06,765 !! 2023-05-30T14:44:06,766 ******************************************************************************** 2023-05-30T14:44:06,766 ########################################################################## 2023-05-30T14:44:06,766 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:06,766 ########################################################################## 2023-05-30T14:44:06,766 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:06,767 `license = 'Apache-2.0'` 2023-05-30T14:44:06,767 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:06,767 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:44:06,767 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:06,767 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:06,768 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:06,768 follow strictly the standard. 2023-05-30T14:44:06,768 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:44:06,768 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:06,768 configuration. 2023-05-30T14:44:06,769 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,769 or your builds will no longer be supported. 2023-05-30T14:44:06,769 ******************************************************************************** 2023-05-30T14:44:06,769 !! 2023-05-30T14:44:06,769 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:06,769 /tmp/pip-build-env-r9o5ax7x/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:44:06,769 !! 2023-05-30T14:44:06,770 ******************************************************************************** 2023-05-30T14:44:06,770 ########################################################################## 2023-05-30T14:44:06,770 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:06,770 ########################################################################## 2023-05-30T14:44:06,770 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:06,771 `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:44:06,771 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:06,771 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:44:06,771 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:06,771 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:06,772 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:06,772 follow strictly the standard. 2023-05-30T14:44:06,772 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:44:06,772 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:06,772 configuration. 2023-05-30T14:44:06,772 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:06,772 or your builds will no longer be supported. 2023-05-30T14:44:06,773 ******************************************************************************** 2023-05-30T14:44:06,773 !! 2023-05-30T14:44:06,773 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:07,038 running egg_info 2023-05-30T14:44:07,044 writing src/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:44:07,047 writing dependency_links to src/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:44:07,050 writing requirements to src/cz_ossfs.egg-info/requires.txt 2023-05-30T14:44:07,051 writing top-level names to src/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:44:07,090 listing git files failed - pretending there aren't any 2023-05-30T14:44:07,098 reading manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:07,100 reading manifest template 'MANIFEST.in' 2023-05-30T14:44:07,102 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:44:07,102 adding license file 'LICENSE' 2023-05-30T14:44:07,105 writing manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:07,213 Getting requirements to build wheel: finished with status 'done' 2023-05-30T14:44:07,228 Installing backend dependencies: started 2023-05-30T14:44:07,229 Running command pip subprocess to install backend dependencies 2023-05-30T14:44:08,390 Using pip 23.1.2 from /home/piwheels/.local/lib/python3.9/site-packages/pip (python 3.9) 2023-05-30T14:44:08,748 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T14:44:09,169 Collecting wheel 2023-05-30T14:44:09,187 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-05-30T14:44:10,651 Installing collected packages: wheel 2023-05-30T14:44:10,878 Creating /tmp/pip-build-env-r9o5ax7x/normal/bin 2023-05-30T14:44:10,880 changing mode of /tmp/pip-build-env-r9o5ax7x/normal/bin/wheel to 755 2023-05-30T14:44:10,893 Successfully installed wheel-0.40.0 2023-05-30T14:44:11,107 Installing backend dependencies: finished with status 'done' 2023-05-30T14:44:11,110 Created temporary directory: /tmp/pip-modern-metadata-0tbu09kz 2023-05-30T14:44:11,112 Preparing metadata (pyproject.toml): started 2023-05-30T14:44:11,113 Running command Preparing metadata (pyproject.toml) 2023-05-30T14:44:11,706 /tmp/pip-build-env-r9o5ax7x/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:44:11,706 !! 2023-05-30T14:44:11,707 ******************************************************************************** 2023-05-30T14:44:11,707 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:44:11,707 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,707 or your builds will no longer be supported. 2023-05-30T14:44:11,707 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:44:11,708 ******************************************************************************** 2023-05-30T14:44:11,708 !! 2023-05-30T14:44:11,708 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:44:11,746 /tmp/pip-build-env-r9o5ax7x/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:44:11,746 !! 2023-05-30T14:44:11,746 ******************************************************************************** 2023-05-30T14:44:11,747 ########################################################################## 2023-05-30T14:44:11,747 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:11,747 ########################################################################## 2023-05-30T14:44:11,747 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:11,747 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:44:11,748 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:11,748 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:44:11,748 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:11,748 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:11,748 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:11,748 follow strictly the standard. 2023-05-30T14:44:11,749 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:44:11,749 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:11,749 configuration. 2023-05-30T14:44:11,749 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,749 or your builds will no longer be supported. 2023-05-30T14:44:11,749 ******************************************************************************** 2023-05-30T14:44:11,750 !! 2023-05-30T14:44:11,750 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:11,750 /tmp/pip-build-env-r9o5ax7x/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:44:11,750 !! 2023-05-30T14:44:11,750 ******************************************************************************** 2023-05-30T14:44:11,750 ########################################################################## 2023-05-30T14:44:11,751 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:11,751 ########################################################################## 2023-05-30T14:44:11,751 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:11,751 `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:44:11,751 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:11,752 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:44:11,752 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:11,752 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:11,752 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:11,752 follow strictly the standard. 2023-05-30T14:44:11,753 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:44:11,753 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:11,753 configuration. 2023-05-30T14:44:11,753 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,753 or your builds will no longer be supported. 2023-05-30T14:44:11,753 ******************************************************************************** 2023-05-30T14:44:11,754 !! 2023-05-30T14:44:11,754 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:11,754 /tmp/pip-build-env-r9o5ax7x/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:44:11,754 !! 2023-05-30T14:44:11,754 ******************************************************************************** 2023-05-30T14:44:11,754 ########################################################################## 2023-05-30T14:44:11,755 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:11,755 ########################################################################## 2023-05-30T14:44:11,755 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:11,755 `requires-python = =3.8')>` 2023-05-30T14:44:11,755 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:11,756 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:44:11,756 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:11,756 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:11,756 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:11,756 follow strictly the standard. 2023-05-30T14:44:11,757 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:44:11,757 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:11,757 configuration. 2023-05-30T14:44:11,757 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,757 or your builds will no longer be supported. 2023-05-30T14:44:11,757 ******************************************************************************** 2023-05-30T14:44:11,758 !! 2023-05-30T14:44:11,758 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:11,758 /tmp/pip-build-env-r9o5ax7x/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:44:11,758 !! 2023-05-30T14:44:11,758 ******************************************************************************** 2023-05-30T14:44:11,758 ########################################################################## 2023-05-30T14:44:11,759 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:11,759 ########################################################################## 2023-05-30T14:44:11,759 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:11,759 `license = 'Apache-2.0'` 2023-05-30T14:44:11,759 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:11,760 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:44:11,760 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:11,760 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:11,760 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:11,760 follow strictly the standard. 2023-05-30T14:44:11,761 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:44:11,761 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:11,761 configuration. 2023-05-30T14:44:11,761 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,761 or your builds will no longer be supported. 2023-05-30T14:44:11,761 ******************************************************************************** 2023-05-30T14:44:11,762 !! 2023-05-30T14:44:11,762 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:11,762 /tmp/pip-build-env-r9o5ax7x/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:44:11,762 !! 2023-05-30T14:44:11,762 ******************************************************************************** 2023-05-30T14:44:11,762 ########################################################################## 2023-05-30T14:44:11,762 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:11,763 ########################################################################## 2023-05-30T14:44:11,763 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:11,763 `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:44:11,763 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:11,763 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:44:11,764 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:11,764 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:11,764 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:11,764 follow strictly the standard. 2023-05-30T14:44:11,765 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:44:11,765 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:11,765 configuration. 2023-05-30T14:44:11,765 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:11,765 or your builds will no longer be supported. 2023-05-30T14:44:11,765 ******************************************************************************** 2023-05-30T14:44:11,765 !! 2023-05-30T14:44:11,766 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:12,095 running dist_info 2023-05-30T14:44:12,103 creating /tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info 2023-05-30T14:44:12,109 writing /tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:44:12,112 writing dependency_links to /tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:44:12,115 writing requirements to /tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/requires.txt 2023-05-30T14:44:12,116 writing top-level names to /tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:44:12,117 writing manifest file '/tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:12,156 listing git files failed - pretending there aren't any 2023-05-30T14:44:12,165 reading manifest file '/tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:12,168 reading manifest template 'MANIFEST.in' 2023-05-30T14:44:12,169 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:44:12,169 adding license file 'LICENSE' 2023-05-30T14:44:12,171 writing manifest file '/tmp/pip-modern-metadata-0tbu09kz/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:12,173 creating '/tmp/pip-modern-metadata-0tbu09kz/cz_ossfs-0.0.2.dist-info' 2023-05-30T14:44:12,340 Preparing metadata (pyproject.toml): finished with status 'done' 2023-05-30T14:44:12,347 Source in /tmp/pip-wheel-o73hxtna/cz-ossfs_e8a94a5b2b3241dfb0c82e3c0298afbd has version 0.0.2, which satisfies requirement cz-ossfs==0.0.2 from https://files.pythonhosted.org/packages/6d/ca/f4470282e401829a4b9e601f4b2342dfbf5ac445261247b0809cd34bac32/cz-ossfs-0.0.2.tar.gz 2023-05-30T14:44:12,348 Removed cz-ossfs==0.0.2 from https://files.pythonhosted.org/packages/6d/ca/f4470282e401829a4b9e601f4b2342dfbf5ac445261247b0809cd34bac32/cz-ossfs-0.0.2.tar.gz from build tracker '/tmp/pip-build-tracker-bed42nyv' 2023-05-30T14:44:12,354 Created temporary directory: /tmp/pip-unpack-4zes14dk 2023-05-30T14:44:12,355 Building wheels for collected packages: cz-ossfs 2023-05-30T14:44:12,360 Created temporary directory: /tmp/pip-wheel-gpacltzb 2023-05-30T14:44:12,360 Destination directory: /tmp/pip-wheel-gpacltzb 2023-05-30T14:44:12,362 Building wheel for cz-ossfs (pyproject.toml): started 2023-05-30T14:44:12,363 Running command Building wheel for cz-ossfs (pyproject.toml) 2023-05-30T14:44:12,934 /tmp/pip-build-env-r9o5ax7x/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` 2023-05-30T14:44:12,935 !! 2023-05-30T14:44:12,935 ******************************************************************************** 2023-05-30T14:44:12,935 The license_file parameter is deprecated, use license_files instead. 2023-05-30T14:44:12,935 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,936 or your builds will no longer be supported. 2023-05-30T14:44:12,936 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-05-30T14:44:12,936 ******************************************************************************** 2023-05-30T14:44:12,936 !! 2023-05-30T14:44:12,936 parsed = self.parsers.get(option_name, lambda x: x)(value) 2023-05-30T14:44:12,970 /tmp/pip-build-env-r9o5ax7x/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:44:12,970 !! 2023-05-30T14:44:12,970 ******************************************************************************** 2023-05-30T14:44:12,971 ########################################################################## 2023-05-30T14:44:12,971 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:12,971 ########################################################################## 2023-05-30T14:44:12,971 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:12,971 `description = 'fsspec filesystem for OSS'` 2023-05-30T14:44:12,972 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:12,972 consider this value unless `description` is listed as `dynamic`. 2023-05-30T14:44:12,972 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:12,972 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:12,972 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:12,973 follow strictly the standard. 2023-05-30T14:44:12,973 To prevent this warning, you can list `description` under `dynamic` or alternatively 2023-05-30T14:44:12,973 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:12,973 configuration. 2023-05-30T14:44:12,973 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,973 or your builds will no longer be supported. 2023-05-30T14:44:12,974 ******************************************************************************** 2023-05-30T14:44:12,974 !! 2023-05-30T14:44:12,974 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:12,974 /tmp/pip-build-env-r9o5ax7x/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:44:12,974 !! 2023-05-30T14:44:12,974 ******************************************************************************** 2023-05-30T14:44:12,975 ########################################################################## 2023-05-30T14:44:12,975 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:12,975 ########################################################################## 2023-05-30T14:44:12,975 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:12,975 `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:44:12,976 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:12,976 consider this value unless `readme` is listed as `dynamic`. 2023-05-30T14:44:12,976 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:12,976 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:12,976 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:12,977 follow strictly the standard. 2023-05-30T14:44:12,977 To prevent this warning, you can list `readme` under `dynamic` or alternatively 2023-05-30T14:44:12,977 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:12,977 configuration. 2023-05-30T14:44:12,977 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,977 or your builds will no longer be supported. 2023-05-30T14:44:12,978 ******************************************************************************** 2023-05-30T14:44:12,978 !! 2023-05-30T14:44:12,978 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:12,978 /tmp/pip-build-env-r9o5ax7x/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:44:12,978 !! 2023-05-30T14:44:12,978 ******************************************************************************** 2023-05-30T14:44:12,979 ########################################################################## 2023-05-30T14:44:12,979 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:12,979 ########################################################################## 2023-05-30T14:44:12,979 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:12,979 `requires-python = =3.8')>` 2023-05-30T14:44:12,979 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:12,980 consider this value unless `requires-python` is listed as `dynamic`. 2023-05-30T14:44:12,980 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:12,980 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:12,980 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:12,980 follow strictly the standard. 2023-05-30T14:44:12,981 To prevent this warning, you can list `requires-python` under `dynamic` or alternatively 2023-05-30T14:44:12,981 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:12,981 configuration. 2023-05-30T14:44:12,981 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,981 or your builds will no longer be supported. 2023-05-30T14:44:12,981 ******************************************************************************** 2023-05-30T14:44:12,982 !! 2023-05-30T14:44:12,982 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:12,982 /tmp/pip-build-env-r9o5ax7x/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:44:12,982 !! 2023-05-30T14:44:12,982 ******************************************************************************** 2023-05-30T14:44:12,982 ########################################################################## 2023-05-30T14:44:12,983 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:12,983 ########################################################################## 2023-05-30T14:44:12,983 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:12,983 `license = 'Apache-2.0'` 2023-05-30T14:44:12,983 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:12,984 consider this value unless `license` is listed as `dynamic`. 2023-05-30T14:44:12,984 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:12,984 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:12,984 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:12,984 follow strictly the standard. 2023-05-30T14:44:12,985 To prevent this warning, you can list `license` under `dynamic` or alternatively 2023-05-30T14:44:12,985 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:12,985 configuration. 2023-05-30T14:44:12,985 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,985 or your builds will no longer be supported. 2023-05-30T14:44:12,985 ******************************************************************************** 2023-05-30T14:44:12,986 !! 2023-05-30T14:44:12,986 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:12,986 /tmp/pip-build-env-r9o5ax7x/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:44:12,986 !! 2023-05-30T14:44:12,986 ******************************************************************************** 2023-05-30T14:44:12,986 ########################################################################## 2023-05-30T14:44:12,986 # configuration would be ignored/result in error due to `pyproject.toml` # 2023-05-30T14:44:12,986 ########################################################################## 2023-05-30T14:44:12,987 The following seems to be defined outside of `pyproject.toml`: 2023-05-30T14:44:12,987 `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:44:12,987 According to the spec (see the link below), however, setuptools CANNOT 2023-05-30T14:44:12,987 consider this value unless `classifiers` is listed as `dynamic`. 2023-05-30T14:44:12,987 https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ 2023-05-30T14:44:12,988 For the time being, `setuptools` will still consider the given value (as a 2023-05-30T14:44:12,988 **transitional** measure), but please note that future releases of setuptools will 2023-05-30T14:44:12,988 follow strictly the standard. 2023-05-30T14:44:12,988 To prevent this warning, you can list `classifiers` under `dynamic` or alternatively 2023-05-30T14:44:12,988 remove the `[project]` table from your file and rely entirely on other means of 2023-05-30T14:44:12,988 configuration. 2023-05-30T14:44:12,989 By 2023-Oct-30, you need to update your project and remove deprecated calls 2023-05-30T14:44:12,989 or your builds will no longer be supported. 2023-05-30T14:44:12,989 ******************************************************************************** 2023-05-30T14:44:12,989 !! 2023-05-30T14:44:12,989 _handle_missing_dynamic(dist, project_table) 2023-05-30T14:44:13,274 running bdist_wheel 2023-05-30T14:44:13,295 running build 2023-05-30T14:44:13,296 running build_py 2023-05-30T14:44:13,303 creating build 2023-05-30T14:44:13,303 creating build/lib 2023-05-30T14:44:13,304 creating build/lib/cz_ossfs 2023-05-30T14:44:13,305 copying src/cz_ossfs/file.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,307 copying src/cz_ossfs/async_oss.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,310 copying src/cz_ossfs/exceptions.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,312 copying src/cz_ossfs/core.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,315 copying src/cz_ossfs/base.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,317 copying src/cz_ossfs/__init__.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,319 copying src/cz_ossfs/utils.py -> build/lib/cz_ossfs 2023-05-30T14:44:13,320 running egg_info 2023-05-30T14:44:13,332 writing src/cz_ossfs.egg-info/PKG-INFO 2023-05-30T14:44:13,334 writing dependency_links to src/cz_ossfs.egg-info/dependency_links.txt 2023-05-30T14:44:13,336 writing requirements to src/cz_ossfs.egg-info/requires.txt 2023-05-30T14:44:13,338 writing top-level names to src/cz_ossfs.egg-info/top_level.txt 2023-05-30T14:44:13,368 listing git files failed - pretending there aren't any 2023-05-30T14:44:13,376 reading manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:13,378 reading manifest template 'MANIFEST.in' 2023-05-30T14:44:13,379 warning: no files found matching 'test_requirements.txt' 2023-05-30T14:44:13,380 adding license file 'LICENSE' 2023-05-30T14:44:13,383 writing manifest file 'src/cz_ossfs.egg-info/SOURCES.txt' 2023-05-30T14:44:13,397 installing to build/bdist.linux-armv7l/wheel 2023-05-30T14:44:13,397 running install 2023-05-30T14:44:13,422 running install_lib 2023-05-30T14:44:13,429 creating build/bdist.linux-armv7l 2023-05-30T14:44:13,429 creating build/bdist.linux-armv7l/wheel 2023-05-30T14:44:13,431 creating build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,432 copying build/lib/cz_ossfs/file.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,434 copying build/lib/cz_ossfs/async_oss.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,436 copying build/lib/cz_ossfs/exceptions.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,438 copying build/lib/cz_ossfs/core.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,441 copying build/lib/cz_ossfs/base.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,443 copying build/lib/cz_ossfs/__init__.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,445 copying build/lib/cz_ossfs/utils.py -> build/bdist.linux-armv7l/wheel/cz_ossfs 2023-05-30T14:44:13,447 running install_egg_info 2023-05-30T14:44:13,452 Copying src/cz_ossfs.egg-info to build/bdist.linux-armv7l/wheel/cz_ossfs-0.0.2-py3.9.egg-info 2023-05-30T14:44:13,464 running install_scripts 2023-05-30T14:44:13,489 creating build/bdist.linux-armv7l/wheel/cz_ossfs-0.0.2.dist-info/WHEEL 2023-05-30T14:44:13,492 creating '/tmp/pip-wheel-gpacltzb/.tmp-lkd808e_/cz_ossfs-0.0.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-05-30T14:44:13,495 adding 'cz_ossfs/__init__.py' 2023-05-30T14:44:13,498 adding 'cz_ossfs/async_oss.py' 2023-05-30T14:44:13,500 adding 'cz_ossfs/base.py' 2023-05-30T14:44:13,503 adding 'cz_ossfs/core.py' 2023-05-30T14:44:13,504 adding 'cz_ossfs/exceptions.py' 2023-05-30T14:44:13,506 adding 'cz_ossfs/file.py' 2023-05-30T14:44:13,507 adding 'cz_ossfs/utils.py' 2023-05-30T14:44:13,510 adding 'cz_ossfs-0.0.2.dist-info/LICENSE' 2023-05-30T14:44:13,512 adding 'cz_ossfs-0.0.2.dist-info/METADATA' 2023-05-30T14:44:13,513 adding 'cz_ossfs-0.0.2.dist-info/WHEEL' 2023-05-30T14:44:13,514 adding 'cz_ossfs-0.0.2.dist-info/top_level.txt' 2023-05-30T14:44:13,515 adding 'cz_ossfs-0.0.2.dist-info/RECORD' 2023-05-30T14:44:13,516 removing build/bdist.linux-armv7l/wheel 2023-05-30T14:44:13,634 Building wheel for cz-ossfs (pyproject.toml): finished with status 'done' 2023-05-30T14:44:13,640 Created wheel for cz-ossfs: filename=cz_ossfs-0.0.2-py3-none-any.whl size=25165 sha256=d119d026c427b2b4ac662ecba64d5d6715014b6d951cd34240909626468628a8 2023-05-30T14:44:13,641 Stored in directory: /tmp/pip-ephem-wheel-cache-o2ue6v2d/wheels/1d/5e/fa/2eac3262955f927d9ab6e66a662f5f1e1b57a994029b0a7429 2023-05-30T14:44:13,653 Successfully built cz-ossfs 2023-05-30T14:44:13,656 Removed build tracker: '/tmp/pip-build-tracker-bed42nyv'