Skip to content

Error installing: "Exception: Versioning requires sdist tarball..." #4

@Stooovie

Description

@Stooovie

Hi, I'm getting this on running the setup.py command in a Home Assistant Docker container:


ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pbr/core.py", line 96, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/local/lib/python3.7/site-packages/pbr/util.py", line 270, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/local/lib/python3.7/site-packages/pbr/hooks/init.py", line 25, in setup_hook
metadata_config.run()
File "/usr/local/lib/python3.7/site-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/local/lib/python3.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/local/lib/python3.7/site-packages/pbr/packaging.py", line 874, 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 possiblethat there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name cometblue was given, but was not able to be found.
error in setup command: Error parsing /config/cometblue-master/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 cometblue was given, but was not able to be found.

Any tips? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions