Age | Commit message (Collapse) | Author | Files | Lines |
|
Since Python 2 is not supported anymore we only keep those overrides
which are used by leaf packages.
|
|
|
|
The upstream made a transition setup.cfg -> mplsetup.cfg
https://github.com/matplotlib/matplotlib/commit/93b5c0fb08b5426623fa3927a515eaec0aac0c36
This should allow us to be compatible with some reasonable version overrides
https://github.com/NixOS/nixpkgs/pull/147742#issuecomment-995178116
|
|
This addresses a regression on darwin.
An alternative to this would be to set MPLSETUPCFG as was suggested in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The default backend is chosen based on the content of the $DISPLAY
variable *and* a successfull call to libX11, loaded via dlopen().
The test fails because dlopen looks in /usr/lib and /lib, so matplotlib
falls back to a headless backend.
To reproduce try running:
$ nix-shell -I nixpkgs=$PWD -p \
'python3.withPackages (p: [ p.matplotlib ])' --run python
>>> import matplotlib.pyplot as plt
>>> assert plt.get_backend() == "TkAgg"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
|
|
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
|
|
|
|
|
|
Needs #19312 or equivalent to work.
|
|
|
|
|
|
|
|
* pythonPackages.matplotlib: add veprbl to maintainers
* pythonPackages.matplotlib: remove an old darwin hack
* pythonPackages.matplotlib: remove python and stdenv from buildInputs
* python3Packages.matplotlib: remove a hack for python33
* pythonPackages.matplotlib: remove outdated checkPhase
Downloading the baseline_images is not a real issue, building against
older freetype (local_freetype = True) is, perhaps, not what we
want. The good news is that the tests would pass (tested on 3.2.1) if
we were to enable them:
========== 6684 passed, 1332 skipped, 10 xfailed in 228.64s (0:03:48) ==========
* pythonPackages.matplotlib: provide setup.cfg from a file instead of a patch
* python3Packages.matplotlib: 3.1.3 -> 3.2.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* treewide: remove unused variables
* making ofborg happy
|
|
These shouldn’t be needed now that we are on macOS 10.12.
|
|
pythonPackages.matplotlib: enable tk backend by default
|
|
|
|
We need pkgs.pkgconfig, and not pythonPackages.pkgconfig.
|
|
This reverts commit c78f98db56b580bada5c56ef38793f4fa5c140b6.
|
|
Numpy deprecated asscalar in 1.16. This will be fixed in the next
matplotlib version, but to avoid deprecation warnings (and because they
are breaking the sage testsuite), it can't hurt to backport the fix
already.
Upstream: https://github.com/matplotlib/matplotlib/pull/12478
|
|
|
|
Some packages relied on it. For consistency, also introduce isPy3 (which
is the same as isPy3k).
|
|
We currently do not build mathplotlib with any backend. This can be very
confusing for users. They will try to use matplotlib and it will simply
display nothing (see #51337). We should ship at least one backend. `tk`
was chosen somewhat arbitrarily. The gtk backend is problematic (see
https://github.com/NixOS/nixpkgs/issues/50959#issuecomment-441327767)
so tkinter seems like a good choice.
There is already a backend provided on darwin so there is no reason to
include tk there.
|
|
camelCase package name was a huge inconsistency in GNOME package set.
|
|
Python 3 will use the new matplotlib 3.x while Python 2
will use 2.x.
matplotlib: keep 2.2.3 for Python2k
|
|
|
|
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.
While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
|
|
|