2131 Commits
Author SHA1 Message Date
Randy Eckenrode d5f637590e tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04:00
Randy Eckenrode 0d7d9280d3 python{311,312,313}: use system libmpdec again
Override the configure check not to do a universal build. Using the system libmpdec is required to enable LTO on Darwin.
2024-07-20 01:11:53 -04:00
github-actions[bot]andGitHub f316203fda Merge staging-next into staging 2024-07-19 00:03:05 +00:00
Martin Weinelt d63b3b2faf python313: 3.13.0b3 -> 3.13.0b4
https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-0-beta-4
2024-07-18 17:07:11 +02:00
Martin WeineltandGitHub 01178b2f18 Merge pull request #327882 from alyssais/python312-backport
python312: make portability backport unconditional
2024-07-17 15:53:55 +02:00
Alyssa Ross aba1b58d1f python312: make portability backport unconditional
This avoids the maintenance headache associated with conditionally
applied patches, and fixes building for s390.
2024-07-17 12:33:29 +02:00
Martin Weinelt 176a56c40f Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Kira Bruneau 5c85fb3ce1 update-python-libraries: fix updating packages without src.fetcher 2024-07-10 18:39:19 -04:00
Vladimír Čunát 4c09ae2416 Merge branch 'staging-next' into staging 2024-07-08 10:43:15 +02:00
Martin Weinelt ad9505ddce python3Packages.pythonRelaxDepsHook: update example 2024-07-07 22:36:56 +02:00
YurekaandFlorian Klink 8cfb27bc21 python3*: backport fix for armv7l, aarch64, riscv64
Co-Authored-By: Florian Klink <flokli@flokli.de>
Signed-off-by: Yureka <fork-nixpkgs-with@yuka.dev>
2024-07-07 12:19:22 +03:00
Philip Taron 0213840cd8 pythonPackages: move __attrsFailEvaluation to allow deeper inspection 2024-07-04 14:49:03 -07:00
Vladimír Čunát c76085b3a9 Merge branch 'master' into staging-next 2024-07-03 19:07:35 +02:00
Yueh-Shun Li 455314a3f0 buildPython*: make doCheck default less confusing
Modify the set pattern to hint developers that the doInstallCheck
attribute of Python packages, specified by the doCheck argument of
buildPythonPackage and buildPythonApplication, defaults to true instead
of false.
2024-07-03 02:42:59 +08:00
K900 bde999c03e Merge branch 'master' into staging-next 2024-06-29 10:13:13 +03:00
Martin Weinelt 27b67c584a cpython: fix changelog anchor for beta versions 2024-06-28 13:19:35 +02:00
Martin Weinelt 89551eddb7 python313: 3.13.0b2 -> 3.13.0b3
https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-0-beta-3
2024-06-28 13:19:32 +02:00
github-actions[bot]andGitHub 2f3bfad6d2 Merge master into staging-next 2024-06-28 00:02:11 +00:00
Randy Eckenrode da8f4fd6cb python3Minimal: ensure _scproxy is disabled on Darwin
Python 3.12 attempts to build with the _scproxy enabled even when building python3Minimal. Override the configure check to make sure it is disabled. Otherwise, the Darwin stdenv bootstrap will fail.
2024-06-26 19:41:29 -04:00
Martin Weinelt 27aa2c8a9d update-python-libraries: Reliably detect nix-prefetch-git
Makes sure that any attribute that triggers using fetchGit will result in
the updater using nix-prefetch-git.
2024-06-27 01:10:21 +02:00
Martin Weinelt 06922865e8 update-python-libraries: don't error out on nix-prefetch-url errors
$ nix-prefetch-url --type sha256 --unpack https://api.github.com/repos/pkgw/pwkit/tarball/pwkit@1.2.0
error: store path 'rb2j54laxa71152bsqayw4h5hni2nshj-pwkit@1.2.0' contains illegal character '@'
2024-06-24 12:14:40 +02:00
Martin Weinelt 737b5cd4f2 python3: 3.11.9 -> 3.12.4
As per our documented update schedule, we'll default to Python 3.12 in
the 24.11 release cycle, while recursing into both 3.11 and 3.12.
2024-06-24 12:14:39 +02:00
Martin WeineltandGitHub b6ef66ed3d Merge pull request #304741 from edgelesssys/python/fix-imports-check-py-output
[staging] python/hooks/python-imports-check-hook: use $python output if existing
2024-06-19 03:35:44 +02:00
github-actions[bot]andGitHub 520c7e2ee8 Merge staging-next into staging 2024-06-15 06:01:20 +00:00
Silvan Mosberger 3f2e484083 python3.tests.nix-pythonprefix-mypy: Avoid unnecessary rebuilds
E.g. when the Nix is changed
2024-06-14 21:27:46 +02:00
Martin Weineltandsuperherointj 3bfb20e638 mk-python-derivation: add pythonRelaxDepsHook
Configuring `pythonRelaxDeps` or `pythonRemoveDeps` does not require
adding `pythonRelaxDepsHook` into `nativeBuildInputs` anymore.

