Martin Weinelt
24ce3fcf7c
python311: 3.11.0a6 -> 3.11.0a7
...
https://www.python.org/downloads/release/python-3110a7/
https://pythoninsider.blogspot.com/2022/04/the-last-python-311-alpha-3110a7-is.html
2022-04-12 05:14:23 +02:00
github-actions[bot]
120925b5cb
Merge master into staging-next
2022-04-05 00:02:06 +00:00
Robert Hensing
200175a701
config.allowAliases: Define as option
...
This simplifies usages and makes the default value consistent.
In a few cases, the default value was interpreted to be `false`,
but this is useless, because virtually nobody will explicitly
set `allowAliases = true;`.
2022-04-01 11:33:10 +02:00
github-actions[bot]
838f421cf3
Merge staging-next into staging
2022-03-17 12:02:05 +00:00
Martin Weinelt
5117b2ee8c
python310: 3.10.2 -> 3.10.3
...
https://www.python.org/downloads/release/python-3103/
2022-03-17 07:40:52 +01:00
Martin Weinelt
88deb06a96
python39: 3.9.10 -> 3.9.11
...
https://www.python.org/downloads/release/python-3911/
2022-03-17 07:40:52 +01:00
Martin Weinelt
c91c73a714
python37: 3.7.12 -> 3.7.13
...
https://www.python.org/downloads/release/python-3713/
2022-03-17 07:39:01 +01:00
Martin Weinelt
d56ccde39a
python38: 3.8.12 -> 3.8.13
...
https://www.python.org/downloads/release/python-3813/
2022-03-17 07:39:01 +01:00
Martin Weinelt
37a035335c
Merge pull request #163916 from mweinelt/python311
2022-03-16 21:05:37 +01:00
Martin Weinelt
69b06bceab
python311: 3.11.0a4 -> 3.11.0a6
...
https://pythoninsider.blogspot.com/2022/03/python-3110a6-is-available.html
https://pythoninsider.blogspot.com/2022/02/python-3110a5-is-available.html
2022-03-13 00:04:29 +01:00
ajs124
04a1e43685
pypy27_prebuilt: 7.3.6 -> 7.3.8
2022-02-22 03:52:09 +01:00
Jonathan Ringer
69382d41d5
python311: 3.11a2 -> 3.11a4
2022-01-31 06:47:51 -08:00
github-actions[bot]
9c32e7cb2a
Merge staging-next into staging
2022-01-15 18:01:47 +00:00
github-actions[bot]
ed9751296d
Merge master into staging-next
2022-01-15 18:01:07 +00:00
Frederik Rietdijk
2ced686d5b
pythonInterpreters.pypy38_prebuilt: 7.3.6 -> 7.3.7
...
Change python language version and attribute.
2022-01-15 17:40:54 +01:00
Frederik Rietdijk
731db1820d
pythonInterpreters.pypy27_prebuilt: 7.3.3 -> 7.3.6
2022-01-15 17:40:54 +01:00
Frederik Rietdijk
8dabcce399
python310: 3.10.1 -> 3.10.2
2022-01-15 12:31:14 +01:00
Frederik Rietdijk
0ffdadc271
python39: 3.9.9 -> 3.9.10
2022-01-15 12:31:14 +01:00
Robert Scott
4aaf4c256b
Merge pull request #151066 from zhaofengli/libffi-testsuite
...
libffi: Run test suite
2021-12-28 01:07:58 +00:00
Martin Weinelt
76488857ab
python310: 3.10.0 -> 3.10.1
2021-12-26 19:31:43 -08:00
Jonathan Ringer
6635f5b208
Merge remote-tracking branch 'origin/master' into staging-next
...
- Fix which python interpreters are exposed
Conflicts:
pkgs/top-level/all-packages.nix
2021-12-22 00:31:14 -08:00
Michael Raskin
d2204261a3
pypy37: reinit
2021-12-22 00:51:45 +01:00
Zhaofeng Li
cb955555df
libffi: Run test suite
2021-12-16 20:44:56 -08:00
sternenseemann
d860ba7f09
Merge remote-tracking branch 'origin/master' into staging-next
2021-12-15 11:30:31 +01:00
Pavol Rusnak
dbf7134d29
rustpython: init at unstable-2021-12-09
2021-12-14 18:53:25 +01:00
Jonathan Ringer
5263fb820e
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/django-rq/default.nix
pkgs/top-level/all-packages.nix
2021-12-05 22:02:00 -08:00
Sumner Evans
eec28b8cfd
pypy3: 7.3.5 -> 7.3.7 ( #147875 )
...
This adds support for Python 3.8.
https://www.pypy.org/posts/2021/10/pypy-v737-release.html
2021-12-05 14:21:35 -05:00
Martin Weinelt
9512291195
python39: 3.9.8 -> 3.9.9
2021-11-30 14:33:10 +01:00
Martin Weinelt
6dd0b1b8fc
python311: init at 3.11.0a2
2021-11-30 14:19:52 +01:00
Martin Weinelt
abb6f3efe8
python39: 3.9.6 -> 3.9.8
2021-11-30 14:19:52 +01:00
Martin Weinelt
ad1968a455
Revert "python39: 3.9.6 -> 3.9.7"
...
This reverts commit d003f75d78
.
Causes an unnecessary amount of breakages due to a DeprecationWarning
regarding the loop argument in asyncio, that is going to be deprecrated
in Python 3.10.
> 'The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.'
The ecosystem needs more time to catch up here. Broken packages are for
example aiohttp, argh and by extension alot of other packages.
2021-10-09 15:21:09 +02:00
Martin Weinelt
938d796b7a
python310: 3.10.0-rc2 -> 3.10.0
2021-10-05 02:08:07 +02:00
Martin Weinelt
846e2b1919
python36: remove
2021-10-03 12:42:24 +02:00
Martin Weinelt
411931be18
python310: 3.10.0-rc1 -> 3.10.0-rc2
2021-10-03 12:42:23 +02:00
Martin Weinelt
139cadbf1c
python36: 3.6.14 -> 3.6.15
2021-10-03 12:42:23 +02:00
Martin Weinelt
d34e6a025d
python37: 3.7.11 -> 3.7.12
2021-10-03 12:42:22 +02:00
Martin Weinelt
d003f75d78
python39: 3.9.6 -> 3.9.7
2021-10-03 12:42:22 +02:00
Martin Weinelt
dfdf4f58d4
python38: 3.8.11 -> 3.8.12
2021-10-03 12:42:22 +02:00
Martin Weinelt
ebc4dae8cb
python310: 3.10.0b3 -> 3.10.0rc1
2021-08-09 07:49:03 +02:00
Frederik Rietdijk
8dcfe523f7
Merge pull request #131719 from FRidh/python2-to-3
...
Python: further migrate packages from 2 to 3
2021-07-29 10:49:00 +02:00
Frederik Rietdijk
b3b31074b2
python interpreters: use correct python when
...
calling pythonPackages.
2021-07-27 20:42:01 +02:00
github-actions[bot]
732bd85cf5
Merge staging-next into staging
2021-07-17 12:01:55 +00:00
github-actions[bot]
4ee4d805d2
Merge master into staging-next
2021-07-17 12:01:22 +00:00
Dmitry Kalinkin
3d68137c6e
pypy: 7.3.3 -> 7.3.5
2021-07-16 23:31:15 -04:00
Dmitry Kalinkin
c168edeeb9
pypy3: change pythonVersion to 3.7
2021-07-16 10:43:55 -04:00
Martin Weinelt
b322c5ecaa
python37: 3.7.10 -> 3.7.11
2021-07-10 00:02:07 +02:00
Martin Weinelt
e1e245f203
python36: 3.6.13 -> 3.6.14
2021-07-10 00:01:56 +02:00
Martin Weinelt
360c50f11d
python39: 3.9.5 -> 3.9.6
2021-07-10 00:01:41 +02:00
Martin Weinelt
250f0514f2
python38: 3.8.10 -> 3.8.11
2021-07-10 00:01:20 +02:00
Andreas Rammhold
1e47dd9cb8
cpython: Enable LTO on all builds as it doesn't break reproducibility
...
LTO allows us to optimise the binaries we are shipping a bit further
than just with the regular -Ox and other compiler flags. It also is
deterministic and doesn't harm our reproducibility efforts while
providing us with up to 10% performance gain (and sometimes slightly
slower). See the table below for a comparsion of this version with the
Python 3.9 build that sets -fno-semantic-interposition.
+-------------------------+--------------------+------------------------+--------------+------------------------+
| Benchmark | py39-nsip.nix.json | py39-nsip-lto.nix.json | Change | Significance |
+=========================+====================+========================+==============+========================+
| 2to3 | 642 ms | 620 ms | 1.03x faster | Significant (t=12.04) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| chameleon | 14.6 ms | 14.4 ms | 1.02x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| chaos | 182 ms | 182 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| crypto_pyaes | 175 ms | 172 ms | 1.02x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| deltablue | 11.2 ms | 11.2 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| django_template | 82.0 ms | 81.4 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| dulwich_log | 101 ms | 99.8 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| fannkuch | 634 ms | 638 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| float | 176 ms | 189 ms | 1.08x slower | Significant (t=-4.30) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| go | 366 ms | 365 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| hexiom | 14.9 ms | 15.1 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| json_dumps | 18.7 ms | 18.5 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| json_loads | 37.9 us | 37.3 us | 1.02x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| logging_format | 14.2 us | 14.3 us | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| logging_silent | 305 ns | 313 ns | 1.02x slower | Significant (t=-3.91) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| logging_simple | 13.0 us | 13.2 us | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| mako | 24.7 ms | 23.3 ms | 1.06x faster | Significant (t=10.74) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| meteor_contest | 130 ms | 128 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| nbody | 201 ms | 201 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| nqueens | 152 ms | 154 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pathlib | 26.3 ms | 26.2 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pickle | 13.1 us | 13.7 us | 1.05x slower | Significant (t=-10.36) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pickle_dict | 26.6 us | 27.1 us | 1.02x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pickle_list | 4.34 us | 4.31 us | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pickle_pure_python | 738 us | 759 us | 1.03x slower | Significant (t=-5.26) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pidigits | 181 ms | 181 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| pyflate | 959 ms | 974 ms | 1.02x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| python_startup | 34.0 ms | 31.4 ms | 1.08x faster | Significant (t=29.75) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| python_startup_no_site | 15.3 ms | 14.5 ms | 1.06x faster | Significant (t=17.58) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| raytrace | 849 ms | 846 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| regex_compile | 261 ms | 261 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| regex_dna | 187 ms | 221 ms | 1.18x slower | Significant (t=-46.94) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| regex_effbot | 3.66 ms | 3.98 ms | 1.09x slower | Significant (t=-18.55) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| regex_v8 | 29.7 ms | 29.3 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| richards | 113 ms | 110 ms | 1.03x faster | Significant (t=3.47) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| scimark_fft | 592 ms | 590 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| scimark_lu | 253 ms | 265 ms | 1.05x slower | Significant (t=-8.97) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| scimark_monte_carlo | 170 ms | 177 ms | 1.04x slower | Significant (t=-4.96) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| scimark_sor | 310 ms | 315 ms | 1.02x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| scimark_sparse_mat_mult | 8.36 ms | 8.33 ms | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| spectral_norm | 232 ms | 229 ms | 1.02x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sqlalchemy_declarative | 185 ms | 183 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sqlalchemy_imperative | 27.4 ms | 27.6 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sqlite_synth | 4.73 us | 4.73 us | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sympy_expand | 813 ms | 819 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sympy_integrate | 31.6 ms | 31.8 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sympy_str | 477 ms | 479 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| sympy_sum | 245 ms | 247 ms | 1.01x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| telco | 11.3 ms | 11.4 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| tornado_http | 172 ms | 172 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| unpack_sequence | 56.2 ns | 51.2 ns | 1.10x faster | Significant (t=2.50) |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| unpickle | 19.8 us | 19.5 us | 1.02x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| unpickle_list | 5.75 us | 5.75 us | 1.00x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| unpickle_pure_python | 524 us | 522 us | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| xml_etree_generate | 148 ms | 148 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| xml_etree_iterparse | 129 ms | 131 ms | 1.02x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| xml_etree_parse | 179 ms | 177 ms | 1.01x faster | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
| xml_etree_process | 118 ms | 119 ms | 1.00x slower | Not significant |
+-------------------------+--------------------+------------------------+--------------+------------------------+
2021-07-05 12:34:02 -07:00
Frederik Rietdijk
94cd70bae2
python3: 3.8 -> 3.9
2021-07-05 12:34:02 -07:00
Martin Weinelt
bb696403b0
python310: 3.10.0a5 -> 3.10.0b3
2021-06-29 07:27:22 -07:00
Martin Weinelt
7ca18ab93f
python39: 3.9.4 -> 3.9.5
2021-06-29 07:27:22 -07:00
Martin Weinelt
3898eb1897
python38: 3.8.9 -> 3.8.10
2021-06-29 07:27:22 -07:00
DavHau
6c0b85cf3a
buildPythonPackage: add support for conda
2021-05-28 14:31:40 +02:00
Sandro Jäckel
0197f1dc41
pythonPackages: Add aliases 🎉
2021-05-22 15:02:50 -07:00
John Ericson
470640e7fe
treewide: Do a number of no-op cleanups for cross and darwin
...
I am taking the non-invasive parts of #110914 to hopefully help out with #111988 .
In particular:
- Use `lib.makeScopeWithSplicing` to make the `darwin` package set have
a proper `callPackage`.
- Adjust Darwin `stdenv`'s overlays keeping things from the previous
stage to not stick around too much.
- Expose `binutilsNoLibc` / `darwin.binutilsNoLibc` to hopefully get us
closer to a unified LLVM and GCC bootstrap.
2021-05-06 11:17:26 -04:00
Frederik Rietdijk
f310134dec
python39: 3.9.3 -> 3.9.4
2021-04-05 10:54:26 +02:00
Frederik Rietdijk
4f02e12f8a
python2Packages: separate extension
2021-04-03 17:49:42 +02:00
Frederik Rietdijk
9e83f91bb1
python39: 3.9.2 -> 3.9.3
2021-04-03 10:29:11 +02:00
Frederik Rietdijk
d754c20366
python38: 3.8.8 -> 3.8.9
2021-04-03 10:29:10 +02:00
Frederik Rietdijk
0c1aa67215
python3Minimal and python3: don't override python3
...
This reduces the amount of packages that are required to use
builtins.fetchurl to fetch. Without this change, mime-types
would not be able to use fetchzip when mime-types support is
added to python3.
2021-03-14 17:01:44 +01:00
Frederik Rietdijk
5b1abe5dd2
python3: mimetypesSupport is optional
2021-03-14 15:45:15 +01:00
Frederik Rietdijk
7617b03403
python39: hardcode path to tzdata
...
Python 3.9 has a new module `zoneinfo` which requires tzdata. By default
it searches TZPATH for folders containing `zoneinfo`.
This commit makes the dependency on tzdata pure.
2021-03-13 14:05:41 +01:00
Lassulus
4f85b3667b
Merge pull request #113142 from andersk/pypy-7.3.3
...
pypy, pypy3: 7.3.2 → 7.3.3
2021-03-07 16:52:42 +01:00
Frederik Rietdijk
0dc64d5d71
python: fix full builds by referring to the correct interpreter
...
The package set is an attribute of the interpreter. The function to
build an environment (`buildEnv`/`withPackages`) is part of the
interpreter. The interpreter is passed to itself, and needs to be
updated when overridden.
For cross-compilation we splice the package set, and for that the
various `build/host` interpreters and sets need to be available. We
select these currently through `pkgs.${pythonAttr}`. The `pythonAttr`
attribute was not fixed for `pythonFull`.
https://github.com/NixOS/rfcs/pull/83
https://github.com/NixOS/nixpkgs/pull/104201
We need a better solution for this because this is very brittle.
2021-02-27 11:12:05 +01:00
Frederik Rietdijk
04f436940c
python310: 3.10.0a4 -> 3.10.0a5
2021-02-20 10:03:11 +01:00
Frederik Rietdijk
8ab9914a8c
python36: 3.6.12 -> 3.6.13
2021-02-20 10:03:11 +01:00
Frederik Rietdijk
2cbc212983
python37: 3.7.9 -> 3.7.10
2021-02-20 10:03:11 +01:00
Frederik Rietdijk
84edcadb4a
python38: 3.8.7 -> 3.8.8
2021-02-20 10:03:11 +01:00
Frederik Rietdijk
a39b5b5c94
python39: 3.9.1 -> 3.9.2
2021-02-20 10:03:11 +01:00
Anders Kaseorg
4a8b6c0317
pypy, pypy3: 7.3.2 → 7.3.3
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-14 10:11:54 -08:00
taku0
28adb5b0c1
Merge pull request #104150 from andersk/pypy-7.3.2
...
pypy, pypy3: 7.3.1 → 7.3.2
2021-02-13 21:48:05 +09:00
Jonathan Ringer
0389d5b148
python310: 3.10.0a3 -> 3.10.0a4
2021-01-22 07:27:21 -08:00
github-actions[bot]
bd9e17e21f
Merge staging-next into staging
2021-01-10 18:41:46 +00:00
Profpatsch
2497553b23
toplevel: stdenv.lib -> lib
...
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 17:44:59 +01:00
Frederik Rietdijk
7c61ecbefd
Revert "Revert "python: 3.8.6 -> 3.8.7.""
...
This was originally reverted because of an invalid patch.
This has been fixed and now we want this update again.
This reverts commit e1ed9b3b08
.
2021-01-09 13:12:44 +01:00
Frederik Rietdijk
e1ed9b3b08
Revert "python: 3.8.6 -> 3.8.7."
...
Need to fix a patch first. Next iteration.
This reverts commit 507efdb11f
.
2021-01-04 20:58:21 +01:00
Drew Hess
507efdb11f
python: 3.8.6 -> 3.8.7.
2021-01-04 20:48:55 +01:00
github-actions[bot]
abb757ba28
Merge master into staging-next
2020-12-18 00:42:45 +00:00
Jonathan Ringer
222fafa02b
python310: 3.10.0a2 -> 3.10.0a3
2020-12-17 11:18:47 -08:00
Greg Roodt
42d28c2a77
python: 3.9.0 -> 3.9.1
2020-12-12 19:32:08 +01:00
adisbladis
49b8738a5f
python: Propagate packageOverrides to pythonForBuild
...
When overriding versions of build tools injected via hooks
`packageOverrides` was not taken into account and 2 incompatible
versions of the same package (`wheel` in this case) ended up in the
closure, causing the builds to fail.
2020-11-30 11:12:59 +01:00
Frederik Rietdijk
455774e546
Python: add todo note regarding pythonForBuild
2020-11-28 17:36:23 +01:00
Frederik Rietdijk
5804c8a7f5
Python splicing: splice package sets, not Python derivation
...
In the original commit the various builds of Python were added to
`otherSplices`, instead of the intended Python package sets.
2020-11-28 17:36:23 +01:00
Frederik Rietdijk
6cf25f9dbd
Python: rename parameters and arguments passed to passthru
...
As part of the splicing the build/host/target combinations of the interpreter
need to be passed around internally. The chosen names were not very clear,
implying they were package sets whereas actually there were derivations.
2020-11-28 17:36:23 +01:00
Frederik Rietdijk
cce2fd547b
Python: use pythonPackagesBuildHost instead of pythonForBuild
...
Follow-up to #104201 , related to #105113 .
2020-11-28 16:36:03 +01:00
John Ericson
b57c5d4456
python: Use makeScopeWithSplicing
...
Now non-`buildInputs` that are python packages should be resolved
correctly.
2020-11-19 11:58:07 -05:00
Anders Kaseorg
9e09ad5182
pypy, pypy3: 7.3.1 → 7.3.2
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-11-18 00:21:41 -08:00
Jonathan Ringer
5a5122418a
python310: 3.10.0a1 -> 3.10.0a2
2020-11-11 23:13:44 -08:00
Jonathan Ringer
67d2de5ffa
python310: init at 3.10a1
2020-10-19 09:31:27 -07:00
Frederik Rietdijk
692d219a93
Merge staging-next into staging
2020-10-06 10:25:58 +02:00
Raphael Borun Das Gupta
3696bc0e89
python39: 3.9.0rc2 -> 3.9.0
2020-10-06 08:32:37 +02:00
Jan Tojnar
32b4375f10
Merge branch 'staging-next' into staging
2020-09-29 00:12:29 +02:00
Frederik Rietdijk
7c411b3729
python38: 3.8.5 -> 3.8.6
2020-09-27 13:07:49 +02:00
Frederik Rietdijk
74f3e9cce1
python39: 3.9.0rc1 -> 3.9.0rc2
2020-09-27 11:48:00 +02:00
Johannes Rosenberger
7abb57c7b5
fix passing qt5 version to pythonInterpreters
...
fixes c88f3adb17
, which resulted in
qt 5.15 being used in pythonPackages, despite 5.14 being
declared, and adapts qutebrowser accordingly.
'callPackage { pkgs = pkgs // { … }; }' does not work, because
it does not take into account the recursive evaluation of nixpkgs:
`pkgs/development/interpreters/python/default.nix` calls
`pkgs/top-level/python-packages.nix` with `callPackage`.
Thus, even if the former gets passed the updated `pkgs`,
the latter always gets passed `pkgs.pkgs`.
For the change in the qt5 version to apply consistently, 'pkgs.extend'
must be used.
qutebrowser only used the right qt5 version (5.15) because all
pythonPackages used it anyway.
2020-09-22 21:03:43 +02:00
Frederik Rietdijk
af81d39b87
Merge staging-next into staging
2020-09-04 20:03:30 +02:00
Jonathan Ringer
762434fb02
python39: 3.9.0b5 -> 3.9.0rc1
2020-09-03 23:36:28 -07:00
Frederik Rietdijk
2248a7422f
python36: 3.6.11 -> 3.6.12
2020-08-30 08:59:42 +02:00
Spencer Baugh
780caf6690
python37: 3.7.8 -> 3.7.9
...
Release notes:
https://docs.python.org/release/3.7.9/whatsnew/changelog.html
Most notable is the fixed behavior of asynchronous generators; without
this fix, they fail to work in some scenarios.
2020-08-30 08:52:06 +02:00
Jonathan Ringer
91bec61635
python35: remove
2020-08-12 21:57:18 -07:00
Anders Kaseorg
b31e4a20a4
pypy, pypy3: 7.1.1 -> 7.3.1
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-10 15:42:42 -07:00
Anders Kaseorg
6f2ec6d967
pythonInterpreters.pypy{27,36}_prebuilt: 7.1.1 -> 7.3.1
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-10 15:42:42 -07:00
Mario Rodas
ced8ec8488
python39: 3.9.0a4 -> 3.9.0b5
2020-07-26 18:45:54 +02:00
Mario Rodas
79590e27d4
python38: 3.8.3 -> 3.8.5
2020-07-26 18:45:54 +02:00
Frederik Rietdijk
7935bf793e
python37: 3.7.7 -> 3.7.8
2020-07-04 18:13:44 +02:00
Frederik Rietdijk
60fb772ae2
python36: 3.6.10 -> 3.6.11
2020-07-04 18:13:44 +02:00
Frederik Rietdijk
913bee36ed
python3Minimal: override python38, not python3
...
This avoids an infinite recursion, accidentally introduced in b7ff746540
.
2020-06-05 16:46:40 +02:00
Frederik Rietdijk
a337c44db6
python3Minimal: disable optimizations
...
No point for the bootstrapping.
2020-06-04 20:53:31 +02:00
Frederik Rietdijk
b7ff746540
python3: now points to python38
...
Note this also means python3Minimal is now also Python 3.8.
This reverts commit eb1369670b
and adds more.
2020-06-04 18:08:29 +02:00
Frederik Rietdijk
0367fa630d
python38: 3.8.2 -> 3.8.3
2020-05-27 12:10:25 +02:00
Pavol Rusnak
420124adf8
python: remove isPy33, isPy34
2020-05-04 18:49:45 -07:00
Frederik Rietdijk
cf1a68360e
python2: 2.7.17 -> 2.7.18
2020-04-21 11:21:39 +02: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
Graham Christensen
39aac70d74
pythonMinimal: don't include site-customise
...
Experimenting with patching the site-customize file causes mass
rebuilds for no reason.
2020-03-14 15:02:51 +01:00
Frederik Rietdijk
31855d74a3
python3: 3.7.6 -> 3.7.7
2020-03-12 12:00:26 +01:00
Jonathan Ringer
fe4580359e
python39: 3.9.0.a3 -> 3.9.0.a4
2020-03-03 07:33:39 +01:00
Jonathan Ringer
2a019cc48c
python38: 3.8.1 -> 3.8.2
2020-03-03 07:33:39 +01:00
Frederik Rietdijk
9827e4994b
python39: 3.9.0a2 -> 3.9.0a3
2020-02-06 10:25:18 +01:00
Frederik Rietdijk
dce0ca29d9
Merge master into staging-next
2020-01-28 10:46:13 +01:00
Daiderd Jordan
6328518e98
stdenv: bootstrap darwin with python3
...
- Replaced python override from the final stdenv, instead we
propagate our bootstrap python to stage4 and override both
CF and xnu to use it.
- Removed CF argument from python interpreters, this is redundant
since it's not overidden anymore.
- Inherit CF from stage4, making it the same as the stdenv.
2020-01-13 11:34:36 +01:00
Jan Tojnar
4bbc6cc66f
Merge branch 'staging-next' into staging
2019-12-25 05:18:52 +01:00
Frederik Rietdijk
ad733b5505
python37: 3.7.5 -> 3.7.6
2019-12-19 17:37:02 +01:00
Frederik Rietdijk
c0c65fe83c
python39: 3.9.0a1 -> 3.9.0a2
2019-12-19 17:36:21 +01:00
Frederik Rietdijk
2012dd5734
python38: 3.8.0 -> 3.8.1
2019-12-19 17:36:21 +01:00
Frederik Rietdijk
5796029c5d
python36: 3.6.9 -> 3.6.10
2019-12-19 17:36:20 +01:00
Frederik Rietdijk
92d2153e6c
pythonInterpreters: remove unnecessary rec
2019-12-02 20:10:51 +01:00
Frederik Rietdijk
1939a97811
python3: add pythonForBuild as parameter, fixes python3Minimal
...
`pythonForBuild` exists for cross-compilation. When one overrides
python, one needs to ensure pythonForBuild matches.
2019-11-21 22:00:23 +01:00
Frederik Rietdijk
ad3ef645b0
python3Minimal: 3.7.4 -> 3.7.5
...
Base it on python37 so we ensure the package remains up to date.
2019-11-21 15:34:37 +01:00
Frederik Rietdijk
648152fdbb
python39: init at 3.9.0a1
...
It's a year until the final release but this will give a chance to test
out certain features and how it integrates with other packages.
https://www.python.org/dev/peps/pep-0596/
2019-11-20 09:42:27 +01:00
Frederik Rietdijk
7827d3f449
python35: 3.5.8 -> 3.5.9
...
There were no new changes in version 3.5.9; 3.5.9 was released only because of a CDN caching problem,
which resulted in some users downloading a prerelease version of the 3.5.8 .xz source tarball.
Apart from the version number, 3.5.9 is identical to the proper 3.5.8 release.
2019-11-03 11:21:05 +01:00
Frederik Rietdijk
ccf514a61d
python35: 3.5.7 -> 3.5.8
2019-10-29 10:39:50 +01:00
Mario Rodas
0f8dc3cc2e
pypy: fix build on darwin
2019-10-26 04:20:00 -05:00
Frederik Rietdijk
43bbecea5e
pythonInterpreters.graalpython37: init
...
Add an interpreter with package set for graalpython 3.7.
2019-10-22 09:16:18 +02:00
Frederik Rietdijk
5b55013aa2
python2: 2.7.16 -> 2.7.17
...
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2019-10-20 19:48:32 +02:00
Frederik Rietdijk
12441bdf9f
Merge staging-next into staging
2019-10-16 11:17:12 +02:00
Frederik Rietdijk
41abe12bb3
python37: 3.7.4 -> 3.7.5
2019-10-16 09:14:48 +02:00
Matthew Glazar
81d15948cc
python38: fix build on macOS
...
Python 3.8 fails to build on macOS for two reasons:
* python-3.x-distutils-C++.patch fails to apply cleanly.
* An #include for <util.h> is missing, causing a build failure:
./Modules/posixmodule.c:6586:9: error: implicit declaration of function 'openpty' is invalid in C99
if (openpty(&master_fd, &slave_fd, NULL, NULL, NULL) != 0)
^
Use the correct version of python-3.x-distutils-C++.patch, and add a
patch to #include <util.h>.
2019-10-15 13:12:13 +02:00
Frederik Rietdijk
911b053802
python38: 3.8.0rc1 -> 3.8.0
2019-10-15 11:56:01 +02:00
Frederik Rietdijk
1b8f8a65ba
python38: 3.8.0b3 -> 3.8.0rc1
2019-10-11 13:57:18 +02:00
adisbladis
99e6ca2bdc
python3Minimal: Add top-level for a minimal Python 3 build
...
This builds Python without optional dependencies.
We can't just use python3.override, as things like
python3Minimal.withPackages would pass the wrong python derivation into
these modules.
2019-08-21 14:52:49 +02:00
Emily
ec07b882b3
pypy{2,27,3,35 -> 36}: 7.0.0 -> 7.1.1
2019-08-13 16:49:27 -07:00
Emily
5638dd55e3
pythonInterpreters.pypy{27,35 -> 36}_prebuilt: 6.0.0 -> 7.1.1
2019-08-13 16:49:27 -07:00
Frederik Rietdijk
658c0f0ce9
python38: 3.8.0b2 -> 3.8.0b3
2019-08-03 08:14:25 +02:00
Frederik Rietdijk
79a03641d5
Merge staging-next into staging
2019-07-09 15:46:26 +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
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