Skip to content

fix: building from sdist fails#136

Merged
henryiii merged 3 commits into
scikit-build:masterfrom
mayeut:test-source-distribution
May 13, 2021
Merged

fix: building from sdist fails#136
henryiii merged 3 commits into
scikit-build:masterfrom
mayeut:test-source-distribution

Conversation

@mayeut
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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