apenwarr / apenwarr/mkdocs-exclude

Installation of mkdocs-exclue using poetry on Archlinux aarch64 (proot-distro) on Termux

Ouverte
#15 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
95
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I tried installing **_textual_** package with all its _**dev dependencies**_ which includes mkdocs-exclude but when i did so it wasn't installed successfully.

- How to reproduce this:
> Install python poetry on your system ( note this prevails even if i used to install this package using pip)
Then,
```
poetry add "textual[dev]"
```

Which gave the following output for me:
```
Using version ^0.13.0 for textual

Updating dependencies
Resolving dependencies... Downloading https://files.pythonhosted.org/packages/44/e5/4fea13230bcebf24b28c0efd774a2dd65a0937a2d39e94a4503438b078ed/PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl (Resolving dependencies... Downloading https://files.pythonhosted.org/packages/64/08/2e192aa0a8e4741da0284559e983d22f02d12ca2cc18598948b99414c4b6/frozenlist-1.3.3-cp310-cp310-macosx_10_9_univerResolving dependencies... (21.3s)

Writing lock file

Package operations: 32 installs, 0 updates, 0 removals

• Installing six (1.16.0)
• Installing markupsafe (2.1.2)
• Installing mdurl (0.1.2)
• Installing python-dateutil (2.8.2)
• Installing pyyaml (6.0)
• Installing frozenlist (1.3.3)
• Installing ghp-import (2.1.0)
• Installing idna (3.4)
• Installing jinja2 (3.1.2)
• Installing markdown (3.3.7)
• Installing markdown-it-py (2.2.0)
• Installing mergedeep (1.3.4)
• Installing multidict (6.0.4)
• Installing pyyaml-env-tag (0.1)
• Installing uc-micro-py (1.0.1)
• Installing watchdog (2.3.1)
• Installing aiosignal (1.3.1)
• Installing async-timeout (4.0.2)
• Installing attrs (22.2.0)
• Installing charset-normalizer (3.1.0)
• Installing linkify-it-py (2.0.0)
• Installing mdit-py-plugins (0.3.5)
• Installing mkdocs (1.4.2)
• Installing pygments (2.14.0)
• Installing yarl (1.8.2)
• Installing zipp (3.15.0)
• Installing aiohttp (3.8.4)
• Installing importlib-metadata (4.13.0)
• Installing mkdocs-exclude (1.0.2): Failed

ChefBuildError

Backend subprocess exited when trying to invoke build_wheel

running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/mkdocs_exclude
copying mkdocs_exclude/__init__.py -> build/lib/mkdocs_exclude
copying mkdocs_exclude/plugin.py -> build/lib/mkdocs_exclude
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel
creating build/bdist.linux-aarch64/wheel/mkdocs_exclude
copying build/lib/mkdocs_exclude/__init__.py -> build/bdist.linux-aarch64/wheel/mkdocs_exclude
copying build/lib/mkdocs_exclude/plugin.py -> build/bdist.linux-aarch64/wheel/mkdocs_exclude
running install_egg_info
running egg_info
writing mkdocs_exclude.egg-info/PKG-INFO
writing dependency_links to mkdocs_exclude.egg-info/dependency_links.txt
writing entry points to mkdocs_exclude.egg-info/entry_points.txt
writing requirements to mkdocs_exclude.egg-info/requires.txt
writing top-level names to mkdocs_exclude.egg-info/top_level.txt
reading manifest file 'mkdocs_exclude.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'mkdocs_exclude.egg-info/SOURCES.txt'
Copying mkdocs_exclude.egg-info to build/bdist.linux-aarch64/wheel/mkdocs_exclude-1.0.2-py3.10.egg-info
error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/mkdocs_exclude-1.0.2-py3.10.egg-info/requires.txt'

at /usr/lib/python3.10/site-packages/poetry/installation/chef.py:152 in _prepare
148│
149│ error = ChefBuildError("\n\n".join(message_parts))
150│
151│ if error is not None:
→ 152│ raise error from None
153│
154│ return path
155│
156│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with mkdocs-exclude (1.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "mkdocs-exclude (==1.0.2)"'.

• Installing msgpack (1.0.5)
• Installing rich (13.3.2)
(ERROR)-(Exit Code 1)-(General error)
```
Please help me with issue .
And I'm new to these stuffs.

Suggestions are welcomed.

Thank you.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.