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

When getting version with setuptools_scm, resolve __file__ path #26

Merged
merged 3 commits into from
Jan 4, 2021

Conversation

johnomotani
Copy link
Contributor

If symlinks to the boutdata directory are used, they can confuse the version-number finding function. Fix this by using pathlib.Path.resolve() to resolve all symlinks. This is needed for boutproject/BOUT-dev#2196.

If symlinks to the boutdata directory are used, they can confuse the
version-number finding function. Fix this by using
pathlib.Path.resolve() to resolve all symlinks.
...because we want to use the repo version. Instead install the
requirements.
@johnomotani
Copy link
Contributor Author

I think this is failing because boututil's requirements in setup.py had a typo in the version I released on PyPi. boutproject/boututils#16 should fix that - I'll make a new release when that's merged.

@johnomotani johnomotani merged commit 0b849bd into master Jan 4, 2021
@johnomotani johnomotani deleted the resolve-path-for-version branch January 4, 2021 18:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants