Frederik Rietdijk
54065ae20d
Merge master into staging-next
2019-07-13 09:45:40 +02:00
Frederik Rietdijk
8074133844
pythonPackages.fetchPypi: support SRI hashes
2019-07-11 18:01:04 +02:00
Frederik Rietdijk
30f299027a
pythonPackages.fetchPypi: separate url computation from fetchurl
2019-07-11 18:01:04 +02:00
Frederik Rietdijk
f2a8117492
pythonPackages.fetchPypi: put expression in own file
...
Also fixes an evaluation bug.
2019-07-11 18:01:04 +02:00
Charlie Dyson
0426ae63f8
fix : #64340 building python wheels in non-standard store
2019-07-11 10:27:28 +02:00
Frederik Rietdijk
79a03641d5
Merge staging-next into staging
2019-07-09 15:46:26 +02:00
Frederik Rietdijk
74c24385cb
Merge master into staging-next
2019-07-09 15:46:00 +02:00
Frederik Rietdijk
421a87d94c
python38: init at 3.8.0b2
2019-07-09 15:31:37 +02:00
Frederik Rietdijk
46d91410af
python37: 3.7.3 -> 3.7.4
2019-07-09 10:04:25 +02:00
Frederik Rietdijk
a88e319591
python36: 3.6.8 -> 3.6.9
2019-07-09 10:04:25 +02:00
Timo Kaufmann
9db3a5869e
python2: backport fix for pyc race condition
...
This is python bug https://bugs.python.org/issue13146 . Fixed since
python 3.4. It makes pyc creation atomic, preventing a race condition.
The patch has been rebased on our deterministic build patch.
It wasn't backported to python 2.7 because there was a complaint about
changed semantics. Since files are now created in a temporary directory
and then moved, symlinks will be overridden. See
https://bugs.python.org/issue17222 .
That is an edge-case however. Ubuntu and debian have backported the fix
in 2013 already, making it mainstream enough for us to adopt.
2019-07-03 08:40:51 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
9f7bb1f512
python27: add override to build statically
2019-06-03 12:28:25 -04:00
Frederik Rietdijk
d801204fdd
Merge pull request #51641 from codedownio/nousersite-master
...
Allow skipping the use of the PYTHONNOUSERSITE variable
2019-05-13 12:39:25 +02:00
Tom McLaughlin
a3f24daa7b
Add flag to disable PYTHONNOUSERSITE for wrapped binaries in python environments
2019-05-13 02:56:56 -07:00
Tom McLaughlin
0045164b15
Add flag to disable PYTHONNOUSERSITE for wrapped python binaries
2019-05-13 02:56:32 -07:00
Frederik Rietdijk
3462fe27d9
Merge staging-next into staging
2019-04-30 15:52:19 +02:00
Ihar Hrachyshka
43f9d5ccaa
Generate python3 docs
2019-04-28 09:24:01 +02:00
Daiderd Jordan
a76e11a8c5
python: make it possible to disable the python setup-hook
...
Without this it's impossible to use a python binary that depends on a
different python version than what's used during the current build.
2019-04-28 09:20:41 +02:00
Dmitry Kalinkin
8fa36fc8a1
python: provide hasCxxDistutils attribute for pythonPackages.numpy
...
Patching numpy.distutils used to be required for pythonPackages.cython
to build on darwin. It was later accidentally disabled during one of the
refactorings, but that did not break cython. This change reinstantiates
the patch. It still applies, so it should be low maintenance and it can
still be useful.
2019-04-28 09:17:59 +02:00
Jan Tojnar
83914f2c56
buildPython*: allow overriding strictDeps
2019-04-24 22:27:06 +02:00
Frederik Rietdijk
9d87ccabce
Merge master into staging-next
2019-04-18 08:25:25 +02:00
bb010g
28ac309309
python3{5,6}: Reintroduce bytecode determinism
...
Originally introduced in 8970a9c
and 1531b5e
, these patches were lost in
efbe87f
when the CPython version files were merged, likely due to
CPython 3.7 not needing them anymore. These patches should remain
in-tree until CPython 3.5 and 3.6 support is dropped completely.
Found with the diffoscope ( https://diffoscope.org/ ).
2019-04-18 08:12:29 +02:00
Frederik Rietdijk
bae32a9f5c
Merge staging-next into staging
2019-04-16 18:54:15 +02:00
Matthew Glazar
fdbcf5ba36
python37: fix build on macOS
...
The upstream patch for distutils does not apply cleanly to Python
3.7.3's sources. (The patch applies cleanly to Python 3.7.2's sources,
but nixpkgs commit 0ddae82e6a
upgraded
Python to 3.7.3.) Fix the patch to make python37 build on macOS.
2019-04-15 10:49:34 -07:00
Corbin
edd5555029
pypy: Disable broken test on 3.x.
2019-04-09 20:41:08 +02:00
Corbin
9c04b75cf9
pypy: 6.0.0 -> 7.0.0
...
Note that this bumps both the 2.7 and 3.5 flavors of PyPy.
2019-04-09 20:41:08 +02:00
Corbin
5719f892e1
python: Make .isPyPy flag more accurate.
...
nix-repl> map (s: s.isPyPy) [ python python3 pypy pypy3 ]
[ false false true true ]
2019-04-09 20:41:08 +02:00
Frederik Rietdijk
0ddae82e6a
python3: 3.7.2 -> 3.7.3
2019-03-26 16:24:04 +01:00
Frederik Rietdijk
23e431387b
Merge staging-next into staging
2019-03-23 09:20:09 +01:00
Frederik Rietdijk
2cc6444113
python35 -> 3.5.6 -> 3.5.7
2019-03-23 09:17:35 +01:00
Wael M. Nasreddine
5af0780492
Merge remote-tracking branch 'origin/master' into staging
...
* origin/master: (693 commits)
buildGoModule: use go_1_12 instead of go_1_11 (#58103 )
gitAndTools.lab: 0.15.2 -> 0.15.3 (#58091 )
signal-desktop: 1.22.0 -> 1.23.0
added missing semicolon to documentation
terminus_font_ttf: 4.46.0 -> 4.47.0
buildGoModule: remove SSL env vars in favor of cacert in buildInputs (#58071 )
dav1d: init at 0.2.1
dropbox-cli: 2018.11.28 -> 2019.02.14
atlassian-confluence: 6.14.1 -> 6.14.2
maintainers: update email for dywedir
python.pkgs.hglib: use patch to specify hg path (#57926 )
chkrootkit: 0.52 -> 0.53
radare2-cutter: 1.7.2 -> 1.8.0
autorandr: 1.7 -> 1.8
pythonPackages.pyhepmc: fix build
llvm-polly/clang-polly: use latest llvm
apulse: 0.1.11.1 -> 0.1.12, cleanup
factorio: experimental 0.17.14 → 0.17.16 (#58000 )
sequeler: 0.6.7 -> 0.6.8
nasc: 0.5.1 -> 0.5.2
...
2019-03-21 21:01:25 -07:00
Matthew Glazar
0bf2d63366
python35: fix build on macOS
...
The upstream patch for distutils does not apply cleanly to Python 3.5's
sources. Fix the patch to make python35 build on macOS.
2019-03-10 13:38:43 +01:00
Vladimír Čunát
8d502fd425
Merge branch 'staging-next' into staging
2019-03-10 08:05:27 +01:00
Frederik Rietdijk
a2736d27d1
buildPythonPackage: fix building with flit
2019-03-06 13:42:46 +01:00
Frederik Rietdijk
347680df96
python: 2.7.15 -> 2.7.16
2019-03-05 08:30:04 +01:00
Frederik Rietdijk
c2eac6741b
Merge master into staging-next
2019-02-24 09:19:12 +01:00
Frederik Rietdijk
1fccd25595
buildPythonPackage: always export LANG=C.UTF-8
2019-02-23 20:08:26 +01:00
Frederik Rietdijk
e7b4608d02
buildPythonPackage: initial support for PEP 517
2019-02-23 20:05:19 +01:00
Florian Friesdorf
fbef5ab82f
Remove myself as maintainer from packages
...
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
Frederik Rietdijk
b4acd97729
buildPython*: enable strictDeps
2019-02-17 14:40:48 +01:00
Averell Dalton
91aeda1432
python: sysconfig: fix paths
2019-02-07 18:52:08 +01:00
Frederik Rietdijk
9cfae76fc5
Merge staging-next into staging
2019-01-17 09:21:29 +01:00
Anders Kaseorg
004b908ae6
pypy, pypy3: Remove wrapper
...
The wrapper is not needed because the runpath is already set correctly,
and LD_LIBRARY_PATH was breaking child processes linked against
different libc versions.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-01-16 08:36:47 +01:00
Anders Kaseorg
6282071229
pypy: Correct Python version in meta description
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-01-16 08:15:50 +01:00
Frederik Rietdijk
c5d99308de
buildPython*: fix nativeBuildInputs
2019-01-15 10:16:11 +01:00
Lengyel Balazs
f4a53ff3bc
treewide/xorg: replace *proto with xorgproto
2019-01-04 14:38:57 +01:00
Frederik Rietdijk
63bcd07888
python: add isPy2 attribute to passthru
...
Some packages relied on it. For consistency, also introduce isPy3 (which
is the same as isPy3k).
2019-01-04 12:31:42 +01:00
Frederik Rietdijk
d91b496eac
pythonInterpreters.pypy{27,35}_prebuilt: init at 6.0.0
...
These interpreters are prebuilt by upstream and patched using patchelf.
They are primarily added for testing purposes and development on the
non-prebuilt PyPy interpreters as it can speed up translation
significantly.
2019-01-04 10:45:22 +01:00
Frederik Rietdijk
0a2caa41fe
Python: drop python.majorVersion
...
Drop `python.majorVersion`. For Python language version, use `python.pythonVersion`.
For implementation version, use `python.sourceVersion`.
Some expressions were broken. Those that were identified were fixed.
fixup major
2019-01-04 10:45:22 +01:00