-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
python3Packages.maxminddb: fix build on Darwin #244063
Conversation
The multiprocessing tests don’t work on Darwin presumably because it uses the spawn start method instead of fork. Disable those tests to allow maxminddb to build on Darwin again.
Result of 8 packages failed to build:
51 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. The failures I saw on my machine look unrelated.
I also have pytest-ansible failures, which look to be due to trying to connect to localhost and failing. |
sopel’s tests are failing due to the removal in Python 3.11 of a deprecated mode argument to From What’s New in Python 3.11
|
Proposed maxmind/MaxMind-DB-Reader-python#116 to try and fix the tests upstream too in the simplest way so in the future we might be able to clean this up. |
Result of 8 packages failed to build:
51 packages built:
|
@ofborg build python3Packages.maxminddb python3Packages.maxminddb.passthru.tests |
Description of changes
The multiprocessing tests don’t work on Darwin presumably because it uses the spawn start method instead of fork. Disable those tests to allow maxminddb to build on Darwin again.
Fixes #243998.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)