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

Error in composer-dev setup command: 'install_requires' must be a string of lists #7

Closed
madsemildahlgaard opened this issue Feb 3, 2023 · 4 comments

Comments

@madsemildahlgaard
Copy link

Hi!

I get the following error when running pip install .

Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in composer-dev setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          google-cloud-orchestration-airflow>=1.2.*
                                            ~~~~~^
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Python version: Python 3.10.8
Pip version: pip 22.2.2

@zachary-povey
Copy link

I'm getting the same on macos with:

python: 3.8.10
pip: 23.0
setuptools: 67.1.0

and

python: 3.11.1
pip: 22.3.2
setuptools: 67.1.0

@hejnal
Copy link

hejnal commented Feb 6, 2023

Same here:

python: 3.10.3
pip: 23.0

@hejnal
Copy link

hejnal commented Feb 6, 2023

It worked when removing the * in the dependency definition:

e.g.
"google-cloud-orchestration-airflow>=1.2.0",
"google-cloud-artifact-registry>=1.2.0"

But I'm not sure if that's a valid workaround, and not sure why the * wildcard does not work in this context..

@pawel-wiszniewski
Copy link

Same problem. MacOS, pyenv environment:

Python 3.8.12
pip 23.0
setuptools 56.0.0 and 67.2.0

piotrwrotniak pushed a commit that referenced this issue Feb 14, 2023
Change-Id: Ib6c5a3cac51ba81415235fa5379e8da10b239701
GitOrigin-RevId: 324a3da437bc9965d510c84d671ed11f1883a921
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