mach-nix fails to find scipy dependency
See original GitHub issueHello, thank you for your project, it looks super promising.
Just got this:
The Package 'scipy' cannot be found in the dependency DB used by mach-nix.
Please check the following:
1. Does the package actually exist on pypi? Please check https://pypi.org/project/scipy/
2. Does the package's initial release date predate the mach-nix release date?
If so, either upgrade mach-nix itself or manually specify 'pypi_deps_db_commit' and
'pypi_deps_db_sha256 for a newer commit of https://github.com/DavHau/pypi-deps-db/commits/master
If none of that works, there was probably a problem while extracting dependency information by the crawler maintaining the database.
Please open an issue here: https://github.com/DavHau/pypi-crawlers/issues/new
By trying mach-nix on github.com/mangaki/zero dependencies. I’m pretty sure that scipy exists on PyPI and was released before mach-nix 😛 ; but I don’t know what’s going on.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
mach-nix removes required dependencies from nixpkgs ...
When trying to install cartopy mach-nix removes all python dependencies, which results in a failed build. I assume the dependencies are ...
Read more >Mach-nix: Create python environments quick and easy
This lead to failing builds especially for older python versions. Now requires_python is part of the dependency graph and affects resolution.
Read more >Serverless python packaging numpy dependency error
I have been running into issues when making function calls from my deployed Python3.7 Lambda function that, from the error message, are related ......
Read more >Integration (scipy.integrate) — SciPy v1.9.3 Manual
import scipy.integrate as integrate >>> import scipy.special as special ... of the integral and the second element holding an upper bound on the...
Read more >Adding GDAL as dependency to Python package?
Before installing GDAL python binding, you must install GDAL on your system. apt-get install -y libgdal-dev. After that, set variables and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added some instructions on how to debug dependency extraction to pypi-crawlers . To test my instructions i debugged scipy’s setup.py already. Actually this setup.py cannot work with distutils / setuptools installers. It definitely imports numpy to early in any case. Our environment doesn’t make a difference there. Executing the setup.py inside the python docker container which is debian based also fails with the same error. I wouldn’t call it broken because of that. Today i learned, the setup.py-style setup is considered
legacy
and there are other ways to declare dependencies likepyproject.toml
(PEP 518) which is also supported by pip. Scipy’s build seems to depend on it. The way i see it, adding support for PEP 518 (pyproject.toml) to pypi-crawlers would be the right way to include scipy and some other libraries. It should be fairly simple since it’s just about parsing theproject.toml
file. Nothing must befake-installed
.Mach-nix version 2.0.0 has two new providers
nixpkgs
andwheel
. The problem should be resolved by this