-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
dvc: init at 0.24.3 #54530
dvc: init at 0.24.3 #54530
Conversation
What would be the solution to: |
Also I still need to figure out how to setup the remotes: https://github.com/iterative/dvc/blob/master/setup.py#L29-L43 I imagine that we can do these as options on the |
Should it be like:
? I have done this with option flags. |
b2ed6ce
to
78c2f33
Compare
Given that the cloud remotes are in the |
Theres's a problem here: iterative/dvc#1509 (comment) |
I don't have any problem executing dvc. |
@dotlambda You don't see this problem:
At the end of the dvc command? |
Nope, never saw it while playing around a little with dvc using |
I can reproduce the message @CMCDragonkai is seeing when executing |
This might be the actual problem: iterative/dvc#1509 (comment) Basically here https://github.com/iterative/dvc/blob/master/dvc/daemon.py#L69-L72 It tries to launch Other than the change they are going to make to the source code, what would normally be the solution here on Nixpkgs? Should the package somehow set the |
We have this problem: iterative/dvc#1509 (comment) The issue is that However the problem is that within Basically try try to get the Python executable with with Initially this did not work because within the Nix built package there was no way to find the I'm not sure what's the best way to solve this problem. @FRidh are you able to help here? |
You can simply patch the source to call |
I think I fixed it. Basically patched it out so that it just calls |
Feel free to take over @jeromebaum. |
looking forward to have dvc in nixos what is the status here? |
@jeromebaum @CMCDragonkai any update? |
I haven’t done anything further on this. You’re welcome to take over.
Although the way I understood it this PR is basically unmergeable as it
doesn’t follow the relevant nix norms. If you want dvc in mainline nix
you’ll probably have to either look at the other PR referenced here or
start anew. (I’m not sure which is easier/faster, I’m guessing the first
option?)
…On Thu, Oct 3, 2019 at 16:45 schlichtanders ***@***.***> wrote:
@jeromebaum <https://github.com/jeromebaum> @CMCDragonkai
<https://github.com/CMCDragonkai> any update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#54530?email_source=notifications&email_token=AAAYRDE7IYR7PCGSVXJJ3I3QMYHQVA5CNFSM4GSAQ7XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIUNAI#issuecomment-538003073>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAYRDAZGN5ZPPZ4NEJLUNTQMYHQVANCNFSM4GSAQ7XA>
.
|
Oh, sorry I just noticed that I was replying on a different PR than I thought. Please ignore my comment on it being unmergeable. That said, I haven't done anything further on this PR either and I'd assume that @CMCDragonkai is not opposed to you taking it over to bring it to completion. |
Just one thing left to do and this can be merged. But somebody else will need to update the derivation expression to the latest version. Don't have the bandwidth to do this. |
Hi @CMCDragonkai , I am attaching updated default.nix and patch file for you reference here. |
This now works. I've tested a |
Its for covenience mainly. I guess each one could itself be a different target. Sort of like vimHugex.
…On 28 October 2019 23:19:57 GMT+11:00, Frederik Rietdijk ***@***.***> wrote:
FRidh commented on this pull request.
> @@ -1345,6 +1345,15 @@ in
duperemove = callPackage ../tools/filesystems/duperemove { };
+ dvc = callPackage ../applications/version-management/dvc { };
+
+ dvc-with-remotes = callPackage
../applications/version-management/dvc {
Is this variant needed? Users can override themselves, not.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#54530 (review)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
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.
LGTM, I think the remotes variant is reasonable.
Motivation for this change
Adds dvc. Fixes #49438
DVC is a version control system for data science that integrates with Git. But doesn't really actually need git.
Since it's a application and not a library, I thought to just put it in
pkgs/applications/version-management/dvc/default.nix
.Futhermore, I've decided to use
python3Packages
set instead of justpythonPackages
as we should be using Python 3 for any applications now.They only have a wheel on the on Pypi, and I've asked them to push up their source distribution to the Pypi as well iterative/dvc#1509.
In the case that is done, this can be changed to use the source distribution and hopefully run some tests as well.
One thing is that after I built this, and tried to run dvc, I get this at the end:
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)