Commit Graph

11792 Commits

Author SHA1 Message Date
Martin Weinelt
48b43e51e5 pythonRelaxDepsHook: make distribution name matching case insensitive
Is it PyOpenSSL or pyOpenSSL or pyopenssl? With this change you don't
have to care. Write it as pYoPeNSsL for all I care¹.

Can we do it like that? Yes, we can. Distribution names should be matched
with `re.IGNORECASE` according to the wheel specification².

[1] https://packaging.python.org/en/latest/specifications/core-metadata/#name
[2] Just kidding, please make it look sane.
2023-12-20 20:46:12 +01:00
Martin Weinelt
8f3162f83f python3.pkgs.pythonRuntimeDepsCheckHook: init
Implements a hook, that checks whether all dependencies, as specified by
the wheel manifest, are present in the current environment.

Complains about missing packages, as well as version specifier
mismatches.
2023-12-20 20:10:22 +01:00
Sandro Jäckel
15cf1bacec treewide: don't use pname for mainProgram where pname is static 2023-12-20 14:25:55 +01:00
github-actions[bot]
7ca491d676 Merge staging-next into staging 2023-12-17 12:01:44 +00:00
R. Ryantm
27260c6b8a evcxr: 0.16.0 -> 0.17.0 2023-12-17 09:07:04 +00:00
github-actions[bot]
cacb3248e1 Merge staging-next into staging 2023-12-17 00:02:54 +00:00
Mario Rodas
81d07ef48f Merge pull request #273819 from kirillrdy/ruby
ruby_3_3: preview3 -> rc1
2023-12-16 18:42:16 -05:00
github-actions[bot]
93bd5ac278 Merge staging-next into staging 2023-12-15 18:01:36 +00:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Maximilian Bosch
554a6a28a4 Merge pull request #274288 from r-ryantm/auto-update/expr
expr: 1.15.5 -> 1.15.7
2023-12-15 13:14:56 +01:00
github-actions[bot]
b9dfb3f0ee Merge staging-next into staging 2023-12-15 06:01:29 +00:00
R. Ryantm
adf2347f8b erlang_26: 26.1.2 -> 26.2 2023-12-15 00:50:32 +00:00
R. Ryantm
31e4faebc4 expr: 1.15.5 -> 1.15.7 2023-12-14 19:48:21 +00:00
github-actions[bot]
5ea376a152 Merge staging-next into staging 2023-12-14 12:01:56 +00:00
Weijia Wang
8302eefde0 Merge pull request #274008 from ereslibre/add-missing-platforms-wavm
wavm: add missing platforms
2023-12-14 07:50:04 +01:00
github-actions[bot]
bae9ba4ab0 Merge staging-next into staging 2023-12-14 00:02:44 +00:00
Weijia Wang
9b97781252 Merge pull request #273421 from ereslibre/wamr-darwin
wamr: fix darwin build
2023-12-13 21:32:41 +01:00
Rafael Fernández López
14447282cf wavm: add missing platforms 2023-12-13 17:10:59 +01:00
Rafael Fernández López
634efac014 wamr: fix darwin build 2023-12-13 15:57:05 +01:00
Vladimír Čunát
f5eed8de6a Merge #224295: lua: split manual into separate output
...into staging
2023-12-13 10:41:30 +01:00
Kirill Radzikhovskyy
85f79f4189 ruby: change sha256 to hash 2023-12-13 09:18:30 +11:00
Kirill Radzikhovskyy
6daa5cd1fe ruby_3_3: preview3 -> rc1 2023-12-13 06:42:34 +11:00
github-actions[bot]
1065f5a68a Merge staging-next into staging 2023-12-12 18:01:44 +00:00
Weijia Wang
6a9a16276e Merge pull request #272224 from wegank/guile-3-0-maintainers
guile_3_0: remove inactive maintainers
2023-12-12 15:24:49 +01:00
Martin Weinelt
e8dd1cf066 Merge remote-tracking branch 'origin/staging-next' into staging 2023-12-12 14:13:07 +01:00
7c6f434c
ac12a78dfa Merge pull request #273677 from philiptaron/clisp
clisp: fix build
2023-12-12 11:40:40 +00:00
Frederik Rietdijk
2feabab3d6 Merge pull request #273666 from adisbladis/setupcfg2nix-removal
python3.pkgs.buildsetupcfg: Remove
2023-12-12 08:04:52 +01:00
Pol Dellaiera
d9b360c144 Merge pull request #273322 from r-ryantm/auto-update/zef
zef: 0.21.0 -> 0.21.1
2023-12-12 05:32:51 +01:00
Philip Taron
baed870448 clisp: fix build
Without this patch, the following build error occurs for me on NixOS:

```
$ nix-build -A clisp --check
<snipped>
Running phase: buildPhase
build flags: SHELL=/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash
ln -s ../src/.gdbinit .gdbinit
rm -f build-aux
ln -s ../src/build-aux build-aux
mkdir -p gllib
test -f gllib/Makefile || sh config.status gllib/Makefile depfiles
cd gllib && make CFLAGS="-g -O2 -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -pthread -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES  -fPIC -DPIC " top_srcdir="/build/source/src"
make[1]: Entering directory '/build/source/builddir/gllib'
 cd /build/source/src && /nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash /build/source/src/build-aux/missing automake-1.16 --gnits gllib/Makefile
/build/source/src/build-aux/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make[1]: *** [Makefile:1333: ../../src/gllib/Makefile.in] Error 127
make[1]: Leaving directory '/build/source/builddir/gllib'
make: *** [Makefile:648: gllib/libgnu.a] Error 2
```

