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

setup.cfg is missing the 'version' line #133

Closed
yurivict opened this issue Jan 19, 2022 · 1 comment
Closed

setup.cfg is missing the 'version' line #133

yurivict opened this issue Jan 19, 2022 · 1 comment

Comments

@yurivict
Copy link

As a result the installed PKG-INFO lists version as 0.0.0 and the tox command fails:


Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (filelock 0.0.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('filelock<4,>=3.0.0'), {'tox'})
@gaborbernat
Copy link
Member

It's not missing. We use setuptools-scm to acquire it from the SCM. Please use a pyproject compatible build system and you should have it.

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

2 participants