Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11781

How to get pip to automatically install local wheel dependencies

$
0
0

I've built a gizmo wheel which has a dependency on an internally developed (transfunctioner) wheel which is not available on a public PyPy server. The external dependencies are automatically downloaded and installed, however I am unable to find a way to get the local wheel to be installed, despite my best attempts as shown in the my pyproject.toml extract below:

[project]name = "Gizmo"version = "1.5.0"requires-python = ">=3.9"dependencies = ["pycairo~=1.21.0","PyGObject~=3.42.0","PyGObject-stubs~=1.0.0","acme_transfunctioner>=1.3.0"][tool.setuptools.packages.find]where = ["."][tool.poetry.dependencies]pycairo="^1.21.0"PyGObject="^3.42.0"PyGObject-stubs="^1.0.0"acme_transfunctioner = { version = ">=1.3.0", file = "dist/depend/acme_transfunctioner-1.3.0-py3-none-any.whl" }

Error message:

$ pip install dist/gizmo-1.5.0-py3-none-any.whl Processing ./dist/gizmo-1.5.0-py3-none-any.whlCollecting pycairo~=1.21.0 (from gizmo==1.5.0)  Using cached pycairo-1.21.0-cp310-cp310-linux_x86_64.whlCollecting PyGObject~=3.42.0 (from gizmo==1.5.0)  Using cached PyGObject-3.42.2-cp310-cp310-linux_x86_64.whlCollecting PyGObject-stubs~=1.0.0 (from gizmo==1.5.0)  Using cached PyGObject_stubs-1.0.0-py3-none-any.whl (159 kB)INFO: pip is looking at multiple versions of gizmo to determine which version is compatible with other requirements. This could take a while.ERROR: Could not find a version that satisfies the requirement acme_transfunctioner>=1.3.0 (from gizmo) (from versions: none)

Viewing all articles
Browse latest Browse all 11781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>