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

fix: building from sdist fails #136

Merged
merged 3 commits into from
May 13, 2021

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented May 8, 2021

Same issues as were found in Ninja distribution scikit-build/ninja-python-distributions#43 when building from sdist:

  1. Add a test to build from sdist.
  2. Use the same fixes the ones in ci: fix builds ninja-python-distributions#43
    2.1 The "import issue" affects all builds from sdist
    2.2 The ill-specified version returned by versioneer only impacts ci as it would be impossible to upload the sdist to PyPI

@mayeut mayeut force-pushed the test-source-distribution branch 4 times, most recently from 33e821a to 09b70eb Compare May 8, 2021 21:19
@mayeut mayeut force-pushed the test-source-distribution branch from a96f066 to c5500a5 Compare May 8, 2021 22:05
@mayeut mayeut changed the title Add test_source_distribution fix: building from sdist fails May 8, 2021
@mayeut mayeut marked this pull request as ready for review May 8, 2021 22:42
Copy link
Contributor

@henryiii henryiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henryiii
Copy link
Contributor

Let's go with this PR first, then merge the CMake update.

@henryiii henryiii merged commit 22dc0c5 into scikit-build:master May 13, 2021
@mayeut mayeut deleted the test-source-distribution branch May 14, 2021 08:20
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.

2 participants