Skip to content

Conversation

@trim21
Copy link
Contributor

@trim21 trim21 commented Feb 13, 2025

🚀 Pull Request

Description

almost same patch with #556 , but install udunits from conda

@trim21 trim21 mentioned this pull request Feb 13, 2025
@trim21 trim21 force-pushed the win32-wheel-conda branch 3 times, most recently from b85db24 to 3737fb1 Compare February 13, 2025 06:48
@codecov
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.40%. Comparing base (82fbe4f) to head (f03701d).
Report is 24 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #558   +/-   ##
=======================================
  Coverage   58.40%   58.40%           
=======================================
  Files          62       62           
  Lines        6433     6433           
  Branches     1150     1150           
=======================================
  Hits         3757     3757           
  Misses       2385     2385           
  Partials      291      291           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@ukmo-ccbunney ukmo-ccbunney left a comment

Choose a reason for hiding this comment

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

Hi @trim21

Thank you very much for your PR.

I think that this solution using Conda to install udunits2 is probably more robust than building it in the workflow as you proposed in #556. This way, the udunits2 version is free to update rather than being pinned to a version in the ci-wheels.yml file.

I only have one small suggested change with respect to the Windows specific test command, which I will leave to your discretion.

Otherwise I've updated your PR with the latest changes from main and I think we're all good to go on this one. 👍

Co-authored-by: Chris Bunney <48915820+ukmo-ccbunney@users.noreply.github.com>
@trim21
Copy link
Contributor Author

trim21 commented Mar 21, 2025

My pr can't trigger testing unless manually approved by maintainers , I'm not sure if the suggestion work

Fixed quoting for windows
ukmo-ccbunney
ukmo-ccbunney previously approved these changes Mar 21, 2025
Copy link
Contributor

@ukmo-ccbunney ukmo-ccbunney left a comment

Choose a reason for hiding this comment

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

OK. This is all working now.
Apologies for the several iterations to fix the CIBW_TEST_COMMAND_WINDOWS value - got there eventually. 🙄
Thanks for the contribution. 🚀

Merge `CIBW_TEST_COMMAND` and `CIBW_TEST_COMMAND_WINDOWS`
Copy link
Contributor

@ukmo-ccbunney ukmo-ccbunney left a comment

Choose a reason for hiding this comment

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

OK. Everything is building ok and all tests are running and passing.
Thanks for your patience on this @trim21 - that was much more of a chore sorting out the windows multi-line command than I expected. LGTM.

@ukmo-ccbunney ukmo-ccbunney merged commit d8fa3c1 into SciTools:main Mar 21, 2025
17 checks passed
@trim21 trim21 deleted the win32-wheel-conda branch April 15, 2025 20:38
@scitools-ci scitools-ci bot removed this from 🚴 Peloton Apr 19, 2025
@trim21
Copy link
Contributor Author

trim21 commented May 15, 2025

It may be a bad idea to use dll from conda env.

I have a similar PR on other project use c/c++ package from conda env to build a pypi wheel, which cause a segfault on certain case, and we recently reverted it to use a manually build.

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.

3 participants