about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python
Commit message (Collapse)AuthorAge
* python2.7: drop unused cross-compile patchWill Dietz2018-02-13
|
* cpython: Enable cross-compilationBen Gamari2018-02-13
|
* python: Pull ensureNewerSourcesHook call to all-packages.nixTuomas Tynkkynen2018-02-13
| | | | | | Documents the reason why it's needed and also prevents the ensureNewerSourcesHook call being evaluated again and again for every single Python package.
* python35: 3.5.4 -> 3.5.5Frederik Rietdijk2018-02-05
|
* python34: 3.4.7 -> 3.4.8Frederik Rietdijk2018-02-05
|
* pypy: Doesn't support aarch64Tuomas Tynkkynen2018-01-23
| | | | https://hydra.nixos.org/build/67861197
* buildPythonPackage: rename nix_run_setup.py to nix_run_setupFrederik Rietdijk2018-01-20
| | | | | If the extension is .py it tends to be picked up by tools, breaking for example tests.
* CPython and PyPy: update meta.maintainersFrederik Rietdijk2018-01-20
|
* pypy: Remove redundant manual building of CFFI extensionsAnders Kaseorg2018-01-18
| | | | | | | | This hardcoded list of CFFI extension modules gets stale when PyPy adds more, but fortunately the main translation step already builds these now (hack_for_cffi_modules in pypy/goal/targetpypystandalone.py). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* pypy: 5.9.0 -> 5.10.0Anders Kaseorg2018-01-17
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Merge pull request #26805 from obsidiansystems/cross-elegantJohn Ericson2017-12-30
|\ | | | | Make cross compilation elegant
| * treewide: Don't use envHook anymoreJohn Ericson2017-12-30
| | | | | | | | | | This commits needs a MAJOR audit as I oftentimes just guessed which of `$hostOffset`, `$targetOffset`, or a fixed offset should be used.
* | Python: disable user site-packages in setup hookFrederik Rietdijk2017-12-30
| | | | | | | | | | | | Wrappers already included `PYTHONNOUSERSITE=1`, but now this env var is also set in the Python setup hook. This improves purity in case of non-sandboxes builds and nix-shell.
* | Merge pull request #32953 from obsidiansystems/python-dep-fixJohn Ericson2017-12-21
|\| | | | | buildPythonPackage: Make setup hook part of nativeBuildInputs
| * buildPythonPackage: Make setup hook part of nativeBuildInputsJohn Ericson2017-12-21
| | | | | | | | | | This is better organization in general, but also needed to make python work with #26805.
* | python36: 3.6.3 -> 3.6.4Frederik Rietdijk2017-12-20
|/
* Merge pull request #32544 from FRidh/pythonmoduleFrederik Rietdijk2017-12-11
|\ | | | | Python: rewrite requiredPythonModules to prevent stack overflows
| * Python: rewrite requiredPythonModules. Add requiredPythonModules attribute ↵Frederik Rietdijk2017-12-10
| | | | | | | | to derivation
* | Merge pull request #32542 from FRidh/bytecodeFrederik Rietdijk2017-12-11
|\ \ | | | | | | buildPythonPackage: remove bytecode from bin folder
| * | buildPythonPackage: remove bytecode from bin folderFrederik Rietdijk2017-12-10
| | | | | | | | | | | | | | | | | | | | | When a Python script has the extension `.py`, bytecode is generated. Typically, executables in bin have no extension, so no bytecode is generated. However, some packages do provide executables with extensions, and thus bytecode is generated.
* | | python.buildEnv: always include the $out outputFrederik Rietdijk2017-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 28299f669adc41e5278372cad952fb1e1165b44b introduced the first Python packages having multiple outputs. The required outputs were not picked up by `python.buildEnv` (#31857). This commit modifies `python.buildEnv` so that it always includes the $out output and thus fixes #31857.
* | | Add gurobipy for python2.7 on darwin.Shea Levy2017-12-09
|/ /
* / python27: Enable building with alternate UCS encodingShea Levy2017-12-09
|/
* Merge remote-tracking branch 'upstream/python-unstable' into HEADFrederik Rietdijk2017-11-23
|\
| * python.pkgs.buildPythonPackage: some commentsFrederik Rietdijk2017-11-23
| |
| * python.pkgs.buildPythonPackage: do not pass attributes that ↵Frederik Rietdijk2017-11-23
| | | | | | | | stdenv.mkDerivation does not use
| * python.pkgs.buildPythonPackage: meta.maintainers: don't add chaoflowFrederik Rietdijk2017-11-23
| |
| * Python: the pythonModule attributeFrederik Rietdijk2017-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Python libraries or modules now have an attribute `pythonModule = interpreter;` to indicate they provide Python modules for the specified `interpreter`. The package set provides the following helper functions: - hasPythonModule: Check whether a derivation provides a Python module. - requiredPythonModules: Recurse into a list of Python modules, returning all Python modules that are required. - makePythonPath: Create a PYTHONPATH from a list of Python modules. Also included in this commit is: - disabledIf: Helper function for disabling non-buildPythonPackage functions.
* | Merge remote-tracking branch 'upstream/master' into HEADFrederik Rietdijk2017-11-23
|\|
| * pypy: cleanup indentation messJoerg Thalheim2017-11-21
| |
| * pypy: 5.8 -> 5.9Joerg Thalheim2017-11-21
| |
* | stdenv setup: Always use both propagated filesJohn Ericson2017-11-21
|/ | | | | | | | | | | This continues #23374, which always kept around both attributes, by always including both propagated files: `propgated-native-build-inputs` and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still defined as before, however, so this change should only barely observable. This is an incremental step to fully keeping the dependencies separate in all cases.
* cpython: make configd optional (for sandboxed darwin bootstraps)Dan Peebles2017-11-08
|
* mkPythonDerivation: let name default to ${pname}-${version}Orivej Desh2017-11-03
|
* python36: 3.6.2 -> 3.6.3Jon Banafato2017-10-22
|
* Merge remote-tracking branch 'upstream/staging' into deps-reorgJohn Ericson2017-09-28
|\
| * python.buildEnv: add extraOutputsToInstall attributeNikolay Amiantov2017-09-25
| |
| * python27: support test/supportFrederik Rietdijk2017-09-17
| | | | | | | | | | | | | | | | | | | | | | | | In the maintenance release bump in 90059701a836b0d0dbc676e2d1ce417cc5a25bd2 a certain change to /test/ was backported from Python 3: - bpo-30207: To simplify backports from Python 3, the test.test_support module was converted into a package and renamed to test.support. The test.script_helper module was moved into the test.support package. Names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper.
| * python27: 2.7.13 -> 2.7.14Frederik Rietdijk2017-09-17
| | | | | | | | | | The enosys patch is not needed anymore since the patch is included in this maintenance release.
* | misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`John Ericson2017-09-21
|/ | | | Only acts on one-line dependency lists.
* python2: Use system libffi on Aarch64Tuomas Tynkkynen2017-09-16
| | | | | | | | | libffi needs a patch to actually work on aarch64 (or the cffi Python package fails its testsuite). Of course the bundled version of libffi has the same bug, so don't use the buggy version on aarch64. Python3 already uses the system libffi on all platforms. I don't know why Python2 doesn't.
* python35: check LD_LIBRARY_PATHFrederik Rietdijk2017-09-14
| | | | Backports support for LD_LIBRARY_PATH from 3.6
* python34: check LD_LIBRARY_PATHFrederik Rietdijk2017-09-14
| | | | Backports support for LD_LIBRARY_PATH from 3.6
* Revert "python.pkgs.buildPythonPackage: use distutils-cfg to block ↵Frederik Rietdijk2017-09-08
| | | | | | | | downloads, fixes #25428" This reverts commit b73e3bfafd42dbc9caca2eae918ce936c9471c23. See https://github.com/NixOS/nixpkgs/issues/29103
* python.pkgs.buildPythonPackage: use distutils-cfg to block downloads, fixes ↵Frederik Rietdijk2017-09-07
| | | | | | | | | | | | | | | #25428 While we tell pip not to fetch (with the `--no-index` option), `setuptools` can do so itself. In the past we used a `distutils.cfg` with `allow-hosts = None` to prevent setuptools from fetching itself. This was removed when we started building wheels in 2562f94de4e4fd2ddc677187fa2e2848L69. The `dist-utils.cfg` code was still there, and adding it to `buildInputs` is sufficient. Tested with python.pkgs.passlib by removing the `checkInputs` / `nose`.
* Merge commit '2858c41' into HEADFrederik Rietdijk2017-08-30
|\
| * cpython: include test.support and test.regrtestMaximilian Güntner2017-08-28
| | | | | | | | | | | | | | | | | | | | | | | | test.{support, regrtest} are the internal packages cpython developers use to write tests. Although they are not public and the API may change/break some developers use these packages to write tests for their (3rd party) software. The derivations for cpython now only remove the actual tests but leave the packages in place that are used to write them. Discussion: https://github.com/NixOS/nixpkgs/pull/28540
| * python 3.4, 3.5, 3.6: Don't use ldconfig and speed up uuid load, fixes #28349Frederik Rietdijk2017-08-28
| | | | | | | | | | These patches had already been merged for 3.5 and 3.6 but not yet for 3.4. However, they did contain a mistake as explained in #28349.
* | Merge pull request #27636 from bendlas/update-pypyFrederik Rietdijk2017-08-30
|\ \ | |/ |/| pypy: 5.6 -> 5.8
| * pypy: use pycparser from passed pythonHerwig Hochleitner2017-08-03
| |