| Age | Commit message (Collapse) | Author |
|
|
|
with `passthru.__stdenvPythonCompat`
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
|
|
override value
If Nix supports lazy attribute names in the future,
this change will make `<python package>.override` warning-free
and make such warning (or future throw) remediateable
via another override.
|
|
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
|
|
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-5
|
|
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-4
|
|
Entirely find-and-replace based.
A few usages that would cause rebuilds if changed remain.
This PR should have 0 rebuilds.
|
|
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
|
|
|
|
Co-authored-by: Leona Maroni <dev@leona.is>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Postpone formatting to minimize diff and to ease merging.
|
|
|
|
|
|
value (#471681)
|
|
|
|
|
|
|
|
|
|
|
|
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-3
|
|
PyPy sets an explicit minimum SDK version for darwin that is much older
than what we we default to on nixpkgs (currently 14.0).
Simply removing the explicit flag makes it use our default instead.
This fixes a build failure where PyPy tries to access APIs that are not
available in the macOS SDK it is targetting.
This is technically not relevant for upstream as this is an opt-in
warning which we have recently enabled by default (as error) on
nixpkgs, but they too should bump the minimum target to at least 10.15
from their current target of 10.13.
|
|
|
|
|
|
Without this, things like zlib are not found.
|
|
|
|
based packages (#467817)
|
|
This is needed to support the deprecated method of overriding `stdenv`
via `overridePythonAttrs`.
|
|
Avoid passing `stdenv` to the underlying function when it is already
handled in overrideStdenvCompat.
|
|
The underlying `mk-python-derivation.nix` functions do not have `stdenv`
in their functionArgs, so it was redundant to explicitly remove it.
|
|
`fdrv` → `newArgs`; the parameter is not a derivation, so fdrv is
confusing.
|
|
|
|
with `<pkg>.overrideAttrs` (#267296)
|
|
|
|
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
|
|
Make it possible to mix overridePythonAttrs and overrideAttrs, i.e.
((<pkg>.overrideAttrs (_: { foo = "a"; })).overridePythonAttrs (_: { })).foo now works
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
|
|
Attach overridePythonAttrs by attribute set update
instead of `stdenv.mkDerivation`'s `passthru`.
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
|
|
based packages
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.
The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.
This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.
This change fixes cross on all packages using `setuptools-rust` as a build-system.
|
|
|
|
- autoreconf needs to be run if we patch configure.ac
- the patch lines need to be adjusted otherwise it applies wrong
|
|
This reverts commit 27dcfd3e044aea0bed1fe234a88ebf5d0efeadc6.
This was fixed in 3.14.2 and as such this patch application has become
obsolete.
|
|
This reverts commit ae4f7fd1e9478b043606132b87c22c13198eb037.
Fixed in 3.13.11 and 3.14.2 and as such obsoleted.
|
|
https://docs.python.org/release/3.14.2/whatsnew/changelog.html
|
|
https://docs.python.org/release/3.13.11/whatsnew/changelog.html
|
|
Fixes two regressions in dataclasses.
|