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

dependency to git #51

Open
bollenn opened this issue Jan 26, 2018 · 8 comments
Open

dependency to git #51

bollenn opened this issue Jan 26, 2018 · 8 comments

Comments

@bollenn
Copy link
Contributor

bollenn commented Jan 26, 2018

mlx-warnings --junit --verbose ./build/unit_test/utest_summary/utest_aml_PercentageDecrease_report.xml

c:\apps\python35-32\lib\site-packages\setuptools_scm\utils.py:108: UserWarning: 'git' was not found

  warnings.warn("%r was not found" % name)

Traceback (most recent call last):

  File "C:\apps\Python35-32\Scripts\mlx-warnings-script.py", line 9, in <module>

    load_entry_point('mlx.warnings==0.0.10', 'console_scripts', 'mlx-warnings')()

  File "c:\apps\python35-32\lib\site-packages\pkg_resources\__init__.py", line 542, in load_entry_point

    return get_distribution(dist).load_entry_point(group, name)

  File "c:\apps\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2569, in load_entry_point

    return ep.load()

  File "c:\apps\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2229, in load

    return self.resolve()

  File "c:\apps\python35-32\lib\site-packages\pkg_resources\__init__.py", line 2235, in resolve

    module = __import__(self.module_name, fromlist=['__name__'], level=0)

  File "c:\apps\python35-32\lib\site-packages\mlx\warnings.py", line 19, in <module>

    __version__ = get_version()

  File "c:\apps\python35-32\lib\site-packages\setuptools_scm\__init__.py", line 119, in get_version

    parsed_version = _do_parse(root, parse)

  File "c:\apps\python35-32\lib\site-packages\setuptools_scm\__init__.py", line 97, in _do_parse

    "use git+https://github.com/user/proj.git#egg=proj" % root)
@Letme
Copy link
Member

Letme commented Jan 26, 2018

More like depencency on setuptools_scm

@Letme
Copy link
Member

Letme commented Jan 26, 2018

Can you upgrade setuptools-scm package?

@bollenn
Copy link
Contributor Author

bollenn commented Jan 26, 2018

Adding git to the path makes it work
UserWarning: 'git' was not found

@Letme
Copy link
Member

Letme commented Jan 26, 2018

but setuptools-scm should handle that - so i would assume version of setuptools-scm is too old...

@Letme
Copy link
Member

Letme commented Jan 26, 2018

ah setuptools-scm in Windows has problems with git indeed. pypa/setuptools-scm#182

@Letme
Copy link
Member

Letme commented Nov 28, 2018

can you recheck this with recent version of the plugin?

@Letme
Copy link
Member

Letme commented Sep 2, 2019

@bollenn ping on this :)

@Letme
Copy link
Member

Letme commented Dec 20, 2019

@bollenn can you please check if the recent version of plugin has the same problem?

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

No branches or pull requests

2 participants