This message was also reproduced by @2xsaiko on their NAS machine.

I don't know why this error sometimes occurs and sometimes does not.
On my Ubuntu machines, this error does not occur, and instead it does this:

```
Running phase: buildPhase
build flags: SHELL=/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash
ln -s ../src/.gdbinit .gdbinit
rm -f build-aux
ln -s ../src/build-aux build-aux
mkdir -p gllib
test -f gllib/Makefile || sh config.status gllib/Makefile depfiles
cd gllib && make CFLAGS="-g -O2 -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -pthread -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES  -fPIC -DPIC " top_srcdir="/build/source/src"
make[1]: Entering directory '/build/source/builddir/gllib'
make[2]: Entering directory '/build/source/builddir'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/build/source/builddir'
cd .. && make  am--refresh
make[2]: Entering directory '/build/source/builddir'
make[2]: Nothing to be done for 'am--refresh'.
make[2]: Leaving directory '/build/source/builddir'
<snipped>
```

In any case, these changes work successfully on all platforms I've tested them on:

1. NixOS
2. Ubuntu 22.04
3. MacOS x86_64
4. MacOS aarch64
2023-12-11 16:28:32 -08:00
adisbladis
6b9f45ae37 python3.pkgs.buildsetupcfg: Remove function from python-packages-base.nix
This function is not, and never have been, used anywhere inside nixpkgs, outside of bootstrapping setupcfg2nix itself.
It was added in https://github.com/NixOS/nixpkgs/pull/38778 by @shlevy.

It has no out-of-tree users on Github either. External breakage is not expected.
2023-12-12 12:21:38 +13:00
Thiago Kenji Okada
eef6384e98 Merge pull request #272911 from manipuladordedados/master
emilua: 0.4.3 -> 0.5.1
2023-12-11 22:14:36 +00:00
Pol Dellaiera
507902558c zef: use finalAttrs pattern 2023-12-11 22:40:52 +01:00
Vladimír Čunát
120a26f8ce Merge #271377: staging-next 2023-12-01 2023-12-11 17:06:16 +01:00
Nick Cao
d393ca69e8 Merge pull request #273368 from LeSuisse/quickjs-2023-12-09
quickjs: 2021-03-27 -> 2023-12-09
2023-12-11 10:11:52 -05:00
R. Ryantm
08c8caf96f clojure: 1.11.1.1413 -> 1.11.1.1429 2023-12-11 08:24:27 +00:00
Thiago Kenji Okada
bcab3d54f8 Merge pull request #240216 from SuperSandro2000/pypy-optimize-level
pypy: add option to change optimization level, update homepage, cleanup
2023-12-10 18:25:59 +00:00
Thomas Gerbet
7c1035d290 quickjs: 2021-03-27 -> 2023-12-09
daa35bc1e5/Changelog
2023-12-10 16:03:24 +01:00
R. Ryantm
b18e4eaa2a zef: 0.21.0 -> 0.21.1 2023-12-10 11:08:51 +00:00
github-actions[bot]
39d4e1cb18 Merge master into staging-next 2023-12-10 06:00:56 +00:00
OTABI Tomoya
b9cb1d8d5f Merge pull request #271924 from stepbrobd/z3-solver
python3Packages.z3-solver: rename from z3
2023-12-10 12:28:16 +09:00
Sandro Jäckel
904e7ce05b pypy: add option to change optimization level, update homepage, cleanup 2023-12-10 03:10:47 +01:00
7c6f434c
5e9d0ba5e4 Merge pull request #273039 from vifino/regina-3.9.5
regina: 3.9.1 -> 3.9.5; move to by-name
2023-12-10 00:42:52 +00:00
github-actions[bot]
b5ff56aec7 Merge master into staging-next 2023-12-10 00:02:18 +00:00
Rafael Fernández López
3a743db2b1 wamr: 1.2.3 -> 1.3.0 2023-12-09 13:43:27 +01:00
Adrian Pistol
bd32c8f88d regina: 3.9.1 -> 3.9.5; move to by-name 2023-12-09 00:43:30 +01:00
Martin Weinelt
3590a44b06 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-09 00:34:42 +01:00
Martin Weinelt
4fef1f7abf Merge pull request #272944 from mweinelt/python-3.12.1
python312: 3.12.0 -> 3.12.1
2023-12-09 00:13:00 +01:00
Martin Weinelt
a3feaa36a0 python312: 3.12.0 -> 3.12.1
https://docs.python.org/release/3.12.1/whatsnew/changelog.html

Fixes: CVE-2023-6507
2023-12-08 17:03:13 +01:00
Valter Nazianzeno
cb64fcc787 emilua: 0.4.3 -> 0.5.1 2023-12-08 10:56:13 -03:00
github-actions[bot]
fd7a8aedb0 Merge master into staging-next 2023-12-07 00:02:20 +00:00