Skip to content

Fix unit tests on macOS#1178

Merged
hsinfan1996 merged 28 commits intomasterfrom
fix_setup.py
May 9, 2024
Merged

Fix unit tests on macOS#1178
hsinfan1996 merged 28 commits intomasterfrom
fix_setup.py

Conversation

@hsinfan1996
Copy link
Contributor

@hsinfan1996 hsinfan1996 commented May 8, 2024

Fix a warning on ambiguous package distribution. (Installing with develop mode "-e" will not see the warning.)

@coveralls
Copy link

coveralls commented May 8, 2024

Pull Request Test Coverage Report for Build 9017026807

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.458%

Totals Coverage Status
Change from base Build 9013762215: 0.0%
Covered Lines: 6556
Relevant Lines: 6727

💛 - Coveralls

@hsinfan1996 hsinfan1996 marked this pull request as draft May 8, 2024 15:10
@hsinfan1996
Copy link
Contributor Author

Somehow this PR also fixes unit tests on macOS.

@hsinfan1996 hsinfan1996 marked this pull request as ready for review May 8, 2024 20:08
@hsinfan1996 hsinfan1996 requested a review from damonge May 8, 2024 20:08
@hsinfan1996
Copy link
Contributor Author

hsinfan1996 commented May 8, 2024

To suppress other warnings, we should turn to PR #1144, which I think is ready for review.

@damonge
Copy link
Collaborator

damonge commented May 9, 2024

@hsinfan1996 thanks for this. #1144 is merged, and I can review this as soon as conflicts are resolved.

@hsinfan1996
Copy link
Contributor Author

hsinfan1996 commented May 9, 2024

I was going to make this PR a final fix to setup.py before we merge PR #1144. But it is still good to just fix the unit tests on macOS.

@hsinfan1996 hsinfan1996 changed the title Include emulators data properly Fix unit tests on macOS May 9, 2024
@hsinfan1996
Copy link
Contributor Author

hsinfan1996 commented May 9, 2024

@damonge Thank you. This PR is ready for review. For the changes in pyproject.toml, I only move the item up to make it more visible.
Interestingly, CI on macOS now runs faster than on Ubuntu. (It was WAYYY slower.)

Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks a lot @hsinfan1996

@hsinfan1996 hsinfan1996 merged commit d762d99 into master May 9, 2024
@hsinfan1996 hsinfan1996 deleted the fix_setup.py branch May 9, 2024 18:30
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