Skip to content

Commit

Permalink
fix(matplotlib): Support v3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed May 22, 2024
1 parent 291a863 commit bf55288
Show file tree
Hide file tree
Showing 5 changed files with 524 additions and 1 deletion.
6 changes: 5 additions & 1 deletion overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -11485,7 +11485,11 @@
"matplotlib": [
"oldest-supported-numpy",
"setuptools",
"setuptools-scm"
"setuptools-scm",
{
"buildSystem": "meson-python",
"from": "3.9.0"
}
],
"matplotlib-inline": [
"setuptools"
Expand Down
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ in
wheel-wheel = callTest ./wheel-wheel { };
fancycompleter-wheel = callTest ./fancycompleter-wheel { };
matplotlib-post-3-7 = callTest ./matplotlib-post-3-7 { };
matplotlib-3-9 = callTest ./matplotlib-3-9 { };
rfc3986-validator = callTest ./rfc3986-validator { };
virtualenv-pre-20-18 = callTest ./virtualenv-pre-20-18 { };
virtualenv-post-20-18 = callTest ./virtualenv-post-20-18 { };
Expand Down
10 changes: 10 additions & 0 deletions tests/matplotlib-3-9/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "matplotlib-3-9-test" { } ''
${env}/bin/python -c 'import matplotlib'
touch $out
''
Loading

0 comments on commit bf55288

Please sign in to comment.