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
package etesync-dav #76886
package etesync-dav #76886
Conversation
c862dc7
to
48a6bdd
Compare
@Valodim Weighing in here: is there anything in furl that blocks this PR, eg the test that mysteriously fails for you (gruns/furl#121)? |
@gruns nix builds these packages in a sandboxed environment (chroot + no network + no FHS), so there's a large possibility that some intended test behavior may be invalidated. Doesn't mean it can't be worked around. |
the failing test doesn't look like it would be caused by sandboxing to me. it concerns edge case behavior of furl to mirror that of urllib. upstream should probably figure out what's going on, but from nixpkg's point of view I guess it's not terribly important to have it fixed before we package it. looks like @gruns is on the case, anyways. thanks for looking into it :) |
48a6bdd
to
3c00766
Compare
I think this is good to merge now. I've been using it for a couple days now, works as intended for me. The one failing test in furl doesn't seem like a dealbreaker to me (it tests for consistency with urllib behavior in edge cases), and if upstream ever figures out what's going on we can enable it again :) |
3c00766
to
fc4ecec
Compare
@Valodim There's been some minor releases since you created the PR. For etesync/-dav it might be good to bump them and see if everything still works properly |
also,o please resolve conflicts |
Hey, maintainer of etesync here. Looking forward to seeing etesync-dav packaged. |
fc4ecec
to
c725b7f
Compare
aa40591
to
04f8e48
Compare
done and done. |
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.
to avoid:
==================================== ERRORS ====================================
__________________ ERROR collecting tests/test_collections.py __________________
/nix/store/7lx9rx7m8sc9wpjqkng5r4c3fy2mn3bv-python2.7-pytest-4.6.8/lib/python2.7/site-packages/_pytest/python.py:507: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/nix/store/905b3mx703j6an71ydz9s0lwi0c1a70w-python2.7-py-1.8.1/lib/python2.7/site-packages/py/_path/local.py:701: in pyimport
__import__(modname)
E File "/build/etesync-0.9.2/tests/test_collections.py", line 144
E SyntaxError: Non-ASCII character '\xd7' in file /build/etesync-0.9.2/tests/test_collections.py on line 144, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
I guess it technically is erroring on tests, and might be python2 compatible. But likely not
04f8e48
to
97e1f0f
Compare
squashed that in 👍 |
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.
commit history should be:
pythonPackages.pyscrypt: init at 1.6.2
pythonPackages.furl: 2.0.0 -> 2.1.0
pythonPackages.etesync: init at 0.9.2
etesync-dav: init at 0.14.0
i would recommend using |
97e1f0f
to
1c0b00e
Compare
Done. Fixed version numbers, too. |
@tasn thanks for the heads up! I'm not a user of this package, so I'll defer to @Valodim as to what should be in it. But we can always improve the packaging later. I'm mostly concerned about usability and correctness. |
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.
diff LGTM
commits LGTM
[14 built, 11 copied (5.4 MiB), 1.3 MiB DL]
https://github.com/NixOS/nixpkgs/pull/76886
9 package built:
etesync-dav python27Packages.furl python27Packages.pyscrypt python37Packages.etesync python37Packages.furl python37Packages.pyscrypt python38Packages.etesync python38Packages.furl python38Packages.pyscrypt
@GrahamcOfBorg build etesync-dav python27Packages.furl python27Packages.pyscrypt python37Packages.etesync python37Packages.furl python37Packages.pyscrypt python38Packages.etesync python38Packages.furl python38Packages.pyscrypt |
darwin failures don't seem to be related to this PR |
Fair enough, it doesn't really matter, but it's just something I noticed. Great to see it merged. :) |
Motivation for this change
Packaged the etesync-dav component of etesync :)
This PR includes python library dependencies pyscrypt, orderedmultidict, and furl.
The furl package had a failing unit test, which I filed a bug report for: gruns/furl#121
Things done
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)Notify maintainers
cc @tasn (etesync), @ricmoo (pyscrypt), @gruns (orderedmultidict, furl)