Skip to content

Convert to generic platform wheel #23

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

Merged
merged 6 commits into from
May 27, 2019

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented May 27, 2019

No description provided.

jcfr added 6 commits March 1, 2019 10:19
This commit addresses errors like the following:

  ERROR: pytest-fixture-config 1.4.0 has requirement pytest<4.0.0, but you'll have pytest 4.5.0 which is incompatible.
  ERROR: pytest-shutil 1.6.0 has requirement pytest<4.0.0, but you'll have pytest 4.5.0 which is incompatible.
  ERROR: pytest-virtualenv 1.6.0 has requirement pytest<4.0.0, but you'll have pytest 4.5.0 which is incompatible.
----
Adapted from scikit-build/cmake-python-distributions@2a7966cc15b

travis: Fix execution of test from source tree setting skbuild platname

Since building the project specifying --plat-name or CMAKE_OSX_* variables
leads to different SKBUILD_DIR (e.g "_skbuild/macosx-10.6-x86_64-3.6" vs
"_skbuild/macosx-10.11-x86_64-3.6" , the code below attempt to guess the
most likely plat-name, extracting the plat-name from the first sub-directory
found under "_skbuild" directory.


----
Adapted from scikit-build/cmake-python-distributions@52e1da0b48

ix test_cmake_module on macOS requiring scikit-build >= 0.10.0


----
Adapted from scikit-build/cmake-python-distributions@dffd84a63a

scikit-build >= 0.9.0 converted skbuild.constants into functions to
support custom platform name.
See scikit-build/scikit-build@cb324b8
Adapted from  scikit-build/cmake-python-distributions@9bc10f963

Since scikit-build 0.10.0 more carefully tests availability of Visual Studio
generator, this commit fixes the issue using Visual Studio 2017 image
for python 3.6 and python 3.7
@codecov
Copy link

codecov bot commented May 27, 2019

Codecov Report

Merging #23 into master will decrease coverage by 0.28%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   86.95%   86.66%   -0.29%     
==========================================
  Files           1        1              
  Lines          23       30       +7     
  Branches        3        5       +2     
==========================================
+ Hits           20       26       +6     
- Partials        3        4       +1
Impacted Files Coverage Δ
ninja/__init__.py 86.66% <85.71%> (-0.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fe8e65...781570c. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 27, 2019

Codecov Report

Merging #23 into master will decrease coverage by 0.28%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   86.95%   86.66%   -0.29%     
==========================================
  Files           1        1              
  Lines          23       30       +7     
  Branches        3        5       +2     
==========================================
+ Hits           20       26       +6     
- Partials        3        4       +1
Impacted Files Coverage Δ
ninja/__init__.py 86.66% <85.71%> (-0.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fe8e65...781570c. Read the comment docs.

@jcfr jcfr mentioned this pull request May 27, 2019
@jcfr jcfr merged commit 261e930 into scikit-build:master May 27, 2019
@jcfr jcfr deleted the convert-to-generic-platform-wheel branch May 27, 2019 05:57
@jcfr jcfr mentioned this pull request May 27, 2019
3 tasks
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.

1 participant