-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
hy: 0.17.0 -> 0.18.0 #84661
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
hy: 0.17.0 -> 0.18.0 #84661
Conversation
I just noticed that the hy project does not include the |
This worked for me. |
I don't need to make any more changes unless suggested by reviewers. It works for me, too! I do see other Nix python applications that skip running the tests because they're not there in the PyPI source distribution. I just wasn't sure what the best practice was. |
I squashed commits and cleaned it up. |
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.
This works for me.
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
Motivation for this change
Hy is out of date in nixpkgs and hy has deprecated Python 2 support, so we can update to 0.18.0 and make it a Python 3 application.
Things done
Updated hy package to latest release and to use python3Package.
Setup tests with checkPhase and can run them manually in a nix-shell, but they don't seem to get run properly during nix-build, so set
doCheck = false
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)