Guest User

Untitled

a guest
Jul 5th, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.51 KB | None | 0 0
  1. strobe@tachikoma ~/git> git clone [email protected]:ics-py/ics-py.git
  2. Cloning into 'ics-py'...
  3. remote: Enumerating objects: 4110, done.
  4. remote: Counting objects: 100% (725/725), done.
  5. remote: Compressing objects: 100% (318/318), done.
  6. remote: Total 4110 (delta 394), reused 612 (delta 342), pack-reused 3385
  7. Receiving objects: 100% (4110/4110), 1.80 MiB | 3.54 MiB/s, done.
  8. Resolving deltas: 100% (2641/2641), done.
  9.  
  10. strobe@tachikoma ~/git> cd ics-py
  11.  
  12. strobe@tachikoma ~/g/ics-py (main)> poetry install
  13. Creating virtualenv ics in /home/strobe/git/ics-py/.venv
  14. Installing dependencies from lock file
  15. Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
  16.  
  17. Package operations: 5 installs, 0 updates, 0 removals
  18.  
  19. • Installing attrs (21.4.0)
  20. • Installing six (1.16.0)
  21. • Installing importlib-resources (1.5.0)
  22. • Installing python-dateutil (2.8.2)
  23. • Installing ics-vtimezones (2020.1)
  24.  
  25. Installing the current project: ics (0.8.0-dev)
  26.  
  27. strobe@tachikoma ~/g/ics-py (main)> tox -e docs
  28. .package create: /home/strobe/git/ics-py/.tox/.package
  29. .package installdeps: poetry_core>=1.0.0
  30. docs create: /home/strobe/git/ics-py/.tox/docs
  31. docs installdeps: sphinx, sphinx-autodoc-typehints
  32. docs inst: /home/strobe/git/ics-py/.tox/.tmp/package/1/ics-0.8.0.dev0.tar.gz
  33. ERROR: invocation failed (exit code 2), logfile: /home/strobe/git/ics-py/.tox/docs/log/docs-2.log
  34. ================================================================================= log start ==================================================================================
  35. Processing ./.tox/.tmp/package/1/ics-0.8.0.dev0.tar.gz
  36. Installing build dependencies: started
  37. Installing build dependencies: finished with status 'done'
  38. Getting requirements to build wheel: started
  39. Getting requirements to build wheel: finished with status 'done'
  40. ERROR: Exception:
  41. Traceback (most recent call last):
  42. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
  43. status = run_func(*args)
  44. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
  45. return func(self, options, args)
  46. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 341, in run
  47. requirement_set = resolver.resolve(
  48. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve
  49. collected = self.factory.collect_root_requirements(root_reqs)
  50. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements
  51. req = self._make_requirement_from_install_req(
  52. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req
  53. cand = self._make_candidate_from_link(
  54. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link
  55. self._link_candidate_cache[link] = LinkCandidate(
  56. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 291, in __init__
  57. super().__init__(
  58. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__
  59. self.dist = self._prepare()
  60. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare
  61. dist = self._prepare_distribution()
  62. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 302, in _prepare_distribution
  63. return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  64. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 428, in prepare_linked_requirement
  65. return self._prepare_linked_requirement(req, parallel_builds)
  66. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 497, in _prepare_linked_requirement
  67. dist = _get_prepared_distribution(
  68. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 58, in _get_prepared_distribution
  69. abstract_dist.prepare_distribution_metadata(
  70. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 48, in prepare_distribution_metadata
  71. self._install_build_reqs(finder)
  72. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 118, in _install_build_reqs
  73. build_reqs = self._get_build_requires_wheel()
  74. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 95, in _get_build_requires_wheel
  75. return backend.get_requires_for_build_wheel()
  76. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 685, in get_requires_for_build_wheel
  77. return super().get_requires_for_build_wheel(config_settings=cs)
  78. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py", line 172, in get_requires_for_build_wheel
  79. return self._call_hook('get_requires_for_build_wheel', {
  80. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py", line 332, in _call_hook
  81. raise BackendUnavailable(data.get('traceback', ''))
  82. pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
  83. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 89, in _build_backend
  84. obj = import_module(mod_path)
  85. File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
  86. return _bootstrap._gcd_import(name[level:], package, level)
  87. File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  88. File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  89. File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  90. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  91. File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  92. File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  93. File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  94. File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  95. File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  96. File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  97. File "/tmp/pip-build-env-p0gwudu6/overlay/lib/python3.10/site-packages/poetry/core/masonry/__init__.py", line 10, in <module>
  98. from .builder import Builder
  99. File "/tmp/pip-build-env-p0gwudu6/overlay/lib/python3.10/site-packages/poetry/core/masonry/builder.py", line 7, in <module>
  100. from .builders.sdist import SdistBuilder
  101. File "/tmp/pip-build-env-p0gwudu6/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/__init__.py", line 2, in <module>
  102. from .wheel import WheelBuilder
  103. File "/tmp/pip-build-env-p0gwudu6/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 23, in <module>
  104. from packaging.tags import sys_tags
  105. File "/tmp/pip-build-env-p0gwudu6/overlay/lib/python3.10/site-packages/poetry/core/_vendor/packaging/tags.py", line 7, in <module>
  106. import distutils.util
  107. File "/home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/_distutils_hack/__init__.py", line 92, in create_module
  108. return importlib.import_module('setuptools._distutils')
  109. File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
  110. return _bootstrap._gcd_import(name[level:], package, level)
  111. ModuleNotFoundError: No module named 'setuptools'
  112.  
  113.  
  114. ================================================================================== log end ===================================================================================
  115. __________________________________________________________________________________ summary ___________________________________________________________________________________
  116. ERROR: docs: InvocationError for command /home/strobe/git/ics-py/.tox/docs/bin/python -m pip install --exists-action w '/home/strobe/git/ics-py/.tox/.tmp/package/1/ics-0.8.0.dev0.tar.gz[test]' (exited with code 2)
  117.  
  118. strobe@tachikoma ~/g/ics-py (main) [1]> /home/strobe/git/ics-py/.tox/docs/bin/python -c "import setuptools; print(setuptools.__version__)"
  119. 60.1.0
  120.  
  121. strobe@tachikoma ~/g/ics-py (main)> /home/strobe/git/ics-py/.tox/docs/bin/python -m pip install -U setuptools
  122. Requirement already satisfied: setuptools in ./.tox/docs/lib/python3.10/site-packages (60.1.0)
  123. Collecting setuptools
  124. Using cached setuptools-63.1.0-py3-none-any.whl (1.2 MB)
  125. Installing collected packages: setuptools
  126. Attempting uninstall: setuptools
  127. Found existing installation: setuptools 60.1.0
  128. Uninstalling setuptools-60.1.0:
  129. Successfully uninstalled setuptools-60.1.0
  130. Successfully installed setuptools-63.1.0
  131.  
  132. strobe@tachikoma ~/g/ics-py (main)> /home/strobe/git/ics-py/.tox/docs/bin/python -c "import setuptools; print(setuptools.__version__)"
  133. 63.1.0
  134.  
  135. strobe@tachikoma ~/g/ics-py (main)> tox -e docs
  136. docs inst-nodeps: /home/strobe/git/ics-py/.tox/.tmp/package/1/ics-0.8.0.dev0.tar.gz
  137. docs installed: /home/strobe/git/ics-py/.tox/docs/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py:9: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives, from distutils.cmd import Command as DistutilsCommand,/usr/lib/python3.10/distutils/command/install.py:13: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead, from distutils.sysconfig import get_config_vars,alabaster==0.7.12,Babel==2.10.3,certifi==2022.6.15,charset-normalizer==2.1.0,docutils==0.18.1,ics @ file:///home/strobe/git/ics-py/.tox/.tmp/package/1/ics-0.8.0.dev0.tar.gz,idna==3.3,imagesize==1.4.1,Jinja2==3.1.2,MarkupSafe==2.1.1,packaging==21.3,Pygments==2.12.0,pyparsing==3.0.9,pytz==2022.1,requests==2.28.1,snowballstemmer==2.2.0,Sphinx==5.0.2,sphinx-autodoc-typehints==1.18.3,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,urllib3==1.26.9
  138. docs run-test-pre: PYTHONHASHSEED='2036246095'
  139. docs run-test: commands[0] | sphinx-build -d /home/strobe/git/ics-py/.tox/docs_doctree doc /home/strobe/git/ics-py/.tox/docs_out --color -bhtml
  140. Running Sphinx v5.0.2
  141. making output directory... done
  142. building [mo]: targets for 0 po files that are out of date
  143. building [html]: targets for 15 source files that are out of date
  144. updating environment: [new config] 15 added, 0 changed, 0 removed
  145. reading sources... [100%] tutorials/create-ics-with-cal-prog
  146. WARNING: autodoc: failed to import class 'parse.Container' from module 'ics'; the following exception was raised:
  147. No module named 'attr'
  148. WARNING: autodoc: failed to import class 'parse.ContentLine' from module 'ics'; the following exception was raised:
  149. No module named 'attr'
  150. /home/strobe/git/ics-py/doc/explanation/howto.rst:2: WARNING: Duplicate explicit target name: "github thread".
  151. WARNING: autodoc: failed to import class 'icalendar.Calendar' from module 'ics'; the following exception was raised:
  152. No module named 'attr'
  153. WARNING: autodoc: failed to import class 'event.Event' from module 'ics'; the following exception was raised:
  154. No module named 'attr'
  155. WARNING: autodoc: failed to import class 'alarm.base.BaseAlarm' from module 'ics'; the following exception was raised:
  156. No module named 'attr'
  157. WARNING: autodoc: failed to import class 'alarm.AudioAlarm' from module 'ics'; the following exception was raised:
  158. No module named 'attr'
  159. WARNING: autodoc: failed to import class 'alarm.DisplayAlarm' from module 'ics'; the following exception was raised:
  160. No module named 'attr'
  161. WARNING: autodoc: failed to import class 'alarm.EmailAlarm' from module 'ics'; the following exception was raised:
  162. No module named 'attr'
  163. WARNING: autodoc: failed to import class 'alarm.none.NoneAlarm' from module 'ics'; the following exception was raised:
  164. No module named 'attr'
  165. WARNING: autodoc: failed to import class 'alarm.custom.CustomAlarm' from module 'ics'; the following exception was raised:
  166. No module named 'attr'
  167. WARNING: autodoc: failed to import class 'timeline.Timeline' from module 'ics'; the following exception was raised:
  168. No module named 'attr'
  169. /home/strobe/git/ics-py/doc/reference/changelog.rst:30: WARNING: Inline interpreted text or phrase reference start-string without end-string.
  170. /home/strobe/git/ics-py/doc/reference/changelog.rst:30: WARNING: Inline interpreted text or phrase reference start-string without end-string.
  171. looking for now-outdated files... none found
  172. pickling environment... done
  173. checking consistency... /home/strobe/git/ics-py/doc/advanced.rst: WARNING: document isn't included in any toctree
  174. /home/strobe/git/ics-py/doc/event.rst: WARNING: document isn't included in any toctree
  175. /home/strobe/git/ics-py/doc/event-cmp.rst: WARNING: document isn't included in any toctree
  176. /home/strobe/git/ics-py/doc/timezone.rst: WARNING: document isn't included in any toctree
  177. done
  178. preparing documents... done
  179. writing output... [100%] tutorials/create-ics-with-cal-prog
  180. /home/strobe/git/ics-py/doc/index.rst:10: WARNING: undefined label: apache2
  181. generating indices... genindex done
  182. writing additional pages... search done
  183. copying static files... done
  184. copying extra files... done
  185. dumping search index in English (code: en)... done
  186. dumping object inventory... done
  187. build succeeded, 19 warnings.
  188.  
  189. The HTML pages are in .tox/docs_out.
  190. docs run-test: commands[1] | python -c 'import pathlib; print("documentation available under file://{0}".format(pathlib.Path(r"/home/strobe/git/ics-py/.tox") / "docs_out" / "index.html"))'
  191. documentation available under file:///home/strobe/git/ics-py/.tox/docs_out/index.html
  192. __________________________________________________________________________________ summary ___________________________________________________________________________________
  193. docs: commands succeeded
  194. congratulations :)
Advertisement
Add Comment
Please, Sign In to add comment