Co-Authored-By: superherointj <5861043+superherointj@users.noreply.github.com>
2024-06-14 14:51:23 +02:00
github-actions[bot]andGitHub c8c2ff3b9b Merge staging-next into staging 2024-06-10 00:02:49 +00:00
Alyssa Ross 3df6bb2c85 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
github-actions[bot]andGitHub afa876d6fe Merge staging-next into staging 2024-06-09 12:01:33 +00:00
github-actions[bot]andGitHub 668adff0d4 Merge master into staging-next 2024-06-09 12:01:06 +00:00
kirillrdyandGitHub beb090cc96 Merge pull request #318167 from rhelmot/freebsd-python-cross
python3: Enable FreeBSD cross build
2024-06-09 09:40:11 +00:00
github-actions[bot]andGitHub b04ad4178b Merge staging-next into staging 2024-06-08 12:01:35 +00:00
github-actions[bot]andGitHub 1d15f93175 Merge master into staging-next 2024-06-08 12:01:10 +00:00
Audrey Dutcher 22913c86f1 python3: Enable FreeBSD cross build
This only enables x86_64-unknown-freebsd, not any other FreeBSD, since I
do not have any other machines to tests on. If you're reading this, feel
free to try out other arches!
2024-06-07 20:28:29 -07:00
natsukium f58da4a91d python312: 3.12.3 -> 3.12.4
https://docs.python.org/release/3.12.4/whatsnew/changelog.html
2024-06-07 15:40:56 +09:00
natsukium 6a469b3cfe python313: 3.13.0b1 -> 3.13.0b2
https://www.python.org/downloads/release/python-3130b2/
2024-06-07 14:26:44 +09:00
Moritz Sanft d163f12f2c python/hooks/python-imports-check-hook: use $python output if existing 2024-06-04 16:48:57 +02:00
Randy Eckenrode 07ab74e4aa python3: fix build on Darwin
https://github.com/NixOS/nixpkgs/pull/311767 improved build purity, but Python’s configure script checks the Darwin version to enable platform features. Replacing the check with a check for Darwin without the version allows the build to succeed again.
2024-05-30 19:40:13 -04:00
Audrey Dutcher 948d0cf589 python3: fix build on native FreeBSD
* Make use of libxcrypt conditional (documented inline)
* Patch use of uname to to not pull in some impure information
* Various cases where behavior is split out among operating systems are
  now inclusive of FreeBSD
2024-05-26 11:48:09 -07:00
github-actions[bot]andGitHub a47743431b Merge master into staging-next 2024-05-14 18:01:03 +00:00
lassulusandGitHub 3501d3565e Merge pull request #311122 from phaer/catch-conflicts-exponential
pythonCatchConflictsHook: prevent exponential worst-case
2024-05-12 22:07:45 +02:00
Michael Raskin be3dadb563 pypy: drop pycparser dependency to fix build 2024-05-12 16:01:00 +02:00
Martin WeineltandGitHub d029669a9a Merge pull request #309477 from Atry/patch-4
python: add an error message for debugging infinite recursion
2024-05-10 09:58:07 +02:00
Martin Weinelt 98e7084e4a python313: 3.13.0a6 -> 3.13.0b1
https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-0b1
2024-05-09 13:32:38 +02:00
Jonas Meurer 229bf85d5f rustpython: 0.3.0 -> 0.3.1
The package can not be build with Rust 1.76.0 or later. The issue was
fixed in 0.3.1.
2024-05-07 16:42:00 +02:00
Yang, BoandYang, Bo 002054c95f python: add error message for debugging infinite recursion 2024-05-06 07:04:21 +00:00
Frederik Rietdijk 5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +02:00
Ben Wolsieffer f9de72f247 pythonCatchConflictsHook: split propagated-build-inputs on runs of whitespace
Currently, nix-support/propagated-build-inputs is parsed by splitting on
a single space. This means that if this file contains multiple spaces
separating two paths, the build_inputs list will end up containing an
empty string.

Instead, call split() with no arguments, which splits on runs of
whitespace and also ignores whitespace at the beginning and end of the
string, eliminating the need for strip().
2024-04-26 21:05:42 -04:00
Ben Wolsieffer 7f14d675a7 pythonCatchConflictsHook: cleanup due to visiting each path once
Now that we only visit each path once, a few things can be simplified.
We no longer have to keep a list of different dependency chains leading
to a package, since only one chain will ever be found. Also, the already
visited check also takes care of cycles, so the other cycle check can be
removed.
2024-04-26 21:05:42 -04:00