Commit graph

96 commits

Author SHA1 Message Date
Theodore Ni 2aa7c01f0a
python3.pkgs.matplotlib: add missing build dependencies (#249459) 2023-08-20 02:58:04 -04:00
Vladimír Čunát 1c0d654684
Merge #239191: treewide: gobject-introspection from buildInputs to nativeBuildInputs
...into staging
2023-07-26 20:53:32 +02:00
Theodore Ni c39948ee52
python310Packages.matplotlib: 3.7.1 -> 3.7.2 (#243000) 2023-07-17 22:43:14 -04:00
github-actions[bot] 09bdd38107
Merge master into staging-next 2023-07-10 00:02:30 +00:00
Sandro Jäckel 0000006fe8
python310Packages.matplotlib: disable tkinter for PyPy
PyPy doesn't support tkinter and matplotlib uses tkagg instead for it.
2023-07-02 19:25:18 +02:00
Artturin 9999bf7a21 treewide: gobject-introspection from buildInputs to nativeBuildInputs
gobject-introspection should be in nativeBuildInputs for cross to work
properly (so propagations and hook work properly)
2023-06-28 22:33:40 +03:00
Sandro Jäckel 169f3a1bbd
python310Packages.matplotlib: add setuptools to nativeBuildInputs
it is propagated by setuptools-scm but that is maybe changing in the
future
2023-06-27 11:29:17 +02:00
Adam Joseph 143d234583
matplotlib: add numpy to nativeBuildInputs to fix cross compilation (#237334)
This commit fixes cross compilation of matplotlib by adding numpy to
nativeBuildInputs.
2023-06-12 11:47:25 -04:00
Sandro 21def54048
Merge pull request #233448 from SuperSandro2000/233447b 2023-06-01 13:38:22 +02:00
Kirill Radzikhovskyy febcb284b7 python3Packages.matplotlib: 3.7.0 -> 3.7.1 2023-05-23 08:00:07 +10:00
Sandro Jäckel 77777770d1
python310Packages.matplotlib: remove unused inputs 2023-05-22 18:23:22 +02:00
Ivan Kozik fcfb25c7ba python3Packages.matplotlib: fix the minimum Python version
https://matplotlib.org/stable/devel/min_dep_policy.html says that
Matplotlib 3.7 does support Python 3.8.
2023-05-21 23:00:50 +00:00
Norbert Melzer 1e87c6534a python3Packages.matplotlib: fix Tk
The refactor that happened in the same commit as the version bump
somehow broke Tk support.

This commit fixes the issue by moving tkinter to propagatedBuildInputs.
2023-04-08 16:23:03 +02:00
Martin Weinelt 0d5041f805 python3Packages.matplotlib: 3.6.2 -> 3.7.0
https://github.com/matplotlib/matplotlib/releases/tag/v3.7.0
2023-03-03 23:56:46 +01:00
Martin Weinelt b6427439de
python3Packages.matplotlib: Disable strictoverflow hardening on darwin 2023-01-13 13:20:53 +01:00
Martin Weinelt 09116080bc python3Packages.matplotlib: 3.5.3 -> 3.6.2 2023-01-05 01:10:13 +01:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Martin Weinelt dbe80f4b2c python3Packages.matplotlib: 3.5.2 -> 3.5.3 2022-09-19 10:37:36 +02:00
nixpkgs-upkeep-bot 2bd7ade931 python3Packages.matplotlib: 3.5.1 -> 3.5.2 2022-05-03 22:37:25 -07:00
Robert Schütz 2cae050057
python2Packages: remove superfluous overrides
Since Python 2 is not supported anymore we only keep those overrides
which are used by leaf packages.
2022-01-01 02:10:53 +01:00
Mauricio Collares b28ccde5be
python3Packages.matplotlib: 3.5.0 -> 3.5.1 (#151423) 2021-12-20 12:17:20 -05:00
Dmitry Kalinkin 7dc4430751
python3Packages.matplotlib: switch to use an absolute path in MPLSETUPCFG
The upstream made a transition setup.cfg -> mplsetup.cfg
93b5c0fb08

This should allow us to be compatible with some reasonable version overrides
https://github.com/NixOS/nixpkgs/pull/147742#issuecomment-995178116
2021-12-15 16:03:13 -05:00
Dmitry Kalinkin 69221cf2d2
python3Packages.matplotlib: setup.cfg -> mplsetup.cfg
This addresses a regression on darwin.

An alternative to this would be to set MPLSETUPCFG as was suggested in
2021-12-15 14:50:20 -05:00
Fabian Affolter b59406317b python3Packages.matplotlib: update requirements 2021-12-02 16:00:08 +01:00
Jonathan Ringer 478e92ba24
python3Packages.matplotlib: remove debug lines 2021-11-30 18:52:48 -08:00
Jonathan Ringer 819d9f9a60
python3Packages.matplotlib: fix build, disable network fetch of deps 2021-11-30 18:52:46 -08:00
Jonathan Ringer ebb34bc2e6
python3Packages.matplotlib: 3.4.3 -> 3.5.0 2021-11-30 18:52:04 -08:00
Samuel Ainsworth d95c1e9516
python3Packages.matplotlib: 3.4.2 -> 3.4.3 (#134906) 2021-08-21 15:30:13 -04:00
Robert Schütz 1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Martin Weinelt 9d17f6c26f python3Packages.matplotlib: 3.4.1 -> 3.4.2 2021-06-22 13:42:33 +02:00
rnhmjoj 7672576a0d
pythonPackages.matplotlib: add licenses 2021-05-26 08:23:44 +02:00
rnhmjoj 3a3e1134a8
pythonPackages.matplotlib: remove unsused arguments 2021-05-26 08:00:28 +02:00
rnhmjoj 7e2ec8f8a1
pythonPackages.matplotlib: fix headless detection
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"
2021-05-26 07:53:20 +02:00
Dmitry Kalinkin 72a1c0cbc4 python{2,3}Packages.matplotlib: remove pointless asserts 2021-04-20 19:47:48 +00:00
Dmitry Kalinkin de797ef97e python2Packages.matplotlib: remove invalid libs.system_freetype setup option 2021-04-20 19:47:47 +00:00
Dmitry Kalinkin e6d9e58289 python3Packages.matplotlib: 3.3.4 -> 3.4.1 2021-04-20 19:47:47 +00:00
Dmitry Kalinkin 72cb029367 python{2,3}Packages.matplotlib: use lib.generators.toINI to generate setup.cfg 2021-04-20 19:47:47 +00:00
Frederik Rietdijk dbcad7f7bb python3Packages.matplotlib: 3.3.3 -> 3.3.4 2021-02-26 11:01:49 +01:00
Pavol Rusnak a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
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
2021-01-11 10:38:22 +01:00
Frederik Rietdijk 2398277abf python3Packages.matplotlib: 3.3.2 -> 3.3.3 2020-12-01 14:44:14 +01:00
Frederik Rietdijk 1fb6a29362 python3Packages.matplotlib: 3.3.1 -> 3.3.2 2020-11-05 15:47:00 -08:00
Shea Levy 31579c6b0a
matplotlib: Disable LTO on darwin.
Needs #19312 or equivalent to work.
2020-09-09 12:18:50 -04:00
Jonathan Ringer a93c4f5129
python3Packages.matplotlib: fix deps 2020-08-16 21:42:57 -07:00
Frederik Rietdijk 1bcc07f8f5 python: matplotlib: 3.3.0 -> 3.3.1 2020-08-16 19:31:07 +02:00
K900 8e5e7e2ad8 python3.pkgs.matplotlib: 3.2.1 -> 3.3.0 2020-08-04 21:54:26 +02:00
Dmitry Kalinkin c7d4882ab1
python3Packages.matplotlib: 3.1.3 -> 3.2.1, and various cleanups (#84362)
* 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
2020-04-21 07:56:13 +02:00
Ben Darwin 5842ec9368 python3Packages.matplotlib: remove nose from propagatedBuildInputs 2020-03-27 10:53:07 -07:00
Frederik Rietdijk ac307d0097 python: matplotlib: 3.1.2 -> 3.1.3 2020-02-09 09:17:31 +01:00