-
-
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
init devpi-server at 4.3.1, bump devpi-client #32335
Conversation
@GrahamcOfBorg build devpi-client devpi-server |
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.
Success for system: x86_64-linux
=============================== warnings summary ===============================
None
Module already imported so can not be re-written: _pytest.pytester
-- Docs: http://doc.pytest.org/en/latest/warnings.html
============================== 1 tests deselected ==============================
====== 182 passed, 2 skipped, 1 deselected, 1 warnings in 423.22 seconds =======
/nix/store/nwpi23zfcr48cxgw66fq84lh2ljv8gxr-devpi-client-3.1.0
/nix/store/4dl5a6vk25i7jml785wfcmjw7w38jncp-devpi-server-4.3.1
inherit pname version; | ||
sha256 = "1kdp6qbh5v1168l99rba5yfzvy05gmzkmkhldgp36p9xcdjd5dv8"; | ||
}; | ||
buildInputs = [ pytest ]; |
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.
Not propagatedBuildInputs?
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.
I took pytest-xdist
, `pytest-datafiles as reference, none of them seems to use pytest as propagated build input
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.
Correct. pytest
plugins do not propagate pytest
because it should be possible to use a different pytest
with a certain plugin.
pkgs/top-level/python-packages.nix
Outdated
|
||
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { }; | ||
|
||
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { }; |
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.
@FRidh does not like just appending new packages to the end :)
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.
python-packages
is fubar, with multiple beginnings and endings
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.
I don't like it? Well, we should aim at having ordering. PR's that improve ordering are more than welcome.
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.
I will have a look into it, but not for this PR ;)
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.
Even partial order should help to avoid merge conflicts.
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.
I just tried my best to add them somewhere ...
inherit pname version; | ||
sha256 = "1kdp6qbh5v1168l99rba5yfzvy05gmzkmkhldgp36p9xcdjd5dv8"; | ||
}; | ||
buildInputs = [ pytest ]; |
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.
Correct. pytest
plugins do not propagate pytest
because it should be possible to use a different pytest
with a certain plugin.
{ stdenv | ||
, lib | ||
, python | ||
, python3 |
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.
python3 is not used. Also, don't pass both python
and pythonPackages
. Both already contain references to each other.
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.
you are right, this is a leftover from the times where i've tried to get the test_test.py
tests running but failed in providing a python version with setuptools to the tox environment
87de3e1
to
ffce662
Compare
@GrahamcOfBorg eval |
ffce662
to
7e39ecb
Compare
thanks! |
Motivation for this change
This PR introduces devpi-server to nixpkgs. For this PR, argon2 needs to be supported by passlib.
With the devpi-server package it is possible to re-enable tests for devpi-client, however a couple of tests needed to be disabled because of issues with tox and setuptools.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)waiting for you, @GrahamcOfBorg ;)