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

Remove redefinition of VERSION_INFO #2413

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

jpdean
Copy link
Member

@jpdean jpdean commented Oct 21, 2022

Installing the python layer with Spack fails with error: "VERSION_INFO" redefined. This PR removes the line where VERSION_INFO is redefined.

@chrisrichardson chrisrichardson merged commit d6f4dac into main Oct 21, 2022
@chrisrichardson chrisrichardson deleted the jpdean/fix_version_info_redefinition branch October 21, 2022 14:45
@jhale
Copy link
Member

jhale commented Oct 21, 2022

We should look and see if it's possible to move to a combined pyproject.toml/setup.py configuration for setuptools:

https://setuptools.pypa.io/en/latest/userguide/ext_modules.html

All of the metadata would be in pyproject.toml file, just the cmake stuff would remain in setup.py.

@jorgensd
Copy link
Sponsor Member

We would need to move the flake8 options to a .flake8 file (which is fine by me). See:
PyCQA/flake8#234

@garth-wells
Copy link
Member

I don't think this is a good 'fix'. My understanding is that it versions the binaries. I suspect the problem lies elsewhere in the Spack config.

@chrisrichardson
Copy link
Contributor

Ok, let's revisit before a release. It was not documented, and seemed to have no purpose.

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

5 participants