Atemu
7f802c7046
python-wrapper: use makeBinaryWrapper
...
A "python" made with the wrapper is likely to be used as a shebang. On macOS,
this requires a binary rather than another shebang'd script.
2022-04-20 21:59:47 +02:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
...
Minor conflicts; I hope I didn't mess up:
pkgs/development/tools/misc/binutils/default.nix
pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
Martin Weinelt
66beaa9225
cpython: update patches for 3.11a7 on darwin
2022-04-14 01:33:33 +02:00
Martin Weinelt
52843aefea
python39: 3.10.3 -> 3.10.4
...
https://www.python.org/downloads/release/python-3104/
https://docs.python.org/release/3.10.4/whatsnew/changelog.html
2022-04-12 18:27:46 +02:00
Martin Weinelt
0c57648722
python39: 3.9.11 -> 3.9.12
...
https://www.python.org/downloads/release/python-3912/
https://docs.python.org/release/3.9.12/whatsnew/changelog.html
2022-04-12 18:27:46 +02:00
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
Martin Weinelt
bf1914e12a
Merge remote-tracking branch 'origin/staging-next' into staging
2022-04-05 04:05:02 +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
Nicolas Benes
2f027dff0b
python: remove ncurses flag
...
It seems the additional linker flags were added in 9d3b0a2
(May 2008) as
a workaround for readline support. They were kept since then, but it
also means that `python3-config` outputs these flags
```console
$ python3-config --libs
-lpthread -ldl -lcrypt -lncurses -lutil -lm -lm
```
while other GNU/Linux distros do not. For example, Debian 11:
```console
$ sudo apt install python3-dev
$ python3-config --libs
-lcrypt -lpthread -ldl -lutil -lm -lm
```
This change removes the `-lncurses` flag and aligns Nix/NixOS with other
distros.
2022-03-29 13:39:33 +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
github-actions[bot]
2eac3106df
Merge staging-next into staging
2022-03-17 00:02:45 +00:00
Martin Weinelt
37a035335c
Merge pull request #163916 from mweinelt/python311
2022-03-16 21:05:37 +01:00
zowoq
6431086967
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/development/python-modules/symengine/default.nix
2022-03-16 16:03:43 +10:00
Vladimír Čunát
f48c1fda6b
Merge branch 'master' into staging-next
...
Conflict in pkgs/development/libraries/libvirt/default.nix
required manual adjustments. The fetched patch is already in src.
I checked that libvirt builds.
2022-03-15 09:52:04 +01:00
Jonathan Ringer
7f5915b048
update-python-libraries.py: Always use ref/tags/ for specifying rev
...
Avoids situations where a branch and tag share the same
label. Github will silently return a non-valid artifact and
will fail the build.
Since all github releases correspond to an annotated tag, it's
safe to assume that if we found a release for a tag, that the
tag will exist.
2022-03-14 00:29:09 +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
fd9c3674b9
pypy27_prebuilt: remove unneeded openssl_1_0_2 dependency
...
they ship their own openssl
as of this commit, that is actually openssl 1.1.1m, the same version we have in openssl_1_1
maybe the package should still be marked as vulnerable, because they ship their own openssl
2022-02-22 03:55:37 +01:00
ajs124
04a1e43685
pypy27_prebuilt: 7.3.6 -> 7.3.8
2022-02-22 03:52:09 +01:00
Frederik Rietdijk
e3ae569a2c
Merge pull request #157775 from veprbl/pr/darwin_python310_fix
...
python3: revert some old darwin hacks
2022-02-06 13:33:59 +01:00
Dmitry Kalinkin
68d828f64c
python3: don't hardcode -msse2 on darwin
...
The -msse2 flag was hardcoded back when python32 was added in
47d86a83
('Adding Python 3.2').
2022-02-02 18:22:09 -05:00
Dmitry Kalinkin
c7c3187d98
python3: don't patch out -Wl,-stack_size,1000000
...
The original motivation behind removing that was to appease a consumer
of python-config's output. That issue was probably resolved by now, so
let's bring the build in sync with what python is doing by default.
This reverts b7819e38
('python3.x: Patch extra stack size on darwin')
2022-02-02 18:21:55 -05:00
Dmitry Kalinkin
49a0059a59
python3: unset MACOSX_DEPLOYMENT_TARGET
...
Setting an old target conflicts with the -stack_size,1000000 linker
flag. This fixes build of python310.
This reverts ce59dec5
('python34: as a workaround, explicitly set MACOSX_DEPLOYMENT_TARGET')
2022-02-02 18:21:30 -05:00
Jonathan Ringer
69382d41d5
python311: 3.11a2 -> 3.11a4
2022-01-31 06:47:51 -08:00
github-actions[bot]
189be4ddc1
Merge staging-next into staging
2022-01-29 00:02:04 +00:00
Martin Weinelt
323d8534da
Merge pull request #156804 from jonringer/python-update-sri-hash
2022-01-28 21:54:35 +01:00
Jonathan Ringer
47c82c04ae
update-python-libraries: use sri-hash
2022-01-26 15:10:22 -08:00
Sandro Jäckel
be1fef9258
cpython: mime-types -> mailcap
2022-01-26 14:30:10 -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
github-actions[bot]
a08e4e2a8a
Merge master into staging-next
2022-01-14 06:01:24 +00:00
Jonathan Ringer
b316efff4b
update-python-libraries: skip replacing 'rev' when set to variable
...
It's common for fetchFromGitHub to have `rev = version;`, in which
it will inherit the version. So no replacement is required.
2022-01-13 18:55:44 -08:00
Jonathan Ringer
ce0a907730
update-python-libraries: support pyproject and flit formats
...
Generally, this is determined by the fetcher. The
notable exception would be the "wheel" format.
2022-01-13 18:55:44 -08: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
Emily
cafbe8171c
python: conditionalize redundant Darwin patch ( #137858 )
2021-12-25 17:11:35 -05: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
Dmitry Kalinkin
da8f155b2a
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/development/python-modules/sphinxext-opengraph/default.nix
2021-12-18 10:18:14 -05:00
Frederik Rietdijk
4853c2d375
python2.tests.nixenv-virtualenv: fix test
...
by using a python env that ignores collisions in the backports packages.
2021-12-18 14:43:50 +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