Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborting graph creation: Problem getting dependency data issue #184

Open
chenrui333 opened this issue Nov 28, 2022 · 5 comments
Open

Aborting graph creation: Problem getting dependency data issue #184

chenrui333 opened this issue Nov 28, 2022 · 5 comments

Comments

@chenrui333
Copy link

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.
@dbrtly
Copy link

dbrtly commented Dec 16, 2022

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.

@eugenesvk
Copy link

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???

@chenrui333
Copy link
Author

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.

@mmoya
Copy link

mmoya commented Mar 8, 2023

The pydeps.herokuapp.com url is being used here and it's not working anymore.

@frabarz
Copy link

frabarz commented Mar 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants