Commit Graph

6971 Commits

Author SHA1 Message Date
Sandro
f0f084ddb6
Merge pull request #196785 from shanesveller/shanesveller/erlang-25.1.1 2022-11-08 02:12:59 +01:00
github-actions[bot]
822bf096f2
Merge staging-next into staging 2022-11-07 00:04:07 +00:00
github-actions[bot]
e51ba60580
Merge master into staging-next 2022-11-07 00:03:30 +00:00
Jörg Thalheim
7eccc4973c
Merge pull request #195055 from Mic92/buildPythonPackage
buildPythonPackage: fix regression if no setuptools is used
2022-11-06 20:37:18 +01:00
Shane Sveller
9014fb790d
erlang: 25.1 -> 25.1.2
https://www.erlang.org/patches/otp-25.1.1
https://www.erlang.org/patches/otp-25.1.2
2022-11-06 09:57:37 -06:00
Travis A. Everett
1e15443652 bats.libraries: reduce output size 2022-11-05 20:16:36 -05:00
Doron Behar
b42282abdf octave: 7.1.0 -> 7.3.0 2022-11-05 20:56:58 +02:00
Sergei Trofimovich
3c65029d0d
Merge pull request #198672 from trofi/pythonFull-without-xlibsWrapper
pythonFull: drop unused xlibsWrapper input
2022-11-05 10:18:25 +00:00
github-actions[bot]
2248464524
Merge staging-next into staging 2022-11-04 12:02:07 +00:00
R. Ryantm
d92b6cead0 clojure: 1.11.1.1182 -> 1.11.1.1189 2022-11-03 04:47:14 +00:00
github-actions[bot]
89bfc5f960
Merge staging-next into staging 2022-11-03 00:02:55 +00:00
Thiago Kenji Okada
9e7feda53c
Merge pull request #199153 from r-ryantm/auto-update/babashka
babashka: 1.0.164 -> 1.0.165
2022-11-02 23:21:54 +00:00
R. Ryantm
da44bf129d babashka: 1.0.164 -> 1.0.165 2022-11-02 11:52:45 +00:00
github-actions[bot]
ff1df95c8f
Merge staging-next into staging 2022-11-02 06:05:15 +00:00
github-actions[bot]
d6b8789005
Merge master into staging-next 2022-11-02 06:04:45 +00:00
R. Ryantm
fdd9ddb34c jruby: 9.3.8.0 -> 9.3.9.0 2022-11-02 10:49:36 +08:00
Pierre Bourdon
4fe74d5257
Merge pull request #198802 from delroth/relax-deps-hook-regexp
pythonRelaxDepsHook: improve Requires-Dist parsing
2022-11-01 15:10:07 +01:00
Pierre Bourdon
1f197e240e
pythonRelaxDepsHook: improve Requires-Dist parsing
Prior to this commit, pythonRelaxDeps would only support removing
version constraints from "Requires-Dist" lines formatted in a particular
way ("foo (>= 1.2.3)"). This way is deprecated as per PyPA Core Metadata
Specs v2.1 [1]:

> Tools parsing the format should accept optional parentheses around
> this, but tools generating it should not use parentheses.

Additionally, a "Requires-Dist" dependency specification can contain
other metadata than just package name and version (extra names,
environment marker). These were being silently dropped by the prior
version of pythonRelaxDeps, or the version could not be relaxed.

The actual grammar is defined in PEP 508 [2]. Our tool of choice here is
sed extended regexps, so there's only so much we can do to be correct
with this parser. The regexp implemented in this commit makes an attempt
at supporting [extra] names, ; env_markers, as well as version specs
without parentheses. There are still unsupported features (URL specs) as
well as unhandled edge cases, but at some point trying to make the
regexp better is bound to awake ZALGO [3].

[1] https://packaging.python.org/en/latest/specifications/core-metadata/#requires-dist-multiple-use
[2] https://peps.python.org/pep-0508/#grammar
[3] https://stackoverflow.com/a/1732454/179806
2022-10-31 17:05:12 +01:00
github-actions[bot]
76cceffaf9
Merge master into staging-next 2022-10-31 12:01:26 +00:00
Maximilian Bosch
42be0c4f20
Merge pull request #198499 from r-ryantm/auto-update/evcxr
evcxr: 0.14.0 -> 0.14.1
2022-10-31 10:08:01 +01:00
Sergei Trofimovich
845c39bab5 pythonFull: drop unused xlibsWrapper input
Tested as no material change in `out` output with `diffoscope`.
2022-10-30 16:47:30 +00:00
github-actions[bot]
d3cd7d0199
Merge master into staging-next 2022-10-29 18:01:22 +00:00
R. Ryantm
84beab6d45 evcxr: 0.14.0 -> 0.14.1 2022-10-29 17:05:27 +00:00
Mario Rodas
8179e52c63
Merge pull request #198472 from marsam/update-luau
luau: 0.550 -> 0.551
2022-10-29 11:35:33 -05:00
Pol Dellaiera
f8cd3d8b2b
php81: 8.1.11 -> 8.1.12 2022-10-29 08:34:15 +02:00
Pol Dellaiera
305a0e8e65
php80: 8.0.24 -> 8.0.25 2022-10-29 08:33:57 +02:00
Mario Rodas
16a3d3c1b3 luau: 0.550 -> 0.551
https://github.com/Roblox/luau/releases/tag/0.551
2022-10-29 04:20:00 +00:00
github-actions[bot]
6e5f43a5bd
Merge master into staging-next 2022-10-28 18:01:29 +00:00
Frederik Rietdijk
cb445d527b python3Packages: stdenv does not have to be a Python module
stdenv is included in the package set. It does not provide a Python
module however and was therefore catched by the test. Because we do need
it we provide an exception for it.
2022-10-28 19:11:31 +02:00
ajs124
017fd89527 Revert "python3: pin to openssl_1_1"
This reverts commit 8dfc998207.
2022-10-28 14:15:18 +02:00
github-actions[bot]
e0499d49ca
Merge staging-next into staging 2022-10-28 06:01:46 +00:00
R. Ryantm
3023508eba wasmtime: 2.0.0 -> 2.0.1 2022-10-28 00:44:32 +00:00
Frederik Rietdijk
d3ca664b6a Merge staging-next into staging 2022-10-27 10:06:54 +02:00
Frederik Rietdijk
33d12e5f0b pythonPackages: ensure all derivations provide python modules
This adds a test to ensure no new uses of `buildPythonApplication` can
be added to `python-packages.nix`.

Python packages can be grouped into two groups: 1) applications and 2)
packages providing importable modules. In `python-packages.nix` we only
want to have 2). 1) should be in the top-level package set.

To achieve this, all setup hooks need to be marked as being a setup hook.
For the setup hooks in the Python packages set this is done by creating
a new builder, `makePythonHook`.

Because there were issues with splicing, the file importing all the hooks
is converted to an extension. All non-packages were moved out of `python-packages.nix`
into `python-packages-base.nix`. The `keep` argument to `makeScopeWithSplicing
was cleaned up as well; there is no need to keep this one manually in sync
reducing the risk of breaking cross-compilation.
2022-10-27 10:03:16 +02:00
github-actions[bot]
abfd2fe8a8
Merge staging-next into staging 2022-10-26 12:01:52 +00:00
Mario Rodas
420959735a
Merge pull request #197447 from marsam/add-luau
luau: init at 0.550
2022-10-26 05:31:03 -05:00
R. Ryantm
5fb74a0e7a clojure: 1.11.1.1177 -> 1.11.1.1182 2022-10-26 06:45:54 +00:00
github-actions[bot]
4e978a8caa
Merge staging-next into staging 2022-10-26 00:03:42 +00:00
figsoda
0f190ab597
Merge pull request #197767 from r-ryantm/auto-update/joker
joker: 1.0.1 -> 1.0.2
2022-10-25 15:20:38 -04:00
github-actions[bot]
81a6c5a54c
Merge staging-next into staging 2022-10-25 18:16:24 +00:00
R. Ryantm
b9c493616b joker: 1.0.1 -> 1.0.2 2022-10-25 17:34:04 +00:00
Martin Weinelt
4932ed92a4
python311: 3.11.0-rc2 -> 3.11.0
https://www.python.org/downloads/release/python-3110/
https://discuss.python.org/t/python-3-11-0-final-is-now-available/20291
2022-10-25 00:30:25 +02:00
github-actions[bot]
38a8b47046
Merge staging-next into staging 2022-10-24 18:06:30 +00:00
R. Ryantm
b65f049b6b clojure: 1.11.1.1165 -> 1.11.1.1177 2022-10-24 11:55:27 +00:00
github-actions[bot]
f4c71b2f8c
Merge staging-next into staging 2022-10-23 18:02:19 +00:00
Anderson Torres
925c0fa54a
Merge pull request #197322 from atorres1985-contrib/cleanup-maintainers
Cleanup maintainers
2022-10-23 11:59:28 -03:00
AndersonTorres
a0ae2b81c0 picolisp: remove tohl
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 11:36:17 -03:00
AndersonTorres
313d405f46 gtk-server: remove tohl from meta.maintainers list
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 01:22:31 -03:00
AndersonTorres
e93d594a4c clisp hg: remove tohl from meta.maintainers list
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 01:19:49 -03:00
AndersonTorres
023b6ea7c7 clisp default: remove tohl from meta.maintainers list
Because tohl disappeared (last seen 2021-01-28).
2022-10-23 01:18:48 -03:00
github-actions[bot]
d079720429
Merge staging-next into staging 2022-10-22 12:01:58 +00:00
github-actions[bot]
71e4896d63
Merge master into staging-next 2022-10-22 12:01:25 +00:00
Mario Rodas
2cf27dbed8 luau: init at 0.550 2022-10-22 04:20:00 +00:00
Rafael Fernández López
1f5628592e
wasmtime: 1.0.1 -> 2.0.0 2022-10-21 10:02:34 +02:00
github-actions[bot]
8ad88f68a1
Merge staging-next into staging 2022-10-21 00:06:27 +00:00
github-actions[bot]
c434165354
Merge master into staging-next 2022-10-21 00:05:50 +00:00
Vladimír Čunát
e674dd40b3
Merge #193861: luajit_2_0, luajit_2_1: update
...into staging-next
2022-10-20 21:42:09 +02:00
R. Ryantm
6020b60cfd bats: 1.8.0 -> 1.8.2 2022-10-20 05:14:03 +00:00
github-actions[bot]
b779f96801
Merge staging-next into staging 2022-10-19 12:02:03 +00:00
github-actions[bot]
bbaff9a043
Merge master into staging-next 2022-10-19 12:01:22 +00:00
R. Ryantm
cce8ccaa64 babashka: 0.10.163 -> 1.0.164 2022-10-19 04:43:15 +00:00
github-actions[bot]
70da3334cf
Merge staging-next into staging 2022-10-17 18:16:14 +00:00
github-actions[bot]
3834216ec6
Merge master into staging-next 2022-10-17 18:10:17 +00:00
Jörg Thalheim
b7448d9018
Merge pull request #196400 from Mic92/pypy
pypy39: fix executable name for 3.9
2022-10-17 15:17:56 +02:00
Jörg Thalheim
0d7a8e28d0 pypy: fix executable name for 3.9 2022-10-17 14:23:01 +02:00
github-actions[bot]
bcfb4956fd
Merge staging-next into staging 2022-10-17 12:01:57 +00:00
github-actions[bot]
969a1796ef
Merge master into staging-next 2022-10-17 12:01:24 +00:00
Kevin Cox
8e8e33083c
Merge pull request #196152 from risicle/ris-dart-source-provenance
dart: set sourceProvenance to binaryNativeCode
2022-10-17 07:52:07 -04:00
Jörg Thalheim
ea13f7cd4c pypy: 7.3.7 -> 7.3.9 2022-10-17 10:21:06 +02:00
Jörg Thalheim
12f9d8e730 buildPythonPackage: better error message if no setuptools is used.
Before packages did not had to set `format = "other";` if had a custom
installPhase and would not produce a dist folder.
The current error message is hard to understand by new users:

> Executing pythonOutputDistPhase
> mv: cannot stat 'dist': No such file or directory

This commit improves the error message.
2022-10-17 10:12:34 +02:00
github-actions[bot]
ec95041d85
Merge staging-next into staging 2022-10-16 00:04:36 +00:00
Martin Weinelt
51fcbf5bb7 Merge remote-tracking branch 'origin/master' into staging-next 2022-10-16 00:18:40 +02:00
Robert Scott
5fd789b108 dart: set sourceProvenance to binaryNativeCode 2022-10-15 16:07:45 +01:00
Artturin
c86122e5bd pythonInterpreters: get self from __splicedPackages
BEFORE:

the python derivation did not contain .nativeDrv and .crossDrv because
it was not from the __splicedPackages set

the python used in mk-python-derivation.nix was for host

```
nix-repl> pkgsCross.aarch64-multiplatform.python3Packages.xpybutil.nativeBuildInputs
[ «derivation /nix/store/bhz39ds4v02hn6x4py4mzjyilw4a589h-python3-aarch64-unknown-linux-gnu-3.10.7.drv» «derivation /nix/store/v880cnh4ml7czmivfbk3cdh93hz9yvbn-hook.drv» «derivation /nix/store/f243ab7wv92gqsmc9h7gr0qcnj0xcgdb-hook.drv» «derivation /nix/store/880lf8895bzn8d94lrr2y7ilgkxq0lc4-python-remove-tests-dir-hook.drv» «derivation /nix/store/fzjnhawfs1wpw58hcd1vxd9y750dc08y-python-remove-bin-bytecode-hook.drv» «derivation /nix/store/n8l59iparx98yfw8g5ydqmzmk3fdic75-setuptools-setup-hook.drv» «deri→
```

AFTER:

the python derivation does contain .nativeDrv and .crossDrv because
it is from the __splicedPackages set

those 2 are what makes nativeBuildInputs and buildInputs function
properly

the python used in mk-python-derivation.nix is for build

```
nix-repl> pkgsCross.aarch64-multiplatform.python3Packages.xpybutil.nativeBuildInputs
[ «derivation /nix/store/hvb9yxgv1133cfhxxd869sibldvv2vdx-python3-3.10.7.drv» «derivation /nix/store/v880cnh4ml7czmivfbk3cdh93hz9yvbn-hook.drv» «derivation /nix/store/f243ab7wv92gqsmc9h7gr0qcnj0xcgdb-hook.drv» «derivation /nix/store/880lf8895bzn8d94lrr2y7ilgkxq0lc4-python-remove-tests-dir-hook.drv» «derivation /nix/store/fzjnhawfs1wpw58hcd1vxd9y750dc08y-python-remove-bin-bytecode-hook.drv» «derivation /nix/store/n8l59iparx98yfw8g5ydqmzmk3fdic75-setuptools-setup-hook.drv» «derivation /nix/store/7vyhynla→
```
2022-10-15 09:35:29 +02:00
Artturin
19d04b5f47 pythonInterpreters: don't use with pkgs 2022-10-15 09:35:29 +02:00
github-actions[bot]
92e8a46d79
Merge staging-next into staging 2022-10-15 06:08:33 +00:00
github-actions[bot]
4f07e7f326
Merge master into staging-next 2022-10-15 06:07:54 +00:00
Ryan Burns
1e7b2e3dc5
Merge pull request #146871 from Grumbel/fix-guile-3.0
guile: fix non-existing libunistring include path
2022-10-14 20:27:10 -04:00
Martin Weinelt
87761da934
python37: 3.7.14 -> 3.7.15
https://docs.python.org/release/3.7.15/whatsnew/changelog.html
2022-10-14 22:50:59 +02:00
Martin Weinelt
997b80d632
python39: 3.9.14 -> 3.9.15
http://docs.python.org/release/3.9.15/whatsnew/changelog.html
2022-10-14 19:03:55 +02:00
Martin Weinelt
a88ce6dc0b
python310: 3.10.7 -> 3.10.8
https://docs.python.org/release/3.10.8/whatsnew/changelog.html
2022-10-14 19:03:50 +02:00
Martin Weinelt
8444183652
python38: 3.8.14 -> 3.8.15
http://docs.python.org/release/3.8.15/whatsnew/changelog.html
2022-10-14 18:13:25 +02:00
github-actions[bot]
182a2100db
Merge master into staging-next 2022-10-14 00:04:53 +00:00
Matthieu Coudron
c4b5c2574b lua: test the interpreter
Test with:
nix-build -A lua.tests pass

Tests are very limited for now, goal is mostly to put the infra into
place and enrich the tests when dealing with lua issues.
add luaPath/luaCpath as passthrough
makes it easier to generate LUA_PATH/LUA_CPATH
2022-10-14 00:10:40 +02:00
Matthieu Coudron
2acce7dfdc vimPlugins: make usage of luaPackages less confusing
right now the src is ignored in:

```
  lush-nvim = buildNeovimPlugin {
    pname = "lush.nvim";
    version = "2022-08-09";
    src = fetchFromGitHub {
      owner = "rktjmp";
      repo = "lush.nvim";
      rev = "6b9f399245de7bea8dac2c3bf91096ffdedfcbb7";
      sha256 = "0rb77rwmbm438bmbjfk5hwrrcn5sihsa1413bdpc27rw3rrn8v8z";
    };
    meta.homepage = "https://github.com/rktjmp/lush.nvim/";
  };
```

which is very confusing. With this PR, we correctly override the src and
the version of the package. We introduce a rockspecVersion attribute of
lua package to be able to still find the rockspec when the
"version" field needs to be different than "rockspecVersion".
2022-10-13 19:57:35 +02:00
Vladimír Čunát
00a757ed3f
Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
Artturi
e66d2fd89d
Merge pull request #194256 from Artturin/treewides2 2022-10-13 00:08:01 +03:00
Robert Scott
3ea73da2ae
Merge pull request #195329 from yorickvP/lua-544
lua: 5.4.3 -> 5.4.4
2022-10-12 20:44:06 +01:00
Alyssa Ross
3dae05bb91 update-python-libraries: enable nix command
Since the Nix command used is an implementation detail of the script,
it's the script that will have to be updated if the command changes,
it's the script that should be opting into this, rather than making
the user do it globally.
2022-10-12 11:38:55 +00:00
Alyssa Ross
6425011efe update-python-libraries: remove old Nix fallback
Since c0972c16dc ("update-python-libraries: add missing dependency nix"),
Nix will be provided as a dependency, so we know we'll always be using
a modern version and no longer need the fallback.
2022-10-12 11:38:55 +00:00
R. Ryantm
3e08c10e68 elixir_1_14: 1.14.0 -> 1.14.1 2022-10-11 18:45:15 -04:00
Pascal Bach
17c13ef886 rustpython: unstable-2021-12-09 -> unstable-2022-10-11 2022-10-11 22:59:44 +02:00
Sandro
936a00284c
Merge pull request #194964 from wegank/gnudatalangauge-darwin 2022-10-11 14:49:08 +02:00
Yorick van Pelt
5af1ad13f6
lua: 5.4.3 -> 5.4.4
CVE-2021-44647, CVE-2021-44964, CVE-2021-43519
2022-10-11 12:25:51 +02:00
Weijia Wang
25491b5dc3 gnudatalanguage: fix build on aarch64-darwin 2022-10-11 08:22:46 +02:00
github-actions[bot]
aabca3ed54
Merge staging-next into staging 2022-10-11 06:17:43 +00:00
Anderson Torres
b7fa69bbea
Merge pull request #194827 from sternenseemann/cbqn-2022-10-04
cbqn: 0.pre+date=2022-05-06 -> 0.pre+date=2022-10-04
2022-10-11 00:06:46 -03:00
github-actions[bot]
5d957f3dba
Merge staging-next into staging 2022-10-11 00:05:26 +00:00
Martin Weinelt
294201004f Merge remote-tracking branch 'origin/master' into staging-next 2022-10-10 21:45:18 +02:00
Christian Kögler
fdcb3008ca
Merge pull request #191828 from abathur/bats_1.8.0
bats: 1.7.0 -> 1.8.0
2022-10-10 18:53:20 +02:00