`Aborting graph creation: Problem getting dependency data` issue
chenrui333 opened this issue ยท 5 comments
Trying to regression testing pyflow, but ran into some Aborting graph creation: Problem getting dependency data
failure.
How to reproduce
- brew install pyflow
- virtualenv setup with python 3.9.14
- pyflow init
- pyflow install boto3
Error log as below
test error
$ virtualenv . -p python3.9 && source bin/activate
created virtual environment CPython3.9.14.final.0-64 in 585ms
creator CPython3Posix(dest=/Users/rui/Downloads/brew, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, wheel=bundle, setuptools=bundle, via=copy, app_data_dir=/Users/rui/Library/Application Support/virtualenv)
added seed packages: pip==22.3, setuptools==65.5.0, wheel==0.37.1
activators NushellActivator,PythonActivator,FishActivator,CShellActivator,PowerShellActivator,BashActivator
(brew)
$ pyflow init
Please enter the Python version for this project: (eg: 3.8)
Default [3.9.14]:
Created `pyproject.toml`
Found multiple compatible Python versions. Please enter the number associated with the one you'd like to use:
1: python3.9: 3.9.14
2: python3: 3.9.14
3: python: 3.9.14
1
๐ Setting up Python...
(brew)
$ pyflow install boto3
Found lockfile
Aborting graph creation: Problem getting dependency data
Reqs: [
Req {
name: "boto3",
constraints: [
Constraint {
type_: Caret,
version: 1.26.17,
},
],
extra: None,
sys_platform: None,
python_version: None,
install_with_extras: None,
path: None,
git: None,
},
]
It's taking a long time to get dependency data - this usually suggests that the dependency tree is being newly built. Please try again in a few minutes, and if the error still occurs, consider opening an issue on github.
I get a similar error on different install process macos(x86):
- install asdf (via git/zsh)
- install python 3.10.8 (via asdf) and set local default
- install pyflow via
cargo install pyflow
- mkdir libraries && cd libraries
โ libraries pyflow new my_lib
Please enter the Python version for this project: (eg: 3.8)
Default [3.10.8]:
Created a new Python project named my_lib
โ libraries cd my_lib
โ my_lib git:(main) โ pyflow install requests
Found multiple compatible Python versions. Please enter the number associated with the one you'd like to use:
1: python3.10: 3.10.8
2: python3: 3.10.8
3: python: 3.10.8
3
๐ Setting up Python...
Found lockfile
Aborting graph creation: Problem getting dependency data
Reqs: [
Req {
name: "requests",
constraints: [
Constraint {
type_: Caret,
version: 2.28.1,
},
],
extra: None,
sys_platform: None,
python_version: None,
install_with_extras: None,
path: None,
git: None,
},
]
It's taking a long time to get dependency data - this usually suggests that the dependency tree is being newly built. Please try again in a few minutes, and if the error still occurs, consider opening an issue on github.
I saw a request to pydeps.herokuapp.com
, could it be this app just died due to Heroku plan limits, hence we can't get any dep data from it???
I saw a request to
pydeps.herokuapp.com
, could it be this app just died due to Heroku plan limits, hence we can't get any dep data from it???
that is highly possible, heroku killed lots of apps recently.
I made a clone of the server, but to use it you need to replace the URL in that line in the code base, and build your own pyflow binary with cargo build --release
. I made a PR to allow setting the URL via envvars.