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

unable to install 1.0.0a1 #204

Closed
lemmy04 opened this issue Apr 15, 2021 · 3 comments
Closed

unable to install 1.0.0a1 #204

lemmy04 opened this issue Apr 15, 2021 · 3 comments

Comments

@lemmy04
Copy link

lemmy04 commented Apr 15, 2021

I'm following the installation instructions, but it fails:

mathias@appsrv:~$ sudo pip3 install https://github.com/ansible/ansible-builder/archive/1.0.0a1.zip
Collecting https://github.com/ansible/ansible-builder/archive/1.0.0a1.zip
  Downloading https://github.com/ansible/ansible-builder/archive/1.0.0a1.zip
     / 204kB 8.4MB/s
    Complete output from command python setup.py egg_info:
    ERROR:root:Error parsing
    Traceback (most recent call last):
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/core.py", line 96, in pbr
        attrs = util.cfg_to_args(path, dist.script_args)
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/util.py", line 271, in cfg_to_args
        pbr.hooks.setup_hook(config)
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/hooks/__init__.py", line 25, in setup_hook
        metadata_config.run()
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/hooks/base.py", line 27, in run
        self.hook()
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/hooks/metadata.py", line 26, in hook
        self.config['name'], self.config.get('version', None))
      File "/tmp/pip-req-build-z5ycqunp/.eggs/pbr-5.5.1-py3.7.egg/pbr/packaging.py", line 880, in get_version
        name=package_name))
    Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name ansible-builder was given, but was not able to be found.
    error in setup command: Error parsing /tmp/pip-req-build-z5ycqunp/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name ansible-builder was given, but was not able to be found.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-z5ycqunp/

The last version that is installable with "pip3 install ansible-builder" is 0.6.0.
Any ideas?

@shanemcd
Copy link
Member

Weird. Can you try:

pip install ansible-builder==1.0.0.0a1

@lemmy04
Copy link
Author

lemmy04 commented Apr 15, 2021

that worked... but a pip install without the version installs 0.6.0.

@AlanCoding
Copy link
Member

That makes sense, but this should be resolved in time when the alpha releases become non-alpha.

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

3 participants