Robert Scott
f8831c10de
python3.tests: add cpython-gdb test
2021-08-19 19:37:09 +01:00
Robert Hensing
fbafeb7ad5
treewide: runCommandNoCC -> runCommand
...
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
Frederik Rietdijk
8220b0449c
python.tests: use self.callPackage instead of super.callPackage
...
super was incorrectly possible until https://github.com/NixOS/nixpkgs/pull/104201
got merged.
2020-11-28 16:57:07 +01:00
Frederik Rietdijk
5d8dd5c259
python.tests: don't mix the two types of tests
...
The integration tests code was included in the environment tests. After
this commit it is hopefully clearer what belongs together.
2020-08-30 12:59:24 +02:00
Frederik Rietdijk
f17001afd8
Python: fix virtualenv with Python 2
2020-05-24 10:43:24 +02:00
Frederik Rietdijk
2de446e0b8
python.tests: also test virtualenv
...
Test whether creating a virtualenv functions.
2020-05-23 18:15:45 +02:00
Frederik Rietdijk
6f873e98f4
Python integration tests: disable for older python 3 versions
...
because the package that is used as part of the test does not support
older versions.
2020-04-25 07:59:37 +02:00
Frederik Rietdijk
7447fff95a
Fix sys.prefix in case of a Nix env
...
The prefix will now be correct in case of Nix env.
Note, however, that creating a venv from a Nix env still does not function. This does not seem to be possible
with the current approach either, because venv will copy or symlink our Python wrapper. In case it symlinks
(the default) it won't see a pyvenv.cfg. If it is copied I think it should function but it does not...
2020-03-14 21:39:32 +00:00
adisbladis
753122388d
Python: Add integration test verifying NIX_PYTHONPATH with Mypy
2020-03-14 21:39:32 +00:00
adisbladis
05571d3059
Python Add test for NIX_PYTHONPREFIX
2020-03-14 21:39:31 +00:00
Frederik Rietdijk
dbf125d286
Python: introduce tests for interpreters
...
This adds tests to the passthru of all Python interpreters.
2020-03-14 15:01:30 +01:00